A speech information processing method and device, electronic equipment and storage medium

By identifying the type within the target group and selecting the matching hierarchical node, the problem of mismatched script information configuration in enterprise marketing is solved, achieving group type adaptation and timely updates.

CN115471266BActive Publication Date: 2026-11-24上海明胜品智人工智能科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211139689.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-19
Publication Date
2026-11-24
Estimated Expiration
2042-09-19

AI Technical Summary

Technical Problem

In existing technologies, businesses are unable to update their sales scripts in a timely manner according to different types of customer groups, leading to mismatch issues.

Method used

When a target group that meets the conditions for push notifications is detected, its type is determined, and hierarchical nodes are selected from the administrator's preset organizational path in a specified order. The notification information that matches the group type is then pushed.

Benefits of technology

It enables the provision of matching message information based on group type, improving the adaptability and timeliness of information push.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115471266B_ABST
    Figure CN115471266B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, electronic device, and storage medium for processing script information. The method includes: first, upon detecting a target group that meets the script delivery conditions, determining the group type of the target group; then, from an organizational path preset by the administrator of the target group, determining a first target-level node in the target organization where the administrator resides, according to the node selection order specified by the administrator in the organizational path; next, selecting first target script information that matches the group type from at least one script information configured in the first target-level node; and finally, sending the first target script information to at least one member in the target group. This application can provide script information that matches the group type when providing script information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, electronic device and storage medium for processing speech information. Background Technology

[0002] In corporate account marketing, when a company employee adds a customer as a friend, or a friend adds a company employee as a friend, the employee's account will automatically send a message to the customer so that the customer can learn about the company as soon as possible and promote the company.

[0003] As the number of customers increases, companies typically create customer groups corresponding to different customer types. When it is necessary to send a message, the company will send the pre-configured message to the users in the customer group. However, different types of customers require different messages, and the messages sent to a certain type of customer group at different times are also different.

[0004] Currently, the configuration of script information is usually done uniformly by the root node (headquarters). For the child nodes (regions, stores) under the root node, the script information configured by the root node is singular. Different types of customer groups can only inherit from the same child node (e.g., the same store), which cannot meet the needs of multiple types of customer groups in the actual environment. Furthermore, since different types of customer groups develop rapidly in the actual environment, the method of uniform configuration by the root node will result in the script information not being updated in a timely manner. There is a lack of corresponding solutions in the existing technology. Summary of the Invention

[0005] In view of this, embodiments of this application provide a method, apparatus, electronic device, and storage medium for processing script information, which can provide script information that matches the group type when providing script information.

[0006] The technical solution of this application embodiment is implemented as follows: In a first aspect, embodiments of this application provide a method for processing script information, applied to a server, comprising the following steps: When a target group that meets the conditions for push notification is detected, the group type of the target group is determined; From the organization path preset by the administrator of the target group, the first target level node in the target organization where the administrator is located is determined according to the node selection order specified by the administrator in the organization path, wherein the organization path includes at least one level node; Select first target dialogue information that matches the group type from at least one dialogue information configured in the first target level node; The first target message is sent to at least one member of the target group.

[0007] In one possible implementation, determining the first target-level node in the target organization where the administrator resides, from the preset organizational path of the target group's administrator according to the node selection order specified by the administrator in the organizational path, includes: The preset organization path is determined to be the target organization path to which the administrator belongs in the target organization; According to the node selection order from low to high level specified by the administrator in the target organization path, the lowest level node in the target organization path that is configured with the first target script information that matches the group type is determined as the first target level node.

[0008] In one possible implementation, determining the lowest-level node in the target organizational path that contains first target script information matching the group type, according to the node selection order specified by the administrator from low to high levels, as the target level node, includes: In the target organization path, starting from the hierarchical node where the administrator is located, the script information configured for each hierarchical node is obtained level by level upwards, and it is determined whether each hierarchical node is configured with the target script information that matches the group type. If so, stop acquiring information level by level and determine the current level node configured with the target speech information that matches the group type as the first target level node.

[0009] In one possible implementation, the method further includes: When there is no first target speech information that matches the target group type among the hierarchical nodes included in the target organization path, the lowest level node in the target organization path is taken as the second target hierarchical node. The administrator-specified dialogue information in at least one of the dialogue information configured in the second target level node is used as the second target dialogue information; The second target message is sent to at least one member of the target group.

[0010] In one possible implementation, the method further includes: Sending message ranking information to the administrator's client to display message configuration information for multiple levels of nodes in the target organization; The system receives target-level node information sent by the administrator client, wherein the target-level node identifier is selected by the administrator from the plurality of level nodes as the target level node based on the speech ranking information; Update the target level node information to the preset organization path.

[0011] In one possible implementation, determining the first target-level node in the target organization where the administrator resides, from the preset organizational path of the target group's administrator according to the node selection order specified by the administrator in the organizational path, includes: The preset organizational path is determined to be at least one hierarchical node specified by the administrator in the target organization, wherein the at least one hierarchical node in the target organization is a non-tree structure, each hierarchical node corresponds to a priority preset by the administrator, and each priority is different; According to the priority order specified by the administrator from high to low, the first hierarchical node in the preset organizational path that is configured with the first target dialogue information that matches the group type is determined as the first target hierarchical node.

[0012] Secondly, this application also provides a method for processing script information, applied to a terminal device, comprising the following steps: In response to the administrator's first script configuration operation for any group in the current level node of the target organization, a script configuration request is sent to the server, and the script configuration interface for that group is displayed based on the server's feedback result on the script configuration request. In response to the second dialogue configuration operation on the dialogue configuration page for the group, the dialogue information of the group is configured to obtain the dialogue information of the group in the current level node, and sent to the server, so that the server executes the dialogue information processing method of any one of the first aspects based on the dialogue information of each group in the current level node configured by each administrator in the target organization.

[0013] Thirdly, embodiments of this application also provide a speech information processing device, the device comprising: The detection module is used to determine the group type of the target group when a target group that meets the conditions for push notification is detected. The determining module is used to determine the first target level node in the target organization where the administrator is located from the organization path preset by the administrator of the target group, according to the node selection order specified by the administrator in the organization path, wherein the organization path includes at least one level node; The selection module is used to select first target speech information that matches the group type from at least one speech information configured in the first target level node. The sending module is used to send the first target speech information to at least one member in the target group.

[0014] Fourthly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the speech information processing method described in any of the first aspects, or to perform the speech information processing method described in the second aspect.

[0015] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program, when run by a processor, executes the speech information processing method described in any of the first aspects, or executes the speech information processing method described in the second aspect.

[0016] The embodiments of this application have the following beneficial effects: When a target group that meets the conditions for script push is detected, the group type of the target group is first determined. Then, from the organizational path preset by the administrator of the target group, the first target level node is determined according to the node selection order specified by the administrator. Next, from at least one script information configured in the first target level node, the first target script information that matches the group type is selected. In this way, whenever script information needs to be pushed to the target group, the selected script information is always matched with the group type of the target group. Finally, the first target script information is sent to at least one member in the target group. This provides script information that matches the group type for different types of groups. Furthermore, since the organizational path is preset by the administrator, the administrator can select appropriate nodes from the target organization as the organizational path when setting the organizational path, which improves the adaptability to the target group. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart illustrating steps S101-S104 provided in the embodiments of this application; Figure 2 This is a flowchart illustrating steps S1021-S1022 provided in the embodiments of this application; Figure 3 This is a schematic diagram of the principle of speech information processing provided in the embodiments of this application; Figure 4 This is a flowchart illustrating steps S10221-S10222 provided in the embodiments of this application; Figure 5 This is a flowchart illustrating steps S201-S203 provided in the embodiments of this application; Figure 6 This is a flowchart illustrating steps A1021-A1022 provided in the embodiments of this application; Figure 7 This is a flowchart illustrating steps S301-S303 provided in the embodiments of this application; Figure 8 This is a schematic diagram illustrating the principle of message information updating provided in an embodiment of this application; Figure 9 This is a flowchart illustrating steps S401-S402 provided in the embodiments of this application; Figure 10 This is a schematic diagram of the structure of the speech information processing device provided in the embodiments of this application; Figure 11 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0020] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0021] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0022] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0023] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application and is not intended to limit this application.

[0025] See Figure 1 , Figure 1 This is a flowchart illustrating steps S101-S104 of the speech information processing method provided in this application embodiment, which will be combined with... Figure 1 Steps S101-S104 are explained below.

[0026] Step S101: When a target group that meets the script push conditions is detected, the group type of the target group is determined; Step S102: From the organization path preset by the administrator of the target group, determine the first target level node in the target organization where the administrator is located according to the node selection order specified by the administrator in the organization path, wherein the organization path includes at least one level node; Step S103: Select first target dialogue information that matches the group type from at least one dialogue information configured in the first target level node; Step S104: Send the first target message information to at least one member in the target group.

[0027] The above-described script information processing method, upon detecting a target group that meets the script push conditions, first determines the group type of the target group. Then, from the organizational path preset by the administrator of the target group, it determines the first target level node from the organizational path according to the node selection order specified by the administrator. Next, it selects the first target script information that matches the group type from at least one script information configured in the first target level node. In this way, whenever script information needs to be pushed to the target group, the selected script information is always matched to the group type of the target group. Finally, the first target script information is sent to at least one member in the target group, providing script information that matches the group type for different types of groups. Furthermore, since the organizational path is preset by the administrator, the administrator can select appropriate nodes from the target organization as the organizational path when presetting the organizational path, which improves the adaptability to the target group.

[0028] The exemplary steps described above in the embodiments of this application will be explained below.

[0029] In step S101, when a target group that meets the script push conditions is detected, the group type of the target group is determined.

[0030] Here, the message delivery condition can be a preset time point by the administrator of the target group, where the message information is sent to the target group when the preset time point is reached; or it can be manually selected by the administrator of the target group, where the administrator manually selects the target group and sends the message information to the selected target group. In the embodiments provided in this application, the target group can be a group in chat software, which includes at least one member, and at least one member shares a chat interface. Alternatively, it can be a subordinate relationship, where each member's chat interface is independent. For example, administrator A manages two users, user B and user C. The users managed by administrator A are considered a group, but user B and user C are independent users, and the communication content when communicating with A will not be perceived by other members.

[0031] Furthermore, different target groups can have different group types, such as store groups, pop-up groups, and group leader groups. Different types of target groups have different audiences, and the messaging they need to push will also be different. Therefore, when a target group that meets the messaging push criteria is detected, it is necessary to first determine the group type of the target group.

[0032] In step S102, the first target level node in the target organization where the administrator is located is determined from the organization path preset by the administrator of the target group, according to the node selection order specified by the administrator in the organization path, wherein the organization path includes at least one level node.

[0033] Here, the administrator of the target group can preset the organization path and specify the node selection order. Then, the first target level node is determined from the organization path according to the specified node selection order. The determined first target level node includes the first target message information that matches the group type.

[0034] It should be noted that the administrator's preset organizational path can be the organizational path to which the administrator belongs in the target organization, i.e., the default path in the organizational relationship. This default path is a path in a tree structure. Alternatively, it can be an organizational path composed of at least one level node manually selected by the administrator. In this case, at least one level node does not have a tree structure relationship and can be a parallel level node. Furthermore, each level node has a preset priority, and the order in which the administrator selects the nodes is the priority order.

[0035] As an example of an organizational path being the administrator's organizational path within the target organization, see [link to relevant documentation]. Figure 2 , Figure 2 This is a flowchart illustrating steps S1021-S1022 provided in the embodiments of this application. Figure 1 The step S102 shown can be implemented through steps S1021-S1022, which will be explained in conjunction with each step.

[0036] In step S1021, the preset organization path is determined to be the target organization path to which the administrator belongs in the target organization.

[0037] For example, see Figure 3 , Figure 3 This is a schematic diagram illustrating the principle of speech information processing provided in an embodiment of this application. For example... Figure 3 As shown, if the administrator is the administrator of store A, the target organization path in the target organization to which the administrator belongs is "store A-Shanghai-brand headquarters". If the administrator is the administrator of store C, the target organization path is "store C-Shanghai-brand headquarters".

[0038] In step S1022, according to the node selection order from low to high level specified by the administrator in the target organization path, the lowest level node in the target organization path that is configured with the first target speech information that matches the group type is determined as the first target level node.

[0039] For example, see Figure 3Store group belongs to store A, and the hierarchical node store A is configured with matching script information for the store group. When script information needs to be pushed to the store group, the hierarchical nodes in "store A - Shanghai - brand headquarters" are selected according to the node selection order specified by the administrator from low to high level. If there is a first target script information in the first hierarchical node store A that matches the group type (store group), then the hierarchical node store A is selected as the first target hierarchical node. Pop-up group belongs to store C, and the hierarchical node Shanghai is configured with matching script information for the pop-up group. When script information needs to be pushed to the pop-up group, the hierarchical nodes in "store C - Shanghai - brand headquarters" are selected according to the node selection order specified by the administrator from low to high level. If there is no first target script information in the first hierarchical node store C that matches the group type (pop-up group), but there is a first target script information in the second hierarchical node Shanghai that matches the group type (pop-up group), then the hierarchical node Shanghai is selected as the first target hierarchical node.

[0040] In some embodiments, see Figure 4 , Figure 4 This is a flowchart illustrating steps S10221-S10222 provided in the embodiments of this application. Figure 2 The step S1022 shown can be implemented through steps S10221-S10222, and will be explained in conjunction with each step.

[0041] In step S10221, starting from the hierarchical node where the administrator is located in the target organization path, the script information configured for each hierarchical node is obtained level by level in the upward path, and it is determined whether each hierarchical node is configured with the target script information that matches the group type.

[0042] In step S10222, if yes, stop acquiring information level by level and determine the current level node configured with the target speech information that matches the group type as the first target level node.

[0043] For examples, see below. Figure 3 In the target organizational path "Store C - Shanghai - Brand Headquarters", the script information configured for each level of node is retrieved sequentially upwards, starting from the administrator's level node. It should be noted that the administrator's level node can be any level node in the target organizational path. Typically, each level node has one administrator, and the administrator of that level node has preset organizational paths, so the script information is retrieved upwards starting from the administrator's level node. In another implementation, the script information can be retrieved directly from the lowest level node in the administrator's preset organizational path.

[0044] Taking the target organizational path "Store C - Shanghai - Brand Headquarters" located at the hierarchical node Store C as an example, firstly, the script information configured in the hierarchical node Store C is obtained. However, there is no script information matching the pop-up group in the hierarchical node Store C. Then, the script information matching the pop-up group is obtained from the hierarchical node Shanghai. Therefore, the process of obtaining script information from the hierarchical node Shanghai is stopped, and the hierarchical node Shanghai is taken as the first target hierarchical node.

[0045] In some embodiments, the target organization path may not contain script information matching the group type. In this case, see [link to relevant documentation]. Figure 5 , Figure 5 This is a flowchart illustrating steps S201-S203 provided in the embodiments of this application. Steps S201-S203 can also be executed, and will be explained in conjunction with specific steps.

[0046] In step S201, when there is no first target speech information matching the target group type among the hierarchical nodes included in the target organization path, the lowest level node in the target organization path is taken as the second target hierarchical node.

[0047] In step S202, the script information specified by the administrator in at least one script information configured in the second target level node is used as the second target script information.

[0048] In step S203, the second target speech information is sent to at least one member of the target group.

[0049] Here, when the target organizational path cannot find a first script information that matches the target level node, it means that there is no first script information that matches the target level node in the target organizational path. In this case, although there is no matching first script information, it is still necessary to send script information to the target group. At this time, the lowest level node in the target organizational path can be used as the second target level node, and the script information specified by the administrator in at least one script information configured in the second target level node can be used as the second target script information. Finally, the second target script information is sent to at least one member in the target group.

[0050] See the example of an organizational path consisting of at least one hierarchical node manually selected by the administrator. Figure 6 , Figure 6 This is a flowchart illustrating steps A1021-A1022 provided in the embodiments of this application. Figure 1 The step S102 shown can be implemented through steps A1021-A1022, which will be explained in conjunction with each step.

[0051] In step A1021, the preset organizational path is determined to be at least one hierarchical node specified by the administrator in the target organization, wherein the at least one hierarchical node in the target organization is a non-tree structure, each hierarchical node corresponds to a priority preset by the administrator, and each priority is different.

[0052] For example, see Figure 3 Store B is configured with the script information required by the administrator of Store C. In this case, the preset organizational path can be "Store C-Store B-Shanghai" determined by the administrator in the target organization. Such an organizational path breaks the original tree structure in the target organization, and Store C has the first priority, Store B has the second priority, and Shanghai has the third priority.

[0053] In step A1022, according to the priority order specified by the administrator from high to low, the first hierarchical node in the preset organizational path that is configured with the first target dialogue information matching the group type is determined as the first target hierarchical node.

[0054] For example, when it is necessary to push script information to a target group, the script information configured in store C, store B, and Shanghai can be obtained in order of priority from high to low. When a hierarchical node with the first target script information that matches the group type appears for the first time, that hierarchical node is taken as the first target hierarchical node.

[0055] In step S103, a first target speech information matching the group type is selected from at least one speech information configured in the first target level node.

[0056] Here, after determining the first target layer node, the first target message information that matches the group type can be selected from the first target layer node. The first target message information is the message information that needs to be pushed to the target group.

[0057] In step S104, the first target speech information is sent to at least one member of the target group.

[0058] Here, when the target group is a group in a chat software, the first target message can be sent to the group, and all members of the group will receive the first target message; when the target group is a subordinate group, it can be sent to any group member through the administrator's account.

[0059] In some embodiments, see Figure 7 , Figure 7 This is a flowchart illustrating steps S301-S303 provided in the embodiments of this application, which will be explained in conjunction with specific steps.

[0060] In step S301, a speech ranking information is sent to the administrator's client to display the speech information configured for multiple hierarchical nodes in the target organization.

[0061] For example, see Figure 8 , Figure 8 This is a schematic diagram illustrating the principle of message information updating provided in an embodiment of this application. For example... Figure 8 As shown, the script information (script A, script B, script C) in the target organization is statistically analyzed to obtain the script ranking information (Top 1, Top 2, Top 3 of high-quality scripts).

[0062] In step S302, the target level node information sent by the administrator client is received, wherein the target level node identifier is selected by the administrator from the plurality of level nodes as the target level node based on the speech ranking information.

[0063] Here, the administrator can select at least one level node from these level nodes as the target level node based on the script ranking information, and use these target level nodes as the preset organizational path. In this way, the preset organizational path includes the high-quality script information selected by the administrator from the script ranking information.

[0064] Additionally, employees can also directly use the script ranking information to send messages; for example, see [link to example]. Figure 8 Employee 4 can directly use the top 3 high-quality phrases to send messages, employee 5 can directly use the top 2 high-quality phrases to send messages, and employee 6 can directly use the top 1 high-quality phrases to send messages.

[0065] In step S303, the target hierarchical node information is updated to the preset organizational path.

[0066] Here, the information of the selected target level node is directly updated to the preset organizational path to form a new organizational path, thus completing the update of the organizational path.

[0067] In some embodiments, see Figure 9 , Figure 9 This is a flowchart illustrating steps S401-S402 of the script information processing method provided in this application embodiment, which will collect... Figure 9 Steps S401-S402 are explained below.

[0068] In step S401, in response to the administrator's first script configuration operation for any group in the current hierarchical node of the target organization, a script configuration request is sent to the server, and the script configuration interface for that group is displayed based on the server's feedback result on the script configuration request.

[0069] In step S402, in response to the second dialogue configuration operation on the dialogue configuration page for the group, the dialogue information of the group is configured to obtain the dialogue information of the group in the current level node, and sent to the server, so that the server executes the dialogue information processing method described in this application embodiment based on the dialogue information of each group in the current level node configured by each administrator in the target organization.

[0070] Here, the administrator can send a configuration request to the server through a terminal device, thereby receiving the server's feedback result, and displaying the script configuration interface on the user's graphical interface. On the configuration interface, the administrator can configure the script information for the target group in the current level node, and finally send it to the server so that the server can execute the script information processing method provided in the above embodiments of this application based on the script information of each group in the current level node configured by each administrator in the target organization.

[0071] In summary, the embodiments of this application have the following beneficial effects: When a target group that meets the conditions for script push is detected, the group type of the target group is first determined. Then, from the organizational path preset by the administrator of the target group, the first target level node is determined according to the node selection order specified by the administrator. Next, from at least one script information configured in the first target level node, the first target script information that matches the group type is selected. In this way, whenever script information needs to be pushed to the target group, the selected script information is always matched with the group type of the target group. Finally, the first target script information is sent to at least one member in the target group. This provides script information that matches the group type for different types of groups. Furthermore, since the organizational path is preset by the administrator, the administrator can select appropriate nodes from the target organization as the organizational path when setting the organizational path, which improves the adaptability to the target group.

[0072] Based on the same inventive concept, this application also provides a speech information processing device corresponding to the speech information processing method in the first embodiment. Since the principle of the device in this application is similar to the speech information processing method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0073] like Figure 10 As shown, Figure 10This is a schematic diagram of the structure of the script information processing device 1000 provided in this application embodiment. The script information processing device 1000 includes: The detection module 1001 is used to determine the group type of the target group when a target group that meets the conditions for push notification is detected; The determining module 1002 is used to determine the first target level node in the target organization where the administrator is located from the organization path preset by the administrator of the target group, according to the node selection order specified by the administrator in the organization path, wherein the organization path includes at least one level node; Selection module 1003 is used to select first target speech information that matches the group type from at least one speech information configured in the first target level node; The sending module 1004 is used to send the first target speech information to at least one member in the target group.

[0074] Those skilled in the art should understand that Figure 10 The functions of each unit in the speech information processing device 1000 shown can be understood by referring to the relevant description of the speech information processing method described above. Figure 10 The functions of each unit in the speech information processing device 1000 shown can be implemented by a program running on a processor or by specific logic circuits.

[0075] In one possible implementation, the determining module 1002 determines the first target-level node in the target organization where the administrator is located from the organization path preset by the administrator of the target group, according to the node selection order specified by the administrator in the organization path, including: The preset organization path is determined to be the target organization path to which the administrator belongs in the target organization; According to the node selection order from low to high level specified by the administrator in the target organization path, the lowest level node in the target organization path that is configured with the first target script information that matches the group type is determined as the first target level node.

[0076] In one possible implementation, the determining module 1002 determines the lowest-level node in the target organizational path that is configured with first target script information matching the group type, according to the node selection order from low to high levels specified by the administrator in the target organizational path, as the target level node, including: In the target organization path, starting from the hierarchical node where the administrator is located, the script information configured for each hierarchical node is obtained level by level upwards, and it is determined whether each hierarchical node is configured with the target script information that matches the group type. If so, stop acquiring information level by level and determine the current level node configured with the target speech information that matches the group type as the first target level node.

[0077] In one possible implementation, the determining module 1002 further includes: When there is no first target speech information that matches the target group type among the hierarchical nodes included in the target organization path, the lowest level node in the target organization path is taken as the second target hierarchical node. The administrator-specified dialogue information in at least one of the dialogue information configured in the second target level node is used as the second target dialogue information; The second target message is sent to at least one member of the target group.

[0078] In one possible implementation, the determining module 1002 further includes: Sending message ranking information to the administrator's client to display message configuration information for multiple levels of nodes in the target organization; The system receives target-level node information sent by the administrator client, wherein the target-level node identifier is selected by the administrator from the plurality of level nodes as the target level node based on the speech ranking information; Update the target level node information to the preset organization path.

[0079] In one possible implementation, the determining module 1002 determines the first target-level node in the target organization where the administrator is located from the organization path preset by the administrator of the target group, according to the node selection order specified by the administrator in the organization path, including: The preset organizational path is determined to be at least one hierarchical node specified by the administrator in the target organization, wherein the at least one hierarchical node in the target organization is a non-tree structure, each hierarchical node corresponds to a priority preset by the administrator, and each priority is different; According to the priority order specified by the administrator from high to low, the first hierarchical node in the preset organizational path that is configured with the first target dialogue information that matches the group type is determined as the first target hierarchical node.

[0080] The aforementioned script information processing device, upon detecting a target group that meets the script push conditions, first determines the group type of the target group. Then, from the organizational path preset by the administrator of the target group, it determines the first target level node from the organizational path according to the node selection order specified by the administrator. Next, it selects the first target script information that matches the group type from at least one script information configured in the first target level node. In this way, whenever script information needs to be pushed to the target group, the selected script information is always matched to the group type of the target group. Finally, the first target script information is sent to at least one member in the target group, providing script information that matches the group type for different types of groups. Furthermore, since the organizational path is preset by the administrator, the administrator can select appropriate nodes from the target organization as the organizational path when presetting the organizational path, improving the adaptability to the target group.

[0081] like Figure 11 As shown, Figure 11 This is a schematic diagram of the composition structure of the electronic device 1100 provided in the embodiments of this application. The electronic device 1100 includes: The device 1100 includes a processor 1101, a storage medium 1102, and a bus 1103. The storage medium 1102 stores machine-readable instructions that can be executed by the processor 1101. When the electronic device 1100 is running, the processor 1101 communicates with the storage medium 1102 via the bus 1103. The processor 1101 executes the machine-readable instructions to perform the steps of the speech information processing method described in the embodiments of this application.

[0082] In practical applications, the various components in the electronic device 1100 are coupled together via bus 1103. It is understood that bus 1103 is used to achieve communication between these components. In addition to a data bus, bus 1103 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 11 The general labeled all buses as Bus 1103.

[0083] The aforementioned electronic device, upon detecting a target group that meets the conditions for script delivery, first determines the group type of the target group. Then, from the organizational path preset by the administrator of the target group, it determines the first target level node from the organizational path according to the node selection order specified by the administrator. Next, it selects the first target script information that matches the group type from at least one script information configured in the first target level node. In this way, whenever script information needs to be pushed to the target group, the selected script information is always matched to the group type of the target group. Finally, the first target script information is sent to at least one member in the target group, providing script information that matches the group type for different types of groups. Furthermore, since the organizational path is preset by the administrator, the administrator can select appropriate nodes from the target organization as the organizational path when presetting the organizational path, thus improving the adaptability to the target group.

[0084] This application also provides a computer-readable storage medium storing executable instructions. When the executable instructions are executed by at least one processor 1101, the speech information processing method described in this application is implemented.

[0085] In some embodiments, the storage medium may be a magnetic random access memory (FRAM), a read-only memory (ROM), or a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM) Electrically Erasable Programmable Read-Only Memory (EEPROM) Read-only memory, flash memory, magnetic surface storage, optical disc, or CD-ROM ROM, Compact Disc Read It can be a memory such as a memory only; or it can be a device that includes one or any combination of the above-mentioned memories.

[0086] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0087] As an example, executable instructions may, but do not necessarily, correspond to files in the file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborating files (e.g., a file that stores one or more modules, subroutines, or code sections).

[0088] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.

[0089] The aforementioned computer-readable storage medium, upon detecting a target group that meets the script push conditions, first determines the group type of the target group, then identifies the first target level node from the organizational path preset by the administrator of the target group, according to the node selection order specified by the administrator. Next, it selects the first target script information that matches the group type from at least one script information configured in the first target level node. In this way, whenever script information needs to be pushed to the target group, the selected script information is always matched to the group type of the target group. Finally, the first target script information is sent to at least one member in the target group, providing script information that matches the group type for different types of groups. Furthermore, since the organizational path is preset by the administrator, the administrator can select appropriate nodes from the target organization as the organizational path when presetting the organizational path, improving the adaptability to the target group.

[0090] In the several embodiments provided in this application, it should be understood that the disclosed methods and electronic devices can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components may be combined, or integrated into another system, or some features may be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

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

[0092] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0093] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a platform server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0094] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for processing script information, characterized in that, When applied to a server, the following steps are included: When a target group that meets the conditions for push notification is detected, the group type of the target group is determined; From the organization path preset by the administrator of the target group, the first target level node in the target organization where the administrator is located is determined according to the node selection order specified by the administrator in the organization path, wherein the organization path includes at least one level node; Select first target dialogue information that matches the group type from at least one dialogue information configured in the first target level node; The first target message is sent to at least one member of the target group.

2. The method according to claim 1, characterized in that, The step of determining the first target-level node in the target organization where the administrator is located from the preset organizational path of the target group, according to the node selection order specified by the administrator in the organizational path, includes: The preset organization path is determined to be the target organization path to which the administrator belongs in the target organization; According to the node selection order from low to high level specified by the administrator in the target organization path, the lowest level node in the target organization path that is configured with the first target script information that matches the group type is determined as the first target level node.

3. The method according to claim 2, characterized in that, The step of determining the lowest-level node in the target organizational path that contains the first target script information matching the group type, according to the node selection order specified by the administrator from low to high levels, as the first target level node, includes: In the target organization path, starting from the hierarchical node where the administrator is located, the script information configured for each hierarchical node is obtained level by level upwards, and it is determined whether each hierarchical node is configured with the target script information that matches the group type. If so, stop acquiring information level by level and determine the current level node configured with the target speech information that matches the group type as the first target level node.

4. The method according to claim 2, characterized in that, The method further includes: When there is no first target speech information that matches the target group type among the hierarchical nodes included in the target organization path, the lowest level node in the target organization path is taken as the second target hierarchical node. The administrator-specified dialogue information in at least one of the dialogue information configured in the second target level node is used as the second target dialogue information; The second target message is sent to at least one member of the target group.

5. The method according to claim 1, characterized in that, The method further includes: Sending message ranking information to the administrator's client to display message configuration information for multiple levels of nodes in the target organization; The system receives target-level node information sent by the administrator client, wherein the target-level node identifier is selected by the administrator from the plurality of level nodes as the target level node based on the speech ranking information; Update the target level node information to the preset organization path.

6. The method according to claim 1, characterized in that, The step of determining the first target-level node in the target organization where the administrator is located from the preset organizational path of the target group, according to the node selection order specified by the administrator in the organizational path, includes: The preset organizational path is determined to be at least one hierarchical node specified by the administrator in the target organization, wherein the at least one hierarchical node in the target organization is a non-tree structure, each hierarchical node corresponds to a priority preset by the administrator, and each priority is different; According to the priority order specified by the administrator from high to low, the first hierarchical node in the preset organizational path that is configured with the first target dialogue information that matches the group type is determined as the first target hierarchical node.

7. A method for processing script information, characterized in that, When applied to terminal devices, the following steps are included: In response to the administrator's first script configuration operation for any group in the current level node of the target organization, a script configuration request is sent to the server, and the script configuration interface for that group is displayed based on the server's feedback result on the script configuration request. In response to a second dialogue configuration operation on the dialogue configuration page for the group, the dialogue information of the group is configured to obtain the dialogue information of the group in the current level node, and sent to the server, so that the server executes the dialogue information processing method of any one of claims 1 to 6 based on the dialogue information of each group in the current level node configured by each administrator in the target organization.

8. A speech script information processing device, characterized in that, The device includes: The detection module is used to determine the group type of the target group when a target group that meets the conditions for push notification is detected. The determining module is used to determine the first target level node in the target organization where the administrator is located from the organization path preset by the administrator of the target group, according to the node selection order specified by the administrator in the organization path, wherein the organization path includes at least one level node; The selection module is used to select first target speech information that matches the group type from at least one speech information configured in the first target level node. The sending module is used to send the first target speech information to at least one member in the target group.

9. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the speech information processing method as described in any one of claims 1 to 6, or to perform the speech information processing method as described in claim 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the speech information processing method as described in any one of claims 1 to 6, or performs the speech information processing method as described in claim 7.

Citation Information

Patent Citations

  • Speaking skill generation method, device and equipment, and storage medium

    CN110297616A

  • Dialogue method and dialogue system for templated robotic verbal skill

    CN112632238A