CN117113938A - Scenario processing method, scenario processing device, scenario processing equipment and storage medium - Google Patents

Scenario processing method, scenario processing device, scenario processing equipment and storage medium Download PDF

Info

Publication number
CN117113938A
CN117113938A CN202311100948.XA CN202311100948A CN117113938A CN 117113938 A CN117113938 A CN 117113938A CN 202311100948 A CN202311100948 A CN 202311100948A CN 117113938 A CN117113938 A CN 117113938A
Authority
CN
China
Prior art keywords
script
scenario
processed
converted
beat
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.)
Pending
Application number
CN202311100948.XA
Other languages
Chinese (zh)
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.)
Beijing IQIYI Science and Technology Co Ltd
Original Assignee
Beijing IQIYI Science and Technology 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 Beijing IQIYI Science and Technology Co Ltd filed Critical Beijing IQIYI Science and Technology Co Ltd
Priority to CN202311100948.XA priority Critical patent/CN117113938A/en
Publication of CN117113938A publication Critical patent/CN117113938A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • G06F40/295Named entity recognition

Abstract

The application relates to a scenario processing method, a scenario processing device, scenario processing equipment and a storage medium, wherein the scenario processing method comprises the following steps: the method comprises the steps of obtaining a script to be processed, splitting the script to be processed to obtain a script with a script format converted, enabling the converted script to comprise a script element list, receiving an editing instruction initiated by a user for reading the script based on the script element list, editing the converted script according to the editing instruction to obtain script content edited by the converted script, obtaining key information used for representing the development venation of a story from the script content edited, generating a plurality of beat cards according to the key information, and displaying the beat cards. The application can present the key information of the script on a visual page, thereby assisting the user to perform professional evaluation on the script and improving the efficiency of script evaluation.

Description

Scenario processing method, scenario processing device, scenario processing equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a scenario processing method, apparatus, device, and storage medium.
Background
Currently, a scenario needs to be evaluated by an evaluator in the early stage of movie and television project planning, and in the prior art, the evaluation processing of the scenario is mainly finished by a traditional character recognition tool (for example, an optical character recognition tool), and the following problems exist in the manner: only can the text information of the script text be identified, the original format of the script cannot be changed, and because of the length and the content complexity of the script text, an evaluator can only read and evaluate the script according to the original format of the script through personal experience, script information with different dimensions cannot be extracted quickly, and the story development venation of the script cannot be mastered quickly, so that the efficiency and the quality of script evaluation are affected.
Therefore, how to quickly master the story development venation of the scenario to improve the evaluation efficiency has become a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above, the present application provides a scenario processing method, apparatus, device and storage medium, which aim to solve the above technical problems.
In a first aspect, the present application provides a scenario processing method, the method including:
acquiring a script to be processed;
splitting the script to be processed to obtain a script with the script format converted, wherein the script after conversion comprises a script element list, and the script element list is used for a user to read the script after conversion from the dimension of the script element;
receiving an edit instruction initiated by a user for reading the converted scenario based on the scenario element list, and editing the converted scenario according to the edit instruction to obtain scenario content after the conversion of the scenario;
and acquiring key information for representing the development venation of the stories from the edited script content, generating a plurality of beat cards according to the key information, and displaying.
In a second aspect, the present application provides a scenario processing apparatus, the apparatus comprising:
the acquisition module is used for: the method comprises the steps of obtaining a script to be processed;
splitting module: the script processing method comprises the steps of splitting a script to be processed to obtain a script with a script format converted by the script to be processed, wherein the script after conversion comprises a script element list, and the script element list is used for a user to read the script after conversion from the dimension of the script element;
editing module: the script editing method comprises the steps of receiving an editing instruction initiated by a user for reading the converted script based on the script element list, editing the converted script according to the editing instruction, and obtaining script content edited by the converted script;
the generation module is used for: and the key information used for representing the development venation of the stories is obtained from the edited script content, and a plurality of beat cards are generated and displayed according to the key information.
In a third aspect, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the scenario processing method according to any one of the embodiments of the first aspect when executing the program stored in the memory.
In a fourth aspect, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements a scenario processing method according to any one of the embodiments of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method, the script to be processed is obtained by obtaining the script to be processed, the script to be processed is split to obtain the script with the script format converted, the script after conversion comprises a script element list, the script element list is used for a user to read the script from the dimension of the script element, an editing instruction initiated by the user based on the script element list for reading the script is received, the script after conversion is edited according to the editing instruction to obtain script content after the script after conversion, key information used for representing the development venation of the story is obtained from the script content after the edition, a plurality of beat cards are generated according to the key information, the beat cards are displayed, and the key information of the whole script is presented on a visual page, so that the user is assisted in professional evaluation of the script, and the script evaluation efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of an embodiment of a scenario processing method of the present application;
FIG. 2 is a schematic diagram of an interface of a field in an embodiment of the application;
FIG. 3 is a schematic block diagram of an embodiment of a scenario processing apparatus of the present application;
FIG. 4 is a schematic diagram of an embodiment of an electronic device of the present application;
the achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The following disclosure provides many different embodiments, or examples, for implementing different structures of the application. In order to simplify the present disclosure, components and arrangements of specific examples are described below. They are, of course, merely examples and are not intended to limit the application. Furthermore, the present application may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
The application provides a scenario processing method. Referring to fig. 1, a schematic flow chart of a scenario processing method according to an embodiment of the present application is shown. The method may be performed by an electronic device, which may be implemented in software and/or hardware. The scenario processing method comprises the following steps:
step S10: acquiring a script to be processed;
step S20: splitting the script to be processed to obtain a script with the script format converted, wherein the script after conversion comprises a script element list, and the script element list is used for a user to read the script after conversion from the dimension of the script element;
step S30: receiving an edit instruction initiated by a user for reading the converted scenario based on the scenario element list, and editing the converted scenario according to the edit instruction to obtain scenario content after the conversion of the scenario;
step S40: and acquiring key information for representing the development venation of the stories from the edited script content, generating a plurality of beat cards according to the key information, and displaying.
The scenario is taken as an example of the scenario of the movie and television play, and the application scene of the application can be the earlier stage of movie and television project planning, and the scenario of the movie and television play is processed, so that related evaluation personnel can systematically and normally evaluate the processed scenario. In practical application, the scenario of the application may be a drama scenario, a novel scenario, a small-article scenario, etc. Because the prior art only recognizes text information of the script, the original format of the script cannot be changed, and because of the length and the content complexity of the script text, an evaluator can only read and evaluate the script according to the original format of the script through personal experience, and key information with different dimensions cannot be rapidly extracted, so that the efficiency and the quality of script evaluation are affected. Therefore, the script after the script format conversion is obtained by splitting the script to be processed, an evaluator can read the script after the script format conversion from the dimension of the script element and edit the script after the script format conversion, and key information for representing the development venation of the story is marked to generate a beat card for display, so that the key information of the script can be presented on a visual page, thereby assisting the evaluator in performing professional evaluation on the script.
Specifically, when a request of initiating scenario processing by a user (e.g., scenario evaluator) is received, the electronic device (e.g., terminal) parses the request and acquires a scenario to be processed carried in the request, where the request may include the scenario to be processed, or may include a storage path of the scenario to be processed, that is, the scenario to be processed may be uploaded by the user together when submitting the scenario processing request, or may be acquired by the terminal from a request-related storage path after submitting the scenario processing request by the user. It may be appreciated that the scenario processing request may be initiated by the user through a human-machine interaction interface of the terminal.
After obtaining the script to be processed, carrying out formatting splitting on the script to be processed to obtain a script after the script format conversion of the script to be processed, wherein the formatting splitting refers to splitting and segmenting the script to be processed according to a preset rule, the formatting splitting aims at converting the script to be processed into structured data easy to analyze, carrying out text analysis, information extraction, intelligent recognition and other processes on the script more easily by splitting the script to be processed according to the preset rule, the preset rule can be that a script head of the script (the script head usually appears at the beginning of each new script and is used for indicating the place, time and other information of the script) is firstly identified by utilizing a preset regular expression, the text of the script is divided into a plurality of script times according to the script head, and then script elements such as the script number, the scene, the character, the time and the space of each script are extracted, and the script is split according to script elements.
The scenario includes multiple sets of content, one set of content typically including 40-60 shots, each having a corresponding field number, each having a corresponding scene. The scenes have corresponding conflicts (conflicts refer to contradictory conflicts among characters in the script, among the characters themselves and between the characters and the environment), and the information such as the story line (the story line refers to a series of events with logical relations around the story theme), the plot point (the plot point refers to an event or a change in the script), and the character characterization (character characterization refers to the character image, character, interest and hobbies).
When the script to be processed is split, the named entity recognition model, the convolutional neural network and other natural language processing models can be utilized to recognize and split various script elements of the script. After splitting the scenario to be processed to obtain scenario elements of various types, generating a scenario element list through a pre-constructed regular expression, so that a user can read the scenario with converted format from the dimension of the scenario element, for example, extracting scenario information from the splitting result by utilizing the pre-constructed regular expression for extracting the scenario element, generating a scenario list according to the extracted scenario information, extracting character information from the splitting result by utilizing the pre-constructed regular expression for extracting the character element, and generating a character list according to the extracted character information. The regular expression is a logic formula for operating on the character string, and a rule character string is formed by predefined specific characters and combinations of the specific characters, and the rule character string is used for expressing a filtering or screening logic for the character string.
After the scenario element list corresponding to the scenario to be processed is obtained, the scenario can be read and evaluated by a user from the dimension of the scenario element, the content of the scenario can be edited through the man-machine interaction interface when the user reads the split scenario, specifically, the user can initiate an editing instruction to edit abstract information, conflict information, story line information, plot information, character information, scene information and the like of the scenario, the editing instruction can be a new instruction, a deleting instruction and a modifying instruction, the user can also add labels in the scenario, for example, the user can update the scene list correspondingly after editing the scene information of the scenario, and therefore the edited scenario content is obtained.
After the edited script content is obtained, the user can mark key information used for representing the development venation of the stories from the edited script content, the key information can be selected and marked according to actual requirements when the user marks the key information, for example, the scenes, the conflicts, the story lines and the plot points are marked, after the system obtains the key information, a plurality of beat cards are generated according to the key information, and the beat cards are displayed according to different dimensions, for example, the beat cards can be displayed in the narrative sequence, and the beat cards can also be displayed in the story line distribution. Wherein a beat card is a form of recording a scenario structure (e.g., an event) through which a user can organize and plan a story line, one event corresponding to one beat card, for example, in scenario content, character a and character B talk about the same thing on a road and in an office, belonging to one beat, which is divided into two plays of a road and an office. Through showing the script in the form of a beat card, a user can evaluate the content of the script from the professional angle, capture core elements of the script, improve the professional and efficiency of script evaluation and save time.
According to the method, the script to be processed is obtained by obtaining the script to be processed, the script to be processed is split to obtain the script with the script format converted, the script after conversion comprises a script element list, the script element list is used for a user to read the script from the dimension of the script element, an editing instruction initiated by the user based on the script element list for reading the script is received, the script after conversion is edited according to the editing instruction to obtain script content after the script after conversion, key information used for representing the development venation of the story is obtained from the script content after the edition, a plurality of beat cards are generated according to the key information, the beat cards are displayed, and the key information of the whole script is presented on a visual page, so that the user is assisted in professional evaluation of the script, and the script evaluation efficiency is improved.
In one embodiment, the splitting the scenario to be processed to obtain the scenario after format conversion of the scenario to be processed includes:
identifying script elements constituting the script to be processed;
splitting the scenario to be processed according to the scenario element to obtain a splitting result of the scenario to be processed;
creating a scenario element list of the scenario to be processed according to the splitting result, wherein each scenario element in the scenario element list has associated scenario content;
and taking the script element list and script content associated with each script element as the script after the script format conversion to be processed.
The scenario elements constituting the scenario to be processed can be identified by algorithms such as natural language processing and machine learning, for example, character information in the scenario is identified by using a named entity recognition algorithm. Splitting the script to be processed according to the script elements after identifying the script elements to obtain a splitting result of the script to be processed, and creating a script element list of the script to be processed according to the splitting result, for example, creating a character list, a scene list and the like, wherein each script element in the script element list has associated script content, taking the character list as an example, characters in the character list have associated scene information, and the number of sets, the number of fields and the number of pages associated with the characters can be counted. And taking the script element list and script content associated with each script element as the script after the script format conversion to be processed. The user can read the script from the dimension of the script element according to the script after format conversion, so that the user can quickly acquire script contents with different dimensions, and the script evaluation efficiency is provided.
Further, identifying scenario elements that constitute the scenario to be processed includes:
identifying a plurality of field heads of the script to be processed;
dividing the scenario to be processed into a plurality of shots by taking each shot as initial information of the shots;
and identifying the script elements in each scene to obtain the script elements of the script to be processed.
Since the field heads of the script usually appear at the place where the new field starts, a plurality of field heads of the script to be processed can be identified by the regular expression, each field is defined to use the field head as starting information according to the identification result of the field heads, the script to be processed is divided into a plurality of field times, and script elements such as a set number, a field number, a scene, time, space and the like are identified for each field time according to the division result of the field times.
Wherein, the album number usually appears in the title of the script text, for example, in the form of "1 st album", if there is no album number in the title, the album number is extracted from the field header, for example, "1" in "1 st album 1 st field" is the album number, and "3" in "3-2" is the album number;
the field number is usually after the album number, the field header usually takes the album/field number as a starting element, the field number has obvious numerical characteristics, and the field number is separated from other script elements by separators such as space, pause number and the like;
time is typically indicated after the field number by descriptive words such as "day", "night", "coma", "morning", etc.;
space is typically preceded by a field number by the spatially descriptive words "inner", "outer", etc.;
taking the extracted set number, field number, time and space residual text as scenes, and subdividing the scenes into large scenes, small scenes and other scenes through models such as natural language processing;
the character may use a natural language processing model to identify character information from the transcript content.
According to the characteristics of the script elements, the script elements in each scene can be accurately identified by using a natural language processing model, so that the script elements of the script to be processed are obtained.
Further, creating a scenario element list of the scenario to be processed according to the splitting result, including:
determining the same script elements in the splitting result, and taking the same script elements as one line of data respectively;
taking each different script element as one line of data;
screening out multiple lines of data of script elements belonging to the same attribute;
and respectively creating script element lists with multiple attributes based on the multiple rows of data to obtain the script element list of the script to be processed.
The split result contains script elements with various attributes, such as script elements with character attributes and script elements with scene attributes. Suppose that the scenario elements of the person attribute in the split result include person a, person B and person C, and only person a appears multiple times, the scenario elements of the scene attribute include scene a, scene B and scene C, and only scene B appears multiple times. Then the character a appearing many times is taken as one line of data, the scene B appearing many times is taken as one line of data, and the different scenario elements are respectively taken as one line of data, namely the character B and the character C are respectively taken as one line of data, and the scene a and the scene C are respectively taken as one line of data. And screening out the multi-line data of the script elements belonging to the same attribute in the splitting result, and splicing the multi-line data of the script elements of the same attribute, so that a script element list of each attribute is obtained and used as a script element list of the script to be processed. By constructing the script element list with various attributes, a user can read the script from the dimension with different attributes, so that the user can quickly acquire the key information of the script.
In one embodiment, receiving an edit instruction initiated by a user to read the converted scenario based on the scenario element list, editing the converted scenario according to the edit instruction, and obtaining scenario content edited by the converted scenario, including:
receiving an editing instruction of editing the scenes and/or the script elements, wherein the editing instruction is initiated by a user based on the script element list to read the converted script;
determining the scene and/or scenario elements edited by the user according to the editing instruction;
and updating the converted script according to the scenes and/or script elements edited by the user to obtain script contents edited by the converted script.
The user can read the script after format conversion from the dimension of the script element, and when the user reads the script, the user can initiate editing instructions of the script and/or the script element through the human-computer interaction interface, wherein the editing instructions comprise a new instruction, a deletion instruction and a modification instruction, the editing instructions are taken as examples, the system obtains the script and/or the script element newly added by the user according to the editing instructions, adds the newly added script and/or the script element into a script list and/or a script element list and updates the script, so that script contents after script editing after format conversion are obtained. The method and the system enable the user to flexibly edit the scenes and/or the script elements according to the evaluation requirements in the process of reading the script. The system can also display the script for the user to read in the structure of the corresponding scenes of the album number, so that the user can read the script in different scenes, the user can add information such as abstract, conflict, story line, plot point, character, label and the like corresponding to each scene in the reading process, and if the script has a part with a bright point or a part needing to be modified, the user can also add comments in the script.
In one embodiment, obtaining key information for characterizing the development venation of the story from the edited script content, generating a plurality of beat cards according to the key information, and including:
receiving a labeling instruction initiated by a user based on a human-computer interaction interface;
determining key information marked by a user on the man-machine interaction interface and used for representing story development venation according to the marking instruction;
and filling the key information into a preset blank beat template to generate a plurality of beat cards.
In the reading process of a user, key information needing to generate beat cards can be marked on a human-computer interaction interface, the key information is used for representing story development venation, the key information comprises information such as a scene number, scene content, conflict, a story line, a plot node and the like, specifically, the user initiates a marking instruction through the human-computer interaction interface, the marking instruction can mark the scene number, the scene content, the conflict, the story line, the plot node, a character and the like, the system determines the marking information according to the marking instruction, the marking information is used as key information of a script, the marking information is filled into a preset blank beat template to generate a plurality of beat cards, for example, the blank beat template is displayed in the human-computer interaction interface, blank columns in the template are respectively highlighted, when blank columns used for filling the plot node in the template are highlighted, the user marked plot node can be filled into the blank columns after the template is used for filling conflict blank columns highlighting, and the user marked conflict can be filled into the blank columns. The blank beat template refers to a template to be filled with key information. The scattered key information is collected in the beat card, the user can directly check the conflict quantity in the whole story development through the beat card, the distribution condition of the story line and the density of the plot nodes, and the story development venation of the script is mastered in the evaluation process.
In one embodiment, the displaying manner of the beat cards includes:
sequencing each beat card from small to large according to the number of the scenes, and displaying the beat cards according to the sequencing result;
or determining a story line to which each beat card belongs, wherein each story line has a corresponding relation with one or more beat cards;
acquiring current ordering information of the story line;
and displaying each beat card according to the current ordering information of the story line.
The beat cards can be displayed in the sequence of the narrative, namely, all the beat cards are displayed after being sequenced from small to large according to the scene numbers, and a user can view according to the development sequence of the story. The beat cards can also be displayed according to the distribution of the story lines, the user can check the number of the beat cards of each story line, and the main story line of the script can be known, specifically, each story line has a corresponding relation with one or more beat cards, the story line to which each beat card belongs is determined, the current ordering information of the story line is obtained, each beat card is displayed according to the current ordering information of the story line, for example, the ordering of the story lines is A1, B1 and C1, the story line A1 comprises the beat card a, the story line B1 comprises the beat card B, the story line C1 comprises the beat card C, and the ordering of the beat cards is a, B and C. In the process of evaluating the script, the user can quickly master the climax and the valley of the story development according to the distribution condition of the story line, quickly capture the core content of the script, and improve the professionality and efficiency of script evaluation. Referring to fig. 2, an interface schematic of a session according to an embodiment of the present application includes a session number "47", a story line to which the session belongs ("B" is a code of the story line), and a scenario node and a conflict of the session.
Referring to fig. 3, a schematic functional block diagram of a scenario processing apparatus 100 according to the present application is shown.
The scenario processing apparatus 100 of the present application may be installed in an electronic device. The scenario processing apparatus 100 may include an acquisition module 110, a splitting module 120, an editing module 130, and a generation module 140 according to the implemented functions. The module of the application, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the present embodiment, the functions concerning the respective modules/units are as follows:
the acquisition module 110: the method comprises the steps of obtaining a script to be processed;
splitting module 120: the script processing method comprises the steps of splitting a script to be processed to obtain a script with a script format converted by the script to be processed, wherein the script after conversion comprises a script element list, and the script element list is used for a user to read the script after conversion from the dimension of the script element;
editing module 130: the script editing method comprises the steps of receiving an editing instruction initiated by a user for reading the converted script based on the script element list, editing the converted script according to the editing instruction, and obtaining script content edited by the converted script;
the generating module 140: and the key information used for representing the development venation of the stories is obtained from the edited script content, and a plurality of beat cards are generated and displayed according to the key information.
In one embodiment, the splitting the scenario to be processed to obtain the scenario after format conversion of the scenario to be processed includes:
identifying script elements constituting the script to be processed;
splitting the scenario to be processed according to the scenario element to obtain a splitting result of the scenario to be processed;
creating a scenario element list of the scenario to be processed according to the splitting result, wherein each scenario element in the scenario element list has associated scenario content;
and taking the script element list and script content associated with each script element as the script after the script format conversion to be processed.
In one embodiment, the identifying scenario elements that constitute the scenario to be processed includes:
identifying a plurality of field heads of the script to be processed;
dividing the scenario to be processed into a plurality of shots by taking each shot as initial information of the shots;
and identifying the script elements in each scene to obtain the script elements of the script to be processed.
In one embodiment, the creating the scenario element list of the scenario to be processed according to the splitting result includes:
determining the same script elements in the splitting result, and taking the same script elements as one line of data respectively;
taking each different script element as one line of data;
screening out multiple lines of data of script elements belonging to the same attribute;
and respectively creating script element lists with multiple attributes based on the multiple rows of data to obtain the script element list of the script to be processed.
In one embodiment, the receiving user reads an edit instruction initiated by the converted scenario based on the scenario element list, edits the converted scenario according to the edit instruction, and obtains scenario content edited by the converted scenario, including:
receiving an editing instruction of editing the scenes and/or the script elements, wherein the editing instruction is initiated by a user based on the script element list to read the converted script;
determining the scene and/or scenario elements edited by the user according to the editing instruction;
and updating the converted script according to the scenes and/or script elements edited by the user to obtain script contents edited by the converted script.
In one embodiment, the obtaining key information for characterizing the development venation of the story from the edited script content, generating a plurality of beat cards according to the key information, includes:
receiving a labeling instruction initiated by a user based on a human-computer interaction interface;
determining key information marked by a user on the man-machine interaction interface and used for representing story development venation according to the marking instruction;
and filling the key information into a preset blank beat template to generate a plurality of beat cards.
In one embodiment, the displaying manner of the beat cards includes:
sequencing each beat card from small to large according to the number of the scenes, and displaying the beat cards according to the sequencing result;
or determining a story line to which each beat card belongs, wherein each story line has a corresponding relation with one or more beat cards;
acquiring current ordering information of the story line;
and displaying each beat card according to the current ordering information of the story line.
Referring to fig. 4, a schematic diagram of a preferred embodiment of the electronic device of the present application is shown.
The electronic device comprises a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112 and the memory 113 are communicated with each other through the communication bus 114;
a memory 113 for storing a computer program, for example, a scenario processing program;
processor 111 may be, among other things, a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 111 is typically used to control the overall operation of the electronic device, such as performing data interaction or communication related control and processing, etc. In this embodiment, the processor 111 is configured to execute program codes or process data stored in the memory 113, such as program codes for executing scenario processing programs, and the like.
The communication interface 112 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), and the communication interface 112 may also be used to establish communication connections between the electronic device and other electronic devices.
The memory 113 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 113 may be an internal storage unit of the electronic device, such as a hard disk or a memory of the electronic device. In other embodiments, the memory 113 may also be an external storage device of the electronic device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. that are equipped with the electronic device. Of course, the memory 113 may also include both an internal memory unit and an external memory device of the electronic device. In this embodiment, the memory 11 is typically used to store an operating system installed in the electronic device and various computer programs, such as program codes of scenario processing programs. In addition, the memory 113 may also be used to temporarily store various types of data that have been output or are to be output.
Fig. 4 shows only an electronic device having components 111-114, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead.
In one embodiment of the present application, the processor 111 is configured to implement the scenario processing method provided in any one of the foregoing method embodiments when executing the program stored in the memory 113, where the scenario processing method includes:
acquiring a script to be processed;
splitting the script to be processed to obtain a script with the script format converted, wherein the script after conversion comprises a script element list, and the script element list is used for a user to read the script after conversion from the dimension of the script element;
receiving an edit instruction initiated by a user for reading the converted scenario based on the scenario element list, and editing the converted scenario according to the edit instruction to obtain scenario content after the conversion of the scenario;
and acquiring key information for representing the development venation of the stories from the edited script content, generating a plurality of beat cards according to the key information, and displaying.
For a detailed description of the above steps, refer to the functional block diagram of the scenario processing apparatus 100 embodiment shown in fig. 3 and the flowchart of the scenario processing method embodiment shown in fig. 1.
Furthermore, the embodiment of the application also provides a computer readable storage medium, which can be nonvolatile or volatile. The computer readable storage medium comprises a storage data area and a storage program area, wherein the storage program area stores a scenario processing program, and the scenario processing program realizes the following operations when being executed by a processor:
acquiring a script to be processed;
splitting the script to be processed to obtain a script with the script format converted, wherein the script after conversion comprises a script element list, and the script element list is used for a user to read the script after conversion from the dimension of the script element;
receiving an edit instruction initiated by a user for reading the converted scenario based on the scenario element list, and editing the converted scenario according to the edit instruction to obtain scenario content after the conversion of the scenario;
and acquiring key information for representing the development venation of the stories from the edited script content, generating a plurality of beat cards according to the key information, and displaying.
The embodiment of the computer readable storage medium of the present application is substantially the same as the embodiment of the scenario processing method described above, and will not be described herein.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Based on such understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the related art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the method described in the respective embodiments or some parts of the embodiments.
It should be noted that the description of "first", "second", etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implying an indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present application.
It is to be understood that the terminology used herein is for the purpose of describing particular example embodiments only, and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises," "comprising," "includes," "including," and "having" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order described or illustrated, unless an order of performance is explicitly stated. It should also be appreciated that additional or alternative steps may be used.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A scenario processing method, the method comprising:
acquiring a script to be processed;
splitting the script to be processed to obtain a script with the script format converted, wherein the script after conversion comprises a script element list, and the script element list is used for a user to read the script after conversion from the dimension of the script element;
receiving an edit instruction initiated by a user for reading the converted scenario based on the scenario element list, and editing the converted scenario according to the edit instruction to obtain scenario content after the conversion of the scenario;
and acquiring key information for representing the development venation of the stories from the edited script content, generating a plurality of beat cards according to the key information, and displaying.
2. The scenario processing method of claim 1, wherein the splitting the scenario to be processed to obtain the scenario after format conversion of the scenario to be processed comprises:
identifying script elements constituting the script to be processed;
splitting the scenario to be processed according to the scenario element to obtain a splitting result of the scenario to be processed;
creating a scenario element list of the scenario to be processed according to the splitting result, wherein each scenario element in the scenario element list has associated scenario content;
and taking the script element list and script content associated with each script element as the script after the script format conversion to be processed.
3. The scenario processing method according to claim 2, wherein the identifying scenario elements constituting the scenario to be processed includes:
identifying a plurality of field heads of the script to be processed;
dividing the scenario to be processed into a plurality of shots by taking each shot as initial information of the shots;
and identifying the script elements in each scene to obtain the script elements of the script to be processed.
4. The scenario processing method of claim 2, wherein the creating the scenario element list of the scenario to be processed according to the splitting result comprises:
determining the same script elements in the splitting result, and taking the same script elements as one line of data respectively;
taking each different script element as one line of data;
screening out multiple lines of data of script elements belonging to the same attribute;
and respectively creating script element lists with multiple attributes based on the multiple rows of data to obtain the script element list of the script to be processed.
5. The scenario processing method of claim 1, wherein the receiving user reads an edit instruction initiated by the converted scenario based on the scenario element list, edits the converted scenario according to the edit instruction, and obtains scenario content edited by the converted scenario, and includes:
receiving an editing instruction of editing the scenes and/or the script elements, wherein the editing instruction is initiated by a user based on the script element list to read the converted script;
determining the scene and/or scenario elements edited by the user according to the editing instruction;
and updating the converted script according to the scenes and/or script elements edited by the user to obtain script contents edited by the converted script.
6. The scenario processing method of claim 1, wherein the obtaining key information for characterizing a story development context from the edited scenario content, generating a plurality of beat cards according to the key information, comprises:
receiving a labeling instruction initiated by a user based on a human-computer interaction interface;
determining key information marked by a user on the man-machine interaction interface and used for representing story development venation according to the marking instruction;
and filling the key information into a preset blank beat template to generate a plurality of beat cards.
7. The scenario processing method of claim 1, wherein the presentation manner of the plurality of beat cards comprises:
sequencing each beat card from small to large according to the number of the scenes, and displaying the beat cards according to the sequencing result;
or determining a story line to which each beat card belongs, wherein each story line has a corresponding relation with one or more beat cards;
acquiring current ordering information of the story line;
and displaying each beat card according to the current ordering information of the story line.
8. A scenario processing apparatus, the apparatus comprising:
the acquisition module is used for: the method comprises the steps of obtaining a script to be processed;
splitting module: the script processing method comprises the steps of splitting a script to be processed to obtain a script with a script format converted by the script to be processed, wherein the script after conversion comprises a script element list, and the script element list is used for a user to read the script after conversion from the dimension of the script element;
editing module: the script editing method comprises the steps of receiving an editing instruction initiated by a user for reading the converted script based on the script element list, editing the converted script according to the editing instruction, and obtaining script content edited by the converted script;
the generation module is used for: and the key information used for representing the development venation of the stories is obtained from the edited script content, and a plurality of beat cards are generated and displayed according to the key information.
9. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the scenario processing method according to any one of claims 1 to 7 when executing a program stored on a memory.
10. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the scenario processing method of any one of claims 1 to 7.
CN202311100948.XA 2023-08-29 2023-08-29 Scenario processing method, scenario processing device, scenario processing equipment and storage medium Pending CN117113938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311100948.XA CN117113938A (en) 2023-08-29 2023-08-29 Scenario processing method, scenario processing device, scenario processing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311100948.XA CN117113938A (en) 2023-08-29 2023-08-29 Scenario processing method, scenario processing device, scenario processing equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117113938A true CN117113938A (en) 2023-11-24

Family

ID=88799715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311100948.XA Pending CN117113938A (en) 2023-08-29 2023-08-29 Scenario processing method, scenario processing device, scenario processing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117113938A (en)

Similar Documents

Publication Publication Date Title
US7673235B2 (en) Method and apparatus for utilizing an object model to manage document parts for use in an electronic document
CN110292775B (en) Method and device for acquiring difference data
CN109740159B (en) Processing method and device for named entity recognition
CN111666740A (en) Flow chart generation method and device, computer equipment and storage medium
CN106557410A (en) User behavior analysis method and apparatus based on artificial intelligence
CN105045583B (en) A kind of IETM failure classes data module composition apparatus and its creative method based on visible process
CN108681547A (en) A kind of web content converting method and device based on small routine
CN109191158A (en) The processing method and processing equipment of user's portrait label data
CN114238575A (en) Document parsing method, system, computer device and computer-readable storage medium
CN114239588A (en) Article processing method and device, electronic equipment and medium
CN116028653A (en) Method and system for constructing map by visually configuring multi-source heterogeneous data
CN107977359A (en) A kind of extracting method of video display drama scene information
CN113207039B (en) Video processing method and device, electronic equipment and storage medium
CN105512096B (en) A kind of optimization method and device based on font embedded in document
CN111611788B (en) Data processing method and device, electronic equipment and storage medium
CN104768083B (en) A kind of video broadcasting method and device of chapters and sections content displaying
CN117113938A (en) Scenario processing method, scenario processing device, scenario processing equipment and storage medium
CN108170838B (en) Topic evolution visualization display method, application server and computer readable storage medium
CN116610304A (en) Page code generation method, device, equipment and storage medium
CN116501742A (en) Simple and flexible form data acquisition and output method, medium and system
CN116185853A (en) Code verification method and device
CN115170700A (en) Method for realizing CSS animation based on Flutter framework, computer equipment and storage medium
CN111401005B (en) Text conversion method and device and readable storage medium
CN114637505A (en) Page content extraction method and device
CN111352917A (en) Information input method and device, electronic equipment and storage medium

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