Data management method and device, electronic equipment and computer readable storage medium
Patent Information
- Application Number
- CN202210449524.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-26
- Publication Date
- 2026-10-13
- Estimated Expiration
- 2042-04-26
AI Technical Summary
[0003]通常情况下,为了方便进行多人沟通,会建立在社交应用中建立社交群组,然而,相关技术中,只能通过该群组内的成员(例如,该群组中的管理员等)对该群组进行管理(例如,进入该群组的条件等)
[0056]通过本申请实施例提供的数据管理方法、装置、电子设备、计算机可读存储介质及计算机程序产品,在该数据管理方法中,管理客户端(例如,企业、学校、社区等)关联有至少两个群组,配置信息修改请求中包括至少两个待修改配置项中每个待修改配置项的修改信息,至少两个待修改配置项对应于前述至少两个群组中的至少一个群组,一个群组的各配置项存储在该群组对应的数据结构中。通过对所接收到的、由管理客户端发起的配置信息修改请求进行响应,确定该配置信息修改请求中的每个待修改配置项所属的数据结构;基于至少两个待修改配置项的修改信息,对对应的至少两个待修改配置项分别所属的数据结构进行并行修改。采用本申请实施例提供的该方案,在面临对至少两个群组中的配置项进行修改的问题时,一个配置信息修改请求中就可以包括管理客户端关联的至少两个群组的至少两个待修改配置项中每个待修改配置项的修改信息,而不必对每个待修改配置项都发起一个配置信息修改请求,实现了针对同一管理客户端关联的超大规模的至少两个群组的配置项的快速配置变更能力,快速对配置信息修改请求进行响应,降低等待耗时,提高了对同一个管理客户端关联的至少两个群组的管控能力和管理效率,且该方案实施简单。
Smart Images

Figure CN116996333B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of cloud technology and big data. Specifically, this application relates to a data management method, apparatus, electronic device, computer-readable storage medium, and computer program product. Background Technology
[0002] With the continuous development of science and technology, electronic technology has also developed rapidly, and the variety of electronic products has increased dramatically. People have enjoyed the various conveniences brought about by technological advancements. Now, people can enjoy a comfortable life through various types of electronic devices or terminals, and applications with various functions. For example, using social applications on terminals allows for instant messaging (IM) with others over the internet.
[0003] Typically, to facilitate multi-person communication, social groups are created within social applications. However, current technologies only allow management of these groups through their members (e.g., group administrators) (setting entry criteria). When multiple groups exist, management is only possible sequentially through members within each group, which is inefficient, wastes significant manpower, and fails to adequately meet practical needs. Summary of the Invention
[0004] This application provides a data management method, apparatus, electronic device, computer-readable storage medium, and computer program product to solve the technical problem of how to improve the management efficiency of configuration items for at least two groups associated with a management client.
[0005] According to one aspect of the embodiments of this application, a data management method is provided, the method comprising:
[0006] Receive configuration information modification request from management client. The management client is associated with at least two groups. The configuration information modification request includes modification information for each of the at least two configuration items to be modified. The at least two configuration items to be modified correspond to at least one of the at least two groups.
[0007] In response to a configuration information modification request, determine the data structure to which each configuration item to be modified belongs. Each data structure stores a group of configuration items.
[0008] Based on the modification information of at least two configuration items to be modified, the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel;
[0009] For each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the modification result is fed back to the group client corresponding to the configuration item to be modified. The group client corresponding to the configuration item to be modified is the client of the object in the group corresponding to the data structure to which the configuration item belongs.
[0010] According to another aspect of the embodiments of this application, a data management apparatus is provided, the apparatus comprising:
[0011] The request receiving module is used to receive configuration information modification requests from the management client. The management client is associated with at least two groups. The configuration information modification request includes modification information for each of the at least two configuration items to be modified. The at least two configuration items to be modified correspond to at least one of the at least two groups.
[0012] The request processing module is used to respond to configuration information modification requests and determine the data structure to which each configuration item to be modified belongs. Each data structure stores the configuration items of a group.
[0013] Based on the modification information of at least two configuration items to be modified, the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel;
[0014] The processing result feedback module is used to, for each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, feed back the modification result to the group client corresponding to the configuration item to be modified. The group client corresponding to the configuration item to be modified is the client of the object in the group corresponding to the data structure to which the configuration item to be modified belongs.
[0015] Optionally, each group has configuration items of the same type, and at least two configuration items to be modified are configuration items of the same type to be modified for each of at least two groups.
[0016] When responding to a configuration information modification request and determining the data structure to which each configuration item to be modified belongs, the aforementioned request processing module can be specifically used for:
[0017] In response to a configuration information modification request, determine the data structure of the corresponding group in at least two groups to which each configuration item to be modified belongs;
[0018] When the aforementioned request processing module modifies the data structures to which at least two configuration items belong in parallel based on modification information of those two items, it can be specifically used for:
[0019] Based on the modification information of the same type of configuration items to be modified in each of at least two groups, the configuration items to be modified in the data structure of the corresponding groups to which the corresponding at least two configuration items to be modified belong are modified in parallel.
[0020] Optionally, at least two configuration items to be modified are at least two configuration items of different types from any of at least two groups.
[0021] When responding to a configuration information modification request and determining the data structure to which each configuration item to be modified belongs, the aforementioned request processing module can be specifically used for:
[0022] In response to a configuration information modification request, determine the data structure of any of the above groups corresponding to the configuration information modification request;
[0023] When the aforementioned request processing module modifies the data structures to which at least two configuration items belong in parallel based on modification information of those two items, it can be specifically used for:
[0024] Based on the modification information of at least two different types of configuration items to be modified in any of the at least two groups, at least two corresponding configuration items to be modified in the data structure of any of the above groups are modified in parallel.
[0025] Optionally, when responding to a configuration information modification request and determining the data structure to which each configuration item to be modified belongs, the above request processing module can specifically be used to:
[0026] In response to a configuration information modification request, determine whether there is a pending request queue that is the same as the configuration information modification request. The pending request queue is generated based on unprocessed historical configuration information modification requests received from the historical configuration information modification requests.
[0027] If there is no pending request in the pending request queue that is the same as the above configuration information modification request, add the above configuration information modification request to the pending request queue and return a prompt message to the management client, indicating that the above configuration information modification request is a pending request;
[0028] If a request with the same configuration information modification request as described above already exists in the pending request queue, the above prompt message will be returned directly to the management client.
[0029] Based on each pending request in the pending request queue, determine the data structure to which each pending configuration item in each pending request belongs;
[0030] When the aforementioned request processing module modifies the data structures to which at least two configuration items belong in parallel based on modification information of those two items, it can be specifically used for:
[0031] Based on the modification information of at least two configuration items to be modified corresponding to each pending request, at least two configuration items to be modified in parallel are modified in the data structure to which each pending configuration item belongs in each pending request.
[0032] Optionally, when the processing result feedback module sends the modification result to the group client corresponding to each configuration item to be modified, it can be specifically used for:
[0033] If the modification result is a failure, and the number of modifications to the configuration item to be modified is less than the first threshold, the data structure to which the configuration item belongs is modified again based on the modification information of the configuration item to be modified. This modification step is repeated until the modification result is updated to a successful modification or the number of modifications to the configuration item to be modified is greater than or equal to the first threshold. The current modification result is then fed back to the group client corresponding to the configuration item to be modified.
[0034] If the modification is successful, the result will be sent to the corresponding group client.
[0035] Optionally, when the processing result feedback module modifies the data structure to which any configuration item to be modified belongs based on the modification information of the configuration item to be modified, it may include:
[0036] If the time between the current time and the time when the data structure to which the configuration item to be modified was last modified is equal to the second threshold, a new configuration information modification request is generated based on the modification information of the configuration item to be modified.
[0037] Based on the new configuration information modification request, the data structure to which the configuration item to be modified belongs is modified.
[0038] Optionally, each configuration item in each group is stored as a Boolean value in its corresponding data structure. When the request processing module modifies the data structures of at least two configuration items to be modified in parallel based on their modification information, it can specifically be used for:
[0039] Based on the modification information of at least two configuration items to be modified, the boolean values of at least two configuration items to be modified in the data structures to which the corresponding at least two configuration items to be modified are modified in parallel.
[0040] The aforementioned device can also be used for:
[0041] For any configuration item, if the duration of the current time and the last modification time of the boolean value of that configuration item is greater than the second threshold, the boolean value of that configuration item is set to the initial value.
[0042] Optionally, the configuration information request may also include the identity information of the management client to be verified. When the request processing module responds to the configuration information modification request and determines the data structure to which each configuration item to be modified belongs, it may specifically be used for:
[0043] In response to a configuration information modification request, the system retrieves the pre-stored real identity information of the management client based on the identity information to be verified.
[0044] If the found real identity information matches the identity information to be verified, the identity verification result of the management client is determined to be successful, and the data structure to which each configuration item to be modified belongs is determined.
[0045] According to another aspect of the embodiments of this application, a data management system is provided, the system including a collaboration server and at least two data management servers, the collaboration server being communicatively connected to each data management server, and each data management server being associated with at least two groups;
[0046] A collaboration server is used to send configuration information modification requests to at least one of at least two data management servers.
[0047] The configuration information modification request includes modification information for each of at least two configuration items to be modified, and the at least two configuration items to be modified correspond to at least one of the at least two groups associated with a data management server.
[0048] Each data management server is used to perform the following operations upon receiving a configuration information modification request:
[0049] In response to a configuration information modification request, determine the data structure to which each configuration item to be modified belongs. Each data structure stores a group of configuration items.
[0050] Based on the modification information of at least two configuration items to be modified, the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel;
[0051] For each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the modification result is fed back to the group client corresponding to the configuration item to be modified. The group client corresponding to the configuration item to be modified is the client of the object in the group corresponding to the data structure to which the configuration item belongs.
[0052] According to another aspect of the embodiments of this application, an electronic device is provided, the electronic device including a memory, a processor and a computer program stored in the memory, the processor executing the computer program to implement the steps of the method described above.
[0053] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the above-described method.
[0054] According to another aspect of the embodiments of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the above-described method.
[0055] The beneficial effects of the technical solutions provided in this application are:
[0056] The data management method, apparatus, electronic device, computer-readable storage medium, and computer program product provided in this application embodiment include a data management method in which a management client (e.g., an enterprise, school, community, etc.) is associated with at least two groups. A configuration information modification request includes modification information for each of at least two configuration items to be modified. These at least two configuration items correspond to at least one of the aforementioned at least two groups. Each configuration item in a group is stored in the data structure corresponding to that group. By responding to a received configuration information modification request initiated by the management client, the data structure to which each configuration item to be modified in the request belongs is determined. Based on the modification information of the at least two configuration items to be modified, the data structures to which the corresponding at least two configuration items belong are modified in parallel. By adopting the solution provided in this application embodiment, when faced with the problem of modifying configuration items in at least two groups, a single configuration information modification request can include the modification information of each of the at least two configuration items to be modified in at least two groups associated with the management client, without having to initiate a configuration information modification request for each configuration item to be modified. This achieves the ability to quickly change the configuration items of at least two groups associated with the same management client on a very large scale, quickly responds to configuration information modification requests, reduces waiting time, improves the control and management efficiency of at least two groups associated with the same management client, and the solution is simple to implement.
[0057] Furthermore, for each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the modification result is fed back to the client of the object in the group corresponding to the data structure to which the configuration item belongs. This allows the object in the group to manage the group according to the modified configuration item in the subsequent group management process.
[0058] Furthermore, since the modification and feedback processes are implemented asynchronously, asynchronous processing of the modification and feedback processes is achieved, avoiding overlap between the various processes and further optimizing the control capabilities over the groups associated with the management client. Attached Figure Description
[0059] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.
[0060] Figure 1 This illustration shows an implementation environment diagram of a data management method provided in an embodiment of this application;
[0061] Figure 2 This illustration shows a signaling interaction diagram of a group management process provided in an embodiment of this application;
[0062] Figure 3 A schematic diagram of the correspondence table between group identifiers and data structures in an embodiment of this application is shown;
[0063] Figure 4 A schematic diagram of the display interface of the group client in an embodiment of this application is shown;
[0064] Figure 5 A flowchart illustrating a data management method provided in an embodiment of this application is shown;
[0065] Figure 6 A schematic diagram of a prompt information interface provided in an embodiment of this application is shown;
[0066] Figure 7 A schematic diagram of another prompt information interface provided in an embodiment of this application is shown;
[0067] Figure 8 This paper illustrates another flowchart of a data management method provided in an embodiment of this application.
[0068] Figure 9 A schematic diagram of a data management system provided in an embodiment of this application is shown;
[0069] Figure 10 This illustration shows a schematic diagram of the structure of a data management device provided in an embodiment of this application;
[0070] Figure 11 A schematic diagram of the structure of an electronic device to which this application embodiment applies is shown. Detailed Implementation
[0071] The embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions of the embodiments of this application.
[0072] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the terms “comprising” and “including” as used in embodiments of this application mean that the corresponding feature can be implemented as the presented feature, information, data, step, operation, element, and / or component, but do not exclude implementation as other features, information, data, step, operation, element, component, and / or combinations thereof supported by the art. It should be understood that when we say that an element is “connected” or “coupled” to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element establish a connection relationship through an intermediate element. Furthermore, “connected” or “coupled” as used herein can include wireless connection or wireless coupling. The term “and / or” as used herein indicates at least one of the items defined by the term; for example, “A and / or B” can be implemented as “A,” or as “B,” or as “A and B.”
[0073] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0074] The following is an explanation of the relevant terms used in this application.
[0075] Interconnected groups (can be abbreviated as "interconnected groups") refer to group chats composed of members within an enterprise (referring to all enterprises, such as companies, schools, communities, etc.) and WeChat users outside the enterprise. They can be used to establish customer relationships, manage home-school relationships, etc.
[0076] Home-school partnership: This refers to a type of business that operates on a home-school partnership model, which typically involves a large number of class groups.
[0077] Class Groups: Supports students and parents to join in a linked relationship. Typically, in a class group, the teacher in that class is the administrator of the class group.
[0078] Group configuration items: These refer to the configuration items in a group, such as the conditions for new members to join the group, the permissions to modify items in the group (group identifier (e.g., group name), announcement information in the group, etc.), and the permissions to invite new members to join the group.
[0079] Boolean value: In computer programming, it is used to indicate whether something is true or false, and usually includes two values: false and true.
[0080] The data management method provided in this application can be implemented by a data management device. This data management device can be a management server, which receives configuration information modification requests from management clients, responds to these requests, obtains the modification results of the data structure to which each configuration item to be modified belongs in the request, and feeds back the modification results to the corresponding group clients, etc. This data management method can also be implemented by a processor calling computer-readable instructions stored in memory.
[0081] The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server or server cluster that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0082] Those skilled in the art should understand that the above-described terminals and servers are merely examples, and other existing or future terminals or servers that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.
[0083] The aforementioned management client can be any terminal, and this terminal can be a terminal corresponding to any enterprise. This enterprise refers to all enterprises as broadly defined above, such as companies, schools, communities, etc. Of course, the management client can also be a terminal corresponding to a virtual enterprise. This application embodiment does not limit the specific implementation form of the management client. The aforementioned terminal (also referred to as a user terminal or user equipment (UE)) can be a smartphone, tablet computer, laptop computer, desktop computer, intelligent voice interaction device (e.g., smart speaker), wearable electronic device (e.g., smartwatch), in-vehicle terminal, smart home appliance (e.g., smart TV), AR (Augmented Reality) / VR (Virtual Reality) device, etc.
[0084] The data management method provided in this application embodiment can be implemented based on cloud technology. For example, the configuration information modification request in this application embodiment can be implemented using cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network within a wide area network or local area network to realize data computation, storage, processing, and sharing.
[0085] The data management method provided in this application can be applied to industries such as taxation, retail, and education, in scenarios where configuration items of groups associated with the same management client are modified. For example, in the education industry, where the management client is a terminal corresponding to a school, the multiple groups associated with the management client can be class groups of different grades within the school.
[0086] The data management method provided in this application can be implemented based on big data. For example, when a management client is associated with a large number of groups, it may involve managing the configuration items of some of the groups associated with that management client. Big data refers to data sets that cannot be captured, managed, and processed within a certain time frame using conventional software tools. It represents massive, rapidly growing, and diverse information assets that require new processing models to achieve stronger decision-making, insight discovery, and process optimization capabilities. With the advent of the cloud era, big data has attracted increasing attention. Big data requires specialized technologies to effectively process large amounts of data within a tolerable time frame. Technologies suitable for big data include massively parallel processing databases, data mining, distributed file systems, distributed databases, cloud computing platforms, the Internet, and scalable storage systems.
[0087] It should be noted that, in the optional embodiments of this application, the data related to the management client identifier, group member information, group client identifier, etc., requires the permission or consent of the target when the above embodiments of this application are applied to specific products or technologies. Furthermore, the collection, use, and processing of this data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. In other words, if the embodiments of this application involve data related to the target, this data must be obtained with the target's authorization and consent, and in accordance with the relevant laws, regulations, and standards of the country and region.
[0088] The technical solutions of this application and their effects are described below through several exemplary embodiments. It should be noted that the following embodiments can be referenced, borrowed from, or combined with each other. Identical terms, similar features, and similar implementation steps in different embodiments will not be repeated.
[0089] To facilitate understanding of the application value of the business processing method provided in the embodiments of this application, the business processing method will be described below with reference to a specific application scenario embodiment.
[0090] Figure 1 This diagram illustrates an implementation environment for a data management method provided in an embodiment of this application. Figure 1 As shown, the implementation environment includes a management client 101, a management server 102 corresponding to the management client 101, at least two group clients 201 associated with the management client 101, and a group server 202 corresponding to each group client 201. A group client 201 is a terminal held by an object (e.g., a group administrator) in a group that has an instant messaging application installed and is based on that instant messaging application. A group server 202 corresponding to a group client 201 is a server that processes various matters within that group client 201, for example, it can respond to requests from any member of the group to manage group messages. The management client 101 establishes a communication connection with the management server 102, each group client 201 establishes a communication connection with its corresponding group server 202, and the management server 102 establishes a communication connection with each group server 202. The communication connections can be made directly or indirectly via wired or wireless communication, but are not limited to these methods. The specific method can be determined based on the actual application scenario requirements, and this embodiment does not impose any limitations on this.
[0091] It should be noted that the management server 102 can be a server corresponding only to the current management client 101, or it can be a server corresponding to all management clients 101. This application embodiment does not impose any restrictions on this. The following uses one management client corresponding to one management server as an example to illustrate the data management method provided in this application embodiment.
[0092] Figure 2 This diagram illustrates the signaling interaction of a group management process according to an embodiment of this application. This group management process can be implemented through information interaction between the management client 101, the management server 102, each group client 201, and each group server 202. For example... Figure 2 As shown, the method may include the following steps:
[0093] Step 1: Management server 102 receives a configuration information modification request from management client 101.
[0094] The management client 101 can be a terminal held by a managed object within the aforementioned enterprise. This managed object can be a manager within the enterprise who is associated with a group. The management client can be associated with at least two groups.
[0095] The management client 101 can initiate a configuration information modification request to the management server 102 based on the triggered operation of the control related to the configuration information modification request displayed in the display interface of the management object, or based on the input operation of the management object in the input box related to the configuration information modification request displayed in the display interface.
[0096] The configuration information modification request includes modification information for each of at least two configuration items to be modified, wherein the at least two configuration items to be modified correspond to at least one of the at least two groups associated with the management client. That is, the configuration information modification request can be a request to modify configuration items in some or all of the groups associated with the management client 101. Specifically, the configuration information modification request may include modification information for each configuration item to be modified, such as the group identifier of the group to which each configuration item belongs, the content of each configuration item before modification (i.e., the current content), and the content after modification. Of course, the modification information for each configuration item may also only include the group identifier of the group to which the configuration item belongs and the content after modification. This can be determined according to the actual situation, and this embodiment does not impose any restrictions on this.
[0097] The group identifier may include, but is not limited to, the name of the group. Of course, the group identifier may also be other content, as long as it can be distinguished from other groups associated with the management client 101. The configuration information modification request may include a request to modify or delete existing configuration items in the group, or a request to set new configuration items for the group. This application embodiment does not impose any restrictions on this.
[0098] A group can include at least one configuration item. A group's configuration item can be a configuration related to the group, such as the conditions for any new member to join the group, the permission of members in the group to invite new members to join the group, and the permission to modify the group identifier.
[0099] Each configuration item corresponding to a group can be stored in the data structure corresponding to that group. Within the data structure of a group, each configuration item can be stored as a Boolean value. For a group, the configuration items corresponding to that group can be stored in the data structure based on their configuration item identifiers and their Boolean values. For each configuration item, the content currently included in that configuration item can be determined based on the Boolean value corresponding to its configuration item identifier.
[0100] For each group, you can set the default boolean value of each configuration item in that group to false (i.e., disabled). You can set the boolean value of the group to true (i.e., enabled) as needed. Considering the evolution of group configuration items, each configuration item may also be updated. For configuration items that have not been updated for a long time, for example, if a similar but more feature-rich configuration item appears, you can set the boolean value of that configuration item to the default boolean value.
[0101] As an example, for the configuration item that disallows modification of the group identifier, the configuration item identifier can be set to the boolean configuration item b_disable-rename, and the corresponding boolean value can be true. Of course, when the configuration item identifier is the boolean configuration item b_able_rename, the corresponding boolean value can be false.
[0102] The data structure corresponding to each group can be stored either in the group client 201 or in the group server 202 corresponding to that group. For ease of management, the data structure corresponding to each group can be sent to the management server 102 based on the interaction between each group server 202 and the management server 102, so that the management server 102 can store the data structure corresponding to each group based on the group identifier. Alternatively, after receiving a configuration information modification request, the management server 102 can send a request to the corresponding group server 202 to retrieve the corresponding data structure based on the group identifier in the configuration information modification request, receive the data structure sent by the corresponding group server 202, and modify each configuration item based on the received data structure corresponding to each group server 202 in the configuration information modification request.
[0103] Taking the management process of this group as an example, specifically for a parent-teacher group, the management client 101 can be a terminal held by a management object within the school. This management object can be an academic affairs staff member in the school's academic affairs system, or a network personnel (IT, Information Technology) maintaining the school's academic affairs system. Correspondingly, the configuration information modification request can include modifying the configuration items related to joining the class group in the first to fourth grade class groups so that only parents in the parent-teacher communication directory can enter the corresponding class group. The corresponding group administrator can be a teacher in the class group, or an administrator among the parents in the class group.
[0104] Step 2: In response to the configuration information modification request from the management client 101, the management server 102 parses the configuration information modification request, determines the group to which each configuration item to be modified in the configuration information modification request belongs, and determines the data structure to which each configuration item to be modified belongs based on the determined group.
[0105] As described above, the configuration information modification request may include the group identifier of the group to which the configuration item to be modified belongs. The management server 102 can also store the data structure corresponding to each group based on the group identifier. For easier management, such as... Figure 3 As shown, the management server 102 can also establish a mapping table between the group identifier of each group and the storage location of the corresponding data structure based on the received data structure of each group. After receiving the configuration information request, the management server 102 can determine the data structure to which each configuration item to be modified belongs from the mapping table based on the group identifier in the configuration information request.
[0106] The group management process described above is for the management of parent-teacher groups. For example, the configuration information modification request includes modifying the configuration items related to joining the class group in the class groups from grades one to four so that only parents in the parent-teacher communication book can enter the corresponding class group. Based on the group identifiers corresponding to the class groups from grades one to four in the configuration information modification request, the data structures corresponding to the configuration items related to joining the class group in the class groups from grades one to four can be determined, that is, the data structures corresponding to the class groups from grades one to four.
[0107] Step 3: Based on the modification information of at least two configuration items to be modified, the management server 102 modifies the data structures to which the corresponding at least two configuration items to be modified belong in parallel.
[0108] As described above, the modification information for the configuration item to be modified can include the content before the modification and the content after the modification. In this step, to simplify the operation and improve processing efficiency, based on the modification information of each configuration item to be modified, only the configuration item to be modified in the data structure to which the determined configuration item to be modified belongs can be modified, without processing other configuration items.
[0109] The group management process described above pertains to the management of parent-teacher groups. Taking the modification request for configuration information, such as changing the configuration items related to joining a class group in grades 1-4 to allow only parents listed in the parent-teacher communication directory to join, as an example, after determining the data structures corresponding to the class groups for grades 1-4, the configuration items related to joining a class group in each determined data structure can be modified according to the modification information of each configuration item to be modified, so that only parents listed in the parent-teacher communication directory can join the corresponding class group. If, in the data structures corresponding to the class groups for grades 1-4, there exists a data structure where the current content of the configuration item related to joining a class group is "only parents listed in the parent-teacher communication directory can join the corresponding class group," then this data structure does not need to be modified.
[0110] Step 4: For each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the management server 102 feeds back the modification result to the group server 202 corresponding to the configuration item to be modified.
[0111] Step 5: Based on the received modification results, each corresponding group server 202 sends the modification results to the corresponding group client 201, and displays them through the display interface of the corresponding group client 201.
[0112] Optionally, the modification results can be displayed in various ways, including but not limited to displaying the modification results in a pop-up window on the display interface, changing the color of the display interface, or displaying the modification results in a designated area of the display interface. This embodiment of the application does not impose any limitations on this method. Alternatively, the modification results can be transmitted to the group administrator via voice broadcast from the group client.
[0113] By sending the modification results back to the group client 201, the group administrator can be promptly notified of any changes made to the configuration items for that group. Specifically, the modification results may include, but are not limited to, the identifier of the modified configuration item, the boolean value of the configuration item before the modification, and the boolean value of the configuration item after the modification.
[0114] Figure 4 A schematic diagram of the display interface of the group client in an embodiment of this application is shown. Figure 4As shown, after a group client 201 receives a modification result for itself, it can display the modification result as a pop-up window in the display interface of the group client 201. Figure 4 The result shown is the modification result of modifying the configuration item that disallows modification of the group identifier. The modification result includes the configuration item identifier b_disable-rename, which was false before modification and true after modification.
[0115] Figure 5 A flowchart illustrating a data management method provided in an embodiment of this application is shown. This data management method can be implemented using a data management device, which can be a management server. Figure 5 As shown, the method includes the following steps:
[0116] Step S501: Receive a configuration information modification request from the management client. The management client is associated with at least two groups. The configuration information modification request includes modification information for each of the at least two configuration items to be modified. The at least two configuration items to be modified correspond to at least one of the at least two groups.
[0117] The configuration items in each group can be of the same or different types. All configuration items in a group can be stored in a data structure to achieve personalized storage of each group's configuration items, so as to facilitate flexible management of each group and improve management flexibility and scalability.
[0118] Taking a school as the management client and the associated groups as class groups for each grade as an example, considering that younger students may need parental assistance while older students may not, the configuration option for the conditions for joining the group can be set as follows: for younger class groups, both parents and students must join; for older class groups, only students need to join. Considering group security, the configuration option for the permission to invite new members can be set to allow only group administrators to invite new members, or it can be set so that non-group administrators require the group administrator's approval before inviting new members.
[0119] The data management method provided in this application embodiment can be used to modify at least two configuration items in a group in parallel, or to modify the same configuration items in multiple groups in parallel. This application embodiment does not limit this.
[0120] Correspondingly, a configuration information modification request can be a modification request for each of at least two configuration items to be modified in a group (associated with the management client), or it can be a modification request for the same configuration item to be modified in at least two groups (associated with the management client).
[0121] The modification information for each configuration item to be modified should include at least the group to which the configuration item belongs and the modified content of the configuration item. Other content related to the configuration item to be modified can also be set according to the actual situation.
[0122] Optionally, the configuration information request may also include the identity information to be verified for the management client. In response to the configuration information modification request, the data structure to which each configuration item to be modified belongs may be determined, and may include:
[0123] In response to a configuration information modification request, the system retrieves the pre-stored real identity information of the management client based on the identity information to be verified.
[0124] If the found real identity information matches the identity information to be verified, the identity verification result of the management client is determined to be successful, and the data structure to which each configuration item to be modified belongs is determined.
[0125] The identity information of the management client may include, but is not limited to, the identifier of the management client and the identifier of the managed object corresponding to the management client. The identifier of the management client can be identified by numbers, letters, or any string, including but not limited to the name of the management client, the management client number, etc. The identifier of the managed object can also be identified by numbers, letters, or any string, including but not limited to the nickname of the managed object, ID card number, or other numbers, etc.
[0126] If the verification of the identity information to be verified fails the first time, the identity information to be verified can be verified again until the number of verifications reaches a preset threshold, so as to avoid the situation where the verification of the identity information to be verified fails due to network failure or other reasons.
[0127] In this implementation, when the management server establishes a communication connection with at least one management client for the first time, it can store the real identity information of the connected management client. In subsequent data management processes, the management client's identity information to be verified carried in the configuration information modification request can be matched with the pre-stored real identity information of the management client. When the two match successfully, that is, when the found real identity information is consistent with the identity information to be verified, it can be determined that the current configuration information modification request was sent by the management client with the pre-established communication connection, thereby improving the security of the management process.
[0128] Meanwhile, when a management server can respond to configuration information modification requests initiated by at least two management clients, by responding to the received configuration information modification requests, it is also possible to determine which management client sent the current configuration information modification request, so as to achieve orderly response to configuration information modification requests and avoid confusion in the process of responding to each configuration information modification request.
[0129] Step S502: In response to the configuration information modification request, determine the data structure to which each configuration item to be modified belongs. Each data structure stores the configuration items of a group.
[0130] As described above, a mapping table of group identifiers and corresponding data structures for each group can be stored on the management server side based on the group identifiers associated with each group by the management client.
[0131] After receiving a configuration information modification request, the data structure to which each configuration item to be modified belongs can be determined based on the group identifiers and the correspondence table of each group included in the configuration information modification request.
[0132] Step S503: Based on the modification information of at least two configuration items to be modified, modify the data structures to which the corresponding at least two configuration items to be modified belong in parallel.
[0133] When managing a large number of groups associated with the management client, resulting in the management of extremely large groups, modifying the data structure of each configuration item individually increases the modification time linearly with the number of configuration items. This leads to long response times and slow response speeds for configuration modification requests, failing to meet expected waiting times. Here, expected waiting time refers to the time each group administrator anticipates for modifying each configuration item within their group.
[0134] In this implementation, there is no limit to the specific number of modification information items in the modification information of at least two configuration items to be modified. For example, the modification information of all configuration items to be modified in the configuration information modification request can be modified.
[0135] By modifying the data structures of at least two configuration items in parallel based on their modification information, a parallel processing approach can be adopted. Modifying at least two configuration items simultaneously can speed up the response to configuration information modification requests, quickly process configuration information modification requests, and reduce waiting time.
[0136] In order to improve the response efficiency to configuration information modification requests while ensuring the stability of the data management process, this implementation method can also pre-set a parallel processing threshold for the management server, that is, a threshold for the number of configuration items to be modified in the configuration information modification request that can be modified in parallel.
[0137] For a configuration modification request, if the number of configuration items to be modified in the request exceeds the parallel processing threshold, the modification information for the first number of configuration items to be modified, equal to the parallel processing threshold, can be retrieved from the request. Based on this retrieved information, the corresponding configuration items can be modified in parallel. The modification information for the remaining configuration items is then retained in the original configuration modification request, which is then stored in a queue of pending requests. After the current parallel modifications to the configuration items are completed, the modification information for new configuration items is read from the queue, and these new items are modified accordingly.
[0138] As an example, a parallel processing threshold of 30 can be set. If the number of configuration items to be modified in a configuration modification request is less than or equal to 30 (e.g., 27), each item can be directly modified. If the number of configuration items is greater than 30 (e.g., 43), the modification information for the first 30 items can be retrieved, and the modification information for the remaining 13 items can be saved to the original configuration modification request. This modified request is then stored in the pending request queue. After parallel modification of the 30 items based on their modification information is complete, the modification information for the remaining 13 items can be retrieved and modified accordingly, continuing this process until all items in the configuration modification request have been modified.
[0139] It should be understood that the processing speed of different configuration items to be modified in parallel processing may vary. When modifying at least two configuration items to be modified in parallel, if the modification of one of the configuration items to be modified has been completed, the modification information of a new configuration item to be modified can be retrieved from the queue of pending requests. Based on the modification information of the new configuration item to be modified and the modification information of the previously unmodified configuration items to be modified, the modification of each configuration item to be modified can continue. This realizes the concurrent processing of each configuration item to be modified, thereby improving data management efficiency.
[0140] Step S504: For each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the modification result is fed back to the group client corresponding to the configuration item to be modified. The group client corresponding to the configuration item to be modified is the client of the object in the group corresponding to the data structure to which the configuration item belongs.
[0141] An object in a group can be any member of that group; for example, an object in a group can be the group administrator. Each group administrator has permission to modify the configuration items of their respective group.
[0142] For each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the management server can feed back the modification result to the group server corresponding to the group client, and then send the modification result to the group client through the group server. The modification result is then conveyed to the group administrator through methods including but not limited to displaying it in the display interface of the group client and broadcasting it via voice.
[0143] As mentioned earlier, the processing speed of different configuration items to be modified may vary when processing them in parallel. When modifying at least two configuration items in parallel, for any one of them, the modification result can be directly fed back to the corresponding group client after the modification of that configuration item is completed. Compared to completing the modification of each configuration item in the configuration information modification request and then feeding back the modification results of each configuration item to the corresponding group client, the waiting time of some group clients that have completed the modification of some configuration items can be reduced.
[0144] As mentioned above, if the current content of a configuration item to be modified is the same as the modified content of the configuration item indicated in the configuration information modification request, then the configuration item to be modified need not be modified. Naturally, there is no need to send the modification result back to the corresponding group client.
[0145] Of course, after modifying any configuration item, the modification result can also be fed back to the management client. For example... Figure 6 As shown, after modifying each configuration item in the configuration information modification request, a pop-up message will be displayed on the management client's display interface, indicating that "all configuration items in the configuration information modification request have been modified."
[0146] like Figure 7 As shown, if the current content of a configuration item to be modified is the modified content of the configuration item to be modified as indicated in the configuration information modification request, the prompt message "The current content of the configuration item to be modified in group 3 is the modified content indicated in the request" can be displayed in the display interface of the management client in the form of a pop-up window.
[0147] Optionally, for each configuration item to be modified, the modification result is fed back to the group client corresponding to that configuration item, which may include:
[0148] If the modification result is a failure, and the number of modifications to the configuration item to be modified is less than the first threshold, the data structure to which the configuration item belongs is modified again based on the modification information of the configuration item to be modified. This modification step is repeated until the modification result is updated to a successful modification or the number of modifications to the configuration item to be modified is greater than or equal to the first threshold. The current modification result is then fed back to the corresponding group client.
[0149] If the modification is successful, the result will be sent to the group client corresponding to the configuration item to be modified.
[0150] In this implementation, by sending the modification result to the group client corresponding to the configuration item to be modified when the modification result is successful, the group administrator can obtain the configuration status of the configuration items of the group he manages in real time.
[0151] Furthermore, the modification results can be fed back to the management client at the same time as the group client, so as to remind the management client that the modification task of the currently processed configuration item in the configuration information modification request has been completed.
[0152] The first threshold can be set based on empirical or experimental values, or it can be determined according to actual conditions. This application embodiment does not impose any restrictions on this. For example, the first threshold can be set to 3.
[0153] In one possible approach, if the processing time for any modified configuration item exceeds a preset threshold, the modification result of that configuration item can also be set as a failure.
[0154] By setting a first threshold, if the number of modifications to a configuration item to be modified is less than the first threshold, the process for the current modification failure of the configuration item to be modified is repeated until the number of modifications to the configuration item to be modified reaches the first threshold. This ensures the correct execution of each configuration item to be modified and effectively avoids errors in the process of processing configuration items to be modified that have failed due to unexpected situations such as unstable network conditions during the processing of the management server. This results in a more efficient response to configuration information modification requests.
[0155] By sending the current modification result back to the corresponding group client when the number of modifications to a configuration item to be modified is greater than or equal to a first threshold, the management client can check the configuration information modification request if the modification result still fails, in order to confirm whether there is an error in the configuration information modification request itself, which makes it impossible to respond to the configuration information modification request in a timely manner.
[0156] Additionally, it should be noted that, as described above, the management server can process at least two configuration items to be modified in parallel. If the modification of one of the configuration items fails, the server will automatically repeat the modification of that configuration item (i.e., retry). This repeated modification process does not affect the modification of other configuration items, thus achieving asynchronous processing and improving data processing efficiency.
[0157] Furthermore, the aforementioned repetitive modification process is handled automatically by the management server, eliminating the need for the management client to initiate new configuration information modification requests, thus improving the user experience. The feedback process and the modification process are isolated from each other, achieving asynchronous processing and preventing overlap between processes, further optimizing the control over the groups associated with the management client.
[0158] Considering that there may be a delay in receiving the modification result of the configuration item to be modified in some cases, in order to avoid determining that the corresponding modification result is a failure due to the delay in receiving the modification result of the configuration item to be modified, the embodiments of this application also provide the following optional implementation methods:
[0159] Optionally, the above-mentioned modification of the data structure to which any configuration item belongs, based on the modification information of the configuration item to be modified, may include:
[0160] If the time between the current time and the time when the data structure to which the configuration item to be modified was last modified is equal to the second threshold, a new configuration information modification request is generated based on the modification information of the configuration item to be modified.
[0161] Based on the new configuration information modification request, the data structure to which the configuration item to be modified belongs is modified.
[0162] The second threshold can be an empirical or experimental value, or it can be determined based on the actual situation. For example, the second threshold can be set to 90 seconds.
[0163] If a successful modification result is received before a new configuration information modification request is generated, the current modification result can be directly fed back to the corresponding group client without having to generate a new configuration information modification request.
[0164] For each configuration item to be modified, if the modification result of the configuration item is a failure, a new configuration information modification request is generated based on the modification information of the configuration item, provided that the time between the current time and the time of the last modification of the data structure to which the configuration item belongs is equal to the second threshold. Based on the new configuration information modification request, the data structure to which the configuration item belongs is modified. This can avoid the situation where the corresponding modification result is determined to be a failure due to the delay in receiving the modification result of the configuration item to be modified, and the configuration item to be modified is modified again, resulting in duplicate processing and increased data processing volume.
[0165] The solution provided in this application enables rapid configuration changes for configuration items in at least two groups associated with the same management client, especially when dealing with the issue of modifying configuration items in at least two groups. It quickly responds to configuration modification requests, reduces waiting time, and improves control and management efficiency for at least two groups associated with the same management client. Furthermore, the solution is simple to implement. By feeding back the corresponding modification results to the group client, group administrators can obtain real-time configuration information for each configuration item in that group.
[0166] Furthermore, for each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the modification result is fed back to the corresponding group client. This enables asynchronous processing of the feedback process and the modification process, avoiding overlap between processes and further optimizing the control capabilities over the groups associated with the management client.
[0167] Optionally, each configuration item in each group is stored as a Boolean value in the corresponding data structure. The above-mentioned modification of the data structures to which at least two configuration items to be modified belong in parallel, based on modification information of at least two configuration items to be modified, includes:
[0168] Based on the modification information of at least two configuration items to be modified, the boolean values of at least two configuration items to be modified in the data structures to which the corresponding at least two configuration items to be modified are modified in parallel.
[0169] The above methods may also include:
[0170] For any configuration item, if the duration of the current time and the last modification time of the boolean value of that configuration item is greater than the second threshold, the boolean value of that configuration item is set to the initial value.
[0171] In this implementation, for any configuration item, the initial value of its Boolean value can be set to the same Boolean value, for example, false. This ensures that when a new configuration item is added to the data structure corresponding to any group, the newly added configuration item is compatible with the existing configuration items in that data structure.
[0172] By storing each configuration item as a Boolean value, and modifying the corresponding Boolean value when modifying the configuration item to be modified, the data processing process can be simplified, and the data management efficiency can be further improved.
[0173] As an example, for a group, the configuration items corresponding to the group can include the conditions for any new member to join the group, the permission of existing members to invite new members to join the group, and the permission to modify the group identifier. Correspondingly, in the data structure corresponding to the group, the initial value of the condition b_only_parents_inlist for any new member to join the group can be set to false, the initial value of the permission b_invite_confirm for existing members to invite new members to join the group can be set to false, and the initial value of the permission b_disablerename for modifying the group identifier can be set to false.
[0174] The configuration information modification requests for this group can be set as follows: For the condition `b_only_parents_inlist` for any new member joining the group, the corresponding modification can be: Only parents in the parent-teacher communication channel can join this group; the boolean value can be changed from `false` to `true`. For the permission `b_invite_confirm` for members within the group to invite new members, the corresponding modification can be: After a new member accepts an invitation, they need confirmation from the group administrator before joining the group; the boolean value can be changed from `false` to `true`. For the permission `b_disablerename` to modify the group identifier, the corresponding modification can be: Disallow modification of the group name; the boolean value can be changed from `false` to `true`.
[0175] When responding to configuration information modification requests, the response rate can be accelerated by modifying the boolean value of the corresponding configuration item in the data structure to which each configuration item belongs in parallel based on the modification information of each configuration item to be modified.
[0176] Meanwhile, for any configuration item, if the duration between the current time and the last modification time of the boolean value of that configuration item exceeds a second threshold, the boolean value of that configuration item is set to its initial value. This ensures that newly added configuration items in any group are compatible with existing configuration items in the data structure. The second threshold can be determined based on actual circumstances, and this embodiment does not impose any restrictions on it. Alternatively, the second threshold can be set as the default value for the boolean value of the configuration item first added to the group when the number of newly added configuration items exceeds a certain threshold (e.g., 10).
[0177] Optionally, each group has configuration items of the same type, and at least two configuration items to be modified are configuration items of the same type to be modified for each of at least two groups.
[0178] The above response to a configuration information modification request, determining the data structure to which each configuration item to be modified belongs, may include:
[0179] In response to a configuration information modification request, determine the data structure of the corresponding group in at least two groups to which each configuration item to be modified belongs;
[0180] The above-mentioned parallel modification of the data structures to which at least two configuration items belong, based on modification information of at least two configuration items to be modified, may include:
[0181] Based on the modification information of the same type of configuration items to be modified in each of at least two groups, the configuration items to be modified in the data structure of the corresponding groups to which the corresponding at least two configuration items to be modified belong are modified in parallel.
[0182] In this implementation, a configuration information modification request refers to the modification information of configuration items of the same type to be modified in each of at least two groups associated with the management client. Correspondingly, in the configuration information modification request, the group identifier corresponding to each configuration item to be modified should be different, and the data structure to which each configuration item belongs should also be different, but the modification information of each configuration item to be modified should be the same. For example, a configuration information modification request could be to modify configuration item C1 in each of groups 1 to 30 to c6.
[0183] Upon receiving a configuration information modification request, the data structure of the response group to which each configuration item to be modified belongs can be determined based on the group identifier corresponding to each configuration item in the request. Alternatively, a request to obtain the data structure can be sent to the group server corresponding to each group identifier, thereby receiving the data structure of the corresponding group to which each configuration item to be modified belongs, returned by the group server.
[0184] Of course, to reduce the amount of data processing, only the configuration items to be modified in the determined data structure can be modified. When the configuration information modification request is for modification information of the same type of configuration items in each of at least two groups associated with the management client, the configuration items to be modified in the data structure of the corresponding group to which each configuration item belongs can be modified in parallel based on the modification information of the same type of configuration items in each group.
[0185] This method allows modification of the same type of configuration item to be modified in at least two different groups associated with the management client.
[0186] Optionally, at least two configuration items to be modified are at least two configuration items of different types from any of at least two groups.
[0187] The above response to a configuration information modification request, determining the data structure to which each configuration item to be modified belongs, may include:
[0188] In response to a configuration information modification request, determine the data structure of any of the above groups corresponding to the configuration information modification request;
[0189] The above-mentioned parallel modification of the data structures to which at least two configuration items belong, based on modification information of at least two configuration items to be modified, may include:
[0190] Based on the modification information of at least two different types of configuration items to be modified in any of the at least two groups, at least two corresponding configuration items to be modified in the data structure of any of the above groups are modified in parallel.
[0191] In this implementation, a configuration information modification request refers to the modification information of at least two different types of configuration items to be modified within any group associated with the management client. Correspondingly, in the configuration information modification request, the group identifier corresponding to each configuration item to be modified should be the same, and the data structure to which each configuration item belongs should also be the same; that is, the data structure to which each configuration item belongs in the configuration information modification request is the data structure of the group corresponding to the configuration information modification request. In this configuration information modification request, the modification information for each configuration item to be modified should be different. For example, a configuration information modification request could be to modify configuration item A1 in group 1 to a6, configuration item B3 in group 1 to b7, and configuration item C2 in group 1 to c13.
[0192] Upon receiving a configuration modification request, the data structure of the group corresponding to the request can be determined based on the group identifier corresponding to any configuration item to be modified in the request. Alternatively, based on the group identifier corresponding to any configuration item to be modified in the request, a request to obtain the data structure can be sent to the group server corresponding to that group identifier, thereby receiving the data structure returned by the group server and using the received data structure as the data structure of the group corresponding to the configuration modification request.
[0193] Of course, to reduce the amount of data processing, modifications can be made only to the configuration items to be modified within the defined data structure. When the configuration information modification request involves modification information for at least two different types of configuration items within any group associated with the management client, the configuration items within the defined data structure can be modified in parallel based on the modification information for different types of configuration items within that group.
[0194] This method allows modification of the same type of configuration item to be modified in any group associated with the management client.
[0195] In addition to the methods described above for modifying the same type of configuration items to be modified in each of at least two groups associated with the management client, and for modifying multiple configuration items of the same type to be modified in any group associated with the management client, it is also possible to modify configuration items of different types associated with the management client. Specifically, when modifying configuration items of different types associated with the management client, the modification method for the same type of configuration items to be modified in each of at least two groups associated with the management client can be used as a reference.
[0196] Optionally, the above-mentioned response to a configuration information modification request, determining the data structure to which each configuration item to be modified belongs, may include:
[0197] In response to a configuration information modification request, determine whether there is a pending request queue that is the same as the configuration information modification request. The pending request queue is generated based on unprocessed historical configuration information modification requests received from the historical configuration information modification requests.
[0198] If there is no pending request in the pending request queue that is the same as the above configuration information modification request, add the above configuration information modification request to the pending request queue and return a prompt message to the management client, indicating that the above configuration information modification request is a pending request;
[0199] If a request with the same configuration information modification request as described above already exists in the pending request queue, the above prompt message will be returned directly to the management client.
[0200] Based on each pending request in the pending request queue, determine the data structure to which each pending configuration item in each pending request belongs;
[0201] The above-mentioned modification information based on at least two configuration items to be modified involves parallel modification of the data structure to which each configuration item belongs, including:
[0202] Based on the modification information of at least two configuration items to be modified corresponding to each pending request, at least two configuration items to be modified in parallel are modified in the data structure to which each pending configuration item belongs in each pending request.
[0203] As mentioned earlier, considering the stability of the management server, a threshold for the parallel processing capacity of the management server can be preset. Since the number of configuration modification items in each configuration information modification request may be less than the parallel processing capacity threshold, the management server can also process at least two configuration information modification requests in parallel to improve data management efficiency.
[0204] In this implementation, after receiving a configuration information modification request, it is compared with each unprocessed historical configuration information modification request in the pending request queue. If it is determined that there is no newly received configuration information modification request in the pending request queue, the newly received configuration information modification request is added to the pending request queue. This avoids the management server from processing the same configuration information modification request repeatedly, thereby reducing the amount of data and improving data processing efficiency.
[0205] In addition, if there is already a pending request in the pending request queue that is the same as the newly received configuration information modification request, the prompt message sent to the management client can also include "A duplicate configuration information modification request has been received" to prevent the management client from repeatedly initiating the same configuration information modification request.
[0206] By sending a notification message to the management client after saving the newly received configuration modification request to the pending request queue, the management client can be notified that a new configuration modification request has been received and will respond to the configuration modification request, thus improving the user experience.
[0207] The following combination Figure 8 The execution process of the data management method provided in the embodiments of this application will be further explained. Figure 8 This illustration shows another flowchart of a data management method provided in an embodiment of this application. Figure 8 As shown, this data processing method can specifically include:
[0208] Step S11: The user (i.e. the management client) initiates a batch configuration group request (i.e. the above configuration information modification request).
[0209] Step S12: Verify the validity of the request (i.e., verify the identity information of the management client as described above). If the request is valid, proceed to step S13; if the request is invalid, proceed to step S18.
[0210] Step S13: Determine if there are duplicate requests in the message waiting queue (i.e., the queue of requests to be processed mentioned above). If the result of step S13 is that there are duplicate requests, proceed to step S14. If the result of step S13 is that there are no duplicate requests, proceed to step S15.
[0211] Step S14: If there is a duplicate request, return a message indicating that the modification was successful (i.e., the above configuration information modification request is now a pending request).
[0212] Step S15: If there are no duplicate requests, add the request to the message queue and return a success message.
[0213] Step S16: After the successful modification is returned, the message waiting queue for the request starts processing (that is, the modification information of at least two configuration items to be modified is extracted from the configuration information modification request, and the corresponding configuration items to be modified are modified in parallel according to the modification information of the extracted at least two configuration items to be modified).
[0214] Step S17: Determine the execution result and the number of retries. If parallel execution fails (i.e., the modification result for any configuration item to be modified is a failure), and the number of retries is <3 (i.e., the number of modifications for any configuration item to be modified is less than the first threshold), proceed to step S18. If parallel execution fails, and the number of retries is ≥3 (i.e., the number of modifications for any configuration item to be modified is greater than or equal to the first threshold), proceed to step S19.
[0215] Step S18: Delayed delivery retry (i.e., if the time between the current time and the time when the data structure to which any configuration item to be modified was last modified is equal to the second threshold, a new configuration information modification request is generated based on the modification information of any configuration item to be modified), and the new configuration information modification request is added to the message waiting queue.
[0216] Step S19: End processing and report the results (i.e., the current modification results are fed back to the corresponding group client as the modification results for the data structure to which any configuration item to be modified belongs).
[0217] Based on the same principle as the data management method provided in the embodiments of this application, the embodiments of this application also provide a data management system. Figure 9 A schematic diagram of a data management system provided in an embodiment of this application is shown. Figure 9 As shown, the system 10 includes a collaboration server 11 and at least two data management servers 12. The collaboration server 11 is communicatively connected to each data management server 12, and each data management server 12 is associated with at least two groups 13.
[0218] Collaboration server 11 is used to send a configuration information modification request to at least one of at least two data management servers;
[0219] The configuration information modification request includes modification information for each of at least two configuration items to be modified, and the at least two configuration items to be modified correspond to at least one of the at least two groups associated with a data management server.
[0220] Each data management server 12 is used to perform the following operations after receiving a configuration information modification request:
[0221] In response to a configuration information modification request, determine the data structure to which each configuration item to be modified belongs. Each data structure stores a group of configuration items.
[0222] Based on the modification information of at least two configuration items to be modified, the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel;
[0223] For each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the modification result is fed back to the group client corresponding to the configuration item to be modified. The group client corresponding to the configuration item to be modified is the client of the object in the group corresponding to the data structure to which the configuration item belongs.
[0224] A data management system can be used by any enterprise to manage all groups within that enterprise. An enterprise may have multiple different types of groups, and each type of group may include multiple subgroups.
[0225] To improve data processing efficiency, this application presents an innovative top-down approach that manages groups sequentially according to different management levels. The specific management levels can be as follows: a level for managing all types of groups within the enterprise (the corresponding management object can be a super administrator), a level for managing groups of the same type within the enterprise (the corresponding management object can be an enterprise administrator), and a level for managing each group (the corresponding management object can be a group administrator).
[0226] In this implementation, all types of groups within an enterprise can be managed based on a collaboration server, groups of the same type within an enterprise can be managed based on a data management server, and each group can be managed based on a group server.
[0227] In practical implementation, a collaboration server can send configuration information modification requests for managing all types of groups to the corresponding group management servers, which then modify the configuration items of their associated groups. The collaboration server can send configuration information modification requests to each group management server simultaneously, or it can send them to some data management servers, depending on the actual situation. This embodiment does not impose any restrictions on this.
[0228] The method described above for responding to configuration information modification requests can be referred to, which enables each data management server to modify the configuration items of each group it manages based on the configuration information modification request. This application embodiment does not limit this process.
[0229] By adopting a top-down approach, configuration items for multiple groups within an enterprise can be modified simply and quickly. This enables rapid configuration changes for at least two groups within the same enterprise, quickly responding to configuration modification requests, reducing waiting time, and improving control and management efficiency for at least two groups within the same enterprise. Furthermore, because the modification and feedback processes are implemented asynchronously, asynchronous processing of modification and feedback processes is achieved, avoiding overlap between processes and further optimizing the control capabilities for groups associated with the management client.
[0230] As a concrete example, taking a school as a case study, groups can be categorized according to their type. Specifically, these could include teacher groups for academic administration, parent-teacher groups for communication, and groups for logistical support. For teacher groups used for academic administration, different groups can be created based on different learning stages, such as primary school teacher groups and secondary school teacher groups. Further, different groups can be created based on grade level. Primary school teacher groups could include separate groups for each grade level.
[0231] To improve the security of communication within various groups within the school, all groups need to be configured so that only group administrators can invite new members to join. Specifically, for the configuration item "Invite new members to join," the corresponding modification information is "Change the 'Invite new members to join' configuration item in the group to 'Only group administrators can invite new members to join the corresponding group.'" This can be achieved by the super administrator initiating a trigger operation on their client. The collaboration server, based on this trigger operation, generates a configuration information modification request for "changing all group configuration items to 'Only group administrators can invite new members to join the corresponding group.'" This request is then sent to all data management servers with which the collaboration server has established communication connections. Upon receiving the configuration information modification request, each data management server, in parallel, modifies the boolean value of the "Invite new members to join" configuration item in the data structure of each associated group, and after successful modification, sends the result to the corresponding group administrator.
[0232] Based on the same principle as the data management method provided in the embodiments of this application, the embodiments of this application also provide a data management device. Figure 10 This application provides a schematic diagram of the structure of a data management device according to an embodiment of the present application. Figure 10 As shown, the device 900 includes:
[0233] The request receiving module 901 is used to receive configuration information modification requests from the management client. The management client is associated with at least two groups. The configuration information modification request includes modification information for each of the at least two configuration items to be modified. The at least two configuration items to be modified correspond to at least one of the at least two groups.
[0234] The request processing module 902 is used to respond to configuration information modification requests and determine the data structure to which each configuration item to be modified belongs. Each data structure stores a group of configuration items.
[0235] Based on the modification information of each configuration item to be modified, the data structure to which each configuration item belongs is modified in parallel;
[0236] The processing result feedback module 903 is used to, for each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, feed back the modification result to the corresponding group client.
[0237] Optionally, each group has configuration items of the same type, and at least two configuration items to be modified are configuration items of the same type to be modified for each of at least two groups.
[0238] When responding to a configuration information modification request and determining the data structure to which each configuration item to be modified belongs, the aforementioned request processing module 902 can be specifically used for:
[0239] In response to a configuration information modification request, determine the data structure of the corresponding group in at least two groups to which each configuration item to be modified belongs;
[0240] When the request processing module 902 modifies the data structure of each configuration item in parallel based on the modification information of each configuration item to be modified, it can be specifically used for:
[0241] Based on the modification information of the same type of configuration items to be modified for each group, the configuration items to be modified in the data structure of the corresponding group to which each configuration item belongs are modified in parallel.
[0242] Optionally, at least two configuration items to be modified are at least two configuration items of different types from any of at least two groups.
[0243] When responding to a configuration information modification request and determining the data structure to which each configuration item to be modified belongs, the aforementioned request processing module 902 can be specifically used for:
[0244] In response to a configuration information modification request, determine the data structure of any of the above groups corresponding to the configuration information modification request;
[0245] When the request processing module 902 modifies the data structure of each configuration item in parallel based on the modification information of each configuration item to be modified, it can be specifically used for:
[0246] Based on modification information for at least two different types of configuration items to be modified for any of the above groups, the configuration items to be modified in the data structure of any of the above groups are modified in parallel.
[0247] Optionally, when responding to a configuration information modification request and determining the data structure to which each configuration item to be modified belongs, the request processing module 902 can specifically be used to:
[0248] In response to a configuration information modification request, determine whether there is a pending request queue that is the same as the configuration information modification request. The pending request queue is generated based on unprocessed historical configuration information modification requests received from the historical configuration information modification requests.
[0249] If there is no pending request in the pending request queue that is the same as the above configuration information modification request, add the above configuration information modification request to the pending request queue and return a prompt message to the management client, indicating that the above configuration information modification request is a pending request;
[0250] If a request with the same configuration information modification request as described above already exists in the pending request queue, the above prompt message will be returned directly to the management client.
[0251] Based on each pending request in the pending request queue, determine the data structure to which each pending configuration item in each pending request belongs;
[0252] When the request processing module 902 modifies the data structure of each configuration item in parallel based on the modification information of each configuration item to be modified, it can be specifically used for:
[0253] Based on the modification information of each configuration item to be modified corresponding to each pending request, the configuration items to be modified in the data structure to which each configuration item to be processed in each pending request belongs are modified in parallel.
[0254] Optionally, when the processing result feedback module 903 sends the modification result to the corresponding group client for each configuration item to be modified, it can be specifically used for:
[0255] If the modification result is a failure, and the number of modifications to the configuration item to be modified is less than the first threshold, the data structure to which the configuration item belongs is modified again based on the modification information of the configuration item to be modified. This modification step is repeated until the modification result is updated to a successful modification or the number of modifications to the configuration item to be modified is greater than or equal to the first threshold. The current modification result is then fed back to the corresponding group client.
[0256] If the modification is successful, the result will be sent to the corresponding group client.
[0257] Optionally, when the processing result feedback module 903 modifies the data structure to which any configuration item to be modified belongs based on the modification information of the configuration item to be modified, it may include:
[0258] If the time between the current time and the time when the data structure to which the configuration item to be modified was last modified is equal to the second threshold, a new configuration information modification request is generated based on the modification information of the configuration item to be modified.
[0259] Based on the new configuration information modification request, the data structure to which the configuration item to be modified belongs is modified.
[0260] Optionally, each configuration item in each group is stored as a Boolean value in the corresponding data structure. When the request processing module 902 modifies the data structure to which each configuration item belongs in parallel based on the modification information of each configuration item to be modified, it can be specifically used for:
[0261] Based on the modification information of each configuration item to be modified, the Boolean values of the corresponding configuration items to be modified in the data structure to which each configuration item belongs are modified in parallel;
[0262] The aforementioned device 900 can also be used for:
[0263] For any configuration item, if the duration of the current time and the last modification time of the boolean value of that configuration item is greater than the second threshold, the boolean value of that configuration item is set to the initial value.
[0264] Optionally, the configuration information request may also include the identity information to be verified for the management client. When responding to a configuration information modification request and determining the data structure to which each configuration item to be modified belongs, the request processing module 902 may specifically be used for:
[0265] In response to a configuration information modification request, the system retrieves the pre-stored real identity information of the management client based on the identity information to be verified.
[0266] If the found real identity information matches the identity information to be verified, the identity verification result of the management client is determined to be successful, and the data structure to which each configuration item to be modified belongs is determined.
[0267] The apparatus in this application embodiment can execute the method provided in this application embodiment, and the implementation principle is similar. The actions performed by each module in the apparatus of each embodiment of this application correspond to the steps in the method of each embodiment of this application. For detailed functional descriptions of each module of the apparatus, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.
[0268] Based on the same principles as the data management methods and apparatus provided in the embodiments of this application, the embodiments of this application also provide an electronic device (such as a server), which may include a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the steps of the method provided in any optional embodiment of this application.
[0269] Optionally, Figure 11 A schematic diagram of the structure of an electronic device to which this application embodiment applies is shown, such as... Figure 11 As shown, Figure 11 The illustrated electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of this application.
[0270] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0271] Bus 4002 may include a pathway for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 11 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0272] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium capable of carrying or storing computer programs and capable of being read by a computer, without limitation herein.
[0273] The memory 4003 stores computer programs that execute embodiments of this application, and its execution is controlled by the processor 4001. The processor 4001 executes the computer programs stored in the memory 4003 to implement the steps shown in the foregoing method embodiments.
[0274] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it can implement the steps and corresponding content of the aforementioned method embodiments.
[0275] This application also provides a computer program product, including a computer program that, when executed by a processor, can implement the steps and corresponding content of the aforementioned method embodiments.
[0276] The terms "first," "second," "third," "fourth," "1," "2," etc. (if present) in the specification, claims, and accompanying drawings of this application 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 application described herein can be implemented in a sequence other than that shown in the figures or text.
[0277] It should be understood that although arrows indicate various operation steps in the flowcharts of this application's embodiments, the order in which these steps are implemented is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of this application's embodiments, the implementation steps in each flowchart can be executed in other orders as required. Furthermore, some or all steps in each flowchart, based on the actual implementation scenario, may include multiple sub-steps or multiple stages. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage can also be executed at different times. In scenarios where execution times differ, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and this application's embodiments do not limit this.
[0278] The above description is only an optional implementation method for some implementation scenarios of this application. It should be noted that for those skilled in the art, other similar implementation methods based on the technical concept of this application without departing from the technical concept of this application also fall within the protection scope of the embodiments of this application.
Claims
1. A data management method, characterized in that, The method includes: The system receives a configuration information modification request initiated by the management client in response to the operation information of the management object on the display interface of the management client. The management client is associated with at least two groups. The configuration information modification request includes modification information for each of the at least two configuration items to be modified and the identity information of the management client to be verified. The at least two configuration items to be modified correspond to at least one of the at least two groups. In response to the configuration information modification request, the real identity information of the management client is retrieved from the pre-stored database based on the identity information to be verified. If the found real identity information matches the identity information to be verified, the identity verification result of the management client is determined to be passed, and the data structure to which each of the configuration items to be modified belongs is determined. Each data structure stores the configuration items of a group. Based on the modification information of at least two configuration items to be modified, the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel; For each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the modification result is fed back to the group client corresponding to the configuration item to be modified, and the modification result is displayed through the display interface of the group client corresponding to the configuration item to be modified. The group client corresponding to the configuration item to be modified is the client of the object in the group corresponding to the data structure to which the configuration item belongs.
2. The method according to claim 1, characterized in that, Each group has configuration items of the same type, and the at least two configuration items to be modified are configuration items of the same type to be modified for each of the at least two groups. Determining the data structure to which each of the configuration items to be modified belongs includes: Determine the data structure of the corresponding group in the at least two groups to which each of the configuration items to be modified belongs; The step of modifying the data structures to which the corresponding at least two configuration items to be modified belong in parallel based on the modification information of at least two configuration items to be modified includes: Based on the modification information of the same type of configuration items to be modified in each of the at least two groups, the configuration items to be modified in the data structure of the corresponding groups to which the at least two configuration items to be modified belong are modified in parallel.
3. The method according to claim 1, characterized in that, The at least two configuration items to be modified are at least two configuration items of different types from any of the at least two groups. Determining the data structure to which each of the configuration items to be modified belongs includes: Determine the data structure of any group corresponding to the configuration information modification request; The step of modifying the data structures to which the corresponding at least two configuration items to be modified belong in parallel based on the modification information of at least two configuration items to be modified includes: Based on the modification information of at least two different types of configuration items to be modified in any of the at least two groups, at least two corresponding configuration items to be modified in the data structure of any group are modified in parallel.
4. The method according to any one of claims 1 to 3, characterized in that, Determining the data structure to which each of the configuration items to be modified belongs includes: Determine whether there is a pending request queue that is the same as the configuration information modification request. The pending request queue is generated based on unprocessed historical configuration information modification requests among the received historical configuration information modification requests. If there is no pending request in the pending request queue that is the same as the configuration information modification request, the configuration information modification request is added to the pending request queue, and a prompt message is returned to the management client, the prompt message indicating that the configuration information modification request is a pending request; If a request identical to the configuration information modification request already exists in the pending request queue, the prompt message is returned directly to the management client. Based on each pending request in the pending request queue, determine the data structure to which each configuration item to be modified in each pending request belongs; The step of modifying the data structures to which the corresponding at least two configuration items to be modified belong in parallel based on the modification information of at least two configuration items to be modified includes: Based on the modification information of at least two configuration items to be modified corresponding to each pending request, at least two configuration items to be modified in the data structure to which each configuration item to be modified belongs in each pending request are modified in parallel.
5. The method according to any one of claims 1 to 3, characterized in that, For each of the configuration items to be modified, the step of feeding back the modification result to the group client corresponding to the configuration item to be modified includes: If the modification result is a modification failure, and the number of modifications to the configuration item to be modified is less than the first threshold, the data structure to which the configuration item to be modified belongs is modified again based on the modification information of the configuration item to be modified. The modification steps are repeated until the modification result is updated to a modification success or the number of modifications to the configuration item to be modified is greater than or equal to the first threshold. The current modification result is then fed back to the group client corresponding to the configuration item to be modified. If the modification result is successful, the modification result will be sent back to the group client corresponding to the configuration item to be modified.
6. The method according to claim 5, characterized in that, The step of modifying the data structure to which the configuration item to be modified belongs based on the modification information of the configuration item to be modified includes: If the time interval between the current time and the time when the data structure to which the configuration item to be modified was last modified is equal to the second threshold, a new configuration information modification request is generated based on the modification information of the configuration item to be modified. Based on the new configuration information modification request, the data structure to which the configuration item to be modified belongs is modified.
7. The method according to any one of claims 1 to 3, characterized in that, Each configuration item in each group is stored as a Boolean value in its corresponding data structure. The process of modifying the data structures of at least two configuration items to be modified in parallel, based on modification information for at least two of the configuration items to be modified, includes: Based on the modification information of the at least two configuration items to be modified, the Boolean values of the at least two configuration items to be modified in the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel; The method further includes: For any configuration item, if the duration between the current time and the last modification time of the Boolean value of the configuration item is greater than the second threshold, the Boolean value of the configuration item is set to the corresponding initial value.
8. A data management system, characterized in that, The system includes a collaboration server and at least two data management servers. The collaboration server establishes a communication connection with each of the data management servers, and each of the data management servers is associated with at least two groups. The collaborative server is used to send a configuration information modification request to at least one of the at least two data management servers in response to the operation information of the management object on the display interface of the management client. The configuration information modification request includes modification information for each of at least two configuration items to be modified and the identity information to be verified of the management client. The at least two configuration items to be modified correspond to at least one of at least two groups associated with a data management server. Each of the data management servers is configured to perform the following operations upon receiving the configuration information modification request: In response to the configuration information modification request, the real identity information of the management client is retrieved from the pre-stored database based on the identity information to be verified. If the found real identity information matches the identity information to be verified, the identity verification result of the management client is determined to be passed, and the data structure to which each of the configuration items to be modified belongs is determined. Each data structure stores the configuration items of a group. Based on the modification information of at least two configuration items to be modified, the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel; For each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, the modification result is fed back to the group client corresponding to the configuration item to be modified, and the modification result is displayed through the display interface of the group client corresponding to the configuration item to be modified. The group client corresponding to the configuration item to be modified is the client of the object in the group corresponding to the data structure to which the configuration item belongs.
9. The system according to claim 8, characterized in that, Each group has configuration items of the same type, and the at least two configuration items to be modified are configuration items of the same type to be modified for each of the at least two groups. When determining the data structure to which each configuration item to be modified belongs, the data management server is used to: Determine the data structure of the corresponding group in the at least two groups to which each of the configuration items to be modified belongs; When the data management server performs parallel modifications on the data structures to which the corresponding at least two configuration items to be modified belong, based on modification information of at least two configuration items to be modified, it is used to: Based on the modification information of the same type of configuration items to be modified in each of the at least two groups, the configuration items to be modified in the data structure of the corresponding groups to which the at least two configuration items to be modified belong are modified in parallel.
10. The system according to claim 8, characterized in that, The at least two configuration items to be modified are at least two configuration items of different types from any of the at least two groups. When determining the data structure to which each configuration item to be modified belongs, the data management server is used to: Determine the data structure of any group corresponding to the configuration information modification request; When the data management server performs parallel modifications on the data structures to which the corresponding at least two configuration items to be modified belong, based on modification information of at least two configuration items to be modified, it is used to: Based on the modification information of at least two different types of configuration items to be modified in any of the at least two groups, at least two corresponding configuration items to be modified in the data structure of any group are modified in parallel.
11. The system according to any one of claims 8 to 10, characterized in that, When determining the data structure to which each configuration item to be modified belongs, the data management server is used to: Determine whether there is a pending request queue that is the same as the configuration information modification request. The pending request queue is generated based on unprocessed historical configuration information modification requests among the received historical configuration information modification requests. If there is no pending request in the pending request queue that is the same as the configuration information modification request, the configuration information modification request is added to the pending request queue, and a prompt message is returned to the management client, the prompt message indicating that the configuration information modification request is a pending request; If a request identical to the configuration information modification request already exists in the pending request queue, the prompt message is returned directly to the management client. Based on each pending request in the pending request queue, determine the data structure to which each pending configuration item in each pending request belongs; When the data management server performs parallel modifications on the data structures to which the corresponding at least two configuration items to be modified belong, based on modification information of at least two configuration items to be modified, it is used to: Based on the modification information of at least two configuration items to be modified corresponding to each pending request, at least two configuration items to be modified in the data structure to which each pending configuration item belongs in each pending request are modified in parallel.
12. The system according to any one of claims 8 to 10, characterized in that, When the data management server sends the modification result back to the group client corresponding to each of the configuration items to be modified, it is used to: If the modification result is a modification failure, and the number of modifications to the configuration item to be modified is less than the first threshold, the data structure to which the configuration item to be modified belongs is modified again based on the modification information of the configuration item to be modified. The modification steps are repeated until the modification result is updated to a modification success or the number of modifications to the configuration item to be modified is greater than or equal to the first threshold. The current modification result is then fed back to the group client corresponding to the configuration item to be modified. If the modification result is successful, the modification result will be sent back to the group client corresponding to the configuration item to be modified.
13. The system according to claim 12, characterized in that, When the data management server modifies the data structure to which the configuration item to be modified belongs based on the modification information of the configuration item to be modified, it is used to: If the time interval between the current time and the time when the data structure to which the configuration item to be modified was last modified is equal to the second threshold, a new configuration information modification request is generated based on the modification information of the configuration item to be modified. Based on the new configuration information modification request, the data structure to which the configuration item to be modified belongs is modified.
14. The system according to any one of claims 8 to 10, characterized in that, Each configuration item in each group is stored as a Boolean value in its corresponding data structure. When the data management server modifies the data structures to which at least two configuration items belong in parallel based on modification information for those two items, it uses the following methods: Based on the modification information of the at least two configuration items to be modified, the Boolean values of the at least two configuration items to be modified in the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel; The data management server is also used for: For any configuration item, if the duration between the current time and the last modification time of the Boolean value of the configuration item is greater than the second threshold, the Boolean value of the configuration item is set to the corresponding initial value.
15. A data management device, characterized in that, include: The request receiving module is used to receive a configuration information modification request initiated by the management client in response to the operation information of the management object on the display interface of the management client. The management client is associated with at least two groups. The configuration information modification request includes the modification information of each of the at least two configuration items to be modified and the identity information of the management client to be verified. The at least two configuration items to be modified correspond to at least one of the at least two groups. The request processing module is used to respond to the above configuration information modification request and, based on the identity information to be verified, search for the pre-stored real identity information of the management client. If the found real identity information matches the identity information to be verified, the identity verification result of the management client is determined to be passed, and the data structure to which each of the configuration items to be modified belongs is determined. Each data structure stores the configuration items of a group. Based on the modification information of at least two configuration items to be modified, the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel; The processing result feedback module is used to, for each configuration item to be modified, after obtaining the modification result of the data structure to which the configuration item belongs, feed back the modification result to the group client corresponding to the configuration item to be modified, and display the modification result through the display interface of the group client corresponding to the configuration item to be modified. The group client corresponding to the configuration item to be modified is the client of the object in the group corresponding to the data structure to which the configuration item to be modified belongs.
16. The apparatus according to claim 15, characterized in that, Each group has configuration items of the same type, and the at least two configuration items to be modified are configuration items of the same type to be modified for each of the at least two groups. When determining the data structure to which each configuration item to be modified belongs, the request processing module is used to: Determine the data structure of the corresponding group in the at least two groups to which each of the configuration items to be modified belongs; When the request processing module performs parallel modifications on the data structures to which the corresponding at least two configuration items to be modified belong, based on the modification information of at least two configuration items to be modified, it is used to: Based on the modification information of the same type of configuration items to be modified in each of the at least two groups, the configuration items to be modified in the data structure of the corresponding groups to which the at least two configuration items to be modified belong are modified in parallel.
17. The apparatus according to claim 15, characterized in that, The at least two configuration items to be modified are at least two configuration items of different types from any of the at least two groups. When determining the data structure to which each configuration item to be modified belongs, the request processing module is used to: Determine the data structure of any group corresponding to the configuration information modification request; When the request processing module performs parallel modifications on the data structures to which the corresponding at least two configuration items to be modified belong, based on the modification information of at least two configuration items to be modified, it is used to: Based on the modification information of at least two different types of configuration items to be modified in any of the at least two groups, at least two corresponding configuration items to be modified in the data structure of any group are modified in parallel.
18. The apparatus according to any one of claims 15 to 17, characterized in that, When determining the data structure to which each configuration item to be modified belongs, the request processing module is used to: Determine whether there is a pending request queue that is the same as the configuration information modification request. The pending request queue is generated based on unprocessed historical configuration information modification requests among the received historical configuration information modification requests. If there is no pending request in the pending request queue that is the same as the configuration information modification request, the configuration information modification request is added to the pending request queue, and a prompt message is returned to the management client, the prompt message indicating that the configuration information modification request is a pending request; If a request identical to the configuration information modification request already exists in the pending request queue, the prompt message is returned directly to the management client. Based on each pending request in the pending request queue, determine the data structure to which each pending configuration item in each pending request belongs; When the request processing module performs parallel modifications on the data structures to which the corresponding at least two configuration items to be modified belong, based on the modification information of at least two configuration items to be modified, it is used to: Based on the modification information of at least two configuration items to be modified corresponding to each pending request, at least two configuration items to be modified in the data structure to which each pending configuration item belongs in each pending request are modified in parallel.
19. The apparatus according to any one of claims 15 to 17, characterized in that, When the processing result feedback module sends the modification result to the group client corresponding to each configuration item to be modified, it is used to: If the modification result is a modification failure, and the number of modifications to the configuration item to be modified is less than the first threshold, the data structure to which the configuration item to be modified belongs is modified again based on the modification information of the configuration item to be modified. The modification steps are repeated until the modification result is updated to a modification success or the number of modifications to the configuration item to be modified is greater than or equal to the first threshold. The current modification result is then fed back to the group client corresponding to the configuration item to be modified. If the modification result is successful, the modification result will be sent back to the group client corresponding to the configuration item to be modified.
20. The apparatus according to claim 19, characterized in that, When the processing result feedback module modifies the data structure to which the configuration item to be modified belongs based on the modification information of the configuration item to be modified, it is used to: If the time interval between the current time and the time when the data structure to which the configuration item to be modified was last modified is equal to the second threshold, a new configuration information modification request is generated based on the modification information of the configuration item to be modified. Based on the new configuration information modification request, the data structure to which the configuration item to be modified belongs is modified.
21. The apparatus according to any one of claims 15 to 17, characterized in that, Each configuration item in each group is stored as a Boolean value in its corresponding data structure. When the request processing module modifies the data structures to which at least two configuration items to be modified belong in parallel based on the modification information of at least two of the configuration items to be modified, it is used to: Based on the modification information of the at least two configuration items to be modified, the Boolean values of the at least two configuration items to be modified in the data structures to which the corresponding at least two configuration items to be modified belong are modified in parallel; The request processing module is further configured to: For any configuration item, if the duration between the current time and the last modification time of the Boolean value of the configuration item is greater than the second threshold, the Boolean value of the configuration item is set to the corresponding initial value.
22. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1-7.
23. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-7.
24. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-7.
Citation Information
Patent Citations
Configuration information management method and configuration information management device
CN105915369A