Project configuration processing method and device, and electronic equipment
By establishing the relationship between business and projects in the project management tool, sharing configuration information and resolving conflicts, the problem of low efficiency and inflexibility in project configuration in the existing technology is solved, and efficient and flexible project configuration is achieved.
Patent Information
- Application Number
- CN202111426135.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2042-01-27
AI Technical Summary
Existing project management tools are inefficient and inflexible when configuring projects, especially when project configurations are inconsistent across different business units, making it impossible to effectively share configuration information.
By responding to business configuration commands, obtaining the corresponding configuration, establishing the association between business and project, sharing configuration information, and resolving configuration conflicts, efficient configuration can be achieved.
It achieves high efficiency and flexibility in project configuration, supports configuration sharing across projects, avoids repetitive configuration work, and improves the stability of system operation.
Smart Images

Figure CN114240330B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computers, and more particularly to a project configuration processing method, apparatus, and electronic device. Background Technology
[0002] In related technologies, project management tools provide users with project spaces, allowing users on the same project to collaborate within this space, jointly creating tasks, tracking task progress, and compiling project information. Enterprises typically use a matrix management approach for project management. For example, an enterprise might have a testing team whose members are distributed across various business departments, requiring the same configuration information to manage tasks. Each project might need fields for configuration information such as "issue category" and "requirement source," but achieving this requires configuring these fields separately for each project, which is inefficient. To address this issue, project management software offers solutions like "system fields." However, this approach has the problem of system fields affecting all projects. If different business departments, such as e-commerce and commerce, have different options in the issue categories, the project configuration remains the same.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This disclosure provides a project configuration processing method, apparatus, and electronic device to at least solve the problems of low configuration efficiency and inflexibility in related technologies when configuring projects. The technical solution of this disclosure is as follows:
[0005] According to a first aspect of the present disclosure, a project configuration processing method is provided, comprising: obtaining a first configuration corresponding to a first service in response to a configuration instruction for a first service; establishing an association between the first service and at least one first project in response to a project association instruction for the first service, wherein the first project is a project included in the project association instruction; and sharing the first configuration in the at least one first project.
[0006] Optionally, after sharing the first configuration in the at least one first project, the method further includes: displaying the first configuration in response to a configuration instruction for a second project, wherein the second project is any one of the at least one first project; and determining a second configuration for the second project in response to a selection instruction for the first configuration.
[0007] Optionally, the step of establishing an association between the first service and at least one first project in response to a project association instruction for the first service includes: obtaining a third configuration of the project to be associated included in the project association instruction; and determining the project to be associated as the first project in response to a situation where the third configuration does not conflict with the first configuration, and establishing an association between the first service and the first project.
[0008] Optionally, the step of establishing an association between the first service and at least one first project in response to a project association instruction for the first service further includes: obtaining a fourth configuration in response to a conflict between the third configuration and the first configuration, wherein the fourth configuration is a modification result of the third configuration; and determining the project to be associated as the first project in response to a non-conflict between the fourth configuration and the first configuration, thereby establishing an association between the first service and the first project.
[0009] Optionally, in response to a conflict between the third configuration and the first configuration, obtaining the fourth configuration includes: detecting whether a first configuration item in the third configuration that conflicts with the first configuration is a second configuration item shared by a second service, wherein the second service is a service different from the first service; if the detection result is that the first configuration item is not the second configuration item, in response to a conflict between the third configuration and the first configuration, obtaining the fourth configuration by modifying the first configuration item in the third configuration.
[0010] Optionally, before determining the item to be associated as the first item in response to the situation where there is no conflict between the third configuration and the first configuration, the method further includes: detecting whether there is a conflict between the first field information and the second field information, wherein the first field information is any field information in the first configuration, and the second field information is any field information in the third configuration; if the detection result is that there is no conflict between the first field information and the second field information, it is determined that there is no conflict between the third configuration and the first configuration.
[0011] Optionally, detecting whether there is a conflict between the first field information and the second field information includes: detecting whether the first field identifier in the first field information is the same as the second field identifier in the second field information; if the detection result is that the first field identifier in the first field information is different from the second field identifier in the second field information, it is determined that there is no conflict between the first field information and the second field information.
[0012] Optionally, before determining the project to be associated as the first project in response to the situation where there is no conflict between the third configuration and the first configuration, the method further includes: detecting whether there is a conflict between the first workflow information and the second workflow information, wherein the first workflow information is any workflow information in the first configuration, and the second workflow information is any workflow information in the third configuration; and determining that there is no conflict between the third configuration and the first configuration if the detection result is that there is no conflict between the first workflow information and the second workflow information.
[0013] Optionally, detecting whether there is a conflict between the first workflow information and the second workflow information includes: detecting whether the first workflow identifier in the first workflow information is the same as the second workflow identifier in the second workflow information; if the detection result is that the first workflow identifier in the first workflow information is different from the second workflow identifier in the second workflow information, it is determined that there is no conflict between the first workflow information and the second workflow information.
[0014] Optionally, after sharing the first configuration in the at least one first project, the method further includes: receiving a modification to the first configuration to obtain a fifth configuration; and modifying the shared first configuration to the fifth configuration in the at least one first project.
[0015] According to a second aspect of the present disclosure, a project configuration processing apparatus is provided, comprising: a processing module, configured to obtain a first configuration corresponding to a first service in response to a configuration instruction for a first service; an establishment module, configured to establish an association between the first service and at least one first project in response to a project association instruction for the first service, wherein the first project is a project included in the project association instruction; and a sharing module, configured to share the first configuration in the at least one first project.
[0016] Optionally, the apparatus further includes: a display module, configured to display the first configuration in response to a configuration instruction for a second item after the first configuration has been shared in the at least one first item, wherein the second item is any one of the at least one first item; and a first determination module, configured to determine a second configuration for the second item in response to a selection instruction for the first configuration.
[0017] Optionally, the establishment module includes: a first acquisition unit, configured to acquire a third configuration of the project to be associated for the project to be associated included in the project association instruction; and a first establishment unit, configured to determine the project to be associated as the first project in response to the situation where there is no conflict between the third configuration and the first configuration, and establish the association between the first service and the first project.
[0018] Optionally, the establishment module further includes: a second acquisition unit, configured to acquire a fourth configuration in response to a conflict between the third configuration and the first configuration, wherein the fourth configuration is a modification result of the third configuration; and a second establishment unit, configured to determine the project to be associated as the first project in response to a conflict between the fourth configuration and the first configuration, and establish an association between the first service and the first project.
[0019] Optionally, the second acquisition unit includes: a detection subunit, configured to detect whether a first configuration item in the third configuration that conflicts with the first configuration is a second configuration item shared by a second service, wherein the second service is a service different from the first service; and an acquisition subunit, configured to, in response to the conflict between the third configuration and the first configuration, obtain the fourth configuration by modifying the first configuration item in the third configuration if the detection result indicates that the first configuration item is not the second configuration item.
[0020] Optionally, the device further includes: a first detection module, configured to detect whether there is a conflict between first field information and second field information before determining the item to be associated as the first item in response to the situation where there is no conflict between the third configuration and the first configuration, wherein the first field information is any field information in the first configuration and the second field information is any field information in the third configuration; and a second determination module, configured to determine that there is no conflict between the third configuration and the first configuration if the detection result of the first detection module indicates that there is no conflict between the first field information and the second field information.
[0021] Optionally, the first detection module includes: a first detection unit, configured to detect whether the first field identifier in the first field information is the same as the second field identifier in the second field information; and a first determination unit, configured to determine that there is no conflict between the first field information and the second field information when the detection result of the second detection unit is that the first field identifier in the first field information is different from the second field identifier in the second field information.
[0022] Optionally, the device further includes: a second detection module, configured to detect whether there is a conflict between the first workflow information and the second workflow information before determining the item to be associated as the first item in response to the situation where there is no conflict between the third configuration and the first configuration, wherein the first workflow information is any workflow information in the first configuration, and the second workflow information is any workflow information in the third configuration; and a third determination module, configured to determine that there is no conflict between the third configuration and the first configuration if the detection result of the second detection module indicates that there is no conflict between the first workflow information and the second workflow information.
[0023] Optionally, the second detection module includes: a second detection unit, configured to detect whether the first workflow identifier in the first workflow information is the same as the second workflow identifier in the second workflow information; and a second determination unit, configured to determine that there is no conflict between the first workflow information and the second workflow information when the detection result of the fourth detection unit is that the first workflow identifier in the first workflow information is different from the second workflow identifier in the second workflow information.
[0024] Optionally, the apparatus further includes: a receiving module, configured to receive modifications to the first configuration after sharing the first configuration in the at least one first project, thereby obtaining a fifth configuration; and a modifying module, configured to modify the shared first configuration to the fifth configuration in the at least one first project.
[0025] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the project configuration processing methods described herein.
[0026] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform any of the item configuration processing methods described herein.
[0027] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, characterized in that, when the computer program is executed by a processor, it implements any of the project configuration processing methods described in the present disclosure.
[0028] The technical solution provided by the embodiments of this disclosure, after obtaining the first configuration corresponding to the first service, establishes an association between the first service and at least one first project, and shares the first configuration of the first service with the at least one first project, thereby achieving the purpose of enabling associated projects to share the first configuration of the first service and effectively realizing the effect of efficient project configuration. This solves the problems of low configuration efficiency and inflexibility in related technologies when configuring projects.
[0029] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0030] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0031] Figure 1 This is a flowchart illustrating a project configuration processing method according to an exemplary embodiment.
[0032] Figure 2 This is a schematic diagram illustrating the creation of a business in the project configuration method provided by an optional embodiment of the present invention.
[0033] Figure 3 This is a schematic diagram of the associated projects in the project configuration method provided by an optional embodiment of the present invention.
[0034] Figure 4 This is a schematic diagram of the associated project window in the project configuration method provided by an optional embodiment of the present invention.
[0035] Figure 5 This is a schematic diagram illustrating the creation of a configuration page in the project configuration method provided by an optional embodiment of the present invention.
[0036] Figure 6 This is a schematic diagram of the custom field page in the project configuration method provided by an optional embodiment of the present invention.
[0037] Figure 7 This is a block diagram of an item configuration processing apparatus according to an exemplary embodiment.
[0038] Figure 8 This is a device block diagram of a terminal according to an exemplary embodiment. Detailed Implementation
[0039] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0040] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0041] It should be noted that the user information involved in this disclosure (including but not limited to user device information, user personal information, etc.) is all information authorized by the user or fully authorized by all parties.
[0042] This disclosure provides, for example Figure 1 The project configuration processing method is shown. Figure 1 This is a flowchart illustrating a project configuration processing method according to an exemplary embodiment, such as... Figure 1 As shown, the method used in the aforementioned computer terminal includes the following steps.
[0043] In step S11, in response to the configuration instruction for the first service, the first configuration corresponding to the first service is obtained;
[0044] In step S12, in response to the project association instruction for the first service, an association is established between the first service and at least one first project, wherein the first project is the project included in the project association instruction;
[0045] In step S13, the first configuration is shared in at least one first project.
[0046] By employing the above processing, after obtaining the first configuration corresponding to the first service, an association is established between the first service and at least one first project, and the first configuration of the first service is shared with the at least one first project. This achieves the goal of enabling associated projects to share the first configuration of the first service, effectively realizing efficient project configuration. It solves the problems of low configuration efficiency and inflexibility in related technologies when configuring projects.
[0047] In one or more alternative embodiments, the aforementioned first service can be of various types, such as a webpage or a service page within a local area network. It should be noted that the aforementioned first service can correspond to a specific function; for example, the first service can be an item allocation service, an item logistics service, or an item ordering service, etc.
[0048] In one or more alternative embodiments, the creation of the first business described above can be based on the needs of the actual application and the requirements of a specific business. Before creating a business on the business creation interface, a template corresponding to a specific business type can be selected to create the business. Users can directly modify the template to adapt to the requirements, helping them to create businesses quickly and effectively on the business creation interface. When setting the business content, i.e., configuring the business, the business name, operation, allowed associated project tables, etc., can be set. The business content to be created should not be the same when the business type is different. For example, when the business type is administrative, businesses such as personnel and work need to be created on the business interface; when the business type is e-commerce, businesses such as virtual items, personnel, and work need to be created on the business interface, and so on. Corresponding settings should be made according to the needs of different business types.
[0049] In one or more alternative embodiments, a first service can be associated with at least one first project. After associating with the first project, the configuration of the first project can be determined based on the first configuration shared by the first service, and then the determined second configuration can be applied to the first project, achieving the purpose of quickly configuring the first project. For example, the following processing method can be adopted: after sharing the first configuration in at least one first project, in response to the configuration instruction for the second project, the first configuration is displayed, and the second project is any one of the at least one first project; in response to the selection instruction for the first configuration, the second configuration for the second project is determined. By selecting the required configuration in the first configuration of the first service to generate the second configuration of the second project as any one of the at least one first project, the project can be configured simply by selection, which is not only simple to operate but also efficient. It should be noted that when selecting the configuration in the first configuration, multiple methods can be used, such as manual selection; or automatic selection can be performed according to pre-set selection conditions, thereby further achieving the purpose of efficiency.
[0050] In one or more optional embodiments, in response to a project association instruction for a first service, establishing an association between the first service and at least one first project includes: obtaining a third configuration of the project to be associated for the project to be associated included in the project association instruction; and, in response to the case that the third configuration does not conflict with the first configuration, determining the project to be associated as the first project and establishing an association between the first service and the first project. When establishing an association between the first service and the first project, the first project is not all projects; the project needs to meet certain conditions. Among multiple projects to be associated with the first service, each project may have its own configuration. When selecting the configuration of a second project from the first configuration, the configuration of the project to be associated needs to be compared with the shared first configuration. Only when there is no conflict between the two is the project to be associated determined as the first project; otherwise, the third configuration to be associated needs to be modified to ensure that the third configuration does not conflict with the first configuration. When establishing a connection, the configuration of the first business is compared with the configuration of the project to be associated. The project to be associated that does not conflict with the first configuration is identified as the first project. The connection is then established with the first project, so that the project associated with the first business does not conflict with the first configuration, effectively avoiding the phenomenon that the business or project cannot operate normally due to conflict.
[0051] In one or more optional embodiments, in response to a project association instruction for a first service, establishing an association between the first service and at least one first project further includes: in response to a conflict between a third configuration and a first configuration, obtaining a fourth configuration, where the fourth configuration is a modification result of the third configuration; and in response to a non-conflict between the fourth configuration and the first configuration, determining the project to be associated as the first project and establishing an association between the first service and the first project. Therefore, when a conflict exists between the third configuration of the project to be associated and the first configuration of the first service, the configuration of the project to be associated can be modified to prevent a conflict. For example, if a field name in the first configuration is the same as a field name in the third configuration (i.e., they have the same name), the field name in the third configuration can be modified to prevent a name conflict between the third and first configurations. Since the impact of a project may be smaller than that of a service, modifying the configuration of a project can effectively reduce the scope of modification to the entire system, resulting in less modification to the entire system and benefiting system operation.
[0052] In one or more optional embodiments, in response to a conflict between the third configuration and the first configuration, obtaining the fourth configuration includes: detecting whether the first configuration item in the third configuration that conflicts with the first configuration is a second configuration item shared by a second service, wherein the second service is a service different from the first service; if the detection result is that the first configuration item is not a second configuration item, in response to a conflict between the third configuration and the first configuration, the fourth configuration is obtained by modifying the first configuration item in the third configuration. Since a project can accept configuration sharing from multiple services, when a project accepts configuration sharing from one service, it should not affect configuration sharing by other services with that project. For example, if a service shares configuration with a project, and the shared configuration item conflicts with a configuration item shared by another service with that project, then the configuration item of the service to be shared later will not be shared. Through this processing, conflicts that occur when services share the same project are effectively resolved.
[0053] By comparing the first and third configurations, conflicts between the configuration to be shared by the business and the third configuration can be effectively resolved. This means effectively resolving conflicts between the business's configuration and the project's configuration, and specifically, resolving conflicts between configuration items in the configuration that the business needs to share with the project and the configurations included in the project's configuration. Furthermore, by determining whether the configuration items in the third configuration are shared by other businesses besides the first business, conflict resolution is only applied to the project's configuration if they are not shared by other businesses, thus establishing the association between the business and the project. This effectively resolves conflicts between businesses sharing the same configuration items in the same project. Through the above processing, conflicts between businesses and projects, and conflicts between businesses sharing the same configuration items in the same project, are effectively avoided, achieving the effect of resolving dual conflicts.
[0054] In one or more alternative embodiments, the first configuration and the third configuration described above may include multiple types of configurations. When resolving conflicts between the first configuration and the third configuration, the conflicts can be resolved according to the specific content of each configuration.
[0055] For example, in response to the absence of a conflict between the third configuration and the first configuration, before determining the item to be associated as the first item, the process further includes: detecting whether there is a conflict between the first field information and the second field information, where the first field information is any field information in the first configuration, and the second field information is any field information in the third configuration; if the detection result shows that there is no conflict between the first field information and the second field information, it is determined that there is no conflict between the third configuration and the first configuration. By comparing the field information, it is determined whether there is a conflict between the third configuration and the first configuration. This not only ensures that there is no conflict between the field information, but also makes the comparison between the fields clear, simple, and obvious, allowing for a relatively quick discovery and resolution of conflicts.
[0056] For example, if the first field information includes a first field identifier and the second field information includes a second field identifier, detecting whether there is a conflict between the first and second field information includes: checking whether the first field identifier in the first field information is the same as the second field identifier in the second field information; if the detection result is that the first field identifier in the first field information is different from the second field identifier in the second field information, it is determined that there is no conflict between the first and second field information. Determining whether there is a conflict based on comparing field identifiers is simple, fast, and efficient. Here, the above-mentioned "same first field identifier and second field identifier" can mean that the first field identifier and the second field identifier are completely identical, or relatively identical; for example, the similarity rate in their descriptions is 98%. Furthermore, it should be noted that field identifiers can take many forms, such as text identifiers (e.g., field names), code identifiers (e.g., field codes), or other symbolic identifiers (e.g., graphic identifiers), etc.
[0057] For example, in response to the absence of a conflict between the third configuration and the first configuration, before determining the project to be associated as the first project, the process further includes: detecting whether there is a conflict between the first workflow information and the second workflow information, wherein the first workflow information is any workflow information in the first configuration, and the second workflow information is any workflow information in the third configuration; if the detection result shows that there is no conflict between the first workflow information and the second workflow information, it is determined that there is no conflict between the third configuration and the first configuration. By comparing the workflow information to determine whether there is a conflict between the third configuration and the first configuration, it is possible to ensure that there are no conflicts in the workflow information and effectively avoid business interruptions due to conflicts in the workflow information.
[0058] For example, when the first workflow information includes a first workflow identifier and the second workflow information includes a second workflow identifier, detecting whether there is a conflict between the first and second workflow information includes: checking whether the first workflow identifier in the first workflow information is the same as the second workflow identifier in the second workflow information; if the detection result is that the first workflow identifier in the first workflow information is different from the second workflow identifier in the second workflow information, it is determined that there is no conflict between the first and second workflow information. Similarly, using workflow identifier comparison to determine whether a workflow conflict has occurred is simple, fast, and efficient. The aforementioned "same first workflow identifier and second workflow identifier" can mean that the first workflow identifier and the second workflow identifier are completely identical, or relatively identical; for example, the similarity rate in their descriptions is 98%. Furthermore, it should be noted that workflow identifiers can take many forms, such as text identifiers (e.g., workflow name), code identifiers (e.g., workflow code), or other symbol identifiers (e.g., graphic identifiers), etc.
[0059] In one or more optional embodiments, after sharing the first configuration in at least one first project, the method further includes: receiving modifications to the first configuration to obtain a fifth configuration; and modifying the shared first configuration to the fifth configuration in at least one first project. Through the above processing, since at least one first project is associated with a first service, when the first configuration of the first service is modified, the configurations of at least one first project associated with that first service will also be automatically modified accordingly, effectively avoiding multiple repeated modifications and improving modification efficiency.
[0060] Based on the above embodiments and optional embodiments, an optional implementation method is provided, which is described in detail below.
[0061] Modern project management tools provide users with project spaces, allowing users on the same project to collaborate within that space, jointly creating tasks, tracking task progress, and compiling project information. Enterprises typically use a matrix management approach for project management. For example, an enterprise might have a testing team whose members are distributed across various business departments. Testing needs to manage tasks using the same configuration information. For instance, each project might require fields for configuration information such as "issue category" and "requirement source," but achieving this requires configuring these fields separately for each project, which is inefficient.
[0062] To address the aforementioned issues, project management software in related technologies offers solutions such as "system fields." However, when using this approach, there are drawbacks: project-level configurations do not support cross-project sharing, making it impossible to share configurations within a limited number of projects. Additionally, "system"-level configurations may apply to all projects but not be shared within selected projects.
[0063] In view of this, an optional embodiment of the present invention provides a project sharing configuration scheme to solve the problem of configuration sharing across projects within a business. The optional embodiment of the present invention will be described in detail below.
[0064] S1, create a business to store configurations across projects;
[0065] Figure 2 This is a schematic diagram illustrating the creation of a service in the project configuration method provided by an optional embodiment of the present invention, such as... Figure 2 As shown, on the display page, clicking the "+Create Business" button creates a new business. Creating a business only requires entering its name. Created businesses can include various types, such as administrative or e-commerce; created projects can include various types, such as transportation, collaboration, and procurement. The display page also shows a directory of previously created businesses, including their names and related information, such as... Figure 2 The e-commerce platform, authorized users, associated project sets, operations, etc.
[0066] S2, associates projects under the business scope to determine the effective scope of the configuration;
[0067] Figure 3 This is a schematic diagram of the associated projects in the project configuration method provided by the optional embodiment of the present invention, such as... Figure 3 As shown, a business function can be associated with multiple projects. After association, the configuration created within the business function can take effect in the associated projects. Figure 4 This is a schematic diagram of the associated project window in the project configuration method provided by an optional embodiment of the present invention, such as... Figure 4 As shown, you can click "Associate Projects" to link projects. Specifically, click "Associate Projects," and then select the project you want to associate in the pop-up window. After selecting the project, click "OK" to associate the project with the business logic.
[0068] It's important to note that when associating projects, it's necessary to check for conflicts between the project's configuration and the business logic's configuration. For example, field configurations and workflow configurations within a project cannot have the same name. Therefore, when associating projects, it's necessary to check if the field configurations and workflow configurations in the business logic have the same name as those in the project. If there are name conflicts, the conflict needs to be resolved. The method for resolving conflicts varies depending on the configuration; for example, you could remind the user to change the name of the configuration within the project.
[0069] S3 creates configurations within the business scope and resolves conflicts with those within the project.
[0070] Figure 5 This is a schematic diagram illustrating the creation of a configuration in the project configuration method provided by an optional embodiment of the present invention, such as... Figure 5 As shown, business units can create configurations, which can be used in all associated projects. Taking field configuration as an example, a user can create a field within a business unit. This field can only be used by associated projects; projects not associated with a business unit cannot use it.
[0071] It should be noted that when creating field configurations, it is also necessary to check whether there are any conflicts with the configurations in the associated projects. If there are any conflicts, the user needs to resolve them first.
[0072] S4 completes the configuration creation and applies the configuration to all projects under the business.
[0073] Configurations created by users within a business unit can be used in all associated projects, but not in projects not associated with a business unit. Within a project, users can choose from the following two types of configurations: (1) configurations created within the project; and (2) configurations associated with the business unit. Users can set the configurations to "active" status according to their needs. This provides users with greater flexibility; if needed, users can use the configurations associated with the business unit, and if not needed, they can use the configurations within their own project.
[0074] For example, taking a field as an example, Figure 6 This is a schematic diagram of a custom field in the project configuration method provided by an embodiment of the present invention, such as... Figure 6 As shown, you can select the fields to use within the project. When adding a field, you can choose a custom field from within the project or a field specific to your business logic.
[0075] The following beneficial effects can be achieved through the above optional implementation methods:
[0076] (1) Supports users to set project configurations independently;
[0077] (2) Project configurations are shared within the selected project scope, meaning that project configurations are highly flexible. If the overall business needs to remain consistent, the business configuration can be used; if the project requires a personalized configuration scheme, the project configuration can be used.
[0078] (3) As long as the configuration is modified in the business, the configuration of all related projects will be modified together, saving the repetitive work of modifying each project.
[0079] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this disclosure is not limited to the described order of actions, because according to this disclosure, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this disclosure.
[0080] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solutions of this disclosure, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this disclosure.
[0081] According to embodiments of this disclosure, an apparatus for implementing the above-described project configuration processing method is also provided. Figure 7 This is a block diagram of a project configuration processing apparatus according to an exemplary embodiment. (Refer to...) Figure 7 The device includes a processing module 71, an establishment module 72, and a sharing module 73. The device is described below.
[0082] Processing module 71 is used to obtain the first configuration corresponding to the first service in response to the configuration instruction for the first service; establishing module 72 is connected to the processing module 71 and is used to establish an association between the first service and at least one first project in response to the project association instruction for the first service, wherein the first project is the project included in the project association instruction; sharing module 73 is connected to the establishing module 72 and is used to share the first configuration in at least one first project.
[0083] As an optional embodiment, the above apparatus further includes: a display module, configured to display the first configuration in response to a configuration instruction for a second item after sharing the first configuration in at least one first item, wherein the second item is any one of the at least one first item; and a first determination module, configured to determine a second configuration for the second item in response to a selection instruction for the first configuration.
[0084] As an optional embodiment, the above-mentioned establishment module includes: a first acquisition unit, used to acquire a third configuration of the project to be associated for the project to be associated included in the project association instruction; and a first establishment unit, used to determine the project to be associated as a first project in response to the situation that there is no conflict between the third configuration and the first configuration, and establish an association between the first service and the first project.
[0085] As an optional embodiment, the above-mentioned establishment module further includes: a second acquisition unit, used to acquire a fourth configuration in response to a conflict between the third configuration and the first configuration, wherein the fourth configuration is a modification result of the third configuration; and a second establishment unit, used to determine the item to be associated as the first item in response to a conflict between the fourth configuration and the first configuration, and establish an association between the first service and the first item.
[0086] As an optional embodiment, the second acquisition unit includes: a detection subunit, configured to detect whether a first configuration item in the third configuration that conflicts with the first configuration is a second configuration item shared by a second service, wherein the second service is a service different from the first service; and an acquisition subunit, configured to, in response to the conflict between the third configuration and the first configuration, obtain a fourth configuration by modifying the first configuration item in the third configuration if the detection result indicates that the first configuration item is not a second configuration item.
[0087] As an optional embodiment, the above apparatus further includes: a first detection module, configured to detect whether there is a conflict between the first field information and the second field information before determining the item to be associated as the first item in response to the situation where there is no conflict between the third configuration and the first configuration, wherein the first field information is any field information in the first configuration and the second field information is any field information in the third configuration; and a second determination module, configured to determine that there is no conflict between the third configuration and the first configuration when the detection result of the first detection module is that there is no conflict between the first field information and the second field information.
[0088] As an optional embodiment, the first detection module includes: a first detection unit, used to detect whether the first field identifier in the first field information is the same as the second field identifier in the second field information; and a first determination unit, used to determine that there is no conflict between the first field information and the second field information when the detection result of the second detection unit is that the first field identifier in the first field information is different from the second field identifier in the second field information.
[0089] As an optional embodiment, the above apparatus further includes: a second detection module, configured to detect whether there is a conflict between the first workflow information and the second workflow information before determining the item to be associated as the first item, in response to the situation where there is no conflict between the third configuration and the first configuration, wherein the first workflow information is any workflow information in the first configuration and the second workflow information is any workflow information in the third configuration; and a third determination module, configured to determine that there is no conflict between the third configuration and the first configuration when the detection result of the second detection module is that there is no conflict between the first workflow information and the second workflow information.
[0090] As an optional embodiment, the second detection module includes: a second detection unit, used to detect whether the first workflow identifier in the first workflow information is the same as the second workflow identifier in the second workflow information; and a second determination unit, used to determine that there is no conflict between the first workflow information and the second workflow information when the detection result of the fourth detection unit is that the first workflow identifier in the first workflow information is different from the second workflow identifier in the second workflow information.
[0091] As an optional embodiment, the above apparatus further includes: a receiving module, configured to receive modifications to the first configuration after sharing the first configuration in at least one first project, thereby obtaining a fifth configuration; and a modifying module, configured to modify the shared first configuration to the fifth configuration in at least one first project.
[0092] It should be noted that the processing module 71, the establishment module 72, and the sharing module 73 mentioned above correspond to steps S11 to S13 in the embodiments. The instances and application scenarios implemented by the above modules and their corresponding steps are the same, but they are not limited to the content disclosed in the above embodiments. It should also be noted that the above modules, as part of the device, can run on a computer terminal.
[0093] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0094] Embodiments of this disclosure may provide an electronic device, such as a terminal 800, which may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0095] Reference Figure 8 The terminal 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0096] Processing component 802 typically controls the overall operation of terminal 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0097] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of this data include instructions for any application or method operating on terminal 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0098] Power supply component 806 provides power to various components of terminal 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 800.
[0099] Multimedia component 808 includes a screen that provides an output interface between terminal 800 and user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When device 800 is in an operating mode, such as shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0100] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when terminal 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0101] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0102] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of terminal 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the display and keypad of terminal 800, changes in the position of terminal 800 or a component of terminal 800, the presence or absence of user contact with terminal 800, the orientation or acceleration / deceleration of terminal 800, and temperature changes of terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0103] Communication component 816 is configured to facilitate wired or wireless communication between terminal 800 and other devices. Terminal 800 can access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0104] In an exemplary embodiment, terminal 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0105] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of a terminal 800 to perform the above-described method. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0106] In an exemplary embodiment, a computer program product is also provided, which, when executed by a processor of a terminal, enables the terminal to execute any of the above-described project configuration processing methods.
[0107] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0108] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A project configuration processing method, characterized in that, include: In response to the configuration command for the first service, the first configuration corresponding to the first service is obtained; In response to a project association instruction for a first business, an association is established between the first business and at least one first project, wherein the first project is a project included in the project association instruction; The first configuration is shared in at least one of the first projects; Wherein, after sharing the first configuration in the at least one first project, the method further includes: in response to a configuration instruction for a second project, displaying the first configuration, wherein the second project is any one of the at least one first project; and in response to a selection instruction for the first configuration, determining a second configuration for the second project; The method further includes: for the project to be associated included in the project association instruction, obtaining a third configuration of the project to be associated; detecting whether a first configuration item in the third configuration that conflicts with the first configuration is a second configuration item shared by a second service, wherein the second service is a service different from the first service; if the detection result is that the first configuration item is not the second configuration item, in response to the conflict between the third configuration and the first configuration, obtaining a fourth configuration by modifying the first configuration item in the third configuration; in response to the absence of a conflict between the fourth configuration and the first configuration, determining the project to be associated as the first project, and establishing an association between the first service and the first project.
2. The method according to claim 1, characterized in that, The step of establishing an association between the first service and at least one first project in response to a project association instruction for the first service includes: In response to the situation where there is no conflict between the third configuration and the first configuration, the project to be associated is identified as the first project, and the association between the first service and the first project is established.
3. The method according to claim 1, characterized in that, After sharing the first configuration in at least one first project, the method further includes: Receive the modification to the first configuration to obtain the fifth configuration; In at least one first project, the shared first configuration is modified to the fifth configuration.
4. A project configuration processing device, characterized in that, include: The processing module is used to respond to the configuration command for the first service and obtain the first configuration corresponding to the first service; A module is configured to, in response to a project association instruction for a first business, establish an association between the first business and at least one first project, wherein the first project is a project included in the project association instruction. A shared module is configured to share the first configuration in the at least one first project; The device is further configured to, in response to a configuration instruction for a second item, display the first configuration, wherein the second item is any one of the at least one first item; and, in response to a selection instruction for the first configuration, determine a second configuration for the second item. The device is further configured to: obtain a third configuration of the project to be associated, which is included in the project association instruction; detect whether a first configuration item in the third configuration that conflicts with the first configuration is a second configuration item shared by a second service, wherein the second service is a service different from the first service; if the detection result is that the first configuration item is not the second configuration item, in response to the conflict between the third configuration and the first configuration, obtain the fourth configuration by modifying the first configuration item in the third configuration; and in response to the absence of a conflict between the fourth configuration and the first configuration, determine the project to be associated as the first project and establish an association between the first service and the first project.
5. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the project configuration processing method as described in any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the project configuration processing method as described in any one of claims 1 to 3.
7. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the project configuration processing method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Component generation method and device, storage medium and terminal equipment
CN110262790A