Business model generation method and device based on business requirements
By building a standard conversion template between natural language and business models, and using word segmentation technology to generate business models, the problem of time-consuming and cost-effective construction and maintenance of business models is solved, and the guarantee of rapid response to market demand and model quality is achieved.
Patent Information
- Application Number
- CN202210352741.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-03-31
AI Technical Summary
In the prior art, the construction and maintenance of business models are time-consuming and costly, making it difficult to respond to market changes quickly, and if the business models are not maintained in time, they will be distorted and cannot be used.
By building a standard conversion template between natural language and the target business model, using word segmentation technology to convert natural language requirements text into business models, generating standard role lanes and task boxes, connecting the framework according to action timing, generating the target business model, and passing the model Check the unit to adjust the model quality.
It realizes the characteristic attributes of the rapid conversion of natural language into business models, lowers the threshold for building and using business models, reduces human and resource investment, ensures the authenticity and advancedness of the model, and quickly responds to market demand.
Smart Images

Figure CN114638221B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of artificial intelligence and business architecture and can be applied to the field of financial technology. Specifically, it relates to a method, device, electronic device, storage medium and program product for generating a business model based on business needs. Background Art
[0002] In the wave of digital transformation, enterprises are planning their business development with business models. Business models are relatively abstract and require a long period of specialized training before they can be used and built normally. From the perspective of the industry's business model construction, it often requires huge manpower and material resources, takes a long time, and the subsequent maintenance costs are also extremely high. In the process of digital transformation, enterprises need to respond to the market in a timely manner, and it is difficult to provide too much time for the maintenance and use of business models. On the other hand, if the business model is not maintained in a timely manner, it will be distorted after a period of time and will no longer function. Summary of the invention
[0003] In view of the above technical problems, the present disclosure provides a business model generation method, device, electronic device, storage medium and program product based on business needs to improve the work efficiency of building and maintaining business models.
[0004] According to a first aspect of the present disclosure, a method for generating a business model based on business requirements is provided, comprising: constructing a standard conversion template for converting between natural language and a target business model, the standard conversion template comprising a standard role database; obtaining a requirement text describing the target business requirement in natural language; segmenting the requirement text to obtain a first participle sentence, a second participle sentence and a third participle sentence whose parts of speech are subject, predicate and object respectively; extracting the first participle sentence, judging whether the first participle sentence exists in the standard role database, and if so, generating a first role lane according to the first participle sentence; extracting the second participle sentence and the third participle sentence corresponding to the first participle sentence, placing the second participle sentence and the third participle sentence combination after the first role lane, generating a plurality of task boxes of the first role lane; and connecting the plurality of task boxes according to the action occurrence sequence to generate the target business model.
[0005] According to an embodiment of the present disclosure, the standard conversion template further includes a standard verb database and multiple entity databases. The standard verb database includes multiple preset standard verbs, and each entity database includes an entity name, entity attributes, and a value domain.
[0006] According to an embodiment of the present disclosure, the target business model also includes an entity model, and determining whether the first participle phrase exists in the standard role database further includes: when the first participle phrase does not exist in the standard role database, continuing to determine whether the first participle phrase matches the entity attribute in the entity database, and if so, taking the first participle phrase as the first entity attribute; otherwise, taking the first participle phrase as the first entity name; extracting the second participle phrase corresponding to the first participle phrase, and matching the second participle phrase to at least one standard verb in the standard verb database through synonyms; and extracting the third participle phrase corresponding to the second participle phrase, and taking the third participle phrase as the first value domain; generating the entity model according to the first entity attribute, the first entity name and the first value domain.
[0007] According to an embodiment of the present disclosure, when the requirement text includes a conditional sentence, after the step of generating the first role lane according to the first participle phrase, it also includes: extracting condition information in the conditional sentence, and generating a judgment box of the first role lane according to the conditional information; segmenting the conditional sentence to obtain a fifth participle phrase and a sixth participle phrase whose parts of speech are predicate and object, respectively; combining the fifth participle phrase and the sixth participle phrase and placing them in the task box of the first role lane; and connecting the task box and the judgment box of the first role lane according to the sequence of action occurrence to update the target business model.
[0008] According to an embodiment of the present disclosure, a conditional sentence carries a sentence semantic tendency, and the sentence semantic tendency includes at least one of an affirmative tendency and a negative tendency. Before the step of extracting conditional information in the conditional sentence, it also includes: judging whether the sentence semantic tendency of the conditional sentence includes both an affirmative tendency and a negative tendency. If so, retaining some conditional sentences with an affirmative tendency.
[0009] According to an embodiment of the present disclosure, the standard conversion template also includes a plurality of associated element databases, and the associated element databases include at least one of a customer type database, a product name database, a channel name database, and a partner name database.
[0010] According to an embodiment of the present disclosure, after the step of segmenting the demand text, it also includes: extracting the segmentation words and phrases whose part of speech is noun and recording them as the fourth segmentation words and phrases, judging whether the fourth segmentation words and phrases match at least one associated element database, and if so, generating a corresponding model label in the target business model according to the fourth segmentation words and phrases.
[0011] According to an embodiment of the present disclosure, the standard conversion template also includes a model checking unit, which is preset with at least one model quality standard. Before the step of generating a target business model, it also includes: adjusting the current target business model according to at least one model quality standard to update the target business model.
[0012] A second aspect of the present disclosure provides a business model generation device based on business needs, including: a template construction module, used to construct a standard conversion template for conversion between natural language and target business model, the standard conversion template includes a standard role database; a demand text acquisition module, used to obtain a demand text for natural language description of the target business needs; a demand text segmentation module, used to segment the demand text to obtain a first participle sentence, a second participle sentence and a third participle sentence whose parts of speech are subject, predicate and object respectively; a role lane generation module, used to extract the first participle sentence, determine whether the first participle sentence exists in the standard role database, and if so, generate a first role lane according to the first participle sentence; a task box generation module, used to extract the second participle sentence and the third participle sentence corresponding to the first participle sentence, place the second participle sentence and the third participle sentence combination after the first role lane, and generate multiple task boxes of the first role lane; and a model generation module, used to connect the multiple task boxes according to the action occurrence sequence to generate the target business model.
[0013] The third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned method for generating a business model based on business needs.
[0014] The fourth aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned method for generating a business model based on business needs.
[0015] The fifth aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above-mentioned business model generation method based on business needs when executed by a processor.
[0016] Compared with the prior art, the method and device for generating a business model based on business needs provided by the present disclosure have at least the following beneficial effects:
[0017] The standard conversion template disclosed in the present invention is abstracted from the association between natural language and business model, which can realize the rapid conversion of natural language into the characteristic attributes of business model, making the conversion between the two languages simpler, effectively lowering the threshold for building and using business models, avoiding the investment of a large amount of manpower and resources to ensure the authenticity and advancement of business models, and quickly responding to market usage needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0019] Figure 1 The application scenario of the method and device for generating a business model based on business needs according to an embodiment of the present disclosure is schematically shown;
[0020] Figure 2 A flowchart of a method for generating a business model based on business requirements according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 3 A flowchart of first word segmentation sentence judgment according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 4 A flowchart of a method for generating a business model when a demand text is a conditional sentence according to an embodiment of the present disclosure is schematically shown;
[0023] Figure 5 A flowchart of determining the sentence meaning tendency of a conditional sentence according to an embodiment of the present disclosure is schematically shown;
[0024] Figure 6 A flowchart of model label generation according to an embodiment of the present disclosure is schematically shown;
[0025] Figure 7 A schematic diagram of a specific conversion processing logic block diagram of each demand text according to an embodiment of the present disclosure is shown;
[0026] Figure 8 Schematically shows a flow chart of model standard checking according to an embodiment of the present disclosure;
[0027] Fig. 9 A block diagram of a device for generating a business model based on business requirements according to an embodiment of the present disclosure is schematically shown;
[0028] Fig.10 A block diagram of an electronic device suitable for implementing a method for generating a business model based on business requirements according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0029] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0030] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0031] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0032] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0033] Some block diagrams and / or flow charts are shown in the accompanying drawings. It should be understood that some boxes or combinations thereof in the block diagrams and / or flow charts can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that these instructions can create a device for implementing the functions / operations described in these block diagrams and / or flow charts when executed by the processor. The technology of the present disclosure can be implemented in the form of hardware and / or software (including firmware, microcode, etc.). In addition, the technology of the present disclosure can take the form of a computer program product on a computer-readable storage medium storing instructions, which can be used by an instruction execution system or used in conjunction with an instruction execution system.
[0034] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0035] In the technical solution of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.
[0036] The embodiments of the present disclosure provide a method, device, equipment, storage medium and program product for generating a business model based on business needs, which relates to the fields of artificial intelligence and business architecture, and can be applied to the field of financial technology. The method includes: constructing a standard conversion template for converting between natural language and target business model, the standard conversion template includes a standard role database; obtaining a demand text for natural language description of target business needs; segmenting the demand text to obtain a first participle sentence, a second participle sentence and a third participle sentence with the parts of speech being subject, predicate and object respectively; extracting the first participle sentence, judging whether the first participle sentence exists in the standard role database, and if so, generating a first role lane according to the first participle sentence; extracting the second participle sentence and the third participle sentence corresponding to the first participle sentence, placing the second participle sentence and the third participle sentence combination after the first role lane, generating multiple task boxes of the first role lane; and connecting multiple task boxes according to the sequence of action occurrence to generate the target business model.
[0037] Figure 1 The application scenario 100 of the method and device for generating a business model based on business needs according to an embodiment of the present disclosure is schematically shown. It should be noted that: Figure 1 What is shown are merely examples of application scenarios to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0038] like Figure 1 As shown, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0039] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0040] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0041] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0042] It should be noted that the business model generation method based on business needs provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the business model generation device based on business needs provided in the embodiment of the present disclosure can generally be set in the server 105. The business model generation method based on business needs provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the business model generation device based on business needs provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105.
[0043] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0044] The following will be based on Figure 1 The application scenario described by Figure 2 to Figure 7 A method for generating a business model based on business requirements in a disclosed embodiment is described in detail.
[0045] Figure 2 The flowchart of the method for generating a business model based on business requirements according to an embodiment of the present disclosure is schematically shown.
[0046] like Figure 2 As shown, the business model generation method based on business needs in this embodiment may include operations S210 to S270.
[0047] In operation S210 , a standard conversion template for converting between a natural language and a target business model is constructed, wherein the standard conversion template includes a standard role database.
[0048] In operation S220 , a requirement text describing a target business requirement in a natural language is obtained.
[0049] In operation S230, the demand text is segmented to obtain a first participle sentence, a second participle sentence, and a third participle sentence whose parts of speech are subject, predicate, and object, respectively.
[0050] In operation S240, a first segmented word phrase is extracted, and it is determined whether the first segmented word phrase exists in the standard role database. If so, a first role lane is generated according to the first segmented word phrase.
[0051] In operation S250, the second participle phrase and the third participle phrase corresponding to the first participle phrase are extracted, and the second participle phrase and the third participle phrase are combined and placed after the first role lane to generate a plurality of task boxes of the first role lane.
[0052] In operation S260 , multiple task boxes are connected according to the action occurrence sequence to generate a target business model.
[0053] For example, the description of the demand text is "After the individual customer clicks on the overseas study remittance in the mobile banking, the system pops up the overseas study remittance page for the customer to fill in."
[0054] First, the first segmented phrase "individual customer" extracted after segmentation matches the "individual customer" in the existing standard role database, and the first role lane is generated according to the first segmented phrase "individual customer". Next, the second segmented phrase "click" corresponding to the first segmented phrase "individual customer" and the third segmented phrase "study abroad remittance" are combined and placed after the first role lane where "individual customer" is located, and a task box of the first role lane is generated. Finally, the task box is connected with other task boxes of the first role lane according to the sequence of action occurrence to generate the target business model.
[0055] It can be seen that the embodiments of the present disclosure use word segmentation technology to split the business demand text expressed in natural language into different words and sentences. By constructing a standard conversion template between natural language and the target business model, it is possible to quickly convert the natural language into the target business model, reduce the large amount of manpower investment and time occupied in building and maintaining the target business model, and ensure that the target business model is consistent with the latest design.
[0056] It can be understood that the standard conversion template is established based on the characteristics of natural language and target business model, plays an intermediary role, and standardizes the model elements and their relationships with standardized and structured expressions. The standard conversion template also needs to consider but is not limited to the business processing process and the business rules that should be followed during the processing.
[0057] In the disclosed embodiment, the standard conversion template further includes a standard verb database and multiple entity databases, wherein the standard verb database includes multiple preset standard verbs, and each entity database includes an entity name, entity attributes, and a value domain.
[0058] Furthermore, standard verbs may include, for example, adding, deleting and modifying. Thus, for each non-standardized natural language action word, a function of converting it into a standardized word can be established in the standard conversion template to be compatible with and ensure the quality of the target business model.
[0059] Figure 3 The flowchart of the first word segmentation sentence judgment according to an embodiment of the present disclosure is schematically shown.
[0060] like Figure 3 As shown, the target business model also includes an entity model. The operation S240 of determining whether the first segmented word or phrase exists in the standard role database may further include operations S2401 to S2404.
[0061] In operation S2401, when the first participle phrase does not exist in the standard role database, it is further determined whether the first participle phrase matches an entity attribute in the entity database. If so, the first participle phrase is used as the first entity attribute; otherwise, the first participle phrase is used as the first entity name.
[0062] In operation S2402, a second participle phrase corresponding to the first participle phrase is extracted, and the second participle phrase is matched to at least one standard verb in a standard verb database through synonyms.
[0063] In operation S2403, a third participle phrase corresponding to the second participle phrase is extracted, and the third participle phrase is used as the first value range.
[0064] In operation S2404, an entity model is generated according to the first entity attribute, the first entity name, and the first value range.
[0065] For example, the requirement text is described as "The electronic ID card is added to the document type. Users can handle related businesses with the electronic ID card."
[0066] Since the first segmentation phrase "certificate type" extracted after word segmentation does not exist in the standard role database, at this time, it is determined that the first segmentation phrase "certificate type" can be matched to an entity attribute of a certain entity database, and the first segmentation phrase "certificate type" is used as the first entity attribute.
[0067] Next, the second participle phrase "increase" corresponding to the "document type" and having a predicate part of speech is extracted, and matched to a standard verb "add" in the standard verb database through synonyms, and the corresponding code is update. Then, the third participle phrase "electronic ID card" corresponding to "increase" and having a predicate part of speech is extracted, and the third participle phrase "electronic ID card" is used as the first value domain.
[0068] Finally, an entity model is generated according to the first entity attribute, the first entity name and the first value range. Therefore, the target business model finally generated by the present application also includes an entity model.
[0069] It should be noted that the above operations S210 to S270 are equivalent to generating a process model with different role lanes and processing boxes or judgment boxes corresponding to the role lanes, and establishing associations between the processing boxes or judgment boxes to obtain the target business model. Furthermore, the embodiments of the present disclosure can also obtain the entity names required to create the entity model by searching the nouns in the demand text, and then obtain the corresponding entity attributes and thresholds. As a result, the process model and entity model in the target business model complement each other and better reflect each link of the target business processing.
[0070] Figure 4 The flowchart of the method for generating a business model when the requirement text is a conditional sentence according to an embodiment of the present disclosure is schematically shown.
[0071] In the embodiment of the present disclosure, when the requirement text includes a conditional sentence, such as Figure 4 As shown, after the step of generating the first role lane according to the first segmented word phrase in the above operation S240, operations S410 to S440 may be specifically included.
[0072] In operation S410, condition information in the conditional sentence is extracted, and a judgment box of the first role lane is generated according to the condition information.
[0073] In operation S420, the conditional sentence is segmented to obtain a fifth segmented sentence and a sixth segmented sentence whose parts of speech are predicate and object respectively.
[0074] In operation S430, the fifth participle phrase and the sixth participle phrase are combined and placed in the task box of the first role lane.
[0075] In operation S440 , a line is connected between the task box and the judgment box in the first role lane according to the action occurrence sequence to update the target business model.
[0076] In the case where the requirement text is a conditional sentence, the embodiment of the present disclosure puts the conditional information in the conditional sentence into the judgment box in the first role swimlane, and then regards the predicate and object part descriptions in the conditional sentence as new requirement text for analysis and processing until the processing of the requirement text is completed.
[0077] For example, the requirement text is described as follows: "When the certificate information elements do not match, the system prompts 'The certificate you provided cannot be processed on the mobile banking, please go to the branch to process', and the customer clicks 'Confirm' and the page returns to the remittance business page; when the certificate information elements match, the customer can enter the school name."
[0078] The requirement text is a conditional sentence, and the conditional information "Document information elements are consistent" in the conditional sentence is put into the judgment box of the role lane where the "system" is located. Next, put the "prompt 'The certificate you provided cannot be processed on the mobile banking, please go to the branch to process'" into the task box of the role lane where the "system" is located. Then, establish a connection between the judgment box and the task box of the role lane where the "system" is located according to the sequence of actions. Similarly, put "Click 'Confirm'" into the task box of the role lane where the "customer" is located, and continue to establish a connection between the previous task box and the task box according to the sequence of actions; put "Enter the school name" into the task box of the role lane where the "customer" is located, and continue to establish a connection between the judgment box and the task box according to the sequence of actions.
[0079] Figure 5 The flowchart of judging the sentence meaning tendency of a conditional sentence according to an embodiment of the present disclosure is schematically shown.
[0080] In the embodiment of the present disclosure, the conditional sentence has a sentence meaning tendency, and the sentence meaning tendency includes at least one of a positive tendency and a negative tendency. Figure 5 As shown, before the step of extracting condition information in the conditional sentence in the above operation S410, operation S4101 may be specifically included.
[0081] In operation S4101, it is determined whether the semantic tendency of the conditional sentence includes both affirmative tendency and negative tendency. If yes, the part of the conditional sentence with affirmative tendency is retained.
[0082] Therefore, when the conditional sentences in the requirement text are repeated and have opposite meanings, some conditional sentences with positive meanings are retained.
[0083] In the disclosed embodiment, the standard conversion template also includes multiple associated element databases. Specifically, the associated element database may include, for example, a customer type database, a product name database, a channel name database, and a partner name database. It should be noted that in other embodiments, the associated element database may be set according to the actual needs of the target business, and the present invention does not limit this.
[0084] It can be understood that the subject is a noun, the predicate is a verb, and the object is a noun. The embodiment of the present disclosure makes special restrictions on all nouns involved in the demand text to mark or remind special nouns in the target business model.
[0085] Figure 6 The flowchart of model label generation according to an embodiment of the present disclosure is schematically shown.
[0086] like Figure 6 As shown, in the embodiment of the present disclosure, after the step of segmenting the demand text in the above operation S230, operation S2301 may be specifically included.
[0087] In operation S2301, extract the participle phrase whose part of speech is noun and record it as the fourth participle phrase, determine whether the fourth participle phrase matches at least one associated element database, and if so, generate a corresponding model label in the target business model according to the fourth participle phrase.
[0088] For example, for the requirement text "When the elements of the certificate information do not match, the system prompts 'The certificate you provided cannot be processed on the mobile banking, please go to the branch to process.' After the customer clicks 'Confirm', the page returns to the remittance business page; when the elements of the certificate information match, the customer can enter the school name."
[0089] Extract all the participle phrases with noun as the part of speech, and record them as the fourth participle phrases, including: "certificate information element", "system", "certificate", "mobile banking", "outlet", "customer", "page", "remittance business", "page" and "school name". Among them, "mobile banking" and "outlet" can be found in the channel name database, so the model labels corresponding to "mobile banking" and "outlet" are generated in the target business model, and "mobile banking" and "outlet" can be separated by ",". "Remittance business" can be found in the product name database, so the model label corresponding to "remittance business" is generated in the target business model. Other fourth participle phrases that do not match any of the associated element databases do not need to be processed.
[0090] Based on the above disclosed technical contents, Figure 7 The following schematically shows a logic block diagram of the specific conversion process for each segment of requirement text according to an embodiment of the present disclosure.
[0091] like Figure 7 As shown, the embodiment of the present disclosure may include at least one paragraph of demand text. For the different contents of each paragraph of demand text, it can start from extracting the subject, extracting the conditional information in the conditional sentence, and extracting other nouns, and gradually carry out processing according to the above disclosed content.
[0092] It can be seen that the embodiment of the present disclosure uses word segmentation technology to split the business demand text expressed in natural language into different words and sentences. By constructing a standard conversion template between natural language and the target business model, it can quickly convert the natural language into the target business model, reduce the large amount of manpower investment and time occupied in building and maintaining the target business model, and ensure that the target business model is consistent with the latest design.
[0093] Figure 8 The flowchart of model standard checking according to an embodiment of the present disclosure is schematically shown.
[0094] In the embodiment of the present disclosure, the standard conversion template also includes a model checking unit, and the model checking unit is preset with at least one model quality standard. Figure 8 As shown, before the step of generating the target business model in the above operation S260, operation S2601 may also be included.
[0095] In operation S2601, the current target business model is adjusted according to at least one model quality standard to update the target business model.
[0096] Among them, the preset model quality standards can be independently set according to the actual needs of the target business, for example, it may include: in the newly added or modified entity model, when the entity attributes are less than 5, it is deemed to not meet the model quality standards; at least one of the role lanes is not "system"; the judgment box has at least two exits; there are no task boxes that are not related to other task boxes; there are multiple contents in the model label in the same target business model.
[0097] As for those that do not meet the standard requirements, they can be transferred to architects for handling based on the actual needs of the target business.
[0098] From the above content, it can be seen that the standard conversion template abstracted from the association relationship between natural language and business model in the embodiment of the present disclosure can realize the rapid conversion of natural language into the characteristic attributes of the business model, making the conversion between the two languages simpler, effectively lowering the construction and use threshold of the business model, avoiding the investment of a large amount of manpower and resources to ensure the authenticity and advancement of the business model, and quickly responding to market usage needs.
[0099] Based on the above-mentioned method for generating a business model based on business needs, the present disclosure also provides a device for generating a business model based on business needs. Fig. 9 The device is described in detail.
[0100] Fig. 9 A block diagram of a device for generating a business model based on business requirements according to an embodiment of the present disclosure is schematically shown.
[0101] like Fig. 9 As shown, the business model generation device 900 based on business needs of this embodiment includes a template construction module 910, a requirement text acquisition module 920, a requirement text segmentation module 930, a role lane generation module 940, a task box generation module 950 and a model generation module 960.
[0102] The template construction module 910 is used to construct a standard conversion template for converting between natural language and target business model, wherein the standard conversion template includes a standard role database. In one embodiment, the template construction module 910 can be used to perform the operation S210 described above, which will not be described in detail here.
[0103] The requirement text acquisition module 920 is used to acquire the requirement text of the natural language description of the target business requirement. In one embodiment, the requirement text acquisition module 920 can be used to perform the operation S220 described above, which will not be described in detail here.
[0104] The demand text segmentation module 930 is used to segment the demand text to obtain the first segmentation phrase, the second segmentation phrase and the third segmentation phrase whose parts of speech are subject, predicate and object respectively. In one embodiment, the demand text segmentation module 930 can be used to perform the operation S230 described above, which will not be repeated here.
[0105] The role lane generation module 940 is used to extract the first segmentation phrase, determine whether the first segmentation phrase exists in the standard role database, and if so, generate a first role lane according to the first segmentation phrase. In one embodiment, the role lane generation module 940 can be used to perform the operation S240 described above, which will not be repeated here.
[0106] The task box generation module 950 is used to extract the second participle phrase and the third participle phrase corresponding to the first participle phrase, place the second participle phrase and the third participle phrase combination after the first role lane, and generate multiple task boxes for the first role lane. In one embodiment, the task box generation module 950 can be used to perform the operation S250 described above, which will not be repeated here.
[0107] The model generation module 960 is used to connect the multiple task boxes according to the action occurrence sequence to generate a target business model. In one embodiment, the model generation module 960 can be used to perform the operation S260 described above, which will not be repeated here.
[0108] Through the embodiments of the present disclosure, word segmentation technology is used to split the business demand text expressed in natural language into different words and sentences. By constructing a standard conversion template between natural language and the target business model, the natural language can be quickly converted into the target business model, reducing the large amount of manpower investment and time occupied in building and maintaining the target business model, and ensuring that the target business model is consistent with the latest design.
[0109] According to an embodiment of the present disclosure, any multiple modules among the template construction module 910, the requirement text acquisition module 920, the requirement text segmentation module 930, the role lane generation module 940, the task box generation module 950 and the model generation module 960 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the template construction module 910, the requirement text acquisition module 920, the requirement text segmentation module 930, the role lane generation module 940, the task box generation module 950 and the model generation module 960 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the template construction module 910, the requirement text acquisition module 920, the requirement text segmentation module 930, the role lane generation module 940, the task box generation module 950 and the model generation module 960 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is executed.
[0110] Fig.10 A block diagram of an electronic device suitable for implementing a method for generating a business model based on business requirements according to an embodiment of the present disclosure is schematically shown.
[0111] like Fig.10 As shown, the electronic device 1000 according to an embodiment of the present disclosure includes a processor 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1001 may also include an onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0112] In RAM 1003, various programs and data required for the operation of electronic device 1000 are stored. Processor 1001, ROM 1002 and RAM 1003 are connected to each other via bus 1004. Processor 1001 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1002 and / or RAM 1003. It should be noted that the program can also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0113] According to an embodiment of the present disclosure, the electronic device 1000 may further include an input / output (I / O) interface 1005, which is also connected to the bus 1004. The electronic device 1000 may further include one or more of the following components connected to the I / O interface 1005: an input portion 1006 including a keyboard, a mouse, etc.; an output portion 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1008 including a hard disk, etc.; and a communication portion 1009 including a network interface card such as a LAN card, a modem, etc. The communication portion 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage portion 1008 as needed.
[0114] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the business model generation method based on business needs according to the embodiment of the present disclosure is implemented.
[0115] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 1002 and / or RAM 1003 described above and / or one or more memories other than ROM 1002 and RAM 1003.
[0116] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program includes a program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the business model generation method based on business needs provided by the embodiment of the present disclosure.
[0117] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 1001. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0118] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 1009, and / or installed from the removable medium 1011. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0119] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0120] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0121] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0122] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0123] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A method for generating a target business model based on business requirements, comprising: Building a standard conversion template for converting between natural language and target business model, wherein the standard conversion template includes a standard role database; Obtain the demand text of the natural language description of the target business demand; Segmenting the demand text to obtain a first participle sentence, a second participle sentence, and a third participle sentence whose parts of speech are subject, predicate, and object respectively; Extracting the first segmented word phrase, determining whether the first segmented word phrase exists in the standard role database, and if so, generating a first role swimlane according to the first segmented word phrase; Extracting a second participle phrase and a third participle phrase corresponding to the first participle phrase, placing the second participle phrase and the third participle phrase in combination after the first role swimming lane, and generating a plurality of task boxes of the first role swimming lane; as well as Connect the multiple task boxes according to the action occurrence sequence to generate a target business model; The target business model also includes an entity model, and the determining whether the first segmented word or phrase exists in the standard role database further includes: When the first segmentation word does not exist in the standard role database, continue to determine whether the first segmentation word matches the entity attribute in the entity database, and if so, use the first segmentation word as the first entity attribute; otherwise, use the first segmentation word as the first entity name; Extracting a second participle phrase corresponding to the first participle phrase, and matching the second participle phrase to at least one standard verb in the standard verb database through synonyms; and Extracting a third participle phrase corresponding to the second participle phrase, and using the third participle phrase as a first value range; The entity model is generated according to the first entity attribute, the first entity name and the first value range.
2. The method according to claim 1, wherein: The standard conversion template also includes a standard verb database and multiple entity databases. The standard verb database includes multiple preset standard verbs. Each of the entity databases includes an entity name, entity attributes and a value range.
3. The method according to claim 1, wherein: When the requirement text includes a conditional sentence, after the step of generating the first role swimlane according to the first segmented word sentence, the method further includes: Extracting condition information from the conditional sentence, and generating a judgment box for the first role lane according to the condition information; Performing word segmentation on the conditional sentence to obtain a fifth participle sentence and a sixth participle sentence whose parts of speech are predicate and object respectively; placing the fifth participle phrase and the sixth participle phrase in combination in a task box of the first role swim lane; and A line is connected between the task box and the judgment box of the first role lane according to the action occurrence sequence to update the target business model.
4. The method according to claim 3, wherein: The conditional sentence has a sentence meaning tendency, and the sentence meaning tendency includes at least one of a positive tendency and a negative tendency. Before the step of extracting the conditional information in the conditional sentence, the step further includes: Determine whether the sentence meaning tendency of the conditional sentence includes both affirmative tendency and negative tendency. If yes, retain the part of the conditional sentence with affirmative tendency.
5. The method according to claim 1, wherein: The standard conversion template also includes a plurality of associated element databases, wherein the associated element databases include at least one of a customer type database, a product name database, a channel name database, and a partner name database.
6. The method according to claim 5, wherein: After the step of segmenting the demand text, the method further includes: Extract the participle phrase whose part of speech is noun and record it as the fourth participle phrase, determine whether the fourth participle phrase matches at least one of the associated element databases, and if so, generate a corresponding model label in the target business model according to the fourth participle phrase.
7. The method according to claim 1, wherein: The standard conversion template further includes a model checking unit, wherein the model checking unit is preset with at least one model quality standard. Before the step of generating the target business model, the step further includes: The current target business model is adjusted according to the at least one model quality standard to update the target business model.
8. A business model generation device based on business needs, comprising: A template construction module, used to construct a standard conversion template for converting between natural language and target business model, wherein the standard conversion template includes a standard role database; A requirement text acquisition module is used to acquire the requirement text of the natural language description of the target business requirement; A demand text segmentation module is used to segment the demand text to obtain a first participle sentence, a second participle sentence and a third participle sentence whose parts of speech are subject, predicate and object respectively; a role lane generation module, configured to extract the first segmented word phrase, determine whether the first segmented word phrase exists in the standard role database, and if so, generate a first role lane according to the first segmented word phrase; a task box generation module, configured to extract a second participle word phrase and a third participle word phrase corresponding to the first participle word phrase, place the second participle word phrase and the third participle word phrase combination after the first role swimming lane, and generate a plurality of task boxes for the first role swimming lane; as well as A model generation module, used to connect the multiple task boxes according to the action occurrence sequence to generate a target business model; The target business model also includes an entity model, and the determining whether the first segmented word or phrase exists in the standard role database further includes: When the first segmentation word does not exist in the standard role database, continue to determine whether the first segmentation word matches the entity attribute in the entity database, and if so, use the first segmentation word as the first entity attribute; otherwise, use the first segmentation word as the first entity name; Extracting a second participle phrase corresponding to the first participle phrase, and matching the second participle phrase to at least one standard verb in the standard verb database through synonyms; and Extracting a third participle phrase corresponding to the second participle phrase, and using the third participle phrase as a first value range; The entity model is generated according to the first entity attribute, the first entity name and the first value range.
9. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 7.
11. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
