WO2022033135A1 - Story line-based hand-drawn video creation method and apparatus - Google Patents

Story line-based hand-drawn video creation method and apparatus Download PDF

Info

Publication number
WO2022033135A1
WO2022033135A1 PCT/CN2021/098205 CN2021098205W WO2022033135A1 WO 2022033135 A1 WO2022033135 A1 WO 2022033135A1 CN 2021098205 W CN2021098205 W CN 2021098205W WO 2022033135 A1 WO2022033135 A1 WO 2022033135A1
Authority
WO
WIPO (PCT)
Prior art keywords
scene
pages
preset
page
storyline
Prior art date
Application number
PCT/CN2021/098205
Other languages
French (fr)
Chinese (zh)
Inventor
邵猛
魏博
Original Assignee
深圳市前海手绘科技文化有限公司
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 深圳市前海手绘科技文化有限公司 filed Critical 深圳市前海手绘科技文化有限公司
Publication of WO2022033135A1 publication Critical patent/WO2022033135A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement

Definitions

  • the invention belongs to the technical field of hand-painted video creation, and in particular relates to a method and device for hand-painted video creation based on a story line.
  • the creation methods are mainly based on template creation and new blank creation.
  • Both of these two creation methods have certain technical problems: based on template creation, it is difficult for the template to fully satisfy the user's setting of the story line in the video, the template fit is not high enough, and only the scene page can be deleted in the existing template It is not possible to insert the scene page, which greatly limits the user's free creative space.
  • the new blank creation mode has high requirements on the user's creative ability and material production ability, which cannot meet the creative level of ordinary users, and also causes customers to be unable to grasp the accuracy of creation and the integrity of the creative story.
  • the present invention provides a method and device for creating hand-drawn video based on a story line, including the steps:
  • the present invention provides a hand-drawn video creation device based on a story line, including:
  • Preset module set reserved position on the story line
  • the scene page can be inserted into the story line.
  • the story line becomes a draft, and the user can re-edit and modify the content in the scene page in the draft as required.
  • the present invention first obtains a story line containing at least two preset scene pages, sets a reserved position on the story line, obtains an external scene page, and inserts the external scene page into the reserved position, so as to realize the story line in the story line. Insert a scene page.
  • the user can insert the scene page in the story line.
  • the present invention improves the user's editability of the story line and enriches the user's creative space and creative freedom.
  • the present invention reduces the creation difficulty of the user, and improves the expression accuracy and story integrity of the creation of the client.
  • the steps of acquiring a story line containing at least two preset scene pages include:
  • the acquisition module includes:
  • Call unit call a template storyline that contains at least two preset scene pages.
  • template storyline is retrieved from the database of storylines.
  • the template story line By calling the template story line containing at least two preset scene pages, the template story line can be obtained simply and quickly, thereby providing a prerequisite for the subsequent setting of reserved positions.
  • the step of acquiring a story line containing at least two preset scene pages further includes:
  • the acquisition module includes:
  • Self-built units create self-built storylines with at least two preset scene pages.
  • the user creates a self-built story line containing at least two preset scene pages.
  • the user can create a self-built story line with at least two preset scene pages, realize the user's personalized expression, and create a personalized self-built story line, so as to provide conditions for the setting of subsequent reserved spots.
  • the steps for setting a reserved position on the story line include:
  • the preset module includes:
  • an identification unit to identify the preset positions of at least two preset scene pages
  • the relationship between the position of the preset position and the position of the scene page is that the reserved position is located between the scene pages or at the head and the tail of the scene page.
  • the steps of acquiring the external scene page and inserting the external scene page into the reserved position include:
  • the step of acquiring the external scene page in the present invention includes: retrieving the scene page or self-built scene page from the scene page database.
  • the plug-in module includes:
  • Marking unit marking the position of the reserved bit
  • Collection unit collects external scene pages
  • collecting external scene pages includes calling scene pages from the scene page database or self-built scene pages.
  • the acquiring a story line containing at least two preset scene pages includes:
  • storyline generation data input by the user, where the storyline generation data includes user information
  • generating storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data includes:
  • the historical story line data includes scene page attribute information and scene page quantity information
  • the scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
  • the scene page prefab model includes the following formula:
  • p is the number of prefabricated scene pages
  • k 1 is the weight
  • X i is the number of scene pages of one of the historical story lines
  • o is the number of historical story lines.
  • the prefabricated scene page corresponds to attribute information, and the attribute information of the prefabricated scene is determined through the following steps;
  • the attribute information association corresponding to the number of the prefabricated scene pages is selected.
  • the obtaining module is further configured to perform the following steps, including:
  • storyline generation data input by the user, where the storyline generation data includes user information
  • the obtaining module is further configured to perform the following steps, including:
  • the historical story line data includes scene page attribute information and scene page quantity information
  • the scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
  • the scene page prefabricated model includes the following formula:
  • p is the number of prefabricated scene pages
  • k 1 is the weight
  • X i is the number of scene pages of one of the historical story lines
  • o is the number of historical story lines.
  • the prefabricated scene page corresponds to attribute information
  • the obtaining module is further configured to perform the following steps, including:
  • the attribute information association corresponding to the number of the prefabricated scene pages is selected.
  • An electronic device includes a memory and a processor, the memory stores a computer program, and the computer program is executed in the processor to implement any of the above methods.
  • a storage medium storing a computer program, the computer program being executed in a processor can implement any of the above methods.
  • the present invention realizes inserting scene pages in the story line by first acquiring a story line containing at least two preset scene pages, setting reserved positions on the story line, acquiring external scene pages, and inserting the external scene pages into the reserved positions.
  • the user can insert the scene page in the story line.
  • the present invention improves the user's editability of the story line and enriches the user's creative space and creative freedom.
  • the present invention reduces the creation difficulty of the user, and improves the expression accuracy and story integrity of the creation of the client.
  • FIG. 1 is a flowchart of a method for creating a hand-drawn video based on a story line provided by an embodiment
  • FIG. 2 is a module architecture diagram of a storyline-based hand-drawn video creation device provided by an embodiment
  • FIG. 3 is a flow chart of setting reserved positions on a story line provided by an embodiment
  • FIG. 4 is a frame diagram of setting reserved positions on a story line provided by an embodiment
  • FIG. 5 is a flowchart of acquiring an external scene page and inserting the external scene page into a reserved position according to an embodiment.
  • FIG. 6 is a frame diagram of a plug-in module provided by an embodiment.
  • the term “storage medium” may be various media that can store computer programs, such as ROM, RAM, magnetic disk or optical disk.
  • the term "processor” can be CPLD (Complex Programmable Logic Device: Complex Programmable Logic Device), FPGA (Field-Programmable Gate Array: Field Programmable Gate Array), MCU (Microcontroller Unit: Micro Control Unit), PLC (Programmable Logic) Controller: programmable logic controller) and CPU (Central Processing Unit: central processing unit) and other chips or circuits with data processing functions.
  • electronic device may be any device with data processing and storage functions, and may generally include both stationary and mobile terminals. Fixed terminals such as desktops, etc. Mobile terminals such as mobile phones, PADs and mobile robots. In addition, the technical features involved in the different embodiments of the present invention described later can be combined with each other as long as there is no conflict with each other.
  • a method and device for creating hand-drawn video based on a story line including steps:
  • the present embodiment provides a method and device for creating hand-drawn video based on a story line, including:
  • Obtaining module 1 obtaining a story line containing at least two preset scene pages
  • Preset module 2 set a reserved position on the story line
  • Insert module 3 obtain the external scene page, and insert the external scene page into the reserved position.
  • the present invention first obtains a story line containing at least two preset scene pages, sets a reserved position on the story line, obtains an external scene page, and inserts the external scene page into the reserved position, so as to realize the story line in the story line. Insert a scene page.
  • the user can insert the scene page in the story line.
  • the present invention improves the user's editability of the story line and enriches the user's creative space and creative freedom.
  • the present invention reduces the creation difficulty of the user, and improves the expression accuracy and story integrity of the creation of the client.
  • sequence of inserting scene pages in the story line may be various, and may be based on various sequences such as chronological sequence, logical sequence of event development, and spatial sequence.
  • the preset scene pages can be getting up, going to school, and sleeping in chronological order.
  • the user can insert the scene page of the alarm clock before the scene page of getting up, insert the scene page of washing face between the scene page of getting up and the scene page of going to school, and insert the scene page of eating dinner between the scene page of going to school and the scene page of sleeping. scene page.
  • the preset scene pages can be name, age and work background in logical order. And the user can insert the scene page of greeting words before the scene page of age, insert the scene page of education background between the scene page of age and the scene page of work background, insert the scene page of gender between the scene page of name and the scene page of age scene page.
  • step S1 and step S2 are creatively combined into an integral and inseparable technical means for setting reserved positions on the story line.
  • step S1 presets the story line, so that the user already has a preliminary template before the operation, and does not need to edit at will from a brand-new blank file, which reduces the workload of the customer and reduces the difficulty of the work.
  • step S2 allows the user to insert the required scene page into the reserved position according to his own assumptions and ideas in the actual use process, which increases the creation of the customer.
  • the degree of freedom reduces the constraints imposed by templates on customers.
  • Steps S1 and S2 jointly prepare for the scenario page to be inserted into the story line, so that the user can insert the scenario page into the story line.
  • step S2 and step S3 are creatively combined into an integral technical means inseparable, wherein step S2 sets a reserved position on the story line; step S3 acquires an external scene page, and inserts the external scene page into the reserved position. .
  • step S3 acquires an external scene page, and inserts the external scene page into the reserved position. .
  • step S1, step S2, and step S3 are creatively combined into an integral technical means that cannot be separated, by setting reserved bits in the story lines of at least two preset scene pages, and then inserting the scene pages into the reserved space.
  • a bit of technical means to insert scene pages in the story line Through the above technical means, the user's editability of the story line is improved, and the creative space and creative freedom of the customer are enriched.
  • the story line of the preset scene page also provides users with a certain creative foundation. Compared with the new blank template The present invention reduces the user's creation difficulty and makes the method highly operable.
  • step S1 includes:
  • the acquisition module 1 includes:
  • Calling unit 11 calling a template story line containing at least two preset scene pages
  • the template story line By calling the template story line containing at least two preset scene pages, the template story line can be obtained simply and quickly, thereby providing conditions for the subsequent setting of reserved positions.
  • step S2 includes:
  • the preset module 2 includes:
  • the identifying unit 21 identifies the preset positions of at least two preset scene pages
  • the setting unit 22 sets reserved bits in addition to the preset bits.
  • the relationship between the position of the preset position and the position of the scene page is that the reserved position is located between the scene pages, or located at the head and tail of the scene page.
  • step S3 includes:
  • the plug-in module 3 includes:
  • the marking unit 31 marks the position of the reserved bit
  • the collection unit 32 collects external scene pages
  • Search unit 33 look for the position mark of reserved position
  • the transport unit 34 places the external scene page at the mark of the reserved position.
  • the collection unit includes: fetching a scene page from the scene page database or creating a self-built scene page.
  • the acquiring a story line containing at least two preset scene pages includes:
  • the story line generation data input by the user is acquired, and the story line generation data includes user information.
  • the user information may be information with a user identity such as a user ID.
  • Each user information may correspond to multiple historical story line data, and the story line of the preset scene page is obtained according to the historical story line data, so that the generated story line of the preset scene page is more suitable for the user itself.
  • generating storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data includes:
  • the historical story line data includes scene page attribute information and scene page quantity information
  • the scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
  • the scene page attribute information may be the content attribute of the scene page or the format attribute of the scene page.
  • the scene page prefab model can obtain an expected result according to the user's previous operations of making a story line, and the expected result is the generated story lines of at least two preset scene pages.
  • the technical solution provided by the present invention can obtain the recommendation of the current prefabricated scene page according to the user's historical operation, reduce the time for the user to create the story line and select the scene page, and greatly improve the production efficiency.
  • the scene page prefab model includes the following formula:
  • p is the number of prefabricated scene pages
  • k 1 is the weight
  • X i is the number of scene pages of one of the historical story lines
  • o is the number of historical story lines.
  • the number of prefabricated scene pages will be predicted according to the number of scene pages of each historical story line in historical operations, so that the number of prefabricated scene pages is more in line with the user's operating habits and relative needs.
  • the prefabricated scene page corresponds to attribute information, and the attribute information of the prefabricated scene is determined through the following steps;
  • the attribute information association corresponding to the number of the prefabricated scene pages is selected.
  • the historical operations of any user can be counted, that is, the number of scene pages with the same attribute information can be counted, and the attribute information with the highest number can be used as the attribute information of the prefabricated scene page, or The attribute information of the top two in the number is used as the attribute information of the prefabricated scene page, which can be applied according to the actual situation.
  • the obtaining module is further configured to perform the following steps, including:
  • storyline generation data input by the user, where the storyline generation data includes user information
  • the obtaining module is further configured to perform the following steps, including:
  • the historical story line data includes scene page attribute information and scene page quantity information
  • the scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
  • the scene page prefabricated model includes the following formula:
  • p is the number of prefabricated scene pages
  • k 1 is the weight
  • X i is the number of scene pages of one of the historical story lines
  • o is the number of historical story lines.
  • the prefabricated scene page corresponds to attribute information
  • the obtaining module is further configured to perform the following steps, including:
  • the attribute information association corresponding to the number of the prefabricated scene pages is selected.
  • An electronic device includes a memory and a processor, the memory stores a computer program, and the computer program is executed in the processor to implement the above method.
  • a storage medium storing a computer program, the computer program being executed in a processor can implement any of the above methods.
  • the present invention inserts a scene page in a story line by first acquiring a story line containing at least two preset scene pages, setting reserved positions on the story line, acquiring external scene pages, and inserting the external scene pages into the reserved positions.
  • the user can insert the scene page in the story line.
  • the present invention improves the user's editability of the story line and enriches the user's creative space and creative freedom.
  • the present invention reduces the creation difficulty of the user, and improves the expression accuracy and story integrity of the creation of the client.

Abstract

Acquiring a story line containing at least two preset scene pages (S1); setting a reserved place on the story line (S2); acquiring an external scene page, and inserting the external scene page into the reserved place (S3), thereby implementing insertion of a scene page into the story line. Insertion of scene pages into the story line by the user is thereby implemented, increasing the user editability of the story line compared to existing template story lines, and enriching the creation space and creation freedom of the user. Compared to the method of creation in an entirely new blank template, the creation difficulty for the user is reduced, and the expression accuracy of the user creation and the story integrity are improved.

Description

一种基于故事线的手绘视频创作方法和装置A method and device for creating hand-drawn video based on storyline 技术领域technical field
本发明属于手绘视频创作技术领域,尤其涉及一种基于故事线的手绘视频创作方法和装置。The invention belongs to the technical field of hand-painted video creation, and in particular relates to a method and device for hand-painted video creation based on a story line.
背景技术Background technique
目前手绘视频编辑创作过程中,创作方式主要是基于模板创作和全新空白创作两种。At present, in the process of hand-painted video editing and creation, the creation methods are mainly based on template creation and new blank creation.
这两种创作方式都存在一定的技术问题:基于模板创作,模板很难完全满足用户对视频中故事线的设定,模板贴合度不够高,现有的模板中只能对场景页做删除处理,不能对场景页做插入处理,极大限制了用户的自由创作空间。而全新空白创作模式,对用户创作能力和素材制作能力要求很高,不能满足普通用户的创作水平,也导致客户无法把握创作的精准度和创作故事的完整性。Both of these two creation methods have certain technical problems: based on template creation, it is difficult for the template to fully satisfy the user's setting of the story line in the video, the template fit is not high enough, and only the scene page can be deleted in the existing template It is not possible to insert the scene page, which greatly limits the user's free creative space. The new blank creation mode has high requirements on the user's creative ability and material production ability, which cannot meet the creative level of ordinary users, and also causes customers to be unable to grasp the accuracy of creation and the integrity of the creative story.
发明内容SUMMARY OF THE INVENTION
为解决上述技术问题,本发明提供一种基于故事线的手绘视频创作方法和装置,包括步骤:In order to solve the above-mentioned technical problems, the present invention provides a method and device for creating hand-drawn video based on a story line, including the steps:
获取含有至少两个预置场景页的故事线;Get a storyline with at least two preset scene pages;
在故事线上设置预留位;Set reserved slots on the storyline;
获取外部场景页,将外部场景页插入预留位。Get the external scene page, and insert the external scene page into the reserved position.
对应的,本发明提供一种基于故事线的手绘视频创作装置,包括:Correspondingly, the present invention provides a hand-drawn video creation device based on a story line, including:
获取模块,获取含有至少两个预置场景页的故事线;Get the module to get the story line with at least two preset scene pages;
预设模块,在故事线上设置预留位;Preset module, set reserved position on the story line;
插入模块,获取外部场景页,将外部场景页插入预留位。Insert the module, obtain the external scene page, and insert the external scene page into the reserved position.
需要说明的是,场景页插入预留位后,实现了在故事线中插入场景页。此时,故事线成为草稿,用户根据需求可对草稿中的场景页中的内容进行再次编辑和修改。It should be noted that after the scene page is inserted into the reserved position, the scene page can be inserted into the story line. At this point, the story line becomes a draft, and the user can re-edit and modify the content in the scene page in the draft as required.
技术效果说明:本发明通过先获取含有至少两个预置场景页的故事线,在故事线上设置预留位,获取外部场景页,将外部场景页插入预留位,从而实现在故事线中插入场景页。通过以上技术手段,实现用户在故事线中插入场景页,相比于现有的模板故事线,本发明提高了用户对故事线的可编辑性,丰富了用户的创作空间和创作自由度。相比于全新空白模板中的创作方式,本发明降低了用户的创作难度,提高客户创作的表达准确性和故事完整性。Description of technical effect: the present invention first obtains a story line containing at least two preset scene pages, sets a reserved position on the story line, obtains an external scene page, and inserts the external scene page into the reserved position, so as to realize the story line in the story line. Insert a scene page. Through the above technical means, the user can insert the scene page in the story line. Compared with the existing template story line, the present invention improves the user's editability of the story line and enriches the user's creative space and creative freedom. Compared with the creation method in the new blank template, the present invention reduces the creation difficulty of the user, and improves the expression accuracy and story integrity of the creation of the client.
具体的,获取含有至少两个预置场景页的故事线的步骤包括:Specifically, the steps of acquiring a story line containing at least two preset scene pages include:
调用含有至少两个预置场景页的模板故事线。Calls up a template storyline with at least two preset scene pages.
对应的,获取模块包括:Correspondingly, the acquisition module includes:
调用单元,调用含有至少两个预置场景页的模板故事线。Call unit, call a template storyline that contains at least two preset scene pages.
需要说明的是,从故事线的数据库中调取模板故事线。It should be noted that the template storyline is retrieved from the database of storylines.
技术效果说明:通过对含有至少两个预置场景页的模板故事线的调用,简单快捷地获取出模板故事线,从而为后续的预留位的设置提供先行条件。Technical effect description: By calling the template story line containing at least two preset scene pages, the template story line can be obtained simply and quickly, thereby providing a prerequisite for the subsequent setting of reserved positions.
具体的,获取含有至少两个预置场景页的故事线的步骤还包括:Specifically, the step of acquiring a story line containing at least two preset scene pages further includes:
创建含有至少两个预置场景页的自建故事线。Create your own storyline with at least two preset scene pages.
对应的,获取模块包括:Correspondingly, the acquisition module includes:
自建单元,创建含有至少两个预置场景页的自建故事线。Self-built units, create self-built storylines with at least two preset scene pages.
需要说明的是,用户自行创建出含有至少两个预置场景页的自建故事线。It should be noted that the user creates a self-built story line containing at least two preset scene pages.
技术效果说明:通过用户自行创建出含有至少两个预置场景页的自建故事线,实现用户个性化表达,创建具有个性化的自建故事线,从而为后续预留位的设置提供条件。Technical effect description: The user can create a self-built story line with at least two preset scene pages, realize the user's personalized expression, and create a personalized self-built story line, so as to provide conditions for the setting of subsequent reserved spots.
具体的,在故事线上设置预留位的步骤包括:Specifically, the steps for setting a reserved position on the story line include:
识别至少两个预置场景页的预置位;Identify the preset positions of at least two preset scene pages;
在预置位之外设置预留位。Set reserved bits in addition to the preset bits.
对应的,预设模块包括:Correspondingly, the preset module includes:
识别单元,识别至少两个预置场景页的预置位;an identification unit to identify the preset positions of at least two preset scene pages;
设置单元,在预置位之外设置预留位。Set the unit to set the reserved bits in addition to the preset bits.
需要说明的是,预置位的位置与场景页的位置之间的关系是:预留位位于场景页之间或者位于场景页的首部和尾部。It should be noted that the relationship between the position of the preset position and the position of the scene page is that the reserved position is located between the scene pages or at the head and the tail of the scene page.
技术效果说明:通过识别至少两个预置场景页的预置位,在预置位之外设置预留位。预留位为场景页的插入提供位置,当场景页插入预留位时,就实现了对故事线中场景页的插入。从而解决现有技术中无法在故事线中插入场景页的技术问题。Technical effect description: By identifying the preset positions of at least two preset scene pages, set reserved positions outside the preset positions. The reserved position provides a position for the insertion of scene pages. When the scene page is inserted into the reserved position, the insertion of the scene page in the story line is realized. Thereby, the technical problem that the scene page cannot be inserted into the story line in the prior art is solved.
具体的,获取外部场景页,将外部场景页插入预留位的步骤包括:Specifically, the steps of acquiring the external scene page and inserting the external scene page into the reserved position include:
对预留位的位置进行标记;Mark the position of the reserved bit;
获取外部场景页;Get the external scene page;
寻找预留位的位置标记;Find the position marker of the reserved bit;
将外部场景页放置在预留位的标记处。Place the external scene page at the mark of the reserved slot.
需要说明的是:It should be noted:
本发明中的获取外部场景页的步骤包括:从场景页数据库中调取场景页或者自建场景页。The step of acquiring the external scene page in the present invention includes: retrieving the scene page or self-built scene page from the scene page database.
对应的,插入模块包括:Correspondingly, the plug-in module includes:
标记单元,对预留位的位置进行标记;Marking unit, marking the position of the reserved bit;
采集单元,采集外部场景页;Collection unit, collects external scene pages;
查找单元,寻找预留位的位置标记;Find the unit and find the position mark of the reserved bit;
运送单元,将外部场景页放置在预留位的标记处。Ship the unit and place the external scene page at the mark in the reserved slot.
需要说明的是,采集外部场景页包括从场景页数据库中调用场景页或者自建场景页。It should be noted that collecting external scene pages includes calling scene pages from the scene page database or self-built scene pages.
技术效果说明:通过对预留位的位置进行标记;获取外部场景页;寻找预留位的位置标记;将外部场景页放置在预留位的标记处。实现将场景页插入故事线的预留位,实现对故事线中的场景页的插入编辑,提高了用户的操作空间和创作自由度。Description of technical effect: by marking the position of the reserved position; obtaining the external scene page; finding the position mark of the reserved position; placing the external scene page at the mark of the reserved position. Realize the reserved position for inserting the scene page into the story line, realize the insertion and editing of the scene page in the story line, and improve the user's operation space and creative freedom.
具体的,所述获取含有至少两个预置场景页的故事线包括:Specifically, the acquiring a story line containing at least two preset scene pages includes:
获取用户输入的故事线生成数据,所述故事线生成数据包括用户信息;acquiring storyline generation data input by the user, where the storyline generation data includes user information;
获取所述用户信息对应的多个历史故事线数据,基于所述多个历史故事线数据生成与所述用户信息对应的至少两个预置场景页的故事线。Acquire multiple historical storyline data corresponding to the user information, and generate storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data.
具体的,基于所述多个历史故事线数据生成与所述用户信息对应的至少两个预置场景页的故事线包括:Specifically, generating storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data includes:
所述历史故事线数据包括场景页属性信息和场景页数量信息;The historical story line data includes scene page attribute information and scene page quantity information;
基于所述多个历史故事线数据包括的所述场景页属性信息和所述场景页数量信息以及权重信息生成场景页预制模型;Generate a scene page prefab model based on the scene page attribute information and the scene page quantity information and weight information included in the multiple historical story line data;
所述场景页预制模型基于输入的所述用户信息得到至少两个预置场景页的故事线。The scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
具体的,所述场景页预制模型包括以下公式:Specifically, the scene page prefab model includes the following formula:
Figure PCTCN2021098205-appb-000001
Figure PCTCN2021098205-appb-000001
其中,p为预制场景页数量,k 1为权重,X i为其中一个历史故事 线的场景页数量,o为历史故事线的数量。 Among them, p is the number of prefabricated scene pages, k 1 is the weight, X i is the number of scene pages of one of the historical story lines, and o is the number of historical story lines.
具体的,所述预制场景页对应有属性信息,通过以下步骤确定预制场景也的属性信息;Specifically, the prefabricated scene page corresponds to attribute information, and the attribute information of the prefabricated scene is determined through the following steps;
获取所有历史故事线数据中每个场景页的属性信息;Get the attribute information of each scene page in all historical storyline data;
统计具有相同属性信息的场景页的数量,并基于所述数量对属性信息降序的排序;Count the number of scene pages with the same attribute information, and sort the attribute information in descending order based on the number;
按照所述降序的排序,选取与所述预制场景页数量对应的属性信息关联。According to the descending sorting, the attribute information association corresponding to the number of the prefabricated scene pages is selected.
对应的,所述获取模块还用于执行以下步骤,包括:Correspondingly, the obtaining module is further configured to perform the following steps, including:
获取用户输入的故事线生成数据,所述故事线生成数据包括用户信息;acquiring storyline generation data input by the user, where the storyline generation data includes user information;
获取所述用户信息对应的多个历史故事线数据,基于所述多个历史故事线数据生成与所述用户信息对应的至少两个预置场景页的故事线。Acquire multiple historical storyline data corresponding to the user information, and generate storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data.
对应的,所述获取模块还用于执行以下步骤,包括:Correspondingly, the obtaining module is further configured to perform the following steps, including:
所述历史故事线数据包括场景页属性信息和场景页数量信息;The historical story line data includes scene page attribute information and scene page quantity information;
基于所述多个历史故事线数据包括的所述场景页属性信息和所述场景页数量信息以及权重信息生成场景页预制模型;Generate a scene page prefab model based on the scene page attribute information and the scene page quantity information and weight information included in the multiple historical story line data;
所述场景页预制模型基于输入的所述用户信息得到至少两个预置场景页的故事线。The scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
对应的,所述场景页预制模型包括以下公式:Correspondingly, the scene page prefabricated model includes the following formula:
Figure PCTCN2021098205-appb-000002
Figure PCTCN2021098205-appb-000002
其中,p为预制场景页数量,k 1为权重,X i为其中一个历史故事 线的场景页数量,o为历史故事线的数量。 Among them, p is the number of prefabricated scene pages, k 1 is the weight, X i is the number of scene pages of one of the historical story lines, and o is the number of historical story lines.
对应的,所述预制场景页对应有属性信息,所述获取模块还用于执行以下步骤,包括:Correspondingly, the prefabricated scene page corresponds to attribute information, and the obtaining module is further configured to perform the following steps, including:
获取所有历史故事线数据中每个场景页的属性信息;Get the attribute information of each scene page in all historical storyline data;
统计具有相同属性信息的场景页的数量,并基于所述数量对属性信息降序的排序;Count the number of scene pages with the same attribute information, and sort the attribute information in descending order based on the number;
按照所述降序的排序,选取与所述预制场景页数量对应的属性信息关联。According to the descending sorting, the attribute information association corresponding to the number of the prefabricated scene pages is selected.
一种电子设备,包括存储器和处理器,存储器存储计算机程序,计算机程序在处理器中执行可实现上述任一种方法。An electronic device includes a memory and a processor, the memory stores a computer program, and the computer program is executed in the processor to implement any of the above methods.
一种存储介质,存储计算机程序,计算机程序在处理器中执行可实现上述任一种方法。A storage medium storing a computer program, the computer program being executed in a processor can implement any of the above methods.
本发明通过先获取含有至少两个预置场景页的故事线,在故事线上设置预留位,获取外部场景页,将外部场景页插入预留位,从而实现在故事线中插入场景页。通过以上技术手段,实现用户在故事线中插入场景页,相比于现有的模板故事线,本发明提高了用户对故事线的可编辑性,丰富了用户的创作空间和创作自由度。相比于全新空白模板中的创作方式,本发明降低了用户的创作难度,提高客户创作的表达准确性和故事完整性。The present invention realizes inserting scene pages in the story line by first acquiring a story line containing at least two preset scene pages, setting reserved positions on the story line, acquiring external scene pages, and inserting the external scene pages into the reserved positions. Through the above technical means, the user can insert the scene page in the story line. Compared with the existing template story line, the present invention improves the user's editability of the story line and enriches the user's creative space and creative freedom. Compared with the creation method in the new blank template, the present invention reduces the creation difficulty of the user, and improves the expression accuracy and story integrity of the creation of the client.
附图说明Description of drawings
图1为一实施例提供的基于故事线的手绘视频创作的方法的流程图;1 is a flowchart of a method for creating a hand-drawn video based on a story line provided by an embodiment;
图2为一实施例提供的基于故事线的手绘视频创作装置的模块架构图;FIG. 2 is a module architecture diagram of a storyline-based hand-drawn video creation device provided by an embodiment;
图3为一实施例提供的在故事线上设置预留位的流程图;3 is a flow chart of setting reserved positions on a story line provided by an embodiment;
图4为一实施例提供的在故事线上设置预留位的框架图;4 is a frame diagram of setting reserved positions on a story line provided by an embodiment;
图5为一实施例提供的获取外部场景页,将外部场景页插入预留位的流程图。FIG. 5 is a flowchart of acquiring an external scene page and inserting the external scene page into a reserved position according to an embodiment.
图6为一实施例提供的插入模块的框架图。FIG. 6 is a frame diagram of a plug-in module provided by an embodiment.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,在本发明的描述中,除非另有明确的规定和限定,术语“存储介质”可以是ROM、RAM、磁碟或者光盘等各种可以存储计算机程序的介质。术语“处理器”可以是CPLD(Complex Programmable Logic Device:复杂可编程逻辑器件)、FPGA(Field-Programmable Gate Array:现场可编程门阵列)、MCU(Microcontroller Unit:微控制单元)、PLC(Programmable Logic Controller:可编程逻辑控制器)以及CPU(Central Processing Unit:中央处理器)等具备数据处理功能的芯片或电路。术语“电子设备”可以是具有数据处理功能和存储功能的任何设备,通常可以包括固定终端和移动终端。固定终端如台式机等。移动终端如手机、PAD以及移动机器人等。此外,后续所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that, in the description of the present invention, unless otherwise expressly specified and limited, the term "storage medium" may be various media that can store computer programs, such as ROM, RAM, magnetic disk or optical disk. The term "processor" can be CPLD (Complex Programmable Logic Device: Complex Programmable Logic Device), FPGA (Field-Programmable Gate Array: Field Programmable Gate Array), MCU (Microcontroller Unit: Micro Control Unit), PLC (Programmable Logic) Controller: programmable logic controller) and CPU (Central Processing Unit: central processing unit) and other chips or circuits with data processing functions. The term "electronic device" may be any device with data processing and storage functions, and may generally include both stationary and mobile terminals. Fixed terminals such as desktops, etc. Mobile terminals such as mobile phones, PADs and mobile robots. In addition, the technical features involved in the different embodiments of the present invention described later can be combined with each other as long as there is no conflict with each other.
下面,本发明提出部分优选实施例以教导本领域技术人员实现。Below, the present invention provides some preferred embodiments to teach those skilled in the art to realize them.
实施例一Example 1
参见图1,一种基于故事线的手绘视频创作方法和装置,包括步骤:Referring to Figure 1, a method and device for creating hand-drawn video based on a story line, including steps:
S1、获取含有至少两个预置场景页的故事线;S1. Obtain a story line containing at least two preset scene pages;
S2、在故事线上设置预留位;S2. Set a reserved position on the story line;
S3、获取外部场景页,将外部场景页插入预留位。S3. Acquire the external scene page, and insert the external scene page into the reserved position.
实施例二 Embodiment 2
参见图2,对应的,本实施例提供一种基于故事线的手绘视频创作方法和装置,包括:Referring to FIG. 2, correspondingly, the present embodiment provides a method and device for creating hand-drawn video based on a story line, including:
获取模块1,获取含有至少两个预置场景页的故事线;Obtaining module 1, obtaining a story line containing at least two preset scene pages;
预设模块2,在故事线上设置预留位;Preset module 2, set a reserved position on the story line;
插入模块3,获取外部场景页,将外部场景页插入预留位。 Insert module 3, obtain the external scene page, and insert the external scene page into the reserved position.
技术效果说明:本发明通过先获取含有至少两个预置场景页的故事线,在故事线上设置预留位,获取外部场景页,将外部场景页插入预留位,从而实现在故事线中插入场景页。通过以上技术手段,实现用户在故事线中插入场景页,相比于现有的模板故事线,本发明提高了用户对故事线的可编辑性,丰富了用户的创作空间和创作自由度。相比于全新空白模板中的创作方式,本发明降低了用户的创作难度,提高客户创作的表达准确性和故事完整性。Description of technical effect: the present invention first obtains a story line containing at least two preset scene pages, sets a reserved position on the story line, obtains an external scene page, and inserts the external scene page into the reserved position, so as to realize the story line in the story line. Insert a scene page. Through the above technical means, the user can insert the scene page in the story line. Compared with the existing template story line, the present invention improves the user's editability of the story line and enriches the user's creative space and creative freedom. Compared with the creation method in the new blank template, the present invention reduces the creation difficulty of the user, and improves the expression accuracy and story integrity of the creation of the client.
需要说明的是,在本领域的技术人员而言,故事线中插入场景页的顺序可以是多种多样的,可以是根据时间顺序、事情发展逻辑顺序、空间顺序等多种顺序。It should be noted that, for those skilled in the art, the sequence of inserting scene pages in the story line may be various, and may be based on various sequences such as chronological sequence, logical sequence of event development, and spatial sequence.
还需要说明的是,如故事线名称是“小明的一天”,则预置的场景页按照时间顺序,可以是起床、上学和睡觉。而用户可以在起床的场景页之前插入闹钟响的场景页,在起床的场景页和上学的场景页之间插入洗脸的场景页,在上学的场景页和睡觉的场景页之间插入吃晚饭的场景页。It should also be noted that, if the name of the story line is "Xiao Ming's day", the preset scene pages can be getting up, going to school, and sleeping in chronological order. The user can insert the scene page of the alarm clock before the scene page of getting up, insert the scene page of washing face between the scene page of getting up and the scene page of going to school, and insert the scene page of eating dinner between the scene page of going to school and the scene page of sleeping. scene page.
还需要说明的是,如故事线名称是“自我介绍”,则预置的场景页按照逻辑顺序,可以是姓名、年龄和工作背景。而用户可以在年龄 的场景页之前插入打招呼用语的场景页,在年龄的场景页和工作背景的场景页之间插入教育背景的场景页,在姓名的场景页和年龄的场景页之间插入性别的场景页。It should also be noted that, if the name of the story line is "Self-introduction", the preset scene pages can be name, age and work background in logical order. And the user can insert the scene page of greeting words before the scene page of age, insert the scene page of education background between the scene page of age and the scene page of work background, insert the scene page of gender between the scene page of name and the scene page of age scene page.
还需要说明的是,步骤S1和步骤S2创造性地组合为不可分割的整体技术手段,用于在故事线上设置预留位。其中,步骤S1对故事线进行预设,使得用户在操作之前已经有初步的模板,而不需要从全新的空白文件开始随意编辑,减少了客户工作量,降低工作难度。It should also be noted that step S1 and step S2 are creatively combined into an integral and inseparable technical means for setting reserved positions on the story line. Among them, step S1 presets the story line, so that the user already has a preliminary template before the operation, and does not need to edit at will from a brand-new blank file, which reduces the workload of the customer and reduces the difficulty of the work.
还需要说明的是,步骤S2在故事线上设置预留位,可以让用户在实际使用过程中,可以根据自己的设想和思路在预留位中插入需要的场景页,增大了客户的创作自由度,减少了模板对客户的制约。同时也不像空白模板对用户的创作水平要求高,在已经有故事线的前提下,减少了客户的工作量和工作难度。步骤S1和步骤S2共同为场景页插入故事线做好前期准备,从而实现用户在故事线中插入场景页。It should also be noted that setting a reserved position on the story line in step S2 allows the user to insert the required scene page into the reserved position according to his own assumptions and ideas in the actual use process, which increases the creation of the customer. The degree of freedom reduces the constraints imposed by templates on customers. At the same time, unlike the blank template, which has high requirements on the user's creative level, under the premise of already having a story line, it reduces the workload and difficulty of the customer. Steps S1 and S2 jointly prepare for the scenario page to be inserted into the story line, so that the user can insert the scenario page into the story line.
还需要说明的是,步骤S2和步骤S3创造性地组合为不可分割的整体技术手段,其中,步骤S2在故事线上设置预留位;步骤S3获取外部场景页,将外部场景页插入预留位。实现将外部的场景页插入故事线,从而增加了故事线的可编辑性。丰富了客户的创作空间和创作自由度,同时预置场景页的故事线也给用户一定的创作基础。相比于全新空白模板中的创作方式,本发明降低了用户的创作难度,提高了用户对故事线的编辑性。It should also be noted that step S2 and step S3 are creatively combined into an integral technical means inseparable, wherein step S2 sets a reserved position on the story line; step S3 acquires an external scene page, and inserts the external scene page into the reserved position. . Implemented inserting external scene pages into the storyline, thereby increasing the editability of the storyline. It enriches the creative space and creative freedom of customers, and at the same time, the story line of the preset scene page also provides users with a certain creative foundation. Compared with the creation method in the brand-new blank template, the present invention reduces the creation difficulty of the user and improves the editability of the story line by the user.
还需要说明的是,步骤S1、步骤S2、步骤S3创造性地组合为不可分割的整体技术手段,通过在至少两个预置场景页的故事线中设置预留位,然后将场景页插入预留位的技术手段,实现在故事线中插入场景页。通过以上技术手段,提高了用户对故事线的可编辑性,丰富了客户的创作空间和创作自由度,同时预置场景页的故事线也给用 户一定的创作基础,相比于全新空白模板中的创作方式,本发明降低了用户的创作难度,使得本方法可操作性强。It should also be noted that step S1, step S2, and step S3 are creatively combined into an integral technical means that cannot be separated, by setting reserved bits in the story lines of at least two preset scene pages, and then inserting the scene pages into the reserved space. A bit of technical means to insert scene pages in the story line. Through the above technical means, the user's editability of the story line is improved, and the creative space and creative freedom of the customer are enriched. At the same time, the story line of the preset scene page also provides users with a certain creative foundation. Compared with the new blank template The present invention reduces the user's creation difficulty and makes the method highly operable.
实施例三 Embodiment 3
具体的,步骤S1包括:Specifically, step S1 includes:
S11、调用含有至少两个预置场景页的模板故事线。S11. Invoke a template story line containing at least two preset scene pages.
实施例四Embodiment 4
对应的,获取模块1包括:Correspondingly, the acquisition module 1 includes:
调用单元11,调用含有至少两个预置场景页的模板故事线;Calling unit 11, calling a template story line containing at least two preset scene pages;
技术效果说明:通过对含有至少两个预置场景页的模板故事线的调用,简单快捷地获取出模板故事线,从而为后续的预留位的设置提供条件。Technical effect description: By calling the template story line containing at least two preset scene pages, the template story line can be obtained simply and quickly, thereby providing conditions for the subsequent setting of reserved positions.
实施例五Embodiment 5
参见图3,具体的,步骤S2包括:Referring to Fig. 3, specifically, step S2 includes:
S21、识别至少两个预置场景页的预置位;S21, identifying preset positions of at least two preset scene pages;
S22、在预置位之外设置预留位。S22, setting a reserved bit other than the preset bit.
实施例六Embodiment 6
参见图4,对应的,预设模块2包括:Referring to Figure 4, correspondingly, the preset module 2 includes:
识别单元21,识别至少两个预置场景页的预置位;The identifying unit 21 identifies the preset positions of at least two preset scene pages;
设置单元22,在预置位之外设置预留位。The setting unit 22 sets reserved bits in addition to the preset bits.
需要说明的是,预置位的位置与场景页的位置之间的关系是,预留位位于场景页之间,或者位于场景页的首部和尾部。It should be noted that the relationship between the position of the preset position and the position of the scene page is that the reserved position is located between the scene pages, or located at the head and tail of the scene page.
技术效果说明:通过识别至少两个预置场景页的预置位,在预置位之外设置预留位。为场景页的插入提供位置,当场景页插入预留位时,就实现了对故事线中场景页的插入。从而解决现有技术中无法在故事线中插入场景页的技术问题。Technical effect description: By identifying the preset positions of at least two preset scene pages, set reserved positions outside the preset positions. Provide a location for the insertion of scene pages. When the scene page is inserted into the reserved position, the insertion of the scene page in the story line is realized. Thereby, the technical problem that the scene page cannot be inserted into the story line in the prior art is solved.
实施例七Embodiment 7
参见图5,具体的,步骤S3包括:Referring to Figure 5, specifically, step S3 includes:
S31、对预留位的位置进行标记;S31, marking the position of the reserved bit;
S32、获取外部场景页;S32. Obtain an external scene page;
S33、寻找预留位的位置标记;S33. Find the position mark of the reserved bit;
S34、将外部场景页放置在预留位的标记处。S34. Place the external scene page at the mark of the reserved position.
实施例八Embodiment 8
参见图6,对应的,插入模块3包括:Referring to Figure 6, correspondingly, the plug-in module 3 includes:
标记单元31,对预留位的位置进行标记;The marking unit 31 marks the position of the reserved bit;
采集单元32,采集外部场景页;The collection unit 32 collects external scene pages;
查找单元33,寻找预留位的位置标记; Search unit 33, look for the position mark of reserved position;
运送单元34,将外部场景页放置在预留位的标记处。The transport unit 34 places the external scene page at the mark of the reserved position.
需要说明的是,采集单元包括:从场景页数据库中调取场景页或者自建场景页。It should be noted that the collection unit includes: fetching a scene page from the scene page database or creating a self-built scene page.
技术效果说明:通过对预留位的位置进行标记;获取外部场景页;寻找预留位的位置标记;将外部场景页放置在预留位的标记处。实现将场景页插入故事线的预留位,实现对故事线中的场景页的插入编辑,提高了用户的操作空间和创作自由度。Technical effect description: By marking the position of the reserved space; obtaining the external scene page; looking for the position mark of the reserved space; placing the external scene page at the mark of the reserved space. Realize the reserved position for inserting the scene page into the story line, realize the insertion and editing of the scene page in the story line, and improve the user's operation space and creative freedom.
实施例九Embodiment 9
具体的,所述获取含有至少两个预置场景页的故事线包括:Specifically, the acquiring a story line containing at least two preset scene pages includes:
获取用户输入的故事线生成数据,所述故事线生成数据包括用户信息。其中,用户信息可以是用户ID等具有用户身份标识的信息。The story line generation data input by the user is acquired, and the story line generation data includes user information. Wherein, the user information may be information with a user identity such as a user ID.
获取所述用户信息对应的多个历史故事线数据,基于所述多个历史故事线数据生成与所述用户信息对应的至少两个预置场景页的故事线。每个用户信息可能会对应有多个历史故事线数据,根据历史故 事线数据得到预置场景页的故事线,使得生成的预置场景页的故事线与用户本身更加的贴合。Acquire multiple historical storyline data corresponding to the user information, and generate storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data. Each user information may correspond to multiple historical story line data, and the story line of the preset scene page is obtained according to the historical story line data, so that the generated story line of the preset scene page is more suitable for the user itself.
具体的,基于所述多个历史故事线数据生成与所述用户信息对应的至少两个预置场景页的故事线包括:Specifically, generating storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data includes:
所述历史故事线数据包括场景页属性信息和场景页数量信息;The historical story line data includes scene page attribute information and scene page quantity information;
基于所述多个历史故事线数据包括的所述场景页属性信息和所述场景页数量信息以及权重信息生成场景页预制模型;generating a scene page prefab model based on the scene page attribute information and the scene page quantity information and weight information included in the multiple historical storyline data;
所述场景页预制模型基于输入的所述用户信息得到至少两个预置场景页的故事线。The scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
其中,场景页属性信息可以是场景页的内容属性,也可以是场景页的格式属性。场景页预制模型可以根据用户以往制作故事线的操作,得到一个预期结果,该预期结果即生成的至少两个预置场景页的故事线。使得本发明提供的技术方案能够根据用户的历史操作得到当前的预制场景页的推荐,降低用户在制作故事线、挑选场景页的时间,大大提高其制作效率。The scene page attribute information may be the content attribute of the scene page or the format attribute of the scene page. The scene page prefab model can obtain an expected result according to the user's previous operations of making a story line, and the expected result is the generated story lines of at least two preset scene pages. The technical solution provided by the present invention can obtain the recommendation of the current prefabricated scene page according to the user's historical operation, reduce the time for the user to create the story line and select the scene page, and greatly improve the production efficiency.
具体的,所述场景页预制模型包括以下公式:Specifically, the scene page prefab model includes the following formula:
Figure PCTCN2021098205-appb-000003
Figure PCTCN2021098205-appb-000003
其中,p为预制场景页数量,k 1为权重,X i为其中一个历史故事线的场景页数量,o为历史故事线的数量。 Among them, p is the number of prefabricated scene pages, k 1 is the weight, X i is the number of scene pages of one of the historical story lines, and o is the number of historical story lines.
通过上述的场景页阈值模型,会根据历史操作中各个历史故事线的场景页数量预测预制场景页数量,使得预制场景页数量更加符合用户的操作习惯、相对需求。Through the above scene page threshold model, the number of prefabricated scene pages will be predicted according to the number of scene pages of each historical story line in historical operations, so that the number of prefabricated scene pages is more in line with the user's operating habits and relative needs.
具体的,所述预制场景页对应有属性信息,通过以下步骤确定预制场景也的属性信息;Specifically, the prefabricated scene page corresponds to attribute information, and the attribute information of the prefabricated scene is determined through the following steps;
获取所有历史故事线数据中每个场景页的属性信息;Get the attribute information of each scene page in all historical storyline data;
统计具有相同属性信息的场景页的数量,并基于所述数量对属性信息降序的排序;Count the number of scene pages with the same attribute information, and sort the attribute information in descending order based on the number;
按照所述降序的排序,选取与所述预制场景页数量对应的属性信息关联。According to the descending sorting, the attribute information association corresponding to the number of the prefabricated scene pages is selected.
通过以上的技术方案,可以对任意一个用户的历史操作进行统计,即对具有相同属性信息的场景页的数量进行统计,可以是将数量最高的属性信息作为预制场景页的属性信息,也可以是将数量前二的属性信息作为预制场景页的属性信息,可以根据实际情况进行适用。Through the above technical solution, the historical operations of any user can be counted, that is, the number of scene pages with the same attribute information can be counted, and the attribute information with the highest number can be used as the attribute information of the prefabricated scene page, or The attribute information of the top two in the number is used as the attribute information of the prefabricated scene page, which can be applied according to the actual situation.
实施例十Embodiment ten
对应的,所述获取模块还用于执行以下步骤,包括:Correspondingly, the obtaining module is further configured to perform the following steps, including:
获取用户输入的故事线生成数据,所述故事线生成数据包括用户信息;acquiring storyline generation data input by the user, where the storyline generation data includes user information;
获取所述用户信息对应的多个历史故事线数据,基于所述多个历史故事线数据生成与所述用户信息对应的至少两个预置场景页的故事线。Acquire multiple historical storyline data corresponding to the user information, and generate storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data.
对应的,所述获取模块还用于执行以下步骤,包括:Correspondingly, the obtaining module is further configured to perform the following steps, including:
所述历史故事线数据包括场景页属性信息和场景页数量信息;The historical story line data includes scene page attribute information and scene page quantity information;
基于所述多个历史故事线数据包括的所述场景页属性信息和所述场景页数量信息以及权重信息生成场景页预制模型;generating a scene page prefab model based on the scene page attribute information and the scene page quantity information and weight information included in the multiple historical storyline data;
所述场景页预制模型基于输入的所述用户信息得到至少两个预置场景页的故事线。The scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
对应的,所述场景页预制模型包括以下公式:Correspondingly, the scene page prefabricated model includes the following formula:
Figure PCTCN2021098205-appb-000004
Figure PCTCN2021098205-appb-000004
其中,p为预制场景页数量,k 1为权重,X i为其中一个历史故事线的场景页数量,o为历史故事线的数量。 Among them, p is the number of prefabricated scene pages, k 1 is the weight, X i is the number of scene pages of one of the historical story lines, and o is the number of historical story lines.
对应的,所述预制场景页对应有属性信息,所述获取模块还用于执行以下步骤,包括:Correspondingly, the prefabricated scene page corresponds to attribute information, and the obtaining module is further configured to perform the following steps, including:
获取所有历史故事线数据中每个场景页的属性信息;Get the attribute information of each scene page in all historical storyline data;
统计具有相同属性信息的场景页的数量,并基于所述数量对属性信息降序的排序;Count the number of scene pages with the same attribute information, and sort the attribute information in descending order based on the number;
按照所述降序的排序,选取与所述预制场景页数量对应的属性信息关联。According to the descending sorting, the attribute information association corresponding to the number of the prefabricated scene pages is selected.
一种电子设备,包括存储器和处理器,存储器存储计算机程序,计算机程序在处理器中执行可实现上述一种方法。An electronic device includes a memory and a processor, the memory stores a computer program, and the computer program is executed in the processor to implement the above method.
一种存储介质,存储计算机程序,计算机程序在处理器中执行可实现上述任一种方法。A storage medium storing a computer program, the computer program being executed in a processor can implement any of the above methods.
本发明通过先获取含有至少两个预置场景页的故事线,在故事线上设置预留位,获取外部场景页,将外部场景页插入预留位,从而实现在故事线中插入场景页。通过以上技术手段,实现用户在故事线中插入场景页,相比于现有的模板故事线,本发明提高了用户对故事线的可编辑性,丰富了用户的创作空间和创作自由度。相比于全新空白模板中的创作方式,本发明降低了用户的创作难度,提高客户创作的表达准确性和故事完整性。The present invention inserts a scene page in a story line by first acquiring a story line containing at least two preset scene pages, setting reserved positions on the story line, acquiring external scene pages, and inserting the external scene pages into the reserved positions. Through the above technical means, the user can insert the scene page in the story line. Compared with the existing template story line, the present invention improves the user's editability of the story line and enriches the user's creative space and creative freedom. Compared with the creation method in the new blank template, the present invention reduces the creation difficulty of the user, and improves the expression accuracy and story integrity of the creation of the client.
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection scope of the present invention. Inside.

Claims (18)

  1. 一种基于故事线的手绘视频创作方法,其特征在于,包括步骤:A hand-drawn video creation method based on story line, characterized in that it includes the steps:
    获取含有至少两个预置场景页的故事线;Get a storyline with at least two preset scene pages;
    在所述故事线上设置预留位;setting a reservation on said storyline;
    获取外部场景页,将所述外部场景页插入所述预留位。Acquire an external scene page, and insert the external scene page into the reserved position.
  2. 如权利要求1所述的方法,其特征在于,所述的获取含有至少两个预置场景页的故事线的步骤包括:The method of claim 1, wherein the step of acquiring a story line containing at least two preset scene pages comprises:
    调用含有至少两个预置场景页的模板故事线。Calls up a template storyline with at least two preset scene pages.
  3. 如权利要求1所述的方法,其特征在于,所述的获取含有至少两个预置场景页的故事线的步骤包括:The method of claim 1, wherein the step of acquiring a story line containing at least two preset scene pages comprises:
    创建含有至少两个预置场景页的自建故事线。Create your own storyline with at least two preset scene pages.
  4. 如权利要求1所述的方法,其特征在于,所述的在所述故事线上设置预留位的步骤包括:The method of claim 1, wherein the step of setting a reserved position on the story line comprises:
    识别所述至少两个预置场景页的预置位;identifying preset positions of the at least two preset scene pages;
    在所述预置位之外设置预留位。A reserved bit is set in addition to the preset bit.
  5. 一种基于故事线的手绘视频创作的装置,其特征在于,包括:A device for creating hand-drawn video based on a story line, characterized in that it includes:
    获取模块,获取含有至少两个预置场景页的故事线;Get the module to get the story line with at least two preset scene pages;
    预设模块,在所述故事线上设置预留位;A preset module, setting a reserved position on the story line;
    插入模块,获取外部场景页,将所述外部场景页插入所述预留位。The inserting module acquires an external scene page, and inserts the external scene page into the reserved position.
  6. 如权利要求5所述的装置,其特征在于,所述获取模块包括:The apparatus of claim 5, wherein the acquiring module comprises:
    调用单元,调用含有至少两个预置场景页的模板故事线。Call unit, call a template storyline that contains at least two preset scene pages.
  7. 如权利要求5所述的装置,其特征在于,所述获取模块包括:The apparatus of claim 5, wherein the acquiring module comprises:
    自建单元,创建含有至少两个预置场景页的自建故事线。Self-built units, create self-built storylines with at least two preset scene pages.
  8. 如权利要求5所述的装置,其特征在于,所述预设模块包括:The apparatus of claim 5, wherein the preset module comprises:
    识别单元,识别所述至少两个预置场景页的预置位;an identifying unit, identifying the preset positions of the at least two preset scene pages;
    设置单元,在所述预置位之外设置预留位。A setting unit is used to set reserved bits in addition to the preset bits.
  9. 如权利要求1所述的方法,其特征在于,所述获取含有至少两个预置场景页的故事线包括:The method of claim 1, wherein the acquiring a story line containing at least two preset scene pages comprises:
    获取用户输入的故事线生成数据,所述故事线生成数据包括用户信息;acquiring storyline generation data input by the user, where the storyline generation data includes user information;
    获取所述用户信息对应的多个历史故事线数据,基于所述多个历史故事线数据生成与所述用户信息对应的至少两个预置场景页的故事线。Acquire multiple historical storyline data corresponding to the user information, and generate storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data.
  10. 如权利要求9所述的方法,其特征在于,基于所述多个历史故事线数据生成与所述用户信息对应的至少两个预置场景页的故事线包括:The method of claim 9, wherein generating storylines of at least two preset scene pages corresponding to the user information based on the plurality of historical storyline data comprises:
    所述历史故事线数据包括场景页属性信息和场景页数量信息;The historical story line data includes scene page attribute information and scene page quantity information;
    基于所述多个历史故事线数据包括的所述场景页属性信息和所述场景页数量信息以及权重信息生成场景页预制模型;generating a scene page prefab model based on the scene page attribute information and the scene page quantity information and weight information included in the multiple historical storyline data;
    所述场景页预制模型基于输入的所述用户信息得到至少两个预置场景页的故事线。The scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
  11. 如权利要求10所述的方法,其特征在于,所述场景页预制模型包括以下公式:The method of claim 10, wherein the scene page prefab model comprises the following formula:
    Figure PCTCN2021098205-appb-100001
    Figure PCTCN2021098205-appb-100001
    其中,p为预制场景页数量,k 1为权重,X i为其中一个历史故事线的场景页数量,o为历史故事线的数量。 Among them, p is the number of prefabricated scene pages, k 1 is the weight, X i is the number of scene pages of one of the historical story lines, and o is the number of historical story lines.
  12. 如权利要求10所述的方法,其特征在于,The method of claim 10, wherein:
    所述预制场景页对应有属性信息,通过以下步骤确定预制场景也的属性信息;The prefabricated scene page corresponds to attribute information, and the attribute information of the prefabricated scene is determined by the following steps;
    获取所有历史故事线数据中每个场景页的属性信息;Get the attribute information of each scene page in all historical storyline data;
    统计具有相同属性信息的场景页的数量,并基于所述数量对属性信息降序的排序;Count the number of scene pages with the same attribute information, and sort the attribute information in descending order based on the number;
    按照所述降序的排序,选取与所述预制场景页数量对应的属性信息关联。According to the descending sorting, the attribute information association corresponding to the number of the prefabricated scene pages is selected.
  13. 如权利要求5所述的装置,其特征在于,所述获取模块还用于执行以下步骤,包括:The apparatus of claim 5, wherein the obtaining module is further configured to perform the following steps, comprising:
    获取用户输入的故事线生成数据,所述故事线生成数据包括用户信息;acquiring storyline generation data input by the user, where the storyline generation data includes user information;
    获取所述用户信息对应的多个历史故事线数据,基于所述多个历史故事线数据生成与所述用户信息对应的至少两个预置场景页的故事线。Acquire multiple historical storyline data corresponding to the user information, and generate storylines of at least two preset scene pages corresponding to the user information based on the multiple historical storyline data.
  14. 如权利要求13所述的装置,其特征在于,所述获取模块还用于执行以下步骤,包括:The apparatus of claim 13, wherein the obtaining module is further configured to perform the following steps, comprising:
    所述历史故事线数据包括场景页属性信息和场景页数量信息;The historical story line data includes scene page attribute information and scene page quantity information;
    基于所述多个历史故事线数据包括的所述场景页属性信息和所述场景页数量信息以及权重信息生成场景页预制模型;generating a scene page prefab model based on the scene page attribute information and the scene page quantity information and weight information included in the multiple historical storyline data;
    所述场景页预制模型基于输入的所述用户信息得到至少两个预置场景页的故事线。The scene page prefab model obtains storylines of at least two preset scene pages based on the input user information.
  15. 如权利要求14所述的装置,其特征在于,所述场景页预制模型包括以下公式:The apparatus of claim 14, wherein the scene page prefab model comprises the following formula:
    Figure PCTCN2021098205-appb-100002
    Figure PCTCN2021098205-appb-100002
    其中,p为预制场景页数量,k 1为权重,X i为其中一个历史故事线的场景页数量,o为历史故事线的数量。 Among them, p is the number of prefabricated scene pages, k 1 is the weight, X i is the number of scene pages of one of the historical story lines, and o is the number of historical story lines.
  16. 如权利要求14所述的装置,其特征在于,The apparatus of claim 14, wherein
    所述预制场景页对应有属性信息,所述获取模块还用于执行以下步骤,包括:The prefabricated scene page corresponds to attribute information, and the obtaining module is further configured to perform the following steps, including:
    获取所有历史故事线数据中每个场景页的属性信息;Get the attribute information of each scene page in all historical storyline data;
    统计具有相同属性信息的场景页的数量,并基于所述数量对属性信息降序的排序;Count the number of scene pages with the same attribute information, and sort the attribute information in descending order based on the number;
    按照所述降序的排序,选取与所述预制场景页数量对应的属性信息关联。According to the descending sorting, the attribute information association corresponding to the number of the prefabricated scene pages is selected.
  17. 一种电子设备,包括存储器和处理器,所述存储器存储计算机程序,其特征在于,所述计算机程序在所述处理器中执行可实现权利要求1-4、9-12中任一种方法。An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, wherein the computer program is executed in the processor to implement any one of the methods in claims 1-4 and 9-12.
  18. 一种存储介质,存储计算机程序,其特征在于,所述计算机程序在处理器中执行可实现权利要求1-4、9-12中任一种方法。A storage medium storing a computer program, characterized in that, when the computer program is executed in a processor, any one of the methods in claims 1-4 and 9-12 can be implemented.
PCT/CN2021/098205 2020-08-11 2021-06-03 Story line-based hand-drawn video creation method and apparatus WO2022033135A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010803360.0A CN111968198A (en) 2020-08-11 2020-08-11 Storyline-based hand-drawn video creation method and device
CN202010803360.0 2020-08-11

Publications (1)

Publication Number Publication Date
WO2022033135A1 true WO2022033135A1 (en) 2022-02-17

Family

ID=73364278

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/098205 WO2022033135A1 (en) 2020-08-11 2021-06-03 Story line-based hand-drawn video creation method and apparatus

Country Status (2)

Country Link
CN (1) CN111968198A (en)
WO (1) WO2022033135A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111968198A (en) * 2020-08-11 2020-11-20 深圳市前海手绘科技文化有限公司 Storyline-based hand-drawn video creation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103839562A (en) * 2014-03-17 2014-06-04 杨雅 Video creation system
CN108470036A (en) * 2018-02-06 2018-08-31 北京奇虎科技有限公司 A kind of method and apparatus that video is generated based on story text
CN110139159A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 Processing method, device and the storage medium of video material
CN111968198A (en) * 2020-08-11 2020-11-20 深圳市前海手绘科技文化有限公司 Storyline-based hand-drawn video creation method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7352952B2 (en) * 2003-10-16 2008-04-01 Magix Ag System and method for improved video editing
EP1958201B1 (en) * 2005-11-10 2013-02-27 QDC IP Technologies Pty Ltd Personalised video generation
US20140040712A1 (en) * 2012-08-02 2014-02-06 Photobucket Corporation System for creating stories using images, and methods and interfaces associated therewith
US10019415B1 (en) * 2015-08-28 2018-07-10 Animoto Inc. System and method for consistent cross-platform text layout
CN105868155A (en) * 2016-05-11 2016-08-17 黄芳 Story generation equipment and method
CN108062796B (en) * 2017-11-24 2021-02-12 山东大学 Handmade product and virtual reality experience system and method based on mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103839562A (en) * 2014-03-17 2014-06-04 杨雅 Video creation system
CN108470036A (en) * 2018-02-06 2018-08-31 北京奇虎科技有限公司 A kind of method and apparatus that video is generated based on story text
CN110139159A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 Processing method, device and the storage medium of video material
CN111968198A (en) * 2020-08-11 2020-11-20 深圳市前海手绘科技文化有限公司 Storyline-based hand-drawn video creation method and device

Also Published As

Publication number Publication date
CN111968198A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
US11627001B2 (en) Collaborative document editing
US9122886B2 (en) Track changes permissions
JP6323465B2 (en) Album creating program, album creating method, and album creating apparatus
US9230356B2 (en) Document collaboration effects
US7243101B2 (en) Program, image managing apparatus and image managing method
US9250779B2 (en) System and method for content creation
US9542366B2 (en) Smart text in document chat
US7099894B2 (en) Multimedia information collection control apparatus and method
US20070061703A1 (en) Method and apparatus for annotating a document
US20170220858A1 (en) Optical recognition of tables
US20160110070A1 (en) Photo collection display method and apparatus
JP2010118056A (en) Device for making album of content and method for making album of content
TW201234213A (en) Multimedia input method
CN110442761A (en) A kind of user draws a portrait construction method, electronic equipment and storage medium
WO2022033135A1 (en) Story line-based hand-drawn video creation method and apparatus
CN112084756A (en) Conference file generation method and device and electronic equipment
JP2000339327A (en) System for operating thumbnail image
EP4161080A1 (en) Video processing method, apparatus and device, and computer-readable storage medium
WO2022193460A1 (en) Presentation template transition method and device
WO2022033130A1 (en) Method for editing and saving json configuration file
CN106874684A (en) A kind of image labeling system and method
CN112507931A (en) Deep learning-based information chart sequence detection method and system
KR102646519B1 (en) Device and method for providing electronic research note service
JP2003122775A (en) Method, program and device for analyzing data
JP2008269216A (en) Document image acquisition device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21855191

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.06.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21855191

Country of ref document: EP

Kind code of ref document: A1