A method for generating use case steps, related device, equipment and storage medium

Through the use case step template generation method, the problem of insufficient Chinese grammar checking is solved, the success rate and standardization of use case configuration are improved, and the configuration difficulty is reduced.

CN114327373BActive Publication Date: 2024-12-06GUANGZHOU TENCENT TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011052583.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-29
Publication Date
2024-12-06
Estimated Expiration
2040-09-29

AI Technical Summary

Technical Problem

Existing text editors lack support for Chinese grammar checking, resulting in irregular use case step descriptions, increasing the difficulty of using case generation.

Method used

By using the use case step template, a target input area is provided, information configuration instructions are received, and target use case steps are generated based on the template to achieve pre-constraints and reduce configuration difficulty.

Benefits of technology

Improve the success rate of use case configuration, reduce the difficulty of use case configuration, and ensure the standardization of use case step description.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114327373B_ABST
    Figure CN114327373B_ABST
Patent Text Reader

Abstract

The present application discloses a method for generating a use case step, including: displaying a use case step template to be configured through a use case step input interface; receiving an information configuration instruction for the use case step template to be configured; and generating a target use case step according to the information configuration instruction. The present application also discloses a method and device for template configuration. The present application can solve the problem of non-standard description of use case steps by using a use case step template, turning post-checking into pre-constraints, and finely constraining the use case steps based on the use case step template. Business personnel only need to fill in the configuration information according to the defined use case step template, which not only improves the success rate of use case configuration, but also reduces the difficulty of use case configuration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a method for generating use case steps, related devices, equipment and storage media. Background Art

[0002] With the increasing complexity of business types and the diversity of application development, business personnel need to care about user needs in order to provide better services. Requirement analysis often involves the design of use cases, which describe the behavior of the system from the user's perspective. Use cases can describe a function of the system as a series of events that ultimately produce valuable observable results for the participants.

[0003] Currently, business personnel can write use cases using online text editors or offline text editors. These text editors can support basic syntax checking. If the syntax of the use case steps in the use case is found to be non-standard, a corresponding prompt will be triggered to remind the business personnel to correct the use case.

[0004] However, both online text editors and offline text editors mainly check English grammar, and do not provide sufficient support for Chinese grammar checking. They may not be able to check for irregular descriptions in the use case steps, resulting in failure of use case generation, which increases the difficulty of use case generation. Summary of the invention

[0005] The embodiments of the present application provide a method for generating use case steps, related devices, equipment and storage media. By using a use case step template, the problem of non-standard description of use case steps can be solved, and the post-check can be turned into a pre-constraint. The use case steps are finely constrained based on the use case step template. Business personnel only need to fill in the configuration information according to the defined use case step template, which not only improves the success rate of the use case configuration, but also reduces the difficulty of the use case configuration.

[0006] In view of this, the present application provides, on one hand, a method for generating use case steps, comprising:

[0007] The use case step template to be configured is displayed through the use case step input interface, wherein the use case step template to be configured is used to provide a target input area;

[0008] Receiving an information configuration instruction for a use case step template to be configured, wherein the information configuration instruction carries input information, and the input information has a corresponding relationship with a target input area;

[0009] A target use case step is generated according to the information configuration instruction, wherein the target use case step belongs to any use case step in the target use case.

[0010] Another aspect of the present application provides a use case step generation device, comprising:

[0011] Providing a module for displaying a use case step template to be configured through a use case step input interface, wherein the use case step template to be configured is used to provide a target input area;

[0012] A receiving module, used for receiving an information configuration instruction for a use case step template to be configured, wherein the information configuration instruction carries input information, and the input information has a corresponding relationship with a target input area;

[0013] The generation module is used to generate a target use case step according to the information configuration instruction, wherein the target use case step belongs to any use case step in the target use case.

[0014] In one possible design, in another implementation of another aspect of the embodiment of the present application,

[0015] Provide a module, specifically used to display a target input area corresponding to the use case step template to be configured through a use case step input interface, wherein the target input area includes M input areas, and M is an integer greater than or equal to 1;

[0016] The receiving module is also used to receive configuration information for any input area in the target input area after the providing module displays the use case step template to be configured through the use case step input interface, wherein there is a one-to-one correspondence between the configuration information and the input area.

[0017] In one possible design, in another implementation of another aspect of the embodiment of the present application, the use case step generating device further includes a display module;

[0018] A display module is used to display M sentence component prompt information on the use case step input interface, wherein there is a one-to-one correspondence between the sentence component prompt information and the input area, and the sentence component prompt information is used to indicate the sentence components of the configuration information in the target use case step, and the sentence components include at least one of the subject component, predicate component, object component, attributive component, adverbial component, complement component, conjunction component and punctuation component.

[0019] In one possible design, in another implementation of another aspect of the embodiment of the present application,

[0020] A receiving module, specifically configured to determine configuration information corresponding to any one of the input areas in response to the information selection instruction if an information selection instruction for any one of the input areas is detected in the target input area;

[0021] If a text input instruction for any input area in the target input area is detected, configuration information corresponding to any input area is acquired in response to the text input instruction.

[0022] In one possible design, in another implementation of another aspect of the embodiment of the present application,

[0023] A module is provided, specifically used to display fixed information corresponding to a use case step template to be configured through a use case step input interface, wherein the fixed information has a corresponding relationship with a sentence component in a target use case step, and the sentence component includes at least one of a subject component, a predicate component, an object component, an attributive component, an adverbial component, a complement component, a conjunction component, and a punctuation component;

[0024] The target input area corresponding to the use case step template to be configured is displayed through the use case step input interface, wherein the target input area includes M inputtable areas, where M is an integer greater than or equal to 1.

[0025] In one possible design, in another implementation of another aspect of the embodiment of the present application, the target input area includes a subject input area, a predicate input area, and an object input area;

[0026] The use case step generating device also includes an acquisition module;

[0027] A module is provided, specifically used to display a subject input area, a predicate input area, and an object input area corresponding to a use case step template to be configured through a use case step input interface, wherein the subject input area has a corresponding relationship with a subject component in a target use case step, the predicate input area has a corresponding relationship with a predicate component in the target use case step, and the object input area has a corresponding relationship with an object component in the target use case step;

[0028] an acquisition module, configured to determine configuration information corresponding to the subject input area in response to the information selection instruction if an information selection instruction for the subject input area is detected;

[0029] If a text input instruction for the subject input area is detected, then in response to the text input instruction, the configuration information corresponding to the subject input area is determined;

[0030] The acquisition module is further configured to determine the configuration information corresponding to the predicate input area in response to the information selection instruction if an information selection instruction for the predicate input area is detected;

[0031] If a text input instruction for the predicate input area is detected, then in response to the text input instruction, configuration information corresponding to the predicate input area is determined;

[0032] The acquisition module is further configured to determine the configuration information corresponding to the object input area in response to the information selection instruction if an information selection instruction for the object input area is detected;

[0033] If a text input instruction for the object input area is detected, configuration information corresponding to the object input area is determined in response to the text input instruction.

[0034] In one possible design, in another implementation of another aspect of the embodiment of the present application, the target input area includes a predicate input area and an object input area;

[0035] The use case step generating device also includes an acquisition module;

[0036] Providing a module, specifically used to display fixed information corresponding to the use case step template to be configured through the use case step input interface, wherein the fixed information has a corresponding relationship with the subject component in the target use case step;

[0037] Displaying a predicate input area and an object input area corresponding to the use case step template to be configured through the use case step input interface, wherein the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step;

[0038] an acquisition module, configured to determine configuration information corresponding to the predicate input area in response to the information selection instruction if an information selection instruction for the predicate input area is detected;

[0039] If a text input instruction for the predicate input area is detected, then in response to the text input instruction, configuration information corresponding to the predicate input area is determined;

[0040] The acquisition module is further configured to determine the configuration information corresponding to the object input area in response to the information selection instruction if an information selection instruction for the object input area is detected;

[0041] If a text input instruction for the object input area is detected, configuration information corresponding to the object input area is determined in response to the text input instruction.

[0042] In a possible design, in another implementation of another aspect of the embodiment of the present application, the target input area also includes an attributive input area;

[0043] The use case step generating device also includes an acquisition module;

[0044] The module is provided, and is also used to display an attributive input area corresponding to the use case step template to be configured through the use case step input interface, wherein the attributive input area has a corresponding relationship with the attributive component in the target use case step;

[0045] an acquisition module, configured to determine configuration information corresponding to the attributive input area in response to the information selection instruction if an information selection instruction for the attributive input area is detected;

[0046] If a text input instruction for the attributive input area is detected, configuration information corresponding to the attributive input area is acquired in response to the text input instruction.

[0047] In one possible design, in another implementation of another aspect of the embodiment of the present application, the target input area also includes an adverbial input area;

[0048] The use case step generating device also includes an acquisition module;

[0049] A module is provided, and is also used to display an adverbial input area corresponding to the use case step template to be configured through a use case step input interface, wherein the adverbial input area has a corresponding relationship with the adverbial component in the target use case step;

[0050] an acquisition module, for determining configuration information corresponding to the adverbial input area in response to the information selection instruction if an information selection instruction for the adverbial input area is detected;

[0051] If a text input instruction for the adverbial input area is detected, configuration information corresponding to the adverbial input area is acquired in response to the text input instruction.

[0052] In one possible design, in another implementation of another aspect of the embodiment of the present application, the target input area also includes a complement input area;

[0053] The use case step generating device also includes an acquisition module;

[0054] A module is provided, and is also used to display a complement input area corresponding to the use case step template to be configured through a use case step input interface, wherein the complement input area has a corresponding relationship with the complement component in the target use case step;

[0055] an acquisition module, for determining configuration information corresponding to the complement input area in response to the information selection instruction if an information selection instruction for the complement input area is detected;

[0056] If a text input instruction for the complement input area is detected, configuration information corresponding to the complement input area is acquired in response to the text input instruction.

[0057] In one possible design, in another implementation of another aspect of the embodiment of the present application, the target input area also includes a conjunction input area;

[0058] The use case step generating device also includes an acquisition module;

[0059] A module is provided, further used to display a conjunction input area corresponding to the use case step template to be configured through a use case step input interface, wherein the conjunction input area has a corresponding relationship with the conjunction component in the target use case step;

[0060] an acquisition module, configured to determine configuration information corresponding to the conjunction input area in response to the information selection instruction if an information selection instruction for the conjunction input area is detected;

[0061] If a text input instruction for the conjunction input area is detected, configuration information corresponding to the conjunction input area is acquired in response to the text input instruction.

[0062] In one possible design, in another implementation of another aspect of the embodiment of the present application, the target input area also includes a symbol input area;

[0063] The use case step generating device also includes an acquisition module;

[0064] A module is provided, further used to display a symbol input area corresponding to the use case step template to be configured through a use case step input interface, wherein the symbol input area has a corresponding relationship with the symbol component in the target use case step;

[0065] an acquisition module, configured to determine configuration information corresponding to the symbol input area in response to the information selection instruction if an information selection instruction for the symbol input area is detected;

[0066] If a text input instruction for the symbol input area is detected, the configuration information corresponding to the symbol input area is acquired in response to the text input instruction.

[0067] In one possible design, in another implementation of another aspect of the embodiment of the present application,

[0068] A module is provided, specifically used to display a use case step template to be configured and at least one use case step template through a use case step input interface, wherein each use case step template is used to provide an input area.

[0069] On the other hand, the present application provides a terminal device, a memory, a transceiver, a processor and a bus system;

[0070] Wherein, the memory is used to store programs;

[0071] The processor is used to execute the program in the memory, and the processor is used to execute the above-mentioned methods according to the instructions in the program code;

[0072] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

[0073] Another aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned methods.

[0074] Another aspect of the present application provides a computer program product or a computer program, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided by the above aspects.

[0075] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0076] In an embodiment of the present application, a method for generating a use case step is provided. First, the terminal device can display a use case step template to be configured through a use case step input interface, and the use case step template to be configured is used to provide a target input area. Then the terminal device receives an information configuration instruction for the use case step template to be configured. Finally, the terminal device generates a target use case step according to the information configuration instruction. In the above manner, the use of a use case step template can solve the problem of non-standard description of the target use case step, and turn the post-check into a pre-constraint. Based on the use case step template, the use case step is finely constrained. The business personnel only need to fill in the configuration information according to the defined use case step template, which not only improves the success rate of the use case step configuration, but also reduces the difficulty of the use case step configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 A schematic diagram of the architecture of a use case step generation system in an embodiment of the present application;

[0078] Figure 2 A flowchart of a method for generating use case steps in an embodiment of the present application;

[0079] Figure 3 Another flowchart of the method for generating use case steps in the embodiment of the present application;

[0080] Figure 4 A schematic diagram of a use case step input interface in an embodiment of the present application;

[0081] Figure 5 Another schematic diagram of the use case step input interface in the embodiment of the present application;

[0082] Figure 6A schematic diagram of an embodiment of inputting configuration information in an embodiment of the present application;

[0083] Figure 7 A schematic diagram of an embodiment of a use case step template to be configured in an embodiment of the present application;

[0084] Figure 8 This is another schematic diagram of an embodiment of a use case step template to be configured in an embodiment of the present application;

[0085] Fig. 9 This is another schematic diagram of an embodiment of a use case step template to be configured in an embodiment of the present application;

[0086] Fig.10 This is another schematic diagram of an embodiment of a use case step template to be configured in an embodiment of the present application;

[0087] Fig.11 This is another embodiment schematic diagram of a use case step template to be configured in an embodiment of the present application;

[0088] Fig.12 This is another schematic diagram of an embodiment of a use case step template to be configured in an embodiment of the present application;

[0089] Fig.13 This is another schematic diagram of an embodiment of a use case step template to be configured in an embodiment of the present application;

[0090] Fig.14 Another schematic diagram of the use case step input interface in the embodiment of the present application;

[0091] Fig.15 A schematic diagram of an embodiment of a use case step generating device in an embodiment of the present application;

[0092] Fig.16 A schematic diagram of the structure of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION

[0093] The embodiments of the present application provide a method for generating use case steps, related devices, equipment and storage media. By using a use case step template, the problem of non-standard description of use case steps can be solved, and the post-check can be turned into a pre-constraint. The use case steps are finely constrained based on the use case step template. Business personnel only need to fill in the configuration information according to the defined use case step template, which not only improves the success rate of the use case step configuration, but also reduces the difficulty of the use case step configuration.

[0094] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0095] With the complexity of business types and the diversity of application development, business personnel need to care about user needs in order to provide better services. Requirement analysis often involves the design of use cases, which describe the behavior of the system from the user's perspective. It describes a function of the system as a series of events that ultimately produce valuable observable results for the participants. Use cases can capture visible requirements of certain roles and implement a specific role requirement. For example, use cases are used by business personnel and provide exact outputs to business personnel. Use cases can be large or small, but they need to be a complete description of a specific role. Therefore, writing use cases in a reasonable and standardized manner becomes a matter of concern for business personnel.

[0096] Based on this, the present application provides a method for generating use case steps, which can provide a series of use case step templates for business personnel, so as to facilitate business personnel to write the required use cases, wherein the use cases involved in the present application can be system use cases or business use cases. The scope of the system use case is the scope involved in the computer system, and it is a goal achieved by a system participant and the computer system together. Business use cases may occur over a long period of time and are used to achieve the interaction between business goals and businesses.

[0097] The use case step generation method provided in this application can be applied to Figure 1 The use case step generation system shown in the figure includes a server and a terminal device. Business personnel can view one or more use case step templates on the terminal device, and then input relevant information into any use case step template based on actual needs. One implementation method is that after the information input is completed, the terminal device can import the input information into the server, and the server generates a use case step based on the use case step template and the input information. When M use case steps are generated, a target use case is obtained.

[0098] Another implementation method is that after the information input is completed, the terminal device generates a use case step based on the use case step template and the input information. When M use case steps are generated, a target use case is obtained. The terminal device can store the target use case locally or send the target use case to the server, which stores the target use case.

[0099] It should be noted that the server involved in this application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal device can be a smart phone, tablet computer, laptop computer, PDA, personal computer, smart TV, smart watch, etc., but is not limited to this. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application. The number of servers and terminal devices is also not limited.

[0100] Based on the above introduction, please refer to Figure 2 , Figure 2 This is a flow chart of a method for generating use case steps in an embodiment of the present application, as shown in the figure, specifically:

[0101] In step S1, the business personnel view the pre-entered use case step template through the terminal device;

[0102] In step S2, on the terminal device side, the use case step template is displayed through the use case step input interface, and a dynamic editing box is further used to guide the business personnel to enter relevant information;

[0103] In step S3, the terminal device stores the description of the use case step in the database according to the format of the use case step template;

[0104] In step S4, the terminal device translates the relevant information corresponding to the use case step template stored in the database into Chinese description according to the format of the use case step template, that is, generates the target use case step.

[0105] It can be seen that this application solves the problem of standardization of use case step descriptions by customizing dynamic templates. The query template can specify dynamic interaction guidance and finely control the structure of sentences. While ensuring that the step sentence descriptions comply with grammatical specifications, the sentence editor has great scalability and reduces the development cost of standard maintenance.

[0106] Combined with the above introduction, the following will introduce the generation method of the use case steps in this application, please refer to Figure 3 , an embodiment of the use case step generation method in the embodiment of the present application includes:

[0107] 101. The terminal device displays a use case step template to be configured through a use case step input interface, wherein the use case step template to be configured is used to provide a target input area;

[0108] In this embodiment, the terminal device establishes a communication connection with the server. At the same time, an editor plug-in runs on the terminal device. The editor plug-in can be named "sentence editor". The editor plug-in provides a corresponding use case step input interface. For ease of introduction, please refer to Figure 4 , Figure 4 A schematic diagram of a use case step input interface in an embodiment of the present application. As shown in the figure, the use case step input interface displays a use case step template to be configured. Figure 4 Taking the example of the use case step template to be configured, the use case step template to be configured is used to provide a target input area, where the target input area includes three parts, namely, the single-choice result indicated by A1 (e.g., "Submit"), the custom input result indicated by A2, and the custom input result indicated by A3 (e.g., "Request Information"). The "WeChat User" in the use case step template to be configured is a fixed information, that is, information that does not need to be input.

[0109] 102. The terminal device receives an information configuration instruction for a use case step template to be configured, wherein the information configuration instruction carries input information, and the input information has a corresponding relationship with a target input area;

[0110] In this embodiment, the business personnel can enter relevant information in the target input area. After the information is entered, the business personnel can click Figure 4 The "OK" button indicated by A6 triggers the information configuration instruction, whereby the terminal device obtains the information configuration instruction for the use case step template to be configured. The information configuration instruction carries the input information and may also carry the template identifier of the use case step template to be configured, thereby determining the correspondence between the input information and the target input area.

[0111] If the business personnel need to clear the relevant information that has been entered in the target input area, they can click Figure 4 The "Cancel" button indicated by A5 triggers the data clearing instruction.

[0112] It should be noted that in order to facilitate business personnel to see the configured content more intuitively, Figure 4 The target use case steps are displayed in the area indicated by A4, for example, "WeChat user submits request information".

[0113] 103. The terminal device generates a target use case step according to the information configuration instruction, wherein the target use case step belongs to any use case step in the target use case.

[0114] In this embodiment, the terminal device sends an information configuration instruction to the server. Based on the information configuration instruction, the server determines that the use case step template currently in use is the use case step template to be configured, and also needs to extract the corresponding input information. After synthesizing the use case step template to be configured with the input information, the target use case step can be obtained, wherein the target use case step can be considered as a use case step that has been translated into a Chinese description, for example, "WeChat user submits request information", and M use case steps can constitute a target use case, where M is an integer greater than or equal to 1.

[0115] Specifically, any use case step template will be introduced below. The use case step template has a corresponding relationship with the template configuration information, that is, the template configuration information needs to be written in advance, and then the use case step template is generated according to the template configuration information. The template configuration information includes but is not limited to sentence components, input modes of configuration information, word identifiers of configuration information, and source identifiers of configuration information. Among them, sentence components include but are not limited to subject components, predicate components, object components, attributive components, adverbial components, complement components, conjunction components, and punctuation components. The input mode includes but is not limited to fixed information, information selection, and text input.

[0116] The following introduces the template configuration information with an example. Before introducing the template configuration information, please refer to Table 1, which is a schematic diagram of sentence components and their abbreviations.

[0117] Table 1

[0118] Sentence components Abbreviations for sentence components Subject component s Predicate Component p Object o Attributive component att Adverbial Components adv Complement com Conjunction c Punctuation elements m

[0119] As can be seen from Table 1, each type of sentence component can be represented by abbreviations.

[0120] Please refer to Table 2, which is a schematic diagram of input modes and their abbreviations.

[0121] Table 2

[0122] Input Mode Mode meaning Abbreviation for input mode Fixed information Select from the list fixed Information Selection Read-only fixed value choice Text Input Customized filling with automatic recommendation completion ac

[0123] As can be seen from Table 2, each input mode can be represented by an abbreviation.

[0124] Exemplarily, the template configuration information corresponding to a use case step template can be expressed as:

[0125] [s_fixed_0_2, p_choice_3_1, adv_ac_2_1, o_ac_4_1]{[p_choice_3_1, adv_ac_2_1, o_ac_4_1]}

[0126] Among them, “[]” represents a short sentence in a sentence, “{}” represents a set of multiple short sentences in a sentence, “,” is used to separate two adjacent words, “·_·_·_·” represents a word, “·” represents an omitted word, and “_” is used to separate two adjacent omitted words.

[0127] Based on this, "s_fixed_0_2" indicates that the subject component is fixed information, and the corresponding word identifier of the fixed information in the database is "0", and the source identifier of the fixed information is "2". The source identifier is used to indicate the source of the word. For example, the source identifier from "custom words" is "0", the source identifier from "online crawled vocabulary" is "1", and the source identifier from "popular vocabulary" is "2". The source can increase the enumeration value as needed.

[0128] “p_choice_3_1” indicates that the predicate component adopts the information selection mode, and the word identifier corresponding to the predicate component in the database is “3”, and the source identifier of the predicate component is “1”.

[0129] "adv_ac_2_1" indicates that the adverbial component adopts the text input mode, and the word corresponding to the adverbial component in the database is identified as "2", and the source identification of the predicate component is "1".

[0130] “o_ac_4_1” indicates that the object component adopts the text input mode, and the word identifier corresponding to the object component in the database is “4”, and the source identifier of the predicate component is “1”.

[0131] “p_choice_3_1” indicates that the predicate component adopts the information selection mode, and the word identifier corresponding to the predicate component in the database is “3”, and the source identifier of the predicate component is “1”.

[0132] "adv_ac_2_1" indicates that the adverbial component adopts the text input mode, and the word corresponding to the adverbial component in the database is identified as "2", and the source identification of the predicate component is "1".

[0133] “o_ac_4_1” indicates that the object component adopts the text input mode, and the word identifier corresponding to the object component in the database is “4”, and the source identifier of the predicate component is “1”.

[0134] It should be noted that the above example is only an illustration and should not be construed as a limitation of the present application.

[0135] In an embodiment of the present application, a method for generating a use case step is provided. First, the terminal device can display a use case step template to be configured through a use case step input interface, and the use case step template to be configured is used to provide a target input area. Then the terminal device receives an information configuration instruction for the use case step template to be configured. Finally, the terminal device generates a target use case step according to the information configuration instruction. In the above manner, the use of a use case step template can solve the problem of non-standard description of the target use case step, and turn the post-check into a pre-constraint. Based on the use case step template, the use case step is finely constrained. The business personnel only need to fill in the configuration information according to the defined use case step template, which reduces the difficulty of use case step configuration, thereby improving the success rate of use case configuration and reducing the difficulty of use case configuration.

[0136] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, in which the terminal device displays a use case step template to be configured through a use case step input interface, specifically including the following steps:

[0137] The terminal device displays a target input area corresponding to the use case step template to be configured through the use case step input interface, wherein the target input area includes M inputtable areas, where M is an integer greater than or equal to 1;

[0138] After the terminal device displays the use case step template to be configured through the use case step input interface, the following steps may also be included:

[0139] The terminal device receives configuration information for any input-enabled area in the target input area, wherein there is a one-to-one correspondence between the configuration information and the input-enabled area.

[0140] In this embodiment, a method of inputting configuration information in an inputtable area is introduced. Based on the above embodiments, it can be known that the target input area includes at least one inputtable area. Figure 4 Taking the shown use case step template to be configured as an example, the target input area corresponding to the use case step template to be configured includes three input areas.

[0141] Specifically, M input areas are displayed on the use case step input interface, and the business personnel can select any input area, for example, move the cursor to the input area, so that the business personnel can enter the corresponding information in the selected input area, that is, obtain the configuration information corresponding to the input area.

[0142] It should be noted that information can be entered in the input area, or no information can be filled in. If relevant information is filled in the input area, the configuration information corresponding to the input area is the relevant information that has been filled in. If no information is filled in the input area, the configuration information corresponding to the input area is "empty".

[0143] Secondly, in an embodiment of the present application, a method for inputting configuration information in an input area is provided. Through the above method, an area for inputting relevant information is displayed on the use case step input interface, thereby achieving the purpose of guiding business personnel to input corresponding content, which is conducive to increasing the operability of use case step generation.

[0144] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, which may further include the following steps:

[0145] The terminal device displays M sentence component prompt information on the use case step input interface, wherein the sentence component prompt information has a one-to-one correspondence with the input area, and the sentence component prompt information is used to indicate the sentence components of the configuration information in the target use case step, and the sentence components include at least one of the subject component, predicate component, object component, attributive component, adverbial component, complement component, conjunction component and punctuation component.

[0146] In this embodiment, a method of displaying sentence components in a use case step template is introduced. On the use case step input interface, the sentence component prompt information corresponding to each input area and the sentence component prompt information corresponding to the fixed information can also be displayed. The sentence component prompt information is used to prompt business personnel what kind of sentence component corresponding information should be entered in the input area. For example, the sentence component prompt information corresponding to input area A is "predicate", which means that the predicate needs to be entered in input area A. For another example, the sentence component prompt information corresponding to input area B is "object", which means that the object needs to be entered in input area B.

[0147] Specifically, for ease of introduction, see Figure 5 , Figure 5This is another schematic diagram of the use case step input interface in the embodiment of the present application. As shown in the figure, B1 is used to indicate the sentence component prompt information, wherein the use case step input interface displays the use case step template to be configured. Assume that the use case step template to be configured includes two parts, namely fixed information and an input area. For example, the fixed information may be "WeChat user", and the sentence component prompt information corresponding to the fixed information is "subject". For example, the input area may be "submit", and the sentence component prompt information corresponding to the input area is "predicate". For another example, the input area may be "empty", and the sentence component prompt information corresponding to the input area is "attributive". For another example, the input area may be "request information", and the sentence component prompt information corresponding to the input area is "object".

[0148] It should be noted that sentence components include but are not limited to subject components, predicate components, object components, attributive components, adverbial components, complement components, conjunction components and punctuation components.

[0149] Again, in an embodiment of the present application, a method for displaying sentence components in a use case step template is provided. Through the above method, not only can the area where relevant information can be entered be displayed on the use case step input interface, but also the sentence component prompt information corresponding to each input area can be displayed, thereby further achieving the purpose of guiding business personnel to enter the corresponding content, which is conducive to increasing the operability and convenience of use case step writing.

[0150] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, in which the terminal device receives configuration information for any input area in the target input area, specifically including the following steps:

[0151] If an information selection instruction for any input area in the target input area is detected, the terminal device determines the configuration information corresponding to any input area in response to the information selection instruction;

[0152] If a text input instruction for any input area in the target input area is detected, the terminal device obtains configuration information corresponding to any input area in response to the text input instruction.

[0153] In this embodiment, two ways of inputting configuration information are introduced. As can be seen from the above embodiments, the target input area includes M inputtable areas. For the sake of convenience, one inputtable area will be taken as an example for the following description, and there are two input ways for one inputtable area.

[0154] The first input method is single-select input. Figure 6 , Figure 6FIG. 1 is a schematic diagram of an embodiment of inputting configuration information in an embodiment of the present application. Figure 6 As shown in Figure (A), for an input area, clicking the arrow can display multiple options, such as "empty", "select", "request", "cancel", "submit", "confirm" and "view". The business personnel can select any option, such as "request", and then generate an information selection instruction, which carries "request". The terminal device responds to the information selection instruction and determines that the configuration information corresponding to the input area is "request".

[0155] The second input method is fill-in-the-blank input method. Please continue to refer to Figure 6 ,like Figure 6 As shown in Figure (B), for an input area, clicking the input area triggers a text input instruction, thereby inputting configuration information. Figure 6 As shown in the middle (C) figure, for an input area, after clicking the input area, a text input instruction is triggered, so that abbreviations or acronyms can be entered, for example, "BJ". Based on custom filling and automatic recommendation completion (AC) function, "BJ" related content is generated, such as "Beijing", "Binjiang" and "Baoji". The business personnel selects any one of the content, such as "Beijing", then the configuration information corresponding to the input area is "Beijing".

[0156] Again, in the embodiments of the present application, two methods of inputting configuration information are provided. Through the above methods, the configuration information can be customized and filled in, or the configuration information can be selected individually, thereby improving the flexibility of use case step generation and increasing the feasibility and operability of the solution.

[0157] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, in which the terminal device displays a use case step template to be configured through a use case step input interface, specifically including the following steps:

[0158] The terminal device displays fixed information corresponding to the use case step template to be configured through the use case step input interface, wherein the fixed information has a corresponding relationship with the sentence components in the target use case step, and the sentence components include at least one of a subject component, a predicate component, an object component, an attributive component, an adverbial component, a complement component, a conjunction component, and a punctuation component;

[0159] The terminal device displays the target input area corresponding to the use case step template to be configured through the use case step input interface, wherein the target input area includes M input areas, where M is an integer greater than or equal to 1.

[0160] In this embodiment, a method of setting fixed information in the use case step input interface is introduced. For the use case step template to be configured, fixed information can also be set, and the fixed information is information that cannot be modified.

[0161] Specifically, it is assumed that the subject component in the use case step template to be configured is fixed information, for example, the fixed information may be "WeChat user", that is, the business personnel cannot modify the subject component of "WeChat user". It is assumed that the object component in the use case step template to be configured is fixed information, for example, the fixed information may be "friend add request", that is, the business personnel cannot modify the object component of "friend add request". It is understandable that the above example is only an illustration and should not be construed as a limitation of the present application.

[0162] Based on this, the terminal device generates the corresponding target use case step based on the fixed information corresponding to the use case step template to be configured and the M configuration information.

[0163] Secondly, in an embodiment of the present application, a method for setting fixed information in a use case step input interface is provided. Through the above method, fixed information can be set in the use case step template according to actual conditions. The target use case step is composed of the fixed information and the configuration information corresponding to the M input areas, thereby improving the flexibility of the solution.

[0164] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, wherein the target input area includes a subject input area, a predicate input area, and an object input area;

[0165] The terminal device displays the use case step template to be configured through the use case step input interface, which specifically includes the following steps:

[0166] The terminal device displays the subject input area, predicate input area and object input area corresponding to the use case step template to be configured through the use case step input interface, wherein the subject input area has a corresponding relationship with the subject component in the target use case step, the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step;

[0167] The following steps are also included:

[0168] If an information selection instruction for the subject input area is detected, the terminal device determines the configuration information corresponding to the subject input area in response to the information selection instruction;

[0169] If a text input instruction for the subject input area is detected, the terminal device determines the configuration information corresponding to the subject input area in response to the text input instruction;

[0170] The following steps are also included:

[0171] If an information selection instruction for the predicate input area is detected, the terminal device determines the configuration information corresponding to the predicate input area in response to the information selection instruction;

[0172] If a text input instruction for the predicate input area is detected, the terminal device determines the configuration information corresponding to the predicate input area in response to the text input instruction;

[0173] The following steps are also included:

[0174] If an information selection instruction for the object input area is detected, the terminal device determines the configuration information corresponding to the object input area in response to the information selection instruction;

[0175] If a text input instruction for the object input area is detected, the terminal device determines the configuration information corresponding to the object input area in response to the text input instruction.

[0176] In this embodiment, a method for generating a template of a step of a use case to be configured based on a subject component, a predicate component, and an object component is introduced. The target input area corresponding to the template of the step of the use case to be configured may include a subject input area, a predicate input area, and an object input area, that is, the business personnel may input configuration information in a single-choice or fill-in-the-blank manner for each inputtable area.

[0177] Specifically, for ease of introduction, see Figure 7 , Figure 7 This is a schematic diagram of an embodiment of a use case step template to be configured in an embodiment of the present application. In one example, assuming that the M input areas are the subject input area, the predicate input area, and the object input area, relevant information can be entered in these three input areas. Figure 7 As shown in Figure (A), the configuration information can be input in a single-selection manner. For example, after clicking the arrow in the subject input area, multiple options can be displayed, such as "WeChat user", "Game user" and "Weibo user", etc. After selecting any one of the options, the information selection instruction for the subject input area is triggered. For example, after clicking the arrow in the predicate input area, multiple options can be displayed, such as "empty", "select" and "view", etc. After selecting any one of the options, the information selection instruction for the predicate input area is triggered. For example, after clicking the arrow in the object input area, multiple options can be displayed, such as "request information", "friend add request" and "picture download request", etc. After selecting any one of the options, the information selection instruction for the object input area is triggered.

[0178] In another example, Figure 7 As shown in the middle (B) figure, the configuration information can be input in a fill-in-the-blank manner. For example, the subject input area can be clicked to trigger a text input instruction, and the corresponding configuration information can be input. Similarly, the predicate input area can be clicked to trigger a text input instruction, and the corresponding configuration information can be input. Similarly, the object input area can be clicked to trigger a text input instruction, and the corresponding configuration information can be input.

[0179] It should be noted that, in actual applications, a fill-in-the-blank input method may be used for some input areas, while a single-choice input method may be used for the remaining input areas. This is not exhaustive.

[0180] Secondly, in an embodiment of the present application, a method is provided for generating a template of use case steps to be configured based on subject components, predicate components and object components. Through the above method, use case steps can be generated for simple sentence structures. On the one hand, the configuration information can be described in a standardized manner, and on the other hand, each sentence component can be selected or filled in, thereby improving the feasibility and operability of the solution.

[0181] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, wherein the target input area includes a predicate input area and an object input area;

[0182] The terminal device displays the use case step template to be configured through the use case step input interface, which specifically includes the following steps:

[0183] The terminal device displays fixed information corresponding to the use case step template to be configured through the use case step input interface, wherein the fixed information has a corresponding relationship with the subject component in the target use case step;

[0184] The terminal device displays the predicate input area and the object input area corresponding to the use case step template to be configured through the use case step input interface, wherein the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step;

[0185] The following steps are also included:

[0186] If an information selection instruction for the predicate input area is detected, the terminal device determines the configuration information corresponding to the predicate input area in response to the information selection instruction;

[0187] If a text input instruction for the predicate input area is detected, the terminal device determines the configuration information corresponding to the predicate input area in response to the text input instruction;

[0188] The following steps are also included:

[0189] If an information selection instruction for the object input area is detected, the terminal device determines the configuration information corresponding to the object input area in response to the information selection instruction;

[0190] If a text input instruction for the object input area is detected, the terminal device determines the configuration information corresponding to the object input area in response to the text input instruction.

[0191] In this embodiment, another method of generating a template for the step of the use case to be configured based on the subject component, the predicate component and the object component is introduced. In actual situations, the business personnel may only have the authority to call data related to a certain type of user subject, for example, they can only call data related to "WeChat users". Based on this, when setting the template for the step of the use case to be configured, the subject component can be set to fixed information, for example, "WeChat users". It should be noted that the business personnel may also only have the authority to call a certain type of data, for example, they can only call data related to "friend add request". Based on this, when setting the template for the step of the use case to be configured, the object component can be set to fixed information, for example, "friend add request". It should be understood that the above example is only an illustration and should not be construed as a limitation on this application.

[0192] Specifically, the following will take the subject component as an example to introduce fixed information. Figure 8 , Figure 8 This is another example of a use case step template to be configured in the embodiment of the present application. Assuming that the fixed information is "WeChat user", based on this, in one example, assuming that the M input areas are the predicate input area and the object input area, then relevant information can be entered in these two input areas respectively. Figure 8 As shown in Figure (A), configuration information can be input in a single-selection manner. Clicking the arrow in the predicate input area will display multiple options, such as "empty", "select" and "view", etc. After selecting any one of the options, the information selection instruction for the predicate input area will be triggered. Clicking the arrow in the object input area will display multiple options, such as "request information", "friend add request" and "image download request", etc. After selecting any one of the options, the information selection instruction for the object input area will be triggered.

[0193] In another example, Figure 8 As shown in the middle (B) figure, the configuration information can be input by filling in the blanks. For example, the predicate input area can be clicked to trigger the text input instruction and input the corresponding configuration information. Similarly, the object input area can be clicked to trigger the text input instruction and input the corresponding configuration information.

[0194] It should be noted that, in actual applications, a fill-in-the-blank input method may be used for some input areas, while a single-choice input method may be used for the remaining input areas. This is not exhaustive.

[0195] Secondly, in an embodiment of the present application, another method is provided for generating a template for use case steps to be configured based on subject components, predicate components and object components. Through the above method, use case step generation can be implemented for simple sentence structures. On the one hand, the configuration information can be described in a standardized manner, and on the other hand, some sentence components can be selected or filled in, thereby improving the feasibility and operability of the solution.

[0196] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, wherein the target input area further includes an attributive input area;

[0197] The terminal device displays the use case step template to be configured through the use case step input interface, which specifically includes the following steps:

[0198] The terminal device displays an attributive input area corresponding to the use case step template to be configured through the use case step input interface, wherein the attributive input area has a corresponding relationship with the attributive component in the target use case step;

[0199] The following steps are also included:

[0200] If an information selection instruction for the attributive input area is detected, the terminal device determines the configuration information corresponding to the attributive input area in response to the information selection instruction;

[0201] If a text input instruction for the attributive input area is detected, the terminal device obtains configuration information corresponding to the attributive input area in response to the text input instruction.

[0202] In this embodiment, a method of adding attributive component-related descriptions during the use case step generation process is introduced. The attributive component is used to indicate that the configuration information filled in the attributive input area belongs to the attributive in the target use case step. The attributive is a grammatical noun. Nouns, pronouns, adjectives, and quantifiers can all be attributives. In a sentence, the attributive is used to modify the subject and object.

[0203] Specifically, the following will take the subject component as an example to introduce fixed information. Fig. 9 , Fig. 9This is another embodiment schematic diagram of the use case step template to be configured in the embodiment of the present application. As shown in the figure, in one example, assuming that the M input areas are the predicate input area, the attributive input area, and the object input area, respectively, then relevant information can be entered in these three input areas respectively. The configuration information corresponding to the attributive component can be entered in a single-select manner, that is, after clicking the arrow in the attributive input area, multiple options can be displayed, for example, "January 2020", "February 2020", and "March 2020", etc. After selecting any one of the options, the information selection instruction for the attributive input area is triggered.

[0204] In another example, the configuration information may be input by filling in the blanks. For example, a text input instruction may be triggered after clicking on the attributive input area, and corresponding configuration information may be input.

[0205] It should be noted that, in actual applications, a fill-in-the-blank input method may be used for some input areas, and a single-choice input method may be used for the remaining input areas. In addition, fixed information may not be included, or at least one of the predicate component, attributive component, and object component may be set as fixed information, which is not exhaustive here.

[0206] Again, in an embodiment of the present application, a method is provided for adding relevant descriptions of attributive components in the process of generating use case steps. Through the above method, business personnel can also fill in attributive components in the template of the use case steps to be configured according to actual needs, enrich the sentence structure, and thereby generate the target use case steps in combination with the configuration information corresponding to the attributive components, thereby improving the flexibility and diversity of use case step generation.

[0207] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, wherein the target input area further includes an adverbial input area;

[0208] The terminal device displays the use case step template to be configured through the use case step input interface, which specifically includes the following steps:

[0209] The terminal device displays an adverbial input area corresponding to the use case step template to be configured through the use case step input interface, wherein the adverbial input area has a corresponding relationship with the adverbial component in the target use case step;

[0210] The following steps are also included:

[0211] If an information selection instruction for the adverbial input area is detected, the terminal device determines the configuration information corresponding to the adverbial input area in response to the information selection instruction;

[0212] If a text input instruction for the adverbial input area is detected, the terminal device obtains configuration information corresponding to the adverbial input area in response to the text input instruction.

[0213] In this embodiment, a method of adding a description of adverbial components in the process of generating a use case step is introduced. The adverbial component is used to indicate that the configuration information filled in the adverbial input area belongs to the adverbial in the target use case step. The adverbial is an important modifying component of a sentence and is another additional component in the predicate. The Chinese adverbial is a related component in front of a verb or adjective, which is used to modify or limit the verb or adjective, indicating the state, method, time, place or degree of the action, etc.

[0214] Specifically, the following will take the subject component as an example to introduce fixed information. Fig.10 , Fig.10 This is another embodiment schematic diagram of the use case step template to be configured in the embodiment of the present application. As shown in the figure, in one example, assuming that the M input areas are respectively the adverbial input area, the predicate input area and the object input area, then the relevant information can be entered in these three input areas respectively. The configuration information corresponding to the adverbial component can be entered in a single-choice manner, that is, after clicking the arrow in the adverbial input area, multiple options can be displayed, for example, "within one month after registration", "within two months after registration", "within three months after registration" and "within four months after registration", etc. After selecting any one of the options, the information selection instruction for the attributive input area is triggered.

[0215] In another example, the configuration information may be input by filling in the blanks. For example, the adverbial input area may be clicked to trigger a text input instruction and input corresponding configuration information.

[0216] It should be noted that, in actual applications, a fill-in-the-blank input method may be used for some input areas, and a single-choice input method may be used for the remaining input areas. In addition, fixed information may not be included, or at least one of the adverbial component, predicate component, and object component may be set as fixed information, which is not exhaustive here.

[0217] Again, in an embodiment of the present application, a method is provided for adding relevant descriptions of adverbial components in the process of generating use case steps. Through the above method, business personnel can also fill in adverbial components in the template of the use case steps to be configured according to actual needs, enrich the sentence structure, and thus generate the target use case steps in combination with the configuration information corresponding to the adverbial components, thereby improving the flexibility and diversity of use case step generation.

[0218] Optionally, in the above Figure 3On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, wherein the target input area further includes a complement input area;

[0219] The terminal device displays the use case step template to be configured through the use case step input interface, which specifically includes the following steps:

[0220] The terminal device displays a complement input area corresponding to the use case step template to be configured through the use case step input interface, wherein the complement input area has a corresponding relationship with the complement component in the target use case step;

[0221] The following steps are also included:

[0222] If an information selection instruction for the complement input area is detected, the terminal device determines the configuration information corresponding to the complement input area in response to the information selection instruction;

[0223] If a text input instruction for the complement input area is detected, the terminal device obtains configuration information corresponding to the complement input area in response to the text input instruction.

[0224] In this embodiment, a method of adding a description of a complement component in the process of generating a use case step is introduced. The complement component is used to indicate that the configuration information filled in the complement input area belongs to the complement in the target use case step. The complement is used to supplement the result, degree, trend, possibility, state, quantity and purpose of the predicate in the predicate-complement structure. The relationship between the complement and the predicate is that of complement and complemented, explanation and explained.

[0225] Specifically, the following will take the subject component as an example to introduce fixed information. Fig.11 , Fig.11 This is another embodiment schematic diagram of the use case step template to be configured in the embodiment of the present application. As shown in the figure, in one example, assuming that the M input areas are respectively the predicate input area, the object input area and the complement input area, then relevant information can be entered in these three input areas respectively. The configuration information corresponding to the complement component can be entered in a single-selection manner, that is, after clicking the arrow in the complement input area, multiple options can be displayed, for example, "rejected by the other party", "accepted by the other party" and "ignored by the other party", etc. After selecting any one of the options, the information selection instruction for the complement input area is triggered.

[0226] In another example, the configuration information may be input by filling in the blanks. For example, a text input instruction may be triggered after clicking on the complement input area, and corresponding configuration information may be input.

[0227] It should be noted that, in actual applications, a fill-in-the-blank input method may be used for some input areas, and a single-choice input method may be used for the remaining input areas. In addition, fixed information may not be included, or at least one of the predicate component, the object component, and the complement component may be set as fixed information, which is not exhaustive here.

[0228] Again, in an embodiment of the present application, a method is provided for adding relevant descriptions of complement components in the use case step generation process. Through the above method, business personnel can also fill in complement components in the use case step template to be configured according to actual needs, enrich the sentence structure, and thus generate the target use case steps in combination with the configuration information corresponding to the complement components, thereby improving the flexibility and diversity of use case step generation.

[0229] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, wherein the target input area further includes a conjunction input area;

[0230] The terminal device displays the use case step template to be configured through the use case step input interface, which specifically includes the following steps:

[0231] The terminal device displays a conjunction input area corresponding to the use case step template to be configured through the use case step input interface, wherein the conjunction input area has a corresponding relationship with the conjunction component in the target use case step;

[0232] The following steps are also included:

[0233] If an information selection instruction for the conjunction input area is detected, the terminal device determines the configuration information corresponding to the conjunction input area in response to the information selection instruction;

[0234] If a text input instruction for the conjunction input area is detected, the terminal device obtains configuration information corresponding to the conjunction input area in response to the text input instruction.

[0235] In this embodiment, a method of adding descriptions related to conjunction components in the process of generating use case steps is introduced. The conjunction component is used to indicate that the configuration information filled in the conjunction input area belongs to the conjunction in the target use case step. Conjunctions are function words used to connect words, phrases or sentences to express a certain logical relationship. Conjunctions can express parallel, transitional, hypothetical, selective, progressive, conditional, and causal relationships.

[0236] Specifically, the following will take the subject component as an example to introduce fixed information. Fig.12 , Fig.12This is another embodiment schematic diagram of the use case step template to be configured in the embodiment of the present application. As shown in the figure, in one example, assuming that the M input areas are two predicate input areas, a conjunction input area, and an object input area, respectively, relevant information can be entered in these four input areas. The configuration information corresponding to the conjunction component can be entered in a single-selection manner, that is, after clicking the arrow in the conjunction input area, multiple options can be displayed, for example, "empty", "and", and "or", etc. After selecting any one of the options, the information selection instruction for the complement input area is triggered.

[0237] In another example, the configuration information may be input by filling in the blanks. For example, a text input instruction may be triggered after clicking on a conjunction input area, and corresponding configuration information may be input.

[0238] It should be noted that, in actual applications, a fill-in-the-blank input method may be used for some input areas, and a single-choice input method may be used for the remaining input areas. In addition, fixed information may not be included, or at least one of the predicate component, object component, and conjunction component may be set as fixed information, which is not exhaustive here.

[0239] Again, in an embodiment of the present application, a method is provided for adding descriptions related to conjunction components in the use case step generation process. Through the above method, business personnel can also fill in conjunction components in the use case step template to be configured according to actual needs to enrich the sentence structure, thereby generating the target use case steps in combination with the configuration information corresponding to the conjunction components, thereby improving the flexibility and diversity of use case step generation.

[0240] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, wherein the target input area further includes a symbol input area;

[0241] The terminal device displays the use case step template to be configured through the use case step input interface, which specifically includes the following steps:

[0242] The terminal device displays a symbol input area corresponding to the use case step template to be configured through the use case step input interface, wherein the symbol input area has a corresponding relationship with the symbol component in the target use case step;

[0243] The following steps are also included:

[0244] If an information selection instruction for the symbol input area is detected, the terminal device determines the configuration information corresponding to the symbol input area in response to the information selection instruction;

[0245] If a text input instruction for the symbol input area is detected, the terminal device obtains configuration information corresponding to the symbol input area in response to the text input instruction.

[0246] In this embodiment, a method of adding a description of symbol components in the process of generating a use case step is introduced. The symbol components are used to indicate that the configuration information filled in the conjunction input area belongs to the punctuation marks in the target use case step. Punctuation marks are symbols that assist in recording language, are components of written language, and are used to indicate pauses, tone, and the nature and function of words.

[0247] Specifically, the following will take the subject component as an example to introduce fixed information. Fig.13 , Fig.13 This is another embodiment schematic diagram of the use case step template to be configured in the embodiment of the present application. As shown in the figure, in one example, assuming that the M input areas are the predicate input area and the symbol input area, respectively, relevant information can be entered in these two input areas. The configuration information corresponding to the symbol component can be entered in a single-select manner, that is, after clicking the arrow in the symbol input area, multiple options can be displayed, such as ".", "," "!" and ";", etc. After selecting any one of the options, the information selection instruction for the symbol input area is triggered.

[0248] In another example, the configuration information may be input by filling in the blanks. For example, a text input instruction may be triggered after clicking a symbol input area, and corresponding configuration information may be input.

[0249] It should be noted that, in actual applications, a fill-in-the-blank input method may be used for some input areas, and a single-choice input method may be used for the remaining input areas. In addition, fixed information may not be included, or at least one of the predicate component, object component, and symbol component may be set as fixed information, which is not exhaustive here.

[0250] Again, in an embodiment of the present application, a method is provided for adding descriptions related to symbolic components in the process of generating use case steps. Through the above method, business personnel can also fill in symbolic components in the template of the use case steps to be configured according to actual needs, enrich the sentence structure, and thereby generate the target use case steps in combination with the configuration information corresponding to the symbolic components, thereby improving the flexibility and diversity of use case step generation.

[0251] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, the embodiment of the present application provides another optional embodiment, in which the terminal device displays a use case step template to be configured through a use case step input interface, specifically including the following steps:

[0252] The terminal device displays the use case step template to be configured and at least one use case step template through the use case step input interface, wherein each use case step template is used to provide an input area.

[0253] In this embodiment, a method of displaying multiple use case step templates in a use case step input interface is introduced. In practical applications, multiple use case step templates including the use case step template to be configured can also be configured, and each use case step template has a corresponding input area based on a pre-set rule.

[0254] For ease of introduction, see Fig.14 , Fig.14 Another schematic diagram of the use case step input interface in the embodiment of the present application, as shown in the figure, assuming that two query use case step templates are provided on the use case step input interface, namely, the use case step template with serial number "1" and the use case step template with serial number "2", when the business personnel clicks the use case step template with serial number "1", the target use case step corresponding to the use case step template No. 1 is displayed in the "Preview" area. When the business personnel clicks the use case step template with serial number "2", the target use case step corresponding to the use case step template No. 2 is displayed in the "Preview" area.

[0255] In the use case step template with the serial number "1", there is no need to fill in the subject, that is, there is fixed information "WeChat user", and the "predicate", "attributive" and "object" correspond to the input areas respectively. In the use case step template with the serial number "2", there is no fixed information, and the "subject", "predicate" and "object" correspond to the input areas respectively.

[0256] It should be noted that in actual applications, more different use case step templates can be set. Fig.14 The use case step template shown is for illustration only and should not be construed as a limitation on the present application.

[0257] Secondly, in an embodiment of the present application, a method is provided for displaying multiple use case step templates in a use case step input interface. Through the above method, a variety of optional use case step templates can also be provided to business personnel, making it easier for business personnel to select appropriate use case step templates. On the one hand, the flexibility and diversity of operations are improved. On the other hand, a variety of use case step templates can be designed in a targeted manner, which is conducive to expanding the inspection rules without the need for additional development.

[0258] The following is a detailed description of the use case step generation device in this application. Fig.15 , Fig.15 This is a schematic diagram of an embodiment of a use case step generation device in an embodiment of the present application. The use case step generation device 30 includes:

[0259] Providing module 301, for displaying a use case step template to be configured through a use case step input interface, wherein the use case step template to be configured is used to provide a target input area;

[0260] A receiving module 302 is used to receive an information configuration instruction for a use case step template to be configured, wherein the information configuration instruction carries input information, and the input information has a corresponding relationship with a target input area;

[0261] A generating module 303 is used to send an information configuration instruction to the server so that the server generates a target use case step according to the information configuration instruction;

[0262] The receiving module 302 is also used to receive the use case step generation result sent by the server, wherein the use case step generation result is obtained by the server according to the target use case step, wherein the target use case step belongs to any use case step in the target use case.

[0263] In an embodiment of the present application, a use case step generation device is provided. By adopting the above device and using a use case step template, the problem of non-standard description of the target use case step can be solved, and the post-check can be turned into a pre-constraint. The use case steps are finely constrained based on the use case step template. Business personnel only need to fill in the configuration information according to the defined use case step template, which not only improves the success rate of use case step generation, but also reduces the difficulty of use case step generation.

[0264] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application,

[0265] Provide a module 301, specifically for displaying a target input area corresponding to a use case step template to be configured through a use case step input interface, wherein the target input area includes M input areas, where M is an integer greater than or equal to 1;

[0266] The receiving module 302 is further used to receive configuration information for any input area in the target input area after the providing module displays the use case step template to be configured through the use case step input interface, wherein there is a one-to-one correspondence between the configuration information and the input area.

[0267] In an embodiment of the present application, a use case step generation device is provided. By using the above device, an area for inputting relevant information is displayed on the use case step input interface, thereby achieving the purpose of guiding business personnel to input corresponding content, which is conducive to increasing the operability of use case step generation.

[0268] Optionally, in the above Fig.15On the basis of the corresponding embodiment, in another embodiment of the use case step generation device 30 provided in the embodiment of the present application, the use case step generation device 30 further includes a display module 304;

[0269] Display module 304 is used to display M sentence component prompt information on the use case step input interface, wherein there is a one-to-one correspondence between the sentence component prompt information and the input area, and the sentence component prompt information is used to indicate the sentence components of the configuration information in the target use case step, and the sentence components include at least one of the subject component, predicate component, object component, attributive component, adverbial component, complement component, conjunction component and punctuation component.

[0270] In an embodiment of the present application, a use case step generation device is provided. By using the above device, not only can the area where relevant information can be input be displayed on the use case step input interface, but also the sentence component prompt information corresponding to each input area can be displayed, thereby further achieving the purpose of guiding business personnel to input corresponding content, thereby facilitating the operability and convenience of use case step writing.

[0271] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application,

[0272] The receiving module 302 is specifically configured to determine the configuration information corresponding to any one of the input areas in response to the information selection instruction if an information selection instruction for any one of the input areas is detected in the target input area;

[0273] If a text input instruction for any input area in the target input area is detected, configuration information corresponding to any input area is acquired in response to the text input instruction.

[0274] In an embodiment of the present application, a use case step generation device is provided. By using the above device, configuration information can be filled in by customization, or configuration information can be selected individually, thereby improving the flexibility of use case step generation and increasing the feasibility and operability of the solution.

[0275] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application,

[0276] Providing module 301, specifically used to display fixed information corresponding to the use case step template to be configured through the use case step input interface, wherein the fixed information has a corresponding relationship with the sentence components in the target use case step, and the sentence components include at least one of a subject component, a predicate component, an object component, an attributive component, an adverbial component, a complement component, a conjunction component, and a punctuation component;

[0277] The target input area corresponding to the use case step template to be configured is displayed through the use case step input interface, wherein the target input area includes M inputtable areas, where M is an integer greater than or equal to 1.

[0278] In an embodiment of the present application, a use case step generation device is provided. By using the above device, fixed information can be set in the use case step template according to actual conditions. The target use case step is composed of the fixed information and the configuration information corresponding to the M input areas, thereby improving the flexibility of the solution.

[0279] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application, the target input area includes a subject input area, a predicate input area and an object input area;

[0280] The use case step generating device 30 further includes an acquisition module 305;

[0281] Providing module 301, specifically used to display a subject input area, a predicate input area, and an object input area corresponding to the use case step template to be configured through a use case step input interface, wherein the subject input area has a corresponding relationship with the subject component in the target use case step, the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step;

[0282] The acquisition module 305 is used to determine the configuration information corresponding to the subject input area in response to the information selection instruction if an information selection instruction for the subject input area is detected;

[0283] If a text input instruction for the subject input area is detected, then in response to the text input instruction, the configuration information corresponding to the subject input area is determined;

[0284] The acquisition module 305 is further configured to determine the configuration information corresponding to the predicate input area in response to the information selection instruction if an information selection instruction for the predicate input area is detected;

[0285] If a text input instruction for the predicate input area is detected, then in response to the text input instruction, configuration information corresponding to the predicate input area is determined;

[0286] The acquisition module 305 is further configured to determine the configuration information corresponding to the object input area in response to the information selection instruction if an information selection instruction for the object input area is detected;

[0287] If a text input instruction for the object input area is detected, configuration information corresponding to the object input area is determined in response to the text input instruction.

[0288] In an embodiment of the present application, a use case step generation device is provided. By using the above device, use case steps can be generated for simple sentence structures. On the one hand, configuration information can be described in a standardized manner, and on the other hand, each sentence component can be selected or filled in, thereby improving the feasibility and operability of the solution.

[0289] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application, the target input area includes a predicate input area and an object input area;

[0290] The use case step generating device 30 further includes an acquisition module 305;

[0291] Providing module 301, specifically for displaying fixed information corresponding to the use case step template to be configured through the use case step input interface, wherein the fixed information has a corresponding relationship with the subject component in the target use case step;

[0292] Displaying a predicate input area and an object input area corresponding to the use case step template to be configured through the use case step input interface, wherein the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step;

[0293] The acquisition module 305 is used to determine the configuration information corresponding to the predicate input area in response to the information selection instruction if an information selection instruction for the predicate input area is detected;

[0294] If a text input instruction for the predicate input area is detected, then in response to the text input instruction, configuration information corresponding to the predicate input area is determined;

[0295] The acquisition module 305 is further configured to determine the configuration information corresponding to the object input area in response to the information selection instruction if an information selection instruction for the object input area is detected;

[0296] If a text input instruction for the object input area is detected, configuration information corresponding to the object input area is determined in response to the text input instruction.

[0297] In an embodiment of the present application, a use case step generation device is provided. By using the above device, use case step generation can be implemented for simple sentence structures. On the one hand, configuration information can be described in a standardized manner, and on the other hand, some sentence components can be selected or filled in, thereby improving the feasibility and operability of the solution.

[0298] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application, the target input area further includes an attributive input area;

[0299] The use case step generating device 30 further includes an acquisition module 305;

[0300] The module 301 is provided, and is further used to display an attributive input area corresponding to the use case step template to be configured through the use case step input interface, wherein the attributive input area has a corresponding relationship with the attributive component in the target use case step;

[0301] The acquisition module 305 is used to determine the configuration information corresponding to the attributive input area in response to the information selection instruction if an information selection instruction for the attributive input area is detected;

[0302] If a text input instruction for the attributive input area is detected, configuration information corresponding to the attributive input area is acquired in response to the text input instruction.

[0303] In an embodiment of the present application, a use case step generation device is provided. By using the above device, business personnel can also fill in attributive components in the use case step template to be configured according to actual needs to enrich the sentence structure, thereby generating target use case steps in combination with the configuration information corresponding to the attributive components, thereby improving the flexibility and diversity of use case step generation.

[0304] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application, the target input area further includes an adverbial input area;

[0305] The use case step generating device 30 further includes an acquisition module 305;

[0306] The module 301 is provided, and is further used to display an adverbial input area corresponding to the use case step template to be configured through the use case step input interface, wherein the adverbial input area has a corresponding relationship with the adverbial component in the target use case step;

[0307] The acquisition module 305 is used to determine the configuration information corresponding to the adverbial input area in response to the information selection instruction if an information selection instruction for the adverbial input area is detected;

[0308] If a text input instruction for the adverbial input area is detected, configuration information corresponding to the adverbial input area is acquired in response to the text input instruction.

[0309] In an embodiment of the present application, a use case step generation device is provided. By using the above device, business personnel can also fill in adverbial components in the use case step template to be configured according to actual needs to enrich the sentence structure, thereby generating the target use case steps in combination with the configuration information corresponding to the adverbial components, thereby improving the flexibility and diversity of use case step generation.

[0310] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application, the target input area also includes a complement input area;

[0311] The use case step generating device 30 further includes an acquisition module 305;

[0312] Providing module 301, further used to display a complement input area corresponding to the use case step template to be configured through the use case step input interface, wherein the complement input area has a corresponding relationship with the complement component in the target use case step;

[0313] The acquisition module 305 is used to determine the configuration information corresponding to the complement input area in response to the information selection instruction if an information selection instruction for the complement input area is detected;

[0314] If a text input instruction for the complement input area is detected, configuration information corresponding to the complement input area is acquired in response to the text input instruction.

[0315] In an embodiment of the present application, a use case step generation device is provided. By using the above device, business personnel can also fill in complement components in the use case step template to be configured according to actual needs to enrich the sentence structure, thereby generating the target use case step in combination with the configuration information corresponding to the complement components, thereby improving the flexibility and diversity of use case step generation.

[0316] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application, the target input area also includes a conjunction input area;

[0317] The use case step generating device 30 further includes an acquisition module 305;

[0318] Providing module 301, further used to display a conjunction input area corresponding to the use case step template to be configured through the use case step input interface, wherein the conjunction input area has a corresponding relationship with the conjunction component in the target use case step;

[0319] The acquisition module 305 is used to determine the configuration information corresponding to the conjunction input area in response to the information selection instruction if an information selection instruction for the conjunction input area is detected;

[0320] If a text input instruction for the conjunction input area is detected, configuration information corresponding to the conjunction input area is acquired in response to the text input instruction.

[0321] In an embodiment of the present application, a use case step generation device is provided. By using the above device, business personnel can also fill in conjunction components in the use case step template to be configured according to actual needs to enrich the sentence structure, thereby generating the target use case step in combination with the configuration information corresponding to the conjunction components, thereby improving the flexibility and diversity of use case step generation.

[0322] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application, the target input area also includes a symbol input area;

[0323] The use case step generating device 30 further includes an acquisition module 305;

[0324] Providing module 301, further used to display a symbol input area corresponding to the use case step template to be configured through the use case step input interface, wherein the symbol input area has a corresponding relationship with the symbol component in the target use case step;

[0325] The acquisition module 305 is used to determine the configuration information corresponding to the symbol input area in response to the information selection instruction if an information selection instruction for the symbol input area is detected;

[0326] If a text input instruction for the symbol input area is detected, the configuration information corresponding to the symbol input area is acquired in response to the text input instruction.

[0327] In an embodiment of the present application, a use case step generation device is provided. By using the above device, business personnel can also fill in symbolic components in the use case step template to be configured according to actual needs to enrich the sentence structure, thereby generating target use case steps in combination with the configuration information corresponding to the symbolic components, thereby improving the flexibility and diversity of use case step generation.

[0328] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the use case step generating device 30 provided in the embodiment of the present application,

[0329] A module 301 is provided, which is specifically used to display a use case step template to be configured and at least one use case step template through a use case step input interface, wherein each use case step template is used to provide an input area.

[0330] In an embodiment of the present application, a use case step generation device is provided. By using the above device, a variety of optional use case step templates can be provided to business personnel, which is convenient for business personnel to select appropriate use case step templates. On the one hand, the flexibility and diversity of operations are improved. On the other hand, a variety of use case step templates can be designed in a targeted manner, which is conducive to expanding inspection rules without the need for additional development.

[0331] The embodiment of the present application also provides another use case step generation device, wherein the use case step generation device can be deployed on a terminal device. The present application takes the use case step generation device deployed on a terminal device and the template configuration device also deployed on a terminal device as an example for introduction. Fig.16 For the sake of convenience, only the parts related to the embodiments of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiments of the present application. The terminal device can be any terminal device including a personal computer, a mobile phone, a tablet computer, a personal digital assistant (PDA), a point of sales (POS), a car computer, etc., taking the mobile phone as an example:

[0332] Fig.16 The block diagram shows a partial structure of a smart phone related to the terminal device provided in the embodiment of the present application. Fig.16 The smart phone includes: a radio frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a sensor 550, an audio circuit 560, a wireless fidelity (WiFi) module 570, a processor 580, and a power supply 590. Those skilled in the art will appreciate that Fig.16 The structure of the smartphone shown in the figure does not constitute a limitation of the smartphone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0333] Combine the following Fig.16 A detailed introduction to the various components of a smartphone:

[0334] The RF circuit 510 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 580 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 510 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 510 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.

[0335] The memory 520 can be used to store software programs and modules. The processor 580 executes various functional applications and data processing of the smartphone by running the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the smartphone (such as audio data, a phone book, etc.), etc. In addition, the memory 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0336] The input unit 530 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the smart phone. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 531 or near the touch panel 531 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 531 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 531, the input unit 530 may also include other input devices 532. Specifically, other input devices 532 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0337] The display unit 540 can be used to display information input by the user or information provided to the user and various menus of the smartphone. The display unit 540 may include a display panel 541. Optionally, the display panel 541 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541. When the touch panel 531 detects a touch operation on or near it, it is transmitted to the processor 580 to determine the type of touch event. Subsequently, the processor 580 provides a corresponding visual output on the display panel 541 according to the type of touch event. Although in Fig.16 In the embodiment, the touch panel 531 and the display panel 541 are used as two independent components to implement the input and output functions of the smartphone, but in some embodiments, the touch panel 531 and the display panel 541 can be integrated to implement the input and output functions of the smartphone.

[0338] The smartphone may also include at least one sensor 550, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 541 and / or the backlight when the smartphone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the smartphone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in smartphones, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0339] The audio circuit 560, the speaker 561, and the microphone 562 can provide an audio interface between the user and the smartphone. The audio circuit 560 can transmit the received audio data to the speaker 561 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 562 converts the collected sound signal into an electrical signal, which is received by the audio circuit 560 and converted into audio data, and then the audio data is output to the processor 580 for processing, and then sent to another smartphone through the RF circuit 510, or the audio data is output to the memory 520 for further processing.

[0340] WiFi is a short-range wireless transmission technology. Smartphones can help users send and receive emails, browse web pages, and access streaming media through WiFi module 570, which provides users with wireless broadband Internet access. Fig.16 A WiFi module 570 is shown, but it is understandable that it is not an essential component of the smartphone and can be omitted as needed without changing the essence of the invention.

[0341] The processor 580 is the control center of the smartphone, which uses various interfaces and lines to connect various parts of the entire smartphone, and executes various functions of the smartphone and processes data by running or executing software programs and / or modules stored in the memory 520, and calling data stored in the memory 520. Optionally, the processor 580 may include one or more processing units; optionally, the processor 580 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 580.

[0342] The smart phone also includes a power source 590 (such as a battery) for supplying power to various components. Optionally, the power source can be logically connected to the processor 580 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption management.

[0343] Although not shown, the smartphone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0344] In the embodiment of the present application, the processor 580 included in the terminal device also has the following functions:

[0345] The use case step template to be configured is displayed through the use case step input interface, wherein the use case step template to be configured is used to provide a target input area;

[0346] Receiving an information configuration instruction for a use case step template to be configured, wherein the information configuration instruction carries input information, and the input information has a corresponding relationship with a target input area;

[0347] A target use case step is generated according to the information configuration instruction, wherein the target use case step belongs to any use case step in the target use case.

[0348] Optionally, the processor 580 is specifically configured to perform the following steps:

[0349] Displaying a target input area corresponding to the use case step template to be configured through the use case step input interface, wherein the target input area includes M inputtable areas, where M is an integer greater than or equal to 1;

[0350] The processor 580 is further configured to execute the following steps:

[0351] Configuration information for any input-enabled area in the target input area is received, wherein the configuration information and the input-enabled area have a one-to-one correspondence.

[0352] Optionally, the processor 580 is further configured to perform the following steps:

[0353] M sentence component prompt information are displayed on the use case step input interface, wherein the sentence component prompt information has a one-to-one correspondence with the input area, and the sentence component prompt information is used to indicate the sentence components of the configuration information in the target use case step, and the sentence components include at least one of a subject component, a predicate component, an object component, an attributive component, an adverbial component, a complement component, a conjunction component, and a punctuation component.

[0354] Optionally, the processor 580 is specifically configured to perform the following steps:

[0355] If an information selection instruction for any one of the inputtable areas is detected in the target input area, then in response to the information selection instruction, the configuration information corresponding to any one of the inputtable areas is determined;

[0356] If a text input instruction for any input area in the target input area is detected, configuration information corresponding to any input area is acquired in response to the text input instruction.

[0357] Optionally, the processor 580 is specifically configured to perform the following steps:

[0358] The fixed information corresponding to the use case step template to be configured is displayed through the use case step input interface, wherein the fixed information has a corresponding relationship with the sentence components in the target use case step, and the sentence components include at least one of a subject component, a predicate component, an object component, an attributive component, an adverbial component, a complement component, a conjunction component, and a punctuation component;

[0359] The target input area corresponding to the use case step template to be configured is displayed through the use case step input interface, wherein the target input area includes M inputtable areas, where M is an integer greater than or equal to 1.

[0360] Optionally, the processor 580 is specifically configured to perform the following steps:

[0361] The subject input area, predicate input area and object input area corresponding to the use case step template to be configured are displayed through the use case step input interface, wherein the subject input area has a corresponding relationship with the subject component in the target use case step, the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step;

[0362] The processor 580 is further configured to execute the following steps:

[0363] If an information selection instruction for the subject input area is detected, then in response to the information selection instruction, the configuration information corresponding to the subject input area is determined;

[0364] If a text input instruction for the subject input area is detected, then in response to the text input instruction, the configuration information corresponding to the subject input area is determined;

[0365] The processor 580 is further configured to execute the following steps:

[0366] If an information selection instruction for the predicate input area is detected, then in response to the information selection instruction, the configuration information corresponding to the predicate input area is determined;

[0367] If a text input instruction for the predicate input area is detected, then in response to the text input instruction, configuration information corresponding to the predicate input area is determined;

[0368] The processor 580 is further configured to execute the following steps:

[0369] If an information selection instruction for the object input area is detected, then in response to the information selection instruction, the configuration information corresponding to the object input area is determined;

[0370] If a text input instruction for the object input area is detected, configuration information corresponding to the object input area is determined in response to the text input instruction.

[0371] Optionally, the processor 580 is specifically configured to perform the following steps:

[0372] The fixed information corresponding to the use case step template to be configured is displayed through the use case step input interface, wherein the fixed information has a corresponding relationship with the subject component in the target use case step;

[0373] Displaying a predicate input area and an object input area corresponding to the use case step template to be configured through the use case step input interface, wherein the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step;

[0374] The processor 580 is further configured to execute the following steps:

[0375] If an information selection instruction for the predicate input area is detected, then in response to the information selection instruction, the configuration information corresponding to the predicate input area is determined;

[0376] If a text input instruction for the predicate input area is detected, then in response to the text input instruction, configuration information corresponding to the predicate input area is determined;

[0377] The processor 580 is further configured to execute the following steps:

[0378] If an information selection instruction for the object input area is detected, then in response to the information selection instruction, the configuration information corresponding to the object input area is determined;

[0379] If a text input instruction for the object input area is detected, configuration information corresponding to the object input area is determined in response to the text input instruction.

[0380] Optionally, the processor 580 is further configured to perform the following steps:

[0381] Displaying an attributive input area corresponding to the use case step template to be configured through the use case step input interface, wherein the attributive input area has a corresponding relationship with the attributive component in the target use case step;

[0382] The processor 580 is further configured to execute the following steps:

[0383] If an information selection instruction for the attributive input area is detected, then in response to the information selection instruction, configuration information corresponding to the attributive input area is determined;

[0384] If a text input instruction for the attributive input area is detected, configuration information corresponding to the attributive input area is acquired in response to the text input instruction.

[0385] Optionally, the processor 580 is further configured to perform the following steps:

[0386] Displaying an adverbial input area corresponding to the use case step template to be configured through the use case step input interface, wherein the adverbial input area has a corresponding relationship with the adverbial component in the target use case step;

[0387] The processor 580 is further configured to execute the following steps:

[0388] If an information selection instruction for the adverbial input area is detected, then in response to the information selection instruction, the configuration information corresponding to the adverbial input area is determined;

[0389] If a text input instruction for the adverbial input area is detected, configuration information corresponding to the adverbial input area is acquired in response to the text input instruction.

[0390] Optionally, the processor 580 is further configured to perform the following steps:

[0391] Displaying a complement input area corresponding to the use case step template to be configured through a use case step input interface, wherein the complement input area has a corresponding relationship with the complement component in the target use case step;

[0392] The processor 580 is further configured to execute the following steps:

[0393] If an information selection instruction for the complement input area is detected, then in response to the information selection instruction, the configuration information corresponding to the complement input area is determined;

[0394] If a text input instruction for the complement input area is detected, configuration information corresponding to the complement input area is acquired in response to the text input instruction.

[0395] Optionally, the processor 580 is further configured to perform the following steps:

[0396] Displaying a conjunction input area corresponding to the use case step template to be configured through the use case step input interface, wherein the conjunction input area has a corresponding relationship with the conjunction component in the target use case step;

[0397] The processor 580 is further configured to execute the following steps:

[0398] If an information selection instruction for the conjunction input area is detected, then in response to the information selection instruction, the configuration information corresponding to the conjunction input area is determined;

[0399] If a text input instruction for the conjunction input area is detected, configuration information corresponding to the conjunction input area is acquired in response to the text input instruction.

[0400] Optionally, the processor 580 is further configured to perform the following steps:

[0401] Displaying a symbol input area corresponding to the use case step template to be configured through the use case step input interface, wherein the symbol input area has a corresponding relationship with the symbol component in the target use case step;

[0402] The processor 580 is further configured to execute the following steps:

[0403] If an information selection instruction for the symbol input area is detected, then in response to the information selection instruction, the configuration information corresponding to the symbol input area is determined;

[0404] If a text input instruction for the symbol input area is detected, the configuration information corresponding to the symbol input area is acquired in response to the text input instruction.

[0405] Optionally, the processor 580 is specifically configured to perform the following steps:

[0406] A use case step template to be configured and at least one use case step template are provided through a use case step input interface, wherein each use case step template is used to provide an input area.

[0407] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.

[0408] The present application also provides a computer program product including a program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.

[0409] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0410] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0411] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0412] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0413] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0414] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating use case steps, characterized in that: include: Displaying a use case step template to be configured through a use case step input interface, wherein the use case step template to be configured is used to provide a target input area; Receiving an information configuration instruction for the use case step template to be configured, wherein the information configuration instruction carries input information, and the input information has a corresponding relationship with the target input area; Generate a target use case step according to the information configuration instruction, wherein the target use case step belongs to any use case step in the target use case; Wherein, the target input area includes a predicate input area and an object input area; The display of the use case step template to be configured through the use case step input interface includes: Displaying fixed information corresponding to the to-be-configured use case step template through the use case step input interface, wherein the fixed information has a corresponding relationship with a subject component in the target use case step; The predicate input area and the object input area corresponding to the use case step template to be configured are displayed through the use case step input interface, wherein the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step.

2. The method according to claim 1, characterized in that The display of the use case step template to be configured through the use case step input interface includes: Displaying the target input area corresponding to the use case step template to be configured through the use case step input interface, wherein the target input area includes M inputtable areas, where M is an integer greater than or equal to 1; After displaying the use case step template to be configured through the use case step input interface, the method further includes: Configuration information for any input-enabled area in the target input area is received, wherein the configuration information and the input-enabled area have a one-to-one correspondence.

3. The method according to claim 2, characterized in that The method further comprises: M sentence component prompt information are displayed on the use case step input interface, wherein the sentence component prompt information has a one-to-one correspondence with the input area, and the sentence component prompt information is used to indicate the sentence components of the configuration information in the target use case step, and the sentence components include at least one of a subject component, a predicate component, an object component, an attributive component, an adverbial component, a complement component, a conjunction component and a punctuation component.

4. The method according to claim 2, characterized in that: The receiving configuration information for any input area in the target input area includes: If an information selection instruction for the any one of the input-enabled areas is detected in the target input area, then in response to the information selection instruction, determining configuration information corresponding to the any one of the input-enabled areas; If a text input instruction for any one of the input-enabled areas is detected in the target input area, configuration information corresponding to the any one of the input-enabled areas is acquired in response to the text input instruction.

5. The method according to claim 1, characterized in that The display of the use case step template to be configured through the use case step input interface includes: Displaying fixed information corresponding to the to-be-configured use case step template through the use case step input interface, wherein the fixed information has a corresponding relationship with a sentence component in the target use case step, and the sentence component includes at least one of a subject component, a predicate component, an object component, an attributive component, an adverbial component, a complement component, a conjunction component, and a punctuation component; The target input area corresponding to the use case step template to be configured is displayed through the use case step input interface, wherein the target input area includes M inputtable areas, and M is an integer greater than or equal to 1.

6. The method according to claim 1, characterized in that The target input area includes a subject input area, a predicate input area and an object input area; The display of the use case step template to be configured through the use case step input interface includes: The subject input area, the predicate input area, and the object input area corresponding to the use case step template to be configured are displayed through the use case step input interface, wherein the subject input area has a corresponding relationship with the subject component in the target use case step, the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step; The method further comprises: If an information selection instruction for the subject input area is detected, determining configuration information corresponding to the subject input area in response to the information selection instruction; If a text input instruction for the subject input area is detected, determining configuration information corresponding to the subject input area in response to the text input instruction; The method further comprises: If an information selection instruction for the predicate input area is detected, determining configuration information corresponding to the predicate input area in response to the information selection instruction; If a text input instruction for the predicate input area is detected, determining configuration information corresponding to the predicate input area in response to the text input instruction; The method further comprises: If an information selection instruction for the object input area is detected, determining configuration information corresponding to the object input area in response to the information selection instruction; If a text input instruction for the object input area is detected, configuration information corresponding to the object input area is determined in response to the text input instruction.

7. The method according to claim 1, characterized in that The method further comprises: If an information selection instruction for the predicate input area is detected, determining configuration information corresponding to the predicate input area in response to the information selection instruction; If a text input instruction for the predicate input area is detected, determining configuration information corresponding to the predicate input area in response to the text input instruction; The method further comprises: If an information selection instruction for the object input area is detected, determining configuration information corresponding to the object input area in response to the information selection instruction; If a text input instruction for the object input area is detected, configuration information corresponding to the object input area is determined in response to the text input instruction.

8. The method according to claim 6 or 1, characterized in that: The target input area also includes an attributive input area; The method further comprises: Displaying the attributive input area corresponding to the to-be-configured use case step template through the use case step input interface, wherein the attributive input area has a corresponding relationship with the attributive component in the target use case step; The method further comprises: If an information selection instruction for the attributive input area is detected, then in response to the information selection instruction, the configuration information corresponding to the attributive input area is determined; If a text input instruction for the attributive input area is detected, configuration information corresponding to the attributive input area is acquired in response to the text input instruction.

9. The method according to claim 6 or 1, characterized in that: The target input area also includes an adverbial input area; The method further comprises: Displaying the adverbial input area corresponding to the to-be-configured use case step template through the use case step input interface, wherein the adverbial input area has a corresponding relationship with the adverbial component in the target use case step; The method further comprises: If an information selection instruction for the adverbial input area is detected, then in response to the information selection instruction, the configuration information corresponding to the adverbial input area is determined; If a text input instruction for the adverbial input area is detected, configuration information corresponding to the adverbial input area is acquired in response to the text input instruction.

10. The method according to claim 6 or 1, characterized in that: The target input area also includes a complement input area; The method further comprises: Displaying the complement input area corresponding to the to-be-configured use case step template through the use case step input interface, wherein the complement input area has a corresponding relationship with the complement component in the target use case step; The method further comprises: If an information selection instruction for the complement input area is detected, then in response to the information selection instruction, determining configuration information corresponding to the complement input area; If a text input instruction for the complement input area is detected, configuration information corresponding to the complement input area is acquired in response to the text input instruction.

11. The method according to claim 6 or 1, characterized in that: The target input area also includes a conjunction input area; The method further comprises: Displaying the conjunction input area corresponding to the to-be-configured use case step template through the use case step input interface, wherein the conjunction input area has a corresponding relationship with the conjunction component in the target use case step; The method further comprises: If an information selection instruction for the conjunction input area is detected, then in response to the information selection instruction, determining configuration information corresponding to the conjunction input area; If a text input instruction for the conjunction input area is detected, configuration information corresponding to the conjunction input area is acquired in response to the text input instruction.

12. The method according to claim 6 or 1, characterized in that: The target input area also includes a symbol input area; The method further comprises: Displaying the symbol input area corresponding to the to-be-configured use case step template through the use case step input interface, wherein the symbol input area has a corresponding relationship with the symbol component in the target use case step; The method further comprises: If an information selection instruction for the symbol input area is detected, determining configuration information corresponding to the symbol input area in response to the information selection instruction; If a text input instruction for the symbol input area is detected, configuration information corresponding to the symbol input area is acquired in response to the text input instruction.

13. A use case step generating device, characterized in that: include: Providing a module for displaying a to-be-configured use case step template through a use case step input interface, wherein the to-be-configured use case step template is used to provide a target input area; A receiving module, configured to receive an information configuration instruction for the use case step template to be configured, wherein the information configuration instruction carries input information, and the input information has a corresponding relationship with the target input area; A generating module, configured to generate a target use case step according to the information configuration instruction, wherein the target use case step belongs to any use case step in the target use case; Wherein, the target input area includes a predicate input area and an object input area; The providing module is used for: Displaying fixed information corresponding to the to-be-configured use case step template through the use case step input interface, wherein the fixed information has a corresponding relationship with a subject component in the target use case step; The predicate input area and the object input area corresponding to the use case step template to be configured are displayed through the use case step input interface, wherein the predicate input area has a corresponding relationship with the predicate component in the target use case step, and the object input area has a corresponding relationship with the object component in the target use case step.

14. A terminal device, characterized in that: include: memories, transceivers, processors, and bus systems; Wherein, the memory is used to store programs; The processor is used to execute the program in the memory, and the processor is used to perform the method according to any one of claims 1 to 12 according to the instructions in the program code; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

15. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Test case configuration system and method and automatic test system and method

    CN110888818A