CN114390364B - Calendar generation method, device, medium and electronic equipment - Google Patents

Calendar generation method, device, medium and electronic equipment Download PDF

Info

Publication number
CN114390364B
CN114390364B CN202011119124.3A CN202011119124A CN114390364B CN 114390364 B CN114390364 B CN 114390364B CN 202011119124 A CN202011119124 A CN 202011119124A CN 114390364 B CN114390364 B CN 114390364B
Authority
CN
China
Prior art keywords
information
target
film
calendar
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011119124.3A
Other languages
Chinese (zh)
Other versions
CN114390364A (en
Inventor
杨伟俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011119124.3A priority Critical patent/CN114390364B/en
Publication of CN114390364A publication Critical patent/CN114390364A/en
Application granted granted Critical
Publication of CN114390364B publication Critical patent/CN114390364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26225Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving billing parameters, e.g. priority for subscribers of premium services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a calendar generation method, a calendar generation device, a calendar generation medium and an electronic device. The method comprises the following steps: acquiring identification information of a target film sent by a terminal, and verifying the identification information; when the verification is passed, determining target medium resource information and target conversion information of the target film; and integrating the target media asset information and the target conversion information to obtain integrated information, so that the terminal can render according to the integrated information to obtain a film calendar of the target film. On one hand, the target media asset information and the target conversion information of the target film can be acquired when the verification is passed, so that the information of the target film is grounded, the information safety of the target film is guaranteed, and the target media asset information and the target conversion information are not required to be modified for many times by an editor, so that the labor and time cost are saved; on the other hand, the film calendar is rendered according to the integration information, so that the problems of high error rate and low efficiency caused by manual operation are solved, and the process of generating the film calendar is more automatic and intelligent.

Description

Calendar generation method, device, medium and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a calendar generation method, a calendar generation apparatus, a computer-readable medium, and an electronic device.
Background
With the increasing abundance of internet video payment forms, various films have diversified payment strategies such as free, member-only, member-on-demand and the like. Therefore, the user can be accurately informed of the progress of watching the episode in the manner of a movie calendar.
However, the movie calendar is designed entirely in accordance with the communication between the editor and the designer. The manual operation-dependent mode can cause that the film information cannot fall to the ground in real time, and the problems of high error rate and low efficiency of the generated film calendar exist.
In view of this, there is a need in the art to develop a new calendar generation method and apparatus.
It should be noted that the information disclosed in the above background section is only for enhancement of understanding of the technical background of the present application and therefore may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a calendar generation method, a calendar generation apparatus, a computer readable medium, and an electronic device, which overcome technical problems of low efficiency and insufficient accuracy, at least to some extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the embodiments of the present disclosure, there is provided a calendar generation method applied to a server, the method including: acquiring identification information of a target film sent by a terminal, and verifying the identification information;
when the verification is passed, determining target medium resource information and target conversion information of the target film;
and integrating the target media information and the target conversion information to obtain integrated information, so that the terminal renders according to the integrated information to obtain a film calendar of the target film.
According to an aspect of an embodiment of the present disclosure, there is provided a calendar generation apparatus including: the information verification module is configured to acquire identification information of a target film sent by a terminal and verify the identification information;
the verification passing module is configured to determine target medium resource information and target conversion information of the target film when verification passes;
and the information integration module is configured to integrate the target media information and the target conversion information to obtain integrated information, so that the terminal performs rendering according to the integrated information to obtain a film calendar of the target film.
In some embodiments of the present disclosure, based on the above technical solutions, the verification passing module includes: the task generating unit is configured to acquire original media asset information and original conversion information of the target film and generate a task to be executed according to the original conversion information;
and the information updating unit is configured to update the original media asset information and the original conversion information according to the task to be executed to obtain target media asset information and target conversion information.
In some embodiments of the present disclosure, based on the above technical solutions, the information updating unit includes: the target obtaining subunit is configured to obtain target information in the original conversion information, and modify the target information according to the task to be executed to obtain target conversion information;
and the media asset updating subunit is configured to update the original media asset information according to the target conversion information to obtain target media asset information.
In some embodiments of the present disclosure, based on the above technical solutions, the daily task generating unit includes: the schedule information subunit is configured to acquire current schedule information in the original conversion information and determine subsequent schedule information corresponding to the current schedule information;
and the information task subunit is configured to generate a task to be executed corresponding to the subsequent schedule information.
According to an aspect of the embodiments of the present disclosure, there is provided another calendar generation method applied to a terminal, the method including: acquiring target style information of a target film and integration information of the target film;
updating the target style information using the integration information;
and rendering the page of the terminal according to the updated target style information to obtain the film calendar of the target film.
According to an aspect of an embodiment of the present disclosure, there is provided another calendar generation apparatus including: the information acquisition module is configured to acquire target style information of a target film and integration information of the target film;
an information update module configured to update the target style information with the integration information;
and the calendar rendering module is configured to render the page of the terminal according to the updated target style information to obtain a movie calendar of the target movie.
In some embodiments of the present disclosure, based on the above technical solutions, the information updating module includes: the configuration information unit is configured to acquire configuration color information if the target conversion information comprises the configuration color information;
a configuration updating unit configured to update the target style information with the configuration color information.
In some embodiments of the present disclosure, based on the above technical solutions, the calendar generating device further includes: the poster information module is configured to acquire film poster information in the target media asset information if the target conversion information does not comprise configuration color information;
and the color extraction module is configured to extract poster color information in the movie poster information and update the target style information according to the poster color information.
In some embodiments of the present disclosure, based on the above technical solutions, the color extraction module includes: a category determination unit configured to acquire a color category of the poster color information and a category threshold corresponding to the color category,
updating the target style information with the poster color information when the color category is greater than the category threshold; and/or
And the category comparison unit is configured to render the page of the terminal according to the target style information to obtain a movie calendar of the target movie when the color category is smaller than or equal to the category threshold.
In some embodiments of the present disclosure, based on the above technical solutions, the color extraction module includes: a contrast determination unit configured to acquire a color contrast of the poster color information and a contrast threshold corresponding to the color contrast,
updating the target style information with the poster color information when the color contrast is greater than the contrast threshold; and/or
And the contrast comparison unit is configured to render the page of the terminal according to the target style information to obtain a film calendar of the target film when the color contrast is smaller than or equal to the contrast threshold.
In some embodiments of the present disclosure, based on the above technical solutions, the information obtaining module includes: the device comprises a film style unit, a display unit and a display unit, wherein the film style unit is configured to determine that the film style information is the target style information if the film style information of the target film is acquired;
and the default style unit is configured to acquire default style information and determine that the default style information is the target style information if the film style information of the target film is not acquired.
According to an aspect of the embodiments of the present disclosure, there is provided a computer-readable medium on which a computer program is stored, the computer program, when executed by a processor, implementing a calendar generation method as in the above technical solution.
According to an aspect of an embodiment of the present disclosure, there is provided an electronic apparatus including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the calendar generation method as in the above solution via execution of the executable instructions.
In the technical scheme provided by the embodiment of the disclosure, on one hand, the target media asset information and the target conversion information of the target film can be acquired when the verification passes, so that the information of the target film is grounded, the information safety of the target film is guaranteed, and the target media asset information and the target conversion information are not required to be modified for many times by an editor, so that the labor and time cost are saved; on the other hand, the film calendar is rendered according to the integration information, so that the problems of high error rate and low efficiency caused by manual operation are solved, and the process of generating the film calendar is more automatic and intelligent.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 schematically shows an interface diagram for generating a movie calendar in the related art;
FIG. 2 schematically illustrates an exemplary system architecture diagram to which the disclosed solution is applied;
FIG. 3 schematically illustrates a flow chart of steps of a method of calendar generation in some embodiments of the present disclosure;
FIG. 4 schematically illustrates a flow chart of steps of a method of obtaining target asset information and target conversion information in some embodiments of the present disclosure;
FIG. 5 schematically illustrates a flow chart of steps of a method of generating a task to be performed in some embodiments of the present disclosure;
FIG. 6 schematically illustrates a flow chart of steps of a method of obtaining target conversion information and target media asset information in some embodiments of the present disclosure;
FIG. 7 schematically illustrates a flow chart of steps of another calendar generation method in some embodiments of the present disclosure;
FIG. 8 schematically illustrates a flow chart of steps of a method of acquiring a target style in some embodiments of the present disclosure;
FIG. 9 schematically illustrates a flow chart of steps of a method of updating target style information with configuration color information in some embodiments of the present disclosure;
fig. 10 schematically illustrates a flow chart of steps of a method of updating target style information with movie poster information in some embodiments of the present disclosure;
FIG. 11 schematically illustrates a flow chart of steps of a method of determining a color class in some embodiments of the present disclosure;
FIG. 12 schematically illustrates a flow chart of steps of a method of determining color contrast in some embodiments of the present disclosure;
FIG. 13 schematically illustrates a timing flow diagram of a calendar generation method in an application scenario in accordance with an embodiment of the present disclosure;
FIG. 14 schematically illustrates a flow chart of steps of a method of rendering a movie calendar in an application scenario in an embodiment of the present disclosure;
FIG. 15 is a schematic illustration of an interface for displaying a movie calendar in an application scenario in an embodiment of the present disclosure;
FIG. 16 is a schematic diagram illustrating an interface of a movie calendar in an application scenario in an embodiment of the present disclosure;
FIG. 17 schematically illustrates a block diagram of a calendar generation apparatus in some embodiments of the present disclosure;
FIG. 18 schematically illustrates a block diagram of another calendar generation apparatus in some embodiments of the present disclosure;
FIG. 19 schematically illustrates a structural schematic diagram of a computer system suitable for use with an electronic device embodying embodiments of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In the related art in the field, fig. 1 shows a flowchart of steps for generating a movie calendar in the related art, and as shown in fig. 1, the movie calendar is generated completely by manual operations performed by editors and designers.
Thus, the conversion of the pay state of the film is entirely a "verbal engagement" and no data floor is formed.
Also, each movie requires a separate manual operation. Even if the design team works out the template, it needs to be manually modified, which is a very inefficient operation.
In addition, the modification of the pay-per-view status of the film is performed by the editor, and the generation of the calendar of the film is handled by the team of designers, which are completely split, which causes the problem of asynchronous updating and is very error-prone.
For example, if the payment status of a scheduled movie is modified at 20 o ' clock in 1 month and 2 as a member's advanced request, and the payment status may be modified at 20 o ' clock in 1 month and 1 day suddenly, the designer team may not have time to modify or may miss the editing personnel, which may result in a calendar generation error of the movie, and the user may receive wrong information, which may deteriorate the user experience.
Based on the problems existing in the above schemes, the present disclosure provides a calendar generation method, a calendar generation device, a computer readable medium and an electronic device.
Fig. 2 shows an exemplary system architecture diagram to which the disclosed solution is applied.
As shown in fig. 2, the system architecture 200 may include a terminal 210, a network 220, and a server 230. Wherein the terminal 210 and the server 230 are connected through a network 220. The terminal 210 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like; the network 220 may be any of a variety of connection types of communication media capable of providing a communication link between the user terminal 210 and the server end 230, such as a wired communication link, a wireless communication link, or a fiber optic cable, among others; the server 230 may be implemented by an independent server or a server cluster composed of a plurality of servers.
Specifically, the server 230 receives the style information of the target movie sent by the terminal 210, and verifies the identification information; and when the verification passes, acquiring target media asset information and target conversion information of the target film, integrating the target media asset information and the target conversion information to obtain integrated information, and sending the integrated information to the terminal 210, so that the terminal 210 renders according to the integrated information to obtain a film calendar of the target film.
Further, the terminal 210 obtains target style information of the target film, and obtains integration information of the target film sent by the server 230; and then, updating the target style information by using the integration information, and rendering according to the updated target style information to obtain a film calendar of the target film.
In addition, the calendar generation method in the embodiment of the present disclosure may be applied to a terminal, and may also be applied to a server, which is not particularly limited in the present disclosure. The embodiments of the present disclosure are illustrated by applying the calendar generation method to the terminal 210 and the server 230, respectively.
The calendar generation method, the calendar generation apparatus, the computer-readable medium, and the electronic device provided by the present disclosure are described in detail below with reference to specific embodiments.
The present disclosure provides a calendar generation method, which may be applied to the server 230 in fig. 2, and may also be applied to other servers, and this exemplary embodiment is not particularly limited to this.
The embodiment of the present disclosure is mainly illustrated by applying a calendar generation method to the server 230.
Fig. 3 schematically illustrates a flowchart of the steps of a calendar generation method in some embodiments of the present disclosure, and as illustrated in fig. 3, the calendar generation method may mainly include the following steps:
and S310, acquiring identification information of the target film sent by the terminal, and verifying the identification information.
And S320, when the verification is passed, determining target medium resource information and target conversion information of the target film.
And S330, integrating the target media asset information and the target conversion information to obtain integrated information, so that the terminal can render according to the integrated information to obtain a film calendar of the target film.
In the exemplary embodiment of the disclosure, on one hand, the target media asset information and the target conversion information of the target film can be acquired when the verification passes, so that the information of the target film is grounded, the information safety of the target film is guaranteed, and the target media asset information and the target conversion information are not required to be modified for many times by an editor, so that the labor and time cost are saved; on the other hand, the film calendar is rendered according to the integration information, so that the problems of high error rate and low efficiency caused by manual operation are solved, and the process of generating the film calendar is more automatic and intelligent.
The respective steps of the calendar generation method will be described in detail below.
In step S310, the identification information of the target movie sent by the terminal is acquired and verified.
In an exemplary embodiment of the present disclosure, the identification information may be information uniquely characterizing the target movie. For example, the identification information may be an Identity Document (ID) of the target movie, and may further include information such as a name and a lead actor of the target movie, which is not particularly limited in this exemplary embodiment.
The verification of the identification information may be through a provided interface. The Interface may be a Common Gateway Interface (CGI) exposed to the user. And, since the interface can provide two parts of contents of the target asset information and the target conversion information at the same time in the subsequent, the interface can be an aggregation interface.
When the interface receives the identification information of the target film, authentication and anti-brushing are carried out to verify the identification information, and the information security of the target film is guaranteed.
In step S320, when the verification passes, target asset information and target conversion information of the target movie are determined.
In an exemplary embodiment of the present disclosure, when the verification passes, target asset information and target conversion information of the target movie may be further determined.
In an alternative embodiment, fig. 4 is a flowchart illustrating steps of a method for acquiring target asset information and target conversion information, and as shown in fig. 4, the method at least includes the following steps: in step S410, original media asset information and original conversion information of the target movie are acquired, and a task to be executed is generated according to the original conversion information.
The original media information and the original conversion information may be information of a target movie entered by an editor.
The original media information may include poster information, name information, duration information, copyright information, and the like of the target film.
The original conversion information may be a plurality of tables with movie IDs as values.
Two data tables are taken as an example for explanation, wherein, one data table can store all schedule information of the target film updating payment state; on the other one may be stored information related to the movie calendar, such as documentation and configuration color information for a specific location, etc. And, the two data tables are associated with the movie ID.
In particular, tables 1 and 2 can be seen:
TABLE 1
Figure BDA0002731395850000091
The movie ID of the target movie stored in table 1 is Video1, and the contents of the pay-per-view status, free-set number, member free-set number, pay-per-view set number, expansion information, remark information, and the like of the target movie at a specific date and time. In addition, other contents may be added according to actual situations, and this exemplary embodiment is not particularly limited to this.
The movie payment status field may include free, member only, member advanced on demand, and the like, and may also include other fields, which are not limited in this exemplary embodiment.
Correspondingly, table 2 stores the content such as the file and the color information of the arrangement of the Video1 at a specific position, with the movie ID as the Video1 as the related value.
TABLE 2
Film ID Information key Information value Expanding information Remark information
Video1 desc_text XXXX Calendar description case
Video1 font_color XXXX Calendar font color
Video1 background_color XXXX Calendar background color
Video1 bottom_text XXXX Calendar bottom text
…… …… …… …… ……
As can be seen, the contents of the calendar description text, the calendar font color, the calendar background color, and the calendar bottom text of the calendar of the target movie, which is generated subsequently, are stored in table 2.
After the original media asset information and the original conversion information are input, a task to be executed can be further generated.
In an alternative embodiment, fig. 5 shows a flow chart of the steps of a method of generating a task to be performed, which method comprises at least the following steps, as shown in fig. 5: in step S510, the current schedule information in the original conversion information is obtained, and the subsequent schedule information corresponding to the current schedule information is determined.
The current schedule information and the subsequent schedule information are all the schedule information in the original conversion information. The manner of acquiring the schedule information may be scanning. For example, all schedule information may be scanned at a fixed point, or all schedule information may be scanned by manual triggering, which is not limited in this exemplary embodiment.
When all schedule information is determined, it may be determined that schedule information currently in progress is current schedule information. And determining other schedule information from the current time to the next time as the subsequent schedule information.
For example, if the current schedule information is in a free state of 1 month and 1 day, 20 points, the subsequent schedule information may be determined to be only members on 1 month and 7 days, 20 points on 1 month and 20 points in advance, and only members on 1 month and 27 days, 20 points in advance.
In step S520, a task to be executed corresponding to the subsequent schedule information is generated.
After determining the subsequent schedule information, corresponding tasks to be executed can be generated for the subsequent schedule information one by one. The task to be executed may be a timing task.
For example, when the subsequent schedule information is only limited to members at 20 points in 1 month, 7 days and 1 month, 20 days and 20 advanced spots of the members and only limited to members at 20 points in 1 month, 27 days and 1 month, 20 spots in 1 month are generated and modified to only the to-be-executed tasks of the members, 20 spots in 1 month and 20 days are generated and modified to only the to-be-executed tasks of the members, advanced spots of the members and 20 spots in 1 month and 27 days are generated and modified.
Modification of the pay status field, e.g., free, member only, and member advance demand, may invoke a modification interface to modify directly.
Moreover, when the task to be executed is a timing task, the task to be executed may be implemented by using a crontab function in the Linux system, and may also be executed in other systems by using other manners, which is not particularly limited in this exemplary embodiment.
In the exemplary embodiment, the task to be executed is formed according to the subsequent schedule information, so that the problem that an editor needs to watch on to execute the task subsequently is avoided, and the time and the labor for executing the task are saved.
In step S420, the original media asset information and the original transformation information are updated according to the task to be executed, so as to obtain target media asset information and target transformation information.
In the exemplary embodiment, after the to-be-executed task is generated, the entered original media information and original conversion information may be updated according to the to-be-executed task.
In an alternative embodiment, fig. 6 is a flowchart illustrating steps of a method for obtaining target conversion information and target media information, and as shown in fig. 6, the method at least includes the following steps: in step S610, target information in the original conversion information is obtained, and the target information is modified according to the task to be executed to obtain target conversion information.
The target information may be payment status information or other information, which is not limited in this exemplary embodiment. For example, a payment status field in the original conversion information may be acquired as the target information.
For example, when the task to be performed is a task modified to be member only at 20 o 'clock 1 month 7, the payment status field may be modified to be member only at 20 o' clock 1 month 7; when the task to be executed is a task of modifying 20 points in 1 month and 20 days into the advanced ordering of the members, the payment state field can be modified into the advanced ordering of the members when the task is the task of modifying 20 points in 1 month and 20 days; when the task to be performed is a task modified to be member only at 27/1/20, the payment status field may be modified to be member only at 20/1/27. After the payment status field, i.e. the target information, is modified, the target conversion information can be obtained.
In one or more embodiments, the target translation information characterizes information obtained by updating the original translation information by the task to be performed. In one or more embodiments, the target conversion information includes current up-to-date pay status information and/or up-to-date movie calendar related information. In one or more embodiments, the update is to modify the target information in the original conversion information.
In step S620, the original media information is updated according to the target conversion information to obtain the target media information.
For the destination information, for example, the payment status information is validated by the original media asset information. Therefore, corresponding to the target conversion information, the target information such as the payment state information in the original media asset information can be modified to obtain the target media asset information.
In one or more embodiments, the target media information represents information updated in an update manner consistent with the target conversion information. In one or more embodiments, the target media asset information includes current up-to-date payment status information.
In the exemplary embodiment, the original media information and the original conversion information are updated through the target information, so that the landing of the film information is realized, the modification of the film information is more automatic and intelligent, and the efficiency, the accuracy and the safety of the information modification are improved.
In step S330, the target asset information and the target conversion information are integrated to obtain integration information, so that the terminal performs rendering according to the integration information to obtain a movie calendar of the target movie.
In an exemplary embodiment of the present disclosure, the target funding information and the target conversion information may be integrated in a manner of combining the two kinds of information to generate integrated information.
Further, the integrated information is sent to the terminal, so that the terminal can render a movie calendar according to the integrated information.
Based on the problems existing in the scheme, the present disclosure also provides another calendar generation method, which is applied to a server side.
The calendar generation method in the embodiment of the present disclosure may be applied to the terminal 210 in fig. 2, and may also be applied to other terminals, and this exemplary embodiment is not particularly limited to this.
The disclosed embodiment is mainly illustrated in the case where a calendar generation method is applied to the terminal 210.
Fig. 7 schematically illustrates a flowchart of the steps of a calendar generation method in some embodiments of the present disclosure, and as shown in fig. 7, the calendar generation method may mainly include the following steps:
and S710, acquiring target style information of the target film and integration information of the target film.
And S720, updating the target style information by utilizing the integration information.
And step 730, rendering the page of the terminal according to the updated target style information to obtain a film calendar of the target film.
In the exemplary embodiment of the disclosure, on one hand, the target style information is acquired, so that the problem of blocking drawing of a movie calendar is avoided, and the integration information of the target movie is acquired, so that the information of the target movie is grounded, and the labor and time cost is saved; on the other hand, the film calendar is rendered according to the target style information, so that the problems of high error rate and low efficiency caused by manual operation are avoided, and the process of generating the film calendar is more automatic and intelligent.
In step S710, target style information of the target movie and ensemble information of the target movie are acquired.
In the exemplary embodiment of the present disclosure, the obtained target style information of the target movie may be movie style information, or may also be default style information, and specifically, which style information may be determined by a determination logic for determining whether the movie style information is obtained.
In an alternative embodiment, fig. 8 is a flowchart illustrating a method for obtaining target style information, and as shown in fig. 8, the method at least includes the following steps: in step S810, film style information of the target film is acquired, and the film style information is determined to be the target style information.
The film Style information may be Style information customized for the target film, that is, a Cascading Style Sheets (CSS) file that completely rewrites the target film.
The CSS file provides a style description defining the manner in which the page is displayed. For example, a movie calendar page displays information such as cell height, width, and font. The documentation for a movie calendar can be made by CSS pseudo-elements, namely: before: after, etc.
The mode of asynchronously reading the CSS file by using JavaScript (JS for short) may be used to obtain the film style information. Wherein the CSS file may be a file named with a movie ID. When the film style information can be acquired, it may be determined that the film style information is target style information.
In step S820, if the film style information of the target film is not obtained, default style information is obtained, and the default style information is determined to be the target style information.
And when the JS can not read the film style information of the target film, further loading default style information. The default style information may be information of CSS files applicable to all movies, defining a default style of calendar display of a movie.
And, the default style information is determined as the target style information.
In the present exemplary embodiment, the target style information may be determined by acquiring the movie style information or the default style information, achieving the effect of calendar generation for all movies and calendar intervention for a specific movie.
In step S720, the target style information is updated with the integration information.
In an exemplary embodiment of the present disclosure, the integration information includes target media asset information and target conversion information.
The target media information may include movie poster information, movie name information, movie duration information, movie copyright information, and the like of a movie. The target conversion information may be a plurality of data tables having movie IDs as values. Two data tables are taken as an example, wherein one data table stores all schedule information of a target film, and the other data table stores information related to a film calendar, such as a file at a specific position, configuration color information and the like. And, the two data tables are associated with a movie ID.
In an alternative embodiment, fig. 9 shows a flowchart of the steps of a method of updating target style information using configuration color information, which, as shown in fig. 9, comprises at least the steps of: in step S910, if the target conversion information includes the configuration color information, the configuration color information is obtained.
If the editor enters the configuration color information in the original conversion information, the terminal also contains the configuration color information when acquiring the target conversion information. Thus, the configuration color information can be acquired.
In step S920, the target style information is updated with the configuration color information.
Further, the target style information may be updated by using the configuration color information to cover the color information in the target style information.
In the present exemplary embodiment, the target style is updated by the configuration color information in the target conversion information, so that the effect of color matching intervention by an editor can be realized.
In addition, when the editor does not enter the configuration color information in the original conversion information, the terminal does not include the configuration color information in the acquired target conversion information, and therefore, the target style information can be further updated through the movie poster information.
In an alternative embodiment, fig. 10 shows a flowchart of the steps of a method for updating target style information using movie poster information, which, as shown in fig. 10, comprises at least the following steps: in step S1010, if the target conversion information does not include the configuration color information, movie poster information in the target asset information is acquired.
When the configuration color information is not acquired in the target conversion information, movie poster information in the target asset information can be acquired.
In step S1020, poster color information in the movie poster information is extracted, and the target style information is updated according to the poster color information.
And extracting poster color information in the film poster information by adopting a color quantization algorithm.
Specifically, a uniform color quantization algorithm is adopted to segment a red coordinate axis, a green coordinate axis and a blue coordinate axis in the color space of the poster information of the film, so that a color cube is obtained. Further, the pixel value average value of each pixel point included in the color cube is determined as a target pixel value corresponding to the color cube, and the color cube with the target pixel value is recorded as a quantization subblock. Then, the proportion of the pixel area corresponding to each quantization sub-block in the movie poster is determined, and poster color information is determined.
In addition, a median cutting method can be adopted to divide the color space of the poster information of the film to obtain a plurality of color cubes, the pixel value mean value of each pixel point contained in each color cube is determined as a target pixel value, and the poster color information is further determined according to the corresponding quantization sub-blocks.
And moreover, an octree color quantization method can be adopted to determine the node value of the octree node corresponding to the movie poster information. And when the number of the leaf nodes exceeds the preset color number, merging the leaf nodes to the father node according to a limited merging strategy with a small node count value, and merging all pixel points corresponding to the leaves to obtain a color cube. Then, the average of the pixel values contained in the color cube is determined as the target pixel value to further determine poster color information from the corresponding quantized sub-blocks.
Of course, other color quantization algorithms or clustering algorithms may be used to extract poster color information, which is not particularly limited in this exemplary embodiment. Further, the extraction of poster color information may be performed in an open source library Github.
Further, the target style information may be updated with poster color information. However, when the extracted poster color information may be too close or insufficient in contrast, the target style information cannot be updated with the poster color information, and therefore, determination may be made before updating.
Fig. 11 and 12 show flowcharts of steps of two methods of determining whether target style information can be updated with poster color information. Wherein, fig. 11 is a case where the target style information is updated with poster color information in the case where the color kind is judged; fig. 12 is a diagram for updating target style information with poster color information in the case of judging color contrast.
In an alternative embodiment, fig. 11 shows a flowchart of the steps of a method for determining a color type, and as shown in fig. 11, the method at least includes the following steps: in step S1110, the color category of the poster color information and the category threshold value corresponding to the color category are acquired, and when the color category is larger than the category threshold value, the target style information is updated with the poster color information.
When the poster color information is extracted, the types of the poster color information can be further counted to obtain the color types. Also, a type threshold value of the color type may be acquired. Generally, the category threshold is 2, and may be set to other values, which is not particularly limited in the present exemplary embodiment.
After the color type and the type threshold are obtained, the color type and the type threshold may be further compared. When the comparison result is that the color category is larger than the category threshold, the target style information can be updated by using the poster color information.
Specifically, the target style information can be updated by covering the color information in the target style information with the poster color information.
In step S1120, when the color category is less than or equal to the category threshold, the page of the terminal is rendered according to the target style information to obtain a movie calendar of the target movie.
When the comparison result of the color category and the category threshold is that the color category is less than or equal to the category threshold, rendering may be performed according to the target style information to obtain a movie calendar of the target movie.
At this time, when the target style information is customized film style information, the color matching of the elements in the film calendar is the customized color information; when the target style information is default style information, then the configuration of elements in the movie calendar is default color information.
In the exemplary embodiment, when the color type meets the preset condition, the target style information can be updated by using the poster color information, so that manual color configuration is avoided, and manpower and material resources are saved; when the film calendar cannot be rendered according to the configuration color information and the poster color information, the film calendar can be directly rendered according to the target style information, so that the rendering of the film calendar is more automatic and intelligent.
In an alternative embodiment, fig. 12 shows a flow chart of the steps of a method of determining color contrast, which, as shown in fig. 12, comprises at least the following steps: in step S1210, a color contrast of the poster color information and a contrast threshold corresponding to the color contrast are acquired, and when the color contrast is greater than the contrast threshold, the target style information is updated with the poster color information.
When the poster color information is extracted, the color contrast of the poster color information can be further calculated. And, a contrast threshold corresponding to the color contrast may be obtained. The contrast threshold may be set according to actual conditions and requirements, and the exemplary embodiment is not limited to this.
After the color contrast and contrast threshold are obtained, the color contrast and contrast threshold may be further compared. The target style information may only be updated with the poster color information when the comparison results in a color contrast greater than a contrast threshold.
Specifically, the target style information can be updated by covering the color information in the target style information with the poster color information.
In step S1220, when the color contrast is less than or equal to the contrast threshold, the page of the terminal is rendered according to the target style information to obtain the movie calendar of the target movie.
When the color contrast is less than or equal to the contrast threshold as a result of the comparison of the color contrast and the contrast threshold, rendering may be performed according to the target style information to obtain a film calendar of the target film.
At this time, when the target style information is customized film style information, the color matching of the elements in the film calendar is the customized color information; when the target style information is default style information, then the configuration of elements in the movie calendar is default color information.
In the exemplary embodiment, when the color contrast meets the preset condition, the target style information can be updated by using the poster color information, so that manual color configuration is avoided, and manpower and material resources are saved; when the film calendar cannot be rendered according to the configuration color information and the poster color information, the film calendar can be directly rendered according to the target style information, so that the rendering of the film calendar is more automatic and intelligent.
It should be noted that the determination of the color type and the color contrast may be performed at the same time to determine whether the target style information can be updated with the poster color information.
When the color type and the color contrast are used for judgment at the same time, and one or both of the color type and the color contrast do not meet the preset condition, rendering can be performed according to the target style information. In step S730, a movie calendar of the target movie is obtained by rendering according to the updated target style information.
In an exemplary embodiment of the present disclosure, after the target style information is updated, rendering may be performed to obtain a movie calendar of the target movie.
When rendering is performed according to the configuration color information or the poster color information, the rendering may be implemented in a manner that the configuration color information or the poster information fills the colors of the elements in the movie calendar.
Here, the padding refers to a manner of padding the movie calendar with the determined arrangement color information or poster color information so that the color of each element in the movie calendar satisfies the arrangement color information or poster color information.
After rendering according to the target style information, a movie calendar of the target movie may be obtained.
Also, the rendering of the movie calendar may be implemented on a H5 (Hyper Text Markup Language-5, HTML for short) page. And the H5 page supports hot-update replacement for CSS files, JS and HTML, so that dynamic iteration can be performed on the rendering requirements of the movie calendar.
Besides, for a terminal using an android system or an IOS system, or a terminal of the Web (World Wide Web), it is also possible to use the flutter technology to write dart language code to implement rendering at the three terminals. Moreover, the code performance and rendering efficiency of the flutter technology are higher than those of the H5 page. However, the dart language is a compiled language, and the hot update capability is not as good as the H5 page. Therefore, the selection may be performed according to actual situations and requirements, or may be performed when the thermal update capability of the subsequent flutter technology is better, which is not particularly limited in the present exemplary embodiment.
The calendar generation method provided in the embodiments of the present disclosure is described in detail below with reference to a specific application scenario.
Fig. 13 is a flowchart illustrating steps of a calendar generation method in an application scenario, and as shown in fig. 13, the server includes a background movie calendar information service, a background payment conversion service, and a background detail page service, and may further include target media asset information and target conversion information.
Specifically, an editor can enter original media asset information and original conversion information at one time and store the original media asset information and the original conversion information in the database.
The background payment conversion service can scan all schedule information in the target conversion information at fixed points and determine subsequent schedule information so as to generate a timing task corresponding to the subsequent schedule information. When the timing task is executed, the original conversion information and the payment state field in the original media asset information can be modified to obtain the target media asset information and the target conversion information.
The background movie calendar information service may verify the identification information when receiving the identification information sent by the terminal. When the verification is successful, the terminal can acquire an integrated information rendering movie calendar integrated according to the target media asset information and the target conversion information.
Fig. 14 is a flowchart illustrating steps of a method for rendering a movie calendar in an application scenario, and as shown in fig. 14, in step S1411, the terminal accesses an H5 page with identification information of a target movie.
The background details page service in fig. 13 provides access to the H5 page and issues a payment status field to cause the member identification to be displayed on the H5 page in the event that a movie calendar is subsequently generated.
In step S1412, film style information is acquired.
The film style information may be style information customized to the target film, i.e., a CSS file that completely overwrites the target film. The CSS file may be a file named with a movie ID, among others. And moreover, the film style information can be acquired by adopting a mode of reading the CSS file by JS.
In step S1413, it is determined whether or not the film style information is successfully acquired.
In step S1414, when the film style information is acquired, the integration information of the server side may be received.
The integration information comprises target medium resource information and target conversion information.
In step S1415, when the film style information is not acquired, default style information is acquired.
And when the JS can not read the film style information of the target film, further loading default style information. The default style information may be information of CSS files applicable to all movies, defining a default style of calendar display of a movie.
Further, receiving the integration information of the server side.
In step S1416, it is checked whether configuration color information is included in the integrated information.
If the editor inputs the configuration color information in the original conversion information, the terminal also comprises the configuration color information when acquiring the target conversion information; when the editor does not enter the configuration color information in the original conversion information, the terminal does not include the configuration color information in the acquired target conversion information.
In step S1417, when configuration color information is included in the ensemble information, film style information or default style information is updated using the configuration color information, and a film calendar is rendered according to the updated style information.
Specifically, the update manner may be to overwrite color information in the film style information or the default style information with the configuration color information.
In step S1418, when the arrangement color information is not contained in the integration information, poster color information in the movie poster information is extracted.
Specifically, poster color information in movie poster information is extracted by adopting a color quantization algorithm. The color quantization algorithm may include a uniform color quantization algorithm, a median cut method, or an octree color quantization method, or may also employ other color quantization algorithms or clustering algorithms, which is not particularly limited in this exemplary embodiment.
In step S1419, the color kind and/or the color contrast of the poster color information are checked.
In step S1420, it is determined whether or not the color type and the color contrast satisfy preset conditions.
The determination of whether the color type satisfies the preset condition may be by comparing the color type with a type threshold, and the determination of whether the color contrast satisfies the preset condition may be by comparing the color contrast with a contrast threshold.
In step S1421, when the color type and/or the color contrast satisfy the preset condition, the poster color information is used to update the film style information or the default style information, and the film calendar is rendered according to the updated style information.
When the color type is larger than the type threshold value, determining that the color type meets a preset condition; and when the color contrast is larger than the contrast threshold, determining that the color contrast meets the preset condition.
Further, the poster color information is used for covering the color information in the film style information or the default style information so as to update the film style information or the default style information.
In step S1422, when the color type and/or the color contrast do not satisfy the preset condition, a movie calendar is rendered directly according to the movie style information or the default style information.
When the color type is smaller than or equal to the type threshold value, determining that the color type does not meet the preset condition; and when the color contrast is less than or equal to the contrast threshold, determining that the color contrast does not meet the preset condition.
Therefore, the film calendar can be obtained by directly rendering according to the film style information or the default style information.
Fig. 15 is a schematic diagram of an interface for displaying a movie calendar in an application scenario, and as shown in fig. 15, a movie calendar in the word "movie calendar" is displayed in a terminal interface as an entry for a user to view the movie calendar.
FIG. 16 is a schematic diagram showing an interface of a calendar of movies in an application scenario, as shown in FIG. 16, the target movie is officially released in 7 months and 1 day, non-members can see 1-2 sets, and members can see 1-8 sets; in 7/month and 2/day, non-members can see 3-4 sets, and members can see 8-10 sets; on 3 days of 7 months, the non-members can see 5-6 sets, and the members can see 11-12 sets.
In addition, the whole network of 7 months and 1 day is displayed, the network is updated every three weeks and five days, and the members watch 8 sets in advance. From day 7, 22, the affiliates additionally honor the advanced on-demand privilege, unlock the 3 yuan/set, and see the big end in advance at day 8, 12. The characters such as 'and the like' are used for displaying the watching information of the target film from multiple dimensions for the user, and user experience is optimized.
Based on the application scenarios, on one hand, the calendar generation method provided by the embodiment of the disclosure can acquire the target media asset information and the target conversion information of the target film when the verification is passed, so that the information of the target film is dropped, the information safety of the target film is ensured, and the target media asset information and the target conversion information do not need to be modified by editors for many times, so that the labor and the time cost are saved; on the other hand, the film calendar is rendered according to the integration information, so that the problems of high error rate and low efficiency caused by manual operation are solved, and the process of generating the film calendar is more automatic and intelligent.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken into multiple step executions, etc.
Embodiments of the apparatus of the present disclosure are described below, which may be used to perform the calendar generation method in the above-described embodiments of the present disclosure. For details not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the calendar generation method described above in the present disclosure.
Fig. 17 schematically shows a block diagram of a structure of a calendar generating apparatus in some embodiments of the present disclosure, and as shown in fig. 17, the calendar generating apparatus 1700 may mainly include: an information verification module 1710, a verification pass module 1720, and an information integration module 1730.
An information verification module 1710, configured to acquire identification information of a target movie sent by a terminal, and verify the identification information; a verification passing module 1720 configured to determine target asset information and target conversion information of the target movie when the verification passes; the information integration module 1730 is configured to integrate the target media asset information and the target conversion information to obtain integrated information, so that the terminal performs rendering according to the integrated information to obtain a movie calendar of the target movie.
In some embodiments of the disclosure, the validation pass module comprises: the task generating unit is configured to acquire original media asset information and original conversion information of the target film and generate a task to be executed according to the original conversion information;
and the information updating unit is configured to update the original media asset information and the original conversion information according to the task to be executed to obtain target media asset information and target conversion information.
In some embodiments of the present disclosure, an information updating unit includes: the target obtaining subunit is configured to obtain target information in the original conversion information and modify the target information according to the task to be executed to obtain target conversion information;
and the media asset updating subunit is configured to update the original media asset information according to the target conversion information to obtain target media asset information.
In some embodiments of the disclosure, a daily task generation unit, comprises: the schedule information subunit is configured to acquire current schedule information in the original conversion information and determine subsequent schedule information corresponding to the current schedule information;
and the information task subunit is configured to generate a task to be executed corresponding to the subsequent schedule information.
Fig. 18 schematically shows a block diagram of another calendar generating apparatus in some embodiments of the present disclosure, and as shown in fig. 18, the calendar generating apparatus 1800 may mainly include: an information acquisition module 1810, an information update module 1820, and a calendar rendering module 1830.
An information obtaining module 1810 configured to obtain target style information of a target movie and integration information of the target movie; an information updating module 1820 configured to update the target style information with the integration information; and a calendar rendering module 1830 configured to render the page of the terminal according to the updated target style information to obtain a movie calendar of the target movie.
In some embodiments of the disclosure, an information update module, comprising: the configuration information unit is configured to acquire configuration color information if the target conversion information comprises the configuration color information;
a configuration updating unit configured to update the target style information with the configuration color information.
In some embodiments of the present disclosure, the calendar generating device further comprises: the poster information module is configured to acquire film poster information in the target media asset information if the target conversion information does not include configuration color information;
and the color extraction module is configured to extract poster color information in the movie poster information and update the target style information according to the poster color information.
In some embodiments of the disclosure, a color extraction module, comprises: a category determination unit configured to acquire a color category of the poster color information and a category threshold value corresponding to the color category,
when the color category is larger than the category threshold value, updating the target style information by using the poster color information; and/or
And the category comparison unit is configured to render the page of the terminal according to the target style information to obtain a film calendar of the target film when the color category is smaller than or equal to the category threshold.
In some embodiments of the disclosure, a color extraction module, comprises: a contrast determination unit configured to acquire a color contrast of the poster color information and a contrast threshold corresponding to the color contrast,
updating the target style information with the poster color information when the color contrast is greater than the contrast threshold; and/or
And the contrast comparison unit is configured to render the page of the terminal according to the target style information to obtain the film calendar of the target film when the color contrast is less than or equal to the contrast threshold.
In some embodiments of the present disclosure, the information obtaining module includes: the film style unit is configured to determine the film style information as the target style information if the film style information of the target film is acquired;
and the default style unit is configured to acquire default style information and determine that the default style information is the target style information if the film style information of the target film is not acquired.
According to an aspect of the embodiments of the present disclosure, there is provided a computer-readable medium on which a computer program is stored, the computer program, when executed by a processor, implementing a calendar generation method as in the above technical solution.
The specific details of the two calendar generating devices provided in the embodiments of the present disclosure have been described in detail in the corresponding method embodiments, and therefore, the details are not described herein again.
FIG. 19 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present disclosure.
It should be noted that the computer system 1900 of the electronic device shown in fig. 19 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments of the present disclosure.
As shown in fig. 19, a computer system 1900 includes a Central Processing Unit (CPU) 1901 that can perform various appropriate actions and processes in accordance with a program stored in a Read-Only Memory (ROM) 1902 or a program loaded from a storage section 1908 into a Random Access Memory (RAM) 1903. In the RAM 1903, various programs and data necessary for system operation are also stored. The CPU 1901, ROM 1902, and RAM 1903 are connected to one another via a bus 1904. An Input/Output (I/O) interface 1905 is also connected to the bus 1904.
The following components are connected to the I/O interface 1905: an input portion 1906 including a keyboard, a mouse, and the like; an output portion 1907 including a Display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 1908 including a hard disk and the like; and a communication section 1909 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1909 performs communication processing via a network such as the internet. Drivers 1910 are also connected to I/O interface 1905 as needed. A removable medium 1911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1910 as necessary, so that a computer program read out therefrom is installed into the storage section 1908 as necessary.
In particular, the processes described in the various method flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications portion 1909 and/or installed from removable media 1911. When the computer program is executed by the Central Processing Unit (CPU) 1901, various functions defined in the system of the present application are executed.
It should be noted that the computer readable medium shown in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A calendar generation method is applied to a server side, and is characterized by comprising the following steps:
acquiring identification information of a target film sent by a terminal, and verifying the identification information;
when the verification is passed, acquiring original media asset information and original conversion information of the target film, determining subsequent schedule information according to current schedule information in the original conversion information, and generating a task to be executed corresponding to the subsequent schedule information, wherein the original media asset information comprises information of the target film, the original conversion information comprises schedule information of a target film in an updating and paying state and a data table of film calendar information, and the data tables are associated by identification information of the film;
updating the original media asset information and the original conversion information according to the task to be executed to obtain target media asset information and target conversion information, wherein the target conversion information represents information obtained by updating the original conversion information through the task to be executed, and the target media asset information represents information obtained by updating in an updating mode consistent with the target conversion information;
and integrating the target media information and the target conversion information to obtain integrated information, so that the terminal renders according to the integrated information to obtain a film calendar of the target film.
2. The method for generating a calendar according to claim 1, wherein the updating the original funding information and the original conversion information according to the task to be executed to obtain target funding information and target conversion information comprises:
acquiring target information in the original conversion information, and modifying the target information according to the task to be executed to obtain target conversion information;
and updating the original media information according to the target conversion information to obtain target media information.
3. A calendar generation method is applied to a terminal, and is characterized by comprising the following steps:
acquiring target style information of a target film and integration information of the target film, wherein the integration information of the target film determines subsequent schedule information according to current schedule information in original conversion information by a server, and generates a task to be executed corresponding to the subsequent schedule information; updating the original media asset information and the original conversion information according to the task to be executed to obtain target media asset information and target conversion information; integrating the target media information and the target conversion information, wherein the original media information comprises information of the target film, the original conversion information comprises schedule information of a target film updating and paying state and a data table of film calendar information, the data tables are associated by identification information of the film, the target conversion information represents information obtained by updating the original conversion information through the task to be executed, and the target media information represents information obtained by updating in an updating mode consistent with the target conversion information;
updating the target style information using the integration information;
and rendering the page of the terminal according to the updated target style information to obtain the film calendar of the target film.
4. A calendar generation method according to claim 3, wherein the integrated information includes target media information and target conversion information;
the updating the target style information using the ensemble information includes:
if the target conversion information comprises configuration color information, acquiring the configuration color information;
updating the target style information using the configuration color information.
5. The calendar generation method of claim 4, further comprising:
if the target conversion information does not comprise configuration color information, acquiring film poster information in the target media asset information;
and extracting poster color information in the movie poster information, and updating the target style information according to the poster color information.
6. A calendar generation method according to claim 5, wherein the updating of the target style information according to the poster color information includes:
acquiring the color type of the poster color information and a type threshold value corresponding to the color type, and updating the target style information by using the poster color information when the color type is larger than the type threshold value; and/or
And when the color type is smaller than or equal to the type threshold value, rendering the page of the terminal according to the target style information to obtain a film calendar of the target film.
7. A calendar generation method according to claim 5, wherein the updating of the target style information according to the poster color information includes:
acquiring the color contrast of the poster color information and a contrast threshold corresponding to the color contrast, and updating the target style information by using the poster color information when the color contrast is greater than the contrast threshold; and/or
And when the color contrast is smaller than or equal to the contrast threshold, rendering the page of the terminal according to the target style information to obtain the film calendar of the target film.
8. The method for generating a calendar according to claim 3, wherein the obtaining of the target style information of the target movie comprises:
acquiring film style information of a target film, and determining the film style information as the target style information;
and if the film style information of the target film is not acquired, acquiring default style information, and determining the default style information as the target style information.
9. An apparatus for generating a calendar, the apparatus comprising:
the information verification module is configured to acquire identification information of a target film sent by a terminal and verify the identification information;
the verification passing module is configured to acquire original media asset information and original conversion information of the target film when verification passes, determine subsequent schedule information according to current schedule information in the original conversion information, and generate a task to be executed corresponding to the subsequent schedule information, wherein the original media asset information comprises information of the target film, the original conversion information comprises schedule information of a target film in an update payment state and a data table of film calendar information, and the data tables are associated with each other by identification information of the film; updating the original media asset information and the original conversion information according to the task to be executed to obtain target media asset information and target conversion information, wherein the target conversion information represents information obtained by updating the original conversion information through the task to be executed, and the target media asset information represents information obtained by updating in an updating mode consistent with the target conversion information;
and the information integration module is configured to integrate the target media information and the target conversion information to obtain integrated information, so that the terminal performs rendering according to the integrated information to obtain a film calendar of the target film.
10. An apparatus for generating a calendar, the apparatus comprising:
the information acquisition module is configured to acquire target style information of a target film and integration information of the target film, the integration information of the target film determines subsequent schedule information according to current schedule information in original conversion information by a server, and a task to be executed corresponding to the subsequent schedule information is generated; updating the original media asset information and the original conversion information according to the task to be executed to obtain target media asset information and target conversion information; integrating the target media information and the target conversion information to obtain the original media information, wherein the original media information comprises information of the target film, the original conversion information comprises schedule information of an update payment state of the target film and a data table of calendar information of the film, the data tables are associated by identification information of the film, the target conversion information represents information obtained by updating the original conversion information through the task to be executed, and the target media information represents information obtained by updating in an updating mode consistent with the target conversion information;
an information update module configured to update the target style information with the integration information;
and the calendar rendering module is configured to render the page of the terminal according to the updated target style information to obtain the film calendar of the target film.
11. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the calendar generation method of any one of claims 1 to 2 or 3-8.
12. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the calendar generation method of any of claims 1-2 or 3-8 via execution of the executable instructions.
CN202011119124.3A 2020-10-19 2020-10-19 Calendar generation method, device, medium and electronic equipment Active CN114390364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011119124.3A CN114390364B (en) 2020-10-19 2020-10-19 Calendar generation method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011119124.3A CN114390364B (en) 2020-10-19 2020-10-19 Calendar generation method, device, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114390364A CN114390364A (en) 2022-04-22
CN114390364B true CN114390364B (en) 2023-04-18

Family

ID=81192899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011119124.3A Active CN114390364B (en) 2020-10-19 2020-10-19 Calendar generation method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114390364B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002077789A1 (en) * 2001-03-26 2002-10-03 Hyun-Gi An Multimedia calendar system
CN109766502A (en) * 2018-12-13 2019-05-17 平安普惠企业管理有限公司 Page improved method, device, computer equipment and storage medium
CN111741265A (en) * 2020-06-23 2020-10-02 浙江大华技术股份有限公司 Video playing control method and device, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6186553B1 (en) * 1998-05-14 2001-02-13 Jacob L. Phillips Theme calendar
US7970793B2 (en) * 2008-02-01 2011-06-28 International Business Machines Corporation Generating, and updating calendar events from non-calendar sources
JP5052695B1 (en) * 2011-07-27 2012-10-17 武 櫻井 Movie publishing apparatus, method, and computer program
US10108935B2 (en) * 2015-03-18 2018-10-23 International Business Machines Corporation Calendar adjusting device
CN103106574A (en) * 2013-02-25 2013-05-15 广东欧珀移动通信有限公司 Method and system for providing video link in calendar of electronic device
US20150294374A1 (en) * 2014-04-11 2015-10-15 Comcast Cable Communications, Llc Methods And Systems For Providing Content
US11068853B2 (en) * 2015-12-28 2021-07-20 Microsoft Technology Licensing, Llc Providing calendar utility to capture calendar event
CN110780873B (en) * 2019-09-06 2024-05-03 平安普惠企业管理有限公司 Interface color adaptation method, device, computer equipment and storage medium
CN111143725A (en) * 2019-11-15 2020-05-12 北京字节跳动网络技术有限公司 Page generation method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002077789A1 (en) * 2001-03-26 2002-10-03 Hyun-Gi An Multimedia calendar system
CN109766502A (en) * 2018-12-13 2019-05-17 平安普惠企业管理有限公司 Page improved method, device, computer equipment and storage medium
CN111741265A (en) * 2020-06-23 2020-10-02 浙江大华技术股份有限公司 Video playing control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114390364A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
US20170277946A1 (en) Hierarchical Information Extraction Using Document Segmentation and Optical Character Recognition Correction
US20210049711A1 (en) Method of automatically transmitting data information and device of automatically transmitting data information
CN109359277B (en) Data monitoring method, device and computer storage medium
CN105488223A (en) Analyzing and subscribing method and system of business data events
US11800201B2 (en) Method and apparatus for outputting information
CN114818618B (en) Document editing method and system based on signature encryption and medium
CN112286815A (en) Interface test script generation method and related equipment thereof
CN117155891A (en) Method and device for sending messages on multiple social media platforms by one key
WO2024179575A1 (en) Data processing method, and device and computer-readable storage medium
CN114139502A (en) Document content processing method, device, equipment and storage medium
US9038004B2 (en) Automated integrated circuit design documentation
CN114390364B (en) Calendar generation method, device, medium and electronic equipment
CN117556796A (en) Project document processing method, device, computer equipment and storage medium
CN108664610B (en) Method and apparatus for processing data
CN115563942A (en) Contract generation method and device, electronic equipment and computer readable medium
CN115374063A (en) File processing method, device, equipment and storage medium
CN104751033A (en) User behavior authentication method and device based on audio and video file
CN117075900B (en) Method and system for generating h5 page content based on AI
CN117472385A (en) File processing method, device, equipment and storage medium
CN112752098B (en) Video editing effect verification method and device
CN117172677A (en) Automatic financial analysis report processing method, system, device and medium based on natural language processing
KR20240040976A (en) Automated method, device and system for creating templates for management consulting content creation based on management information
CN113569768A (en) Message processing method and device, electronic equipment and storage medium
CN118504584A (en) Content generation method, device, electronic equipment, storage medium and product
CN116108078A (en) Centralized processing method and device for data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant