Method, apparatus and electronic device for data processing
By acquiring multi-dimensional attribute information and calling business templates, the problem that single-dimensional permission control in existing technologies cannot take into account multi-dimensional data management is solved, and flexible multi-dimensional data management and configuration are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD
- Filing Date
- 2022-11-11
- Publication Date
- 2026-08-04
AI Technical Summary
In existing technologies, data resource management cannot take into account multi-dimensional data access management by relying solely on single-dimensional access control. This results in data classification models failing to simultaneously consider attributes such as industry, region, time, organization, and participants, requiring extensive business coding coupling.
By obtaining multi-dimensional attribute information from business requests, the corresponding business template is called from the business template set according to the business request, and data resource information is saved according to the business template, thus realizing multi-dimensional data management.
It enables multi-dimensional data management, reduces business coding coupling, improves the efficiency and flexibility of data management, and supports the configuration and management of data resources across multiple industries.
Smart Images

Figure CN115712423B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing, and more specifically, to a data processing method, apparatus, and electronic device. Background Technology
[0002] Many software development products on the market manage data resources based on access control of business data resources, and manage data requests using a single dimension, which cannot simultaneously take into account multi-dimensional data management.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This application provides a data processing method, apparatus, and electronic device to at least solve the technical problem that existing technologies use permission control to manage access to business data resources and manage data requests using a single dimension, which cannot simultaneously take into account multi-dimensional data management.
[0005] According to one aspect of the embodiments of this application, a data processing method is provided, comprising: obtaining data resource information in a business request, wherein the data resource information includes at least one of the following: industry attribute information, regional attribute information, time attribute information, organization attribute information, and participant attribute information; based on the business request, calling a business template corresponding to the business request from a set of business templates, wherein the business template includes attribute information determined by multiple dimensions; and saving the data resource information in the business request to a corresponding location in the business template according to the business template.
[0006] Optionally, the business template is obtained in the following manner: determining the attribute information contained in the business template from multiple dimensions, wherein the attribute information includes at least one of the following: industry attribute, region attribute, time attribute, organization attribute, participant attribute; combining the attribute information in multiple ways to obtain multiple business templates, wherein each business template includes at least one type of attribute information and authorization information corresponding to the attribute information.
[0007] Optionally, after obtaining multiple business templates, the method further includes: obtaining a first business template and a second business template from the multiple business templates; combining the first business template and the second business template according to a preset combination method to obtain a target business template, wherein the preset combination method includes at least one of the following: intersection, union, complement, and difference; and determining a set of business templates based on the target business template and the multiple business templates.
[0008] Optionally, after determining the set of business templates, the method further includes: obtaining a third business template and a fourth business template from the set of business templates; and determining the association configuration relationship between the third business template and the fourth business template, wherein the association configuration relationship is used to indicate that the fourth business template is managed through the third business template.
[0009] Optionally, retrieving the business template corresponding to the business request from the business template set includes: determining the first authorization information and the first attribute information in the business request; and determining the business template corresponding to the first authorization information and the first attribute information from the business template set.
[0010] Optionally, determining the business template corresponding to the first authorization information and the first attribute information from the business template set includes: obtaining the second authorization information and the second attribute information corresponding to the target template in the business template set, wherein the target template is any template in the business template set; comparing the first authorization information and the second authorization information to obtain a first comparison result; comparing the first attribute information and the second attribute information to obtain a second comparison result; and determining the target template as the business template corresponding to the business request if the first comparison result and the second comparison result are the same.
[0011] Optionally, the authorization information corresponding to the attribute information includes: when the authorization information is the first authorization information corresponding to the organization attribute in the attribute information, it supports calling the templates corresponding to the peer organization and the superior organization; when the authorization information is the second authorization information corresponding to the region attribute in the attribute information, it supports calling the templates corresponding to the peer region and the superior region; when the authorization information is the third authorization information corresponding to the participant attribute in the attribute information, it supports calling the templates corresponding to users with the same participant permissions; when the authorization information is the fourth authorization information corresponding to the time attribute in the attribute information, it supports calling the templates corresponding to users with the same time dimension.
[0012] According to another aspect of the embodiments of this application, a data processing apparatus is also provided, comprising: an acquisition module, configured to acquire data resource information in a business request, wherein the data resource information includes at least one of the following: industry attribute information, regional attribute information, time attribute information, organization attribute information, and participant attribute information; an invocation module, configured to invoke a business template corresponding to the business request from a set of business templates based on the business request, wherein the business template includes attribute information determined by multiple dimensions; and a storage module, configured to save the data resource information in the business request to a corresponding location in the business template according to the business template.
[0013] According to another aspect of the embodiments of this application, an electronic device is also provided, including: a memory for storing program instructions; and a processor connected to the memory for executing program instructions to perform the following functions: acquiring data resource information in a business request, wherein the data resource information includes at least one of the following: industry attribute information, regional attribute information, time attribute information, organization attribute information, and participant attribute information; based on the business request, calling a business template corresponding to the business request from a set of business templates, wherein the business template includes attribute information determined by multiple dimensions; and saving the data resource information in the business request to the corresponding location in the business template according to the business template.
[0014] According to another aspect of the embodiments of this application, a non-volatile storage medium is also provided, the non-volatile storage medium including a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-described data processing method by running the computer program.
[0015] In this embodiment, by obtaining data resource information from a business request, wherein the data resource information includes at least one of the following: industry attribute information, regional attribute information, time attribute information, organization attribute information, and participant attribute information; based on the business request, calling a business template corresponding to the business request from a set of business templates, wherein the business template includes attribute information determined by multiple dimensions; and according to the business template, saving the data resource information from the business request to the corresponding position in the business template, the purpose of classifying data from multiple dimensions to obtain a business template is achieved, thereby realizing the technical effect of improving data management capabilities. This solves the technical problem of existing technologies that control access to business data resources through permission control, manage data requests using a single dimension, and cannot simultaneously take into account multi-dimensional data management. Attached Figure Description
[0016] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0017] Figure 1 This is a hardware structure block diagram of a computer terminal (or electronic device) for implementing a data processing method according to an embodiment of this application;
[0018] Figure 2 This is a flowchart of a data processing method according to an embodiment of this application;
[0019] Figure 3 This is a structural diagram of a data processing apparatus according to an embodiment of this application. Detailed Implementation
[0020] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0021] It should be noted that the terms "first," "second," etc., 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 orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0022] In related technologies, the management of data resources is based on access control of business data resources through permissions. Data requests are managed using a single dimension, which cannot simultaneously take into account multi-dimensional data management. The data classification mode cannot simultaneously consider industry attributes, spatial (regional) attributes, time attributes, organizational (affiliation) attributes, participants and other attributes. As a result, a large amount of business code needs to be coupled in the implementation process to solve the mode of attribute combination dimensions.
[0023] To address the aforementioned problems, this application provides corresponding solutions, which are detailed below.
[0024] The data processing method embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Figure 1 A hardware block diagram of a computer terminal (or electronic device) for implementing a data processing method is shown. Figure 1As shown, the computer terminal 10 (or electronic device 10) may include one or more processors (shown as 102a, 102b, ..., 102n in the figure) (the processor may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission module 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0025] It should be noted that the aforementioned one or more processors and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be wholly or partially embodied in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuit may be a single, independent processing module, or may be wholly or partially integrated into any other element within the computer terminal 10 (or electronic device). As involved in the embodiments of this application, the data processing circuit serves as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0026] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the data processing method in this embodiment. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby implementing the aforementioned data processing method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0027] The transmission module 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission module 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission module 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0028] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10 (or electronic device).
[0029] It should be noted here that, in some optional embodiments, the above... Figure 1 The computer device (or electronic device) shown may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that... Figure 1 This is only one instance of a particular specific instance, and is intended to illustrate the types of components that may exist in the aforementioned computer equipment (or electronic equipment).
[0030] In the above operating environment, this application provides a method embodiment for data processing. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than that shown here.
[0031] Figure 2 This is a flowchart of a data processing method according to an embodiment of this application, such as... Figure 2 As shown, the method includes the following steps:
[0032] Step S202: Obtain data resource information from the business request, wherein the data resource information includes at least one of the following: industry attribute information, regional attribute information, time attribute information, organization attribute information, and participant attribute information;
[0033] Step S204: Based on the business request, retrieve the business template corresponding to the business request from the business template set, wherein the business template includes attribute information determined by multiple dimensions;
[0034] Step S206: According to the business template, save the data resource information in the business request to the corresponding location in the business template.
[0035] In steps S202 to S206 above, by abstracting and classifying the multiple dimensions of data resource management, information elements are effectively and securely controlled and managed through the management model. Specifically, the attribute information contained in different business templates is determined from multiple dimensions, thereby achieving the purpose of calling the corresponding template according to the data resource information in the business request.
[0036] In the above data processing method, the business template is obtained in the following way, specifically including the following steps: determining the attribute information contained in the business template from multiple dimensions, wherein the attribute information includes at least one of the following: industry attribute, region attribute, time attribute, organization attribute, participant attribute; combining the attribute information in multiple ways to obtain multiple business templates, wherein each business template includes at least one attribute information and authorization information corresponding to the attribute information.
[0037] In this embodiment, data resource information is categorized and managed across multiple dimensions, including spatial (or regional) domains, industry domains, organizational domains, time domains, and participants, resulting in corresponding attribute information. Instance mapping of data resources is achieved through custom configuration. By combining and encapsulating attribute information from different dimensions to form templated instantiation, template-based management of data resources is achieved, while the resource reference coding process remains controllable and standardized. For example, template 1 contains industry and regional attributes, while template 2 contains time, organizational, and regional attributes, etc. By determining multiple business templates through different combinations, it is possible to find the corresponding business template for data storage even when business requests contain different data resource information.
[0038] In one optional embodiment, if the business template contains only one type of attribute information, the template can be named directly according to that attribute. For example, a template containing only industry attributes is called an industry template, and a template containing only organization attributes is called an organization template.
[0039] In the above data processing method, after obtaining multiple business templates, the method further includes the following steps: obtaining a first business template and a second business template from the multiple business templates; combining the first business template and the second business template according to a preset combination method to obtain a target business template, wherein the preset combination method includes at least one of the following: intersection, union, complement, and difference; and determining a set of business templates based on the target business template and the multiple business templates.
[0040] In this embodiment, multiple business templates are first obtained. These templates may include, for example, industry templates (containing only industry attributes), organization templates (containing only organization attributes), function templates, job templates, role templates (or role sets), and permission templates (or permission sets). Two templates are randomly selected from these multiple templates as the first and second business templates, for example, an industry template and an organization template. The industry template and the organization template are combined according to a preset combination method. When the preset combination method is a union, a target business template containing industry and organization attributes is obtained. As another example, the first business template selected from the multiple business templates includes an industry template, an organization template, and a function template, and the selected second business template includes an organization template, a function template, and a role template. The first and second business templates are combined according to a preset combination method. When the preset combination method is an intersection, a target business template containing an organization template and a function template is obtained. If we denote the first business template as A and the second business template as B, then A and B can be combined using preset combination methods. These preset combination methods include polymorphic combination methods such as intersection (A∩B), union (A∪B), complement (CuA), and difference (AB). The target business template and multiple business templates obtained through the preset combination methods are defined as the business template set.
[0041] In the above data processing method, after determining the set of business templates, the method further includes the following steps: obtaining the third business template and the fourth business template in the set of business templates; determining the association configuration relationship between the third business template and the fourth business template, wherein the association configuration relationship is used to indicate that the fourth business template is managed through the third business template.
[0042] In this embodiment, two different templates are randomly selected from the set of business templates, namely the third business template and the fourth business template, and the association configuration relationship between the two business templates is configured. For example, the association configuration relationship can be that the third business template manages or associates with the fourth business template, and the management relationship between the upstream template and the downstream template is n:m. In an optional embodiment, the downstream template can be a sub-template of the upstream template, and multiple sub-templates are configured and managed through the parent template.
[0043] It should be noted that configured templates can be directly referenced. After configuring one template, it can be inherited and associated with other templates. The main purpose of inheritance is to reduce the steps of reconfiguration. After inheriting the configuration of other templates, the inherited template configuration can also be modified.
[0044] In step S204 of the above data processing method, the business template corresponding to the business request is called from the business template set, which specifically includes the following steps: determining the first authorization information and the first attribute information in the business request; determining the business template corresponding to the first authorization information and the first attribute information from the business template set.
[0045] In this embodiment of the application, each business template contains attribute information and corresponding authorization information. By obtaining the authorization information and attribute information in the business request, the corresponding business template can be determined from the set of business templates.
[0046] In the above steps, determining the business template corresponding to the first authorization information and the first attribute information from the business template set specifically includes the following steps: obtaining the second authorization information and the second attribute information corresponding to the target template in the business template set, wherein the target template is any template in the business template set; comparing the first authorization information and the second authorization information to obtain a first comparison result; comparing the first attribute information and the second attribute information to obtain a second comparison result; if the first comparison result and the second comparison result are the same, determining the target template as the business template corresponding to the business request.
[0047] In this embodiment of the application, since the business template set contains a large number of templates, when determining the business template corresponding to the business request, it is necessary to compare the authorization information and attribute information one by one to determine the business template corresponding to the business request.
[0048] In the above data processing method, the authorization information corresponding to the attribute information includes: when the authorization information is the first authorization information corresponding to the organization attribute in the attribute information, it supports calling the templates corresponding to the peer organization and the superior organization; when the authorization information is the second authorization information corresponding to the regional attribute in the attribute information, it supports calling the templates corresponding to the peer region and the superior region; when the authorization information is the third authorization information corresponding to the participant attribute in the attribute information, it supports calling the templates corresponding to users with the same participant permissions; when the authorization information is the fourth authorization information corresponding to the time attribute in the attribute information, it supports calling the templates corresponding to users with the same time dimension.
[0049] In this embodiment, the authorization information corresponding to the organization attribute (i.e., organization domain authorization) supports authorization call requests (at the local, subordinate, superior, and peer levels) of the organization where the data source is located. For example, if the current user is a street office, they can only access the data resources of their own organization in principle, but through authorization, they can support data requests to peer and superior organizations. In one optional embodiment, the data request can refer to a template. The authorization information corresponding to the geographic attribute (i.e., spatial domain authorization) supports direct authorization requests to users at different management geographic levels (province, city, county, district, street, grid) according to the spatial dimension to which the business belongs. At the same time, it supports the platform granting data resource requests or templates to superiors and peers through geographic authorization when the user is currently a district-level user. The authorization information corresponding to the industry attribute (i.e., industry domain authorization) configures different industry attributes (political and legal affairs, property management, civil affairs, enterprise, operator, etc.) according to the organization's control, and performs business configuration management. During instantiation, data analysis requests are made according to the industry attributes assigned by the organization, which can realize industry data isolation and support the platform's multi-user system architecture. Authorization information corresponding to the participant attribute (i.e., participant authorization) allows data requests to be made based on the participant's permission set, supporting requests granted to authorized users. It also allows user A to directly configure and authorize the data resources they manage to user B, thus directly granting user B the data permissions of user A's instantiation. In an optional embodiment, the above participant authorization process is equivalent to calling the template corresponding to users with the same permissions. Authorization information corresponding to the time attribute (i.e., time domain authorization) allows for time-limited control configuration of business requests. When a business request is made, resource requests are restricted based on the time dimension, and it supports calling the template corresponding to users with the same time dimension.
[0050] Based on the above authorization information and templated combination rules, multi-dimensional cross-configuration and priority configuration are carried out to form a combination rule library unique to various businesses. In practical applications, instantiation is performed according to different scenarios, configuration dimensions and minimum granularity requirements, as well as domain division authorization and rule priority requirements.
[0051] In the implementation of business scenarios, calls are made based on resource configuration instantiation. The design concept introduces AOP dynamic proxy aspect development rules. The rule model for data resource management is abstracted according to business logic to form specific dependency packages. During development, it is decoupled from various business logic layers. Dependencies are introduced through annotations using AspectJ to improve the reusability and standardization of the program.
[0052] Compared with related technologies, the data processing method provided in this application has the following advantages: 1. It configures and instantiates various data elements participating in the system from multiple dimensions such as spatial domain, temporal domain, organizational domain, participant domain, and industry domain, and collects data through template assembly, allowing business elements to be effectively and securely controlled and invoked under the reasonable management of the management system. 2. Data resource invocation is encapsulated into services through configuration and then dynamically aspect-oriented code development is performed, standardizing the invocation of data management, avoiding hard coding, allowing developers to focus more on business function development, and facilitating rapid function delivery. 3. It achieves the templateization of data resource information through configuration, and the templates can be inherited and reused. 4. The management rules of data resources are diversified, breaking through the constraints of traditional on-demand customization, and data management configuration forms a free combination and assembly to meet the needs of multiple industry systems. 5. It enables low-code development, improving the overall platform function development cost, efficiency, and cycle.
[0053] Figure 3 This is a structural diagram of a data processing apparatus according to an embodiment of this application, such as... Figure 3 As shown, the device includes:
[0054] The acquisition module 302 is used to acquire data resource information in the business request, wherein the data resource information includes at least one of the following: industry attribute information, regional attribute information, time attribute information, organization attribute information, and participant attribute information;
[0055] The module 304 is invoked to retrieve the business template corresponding to the business request from the business template set based on the business request. The business template includes attribute information determined by multiple dimensions.
[0056] The saving module 306 is used to save the data resource information in the business request to the corresponding location in the business template according to the business template.
[0057] In the aforementioned data processing apparatus, the apparatus further includes a determining module 308, which is used to determine the attribute information contained in the business template from multiple dimensions, wherein the attribute information includes at least one of the following: industry attribute, regional attribute, time attribute, organization attribute, and participant attribute; and to combine the attribute information in multiple ways to obtain multiple business templates, wherein each business template includes at least one type of attribute information and authorization information corresponding to the attribute information.
[0058] In the determination module of the above-mentioned data processing device, the determination module is further configured to obtain a first business template and a second business template from multiple business templates; combine the first business template and the second business template according to a preset combination method to obtain a target business template, wherein the preset combination method includes at least one of the following: intersection, union, complement and difference; and determine a set of business templates based on the target business template and multiple business templates.
[0059] In the determination module of the aforementioned data processing apparatus, the determination module is further configured to acquire the third service template and the fourth service template in the service template set; and determine the association configuration relationship between the third service template and the fourth service template, wherein the association configuration relationship is used to indicate that the fourth service template is managed through the third service template.
[0060] In the calling module of the aforementioned data processing device, calling the business template corresponding to the business request from the business template set specifically includes the following process: determining the first authorization information and the first attribute information in the business request; determining the business template corresponding to the first authorization information and the first attribute information from the business template set.
[0061] In the calling module of the aforementioned data processing device, determining the business template corresponding to the first authorization information and the first attribute information from the business template set specifically includes the following process: obtaining the second authorization information and the second attribute information corresponding to the target template in the business template set, wherein the target template is any template in the business template set; comparing the first authorization information and the second authorization information to obtain a first comparison result; comparing the first attribute information and the second attribute information to obtain a second comparison result; and determining the target template as the business template corresponding to the business request if both the first comparison result and the second comparison result are the same.
[0062] In the aforementioned data processing apparatus, the authorization information corresponding to the attribute information includes: when the authorization information is the first authorization information corresponding to the organization attribute in the attribute information, it supports calling the templates corresponding to the peer organization and the superior organization; when the authorization information is the second authorization information corresponding to the regional attribute in the attribute information, it supports calling the templates corresponding to the peer region and the superior region; when the authorization information is the third authorization information corresponding to the participant attribute in the attribute information, it supports calling the templates corresponding to users with the same participant permissions; and when the authorization information is the fourth authorization information corresponding to the time attribute in the attribute information, it supports calling the templates corresponding to users with the same time dimension.
[0063] The data processing apparatus provided in this application configures target data resources according to different business element dimensions. Based on multi-dimensional data resource requests, and through business authorization, it forms a general data processing template after logical configuration from multiple perspectives such as permissions, industry, space, organization, and participants. After determining the processing module for the business request, it performs data instantiation processing. Furthermore, information resources are configured according to different dimension rules, and the system filters information by instantiation rules when calling resource information. System users and managed objects can be freely configured according to organizational structure and business definition through resource configuration templates and authorization instantiation.
[0064] It should be noted that, Figure 3 The data processing apparatus shown is used to perform Figure 2 The data processing method shown above also applies to the data processing apparatus, and will not be repeated here.
[0065] During the elastic resource configuration process, for operator A, the operator's business permissions and operational permissions are configured in the corresponding permission set, and the corresponding resources are associated based on these permissions. An industry template is configured in the operator's industry domain, including information such as associated job titles, positions, and permissions. Organizational information is configured in the operator's organization domain, the industry template is initialized, and instantiated. A spatial region is initialized in the operator's spatial domain, and virtual spaces are expanded. Organizational spaces are associated, allowing for 1:N information rights configuration, and personnel and resources are instantiated in the participant domain, setting the time dimension for use. Authorization of personnel and resources is granted based on the permission set information set assigned by the organization's associated industry template. Request time limit control is configured in the operator's time domain. When operator A requests resource information, the operator instantiates the resource based on resource authorization (permissions, industry, space, time, organization).
[0066] This application defines a multi-dimensional information resource definition model. The data management model can be defined based on industry, time, space, organization, participants, and permissions. It defines models according to different business scenarios, considering logic such as information rights and organizational rights, and introduces model templates for management. It also implements inheritance management and instantiation of business authorization. Based on the defined data management model, model inheritance management is performed according to logical relationships (for example, setting the inheritance relationship as: Industry Template > Job Template > Position Template > Role Template > Permission Template; where Industry Template > Job Template indicates that the Job Template can inherit some content from the Industry Template; not all are listed here). Organization management uses the industry template to instantiate data resource management from the time and space dimensions.
[0067] This application embodiment also provides a non-volatile storage medium, which includes a stored computer program. The device containing the non-volatile storage medium executes the following data processing method by running the computer program: obtaining data resource information from a business request, wherein the data resource information includes at least one of the following: industry attribute information, regional attribute information, time attribute information, organizational attribute information, and participant attribute information; based on the business request, calling a business template corresponding to the business request from a set of business templates, wherein the business template includes attribute information determined by multiple dimensions; and saving the data resource information from the business request to the corresponding location in the business template according to the business template.
[0068] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0069] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0070] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0071] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0072] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0073] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0074] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A data processing method, characterized in that, include: Obtain data resource information from the business request, wherein the data resource information includes at least one of the following: industry attribute information, regional attribute information, time attribute information, organization attribute information, and participant attribute information; Based on the business request, a business template corresponding to the business request is retrieved from the business template set, wherein the business template includes attribute information determined by multiple dimensions; According to the business template, the data resource information in the business request is saved to the corresponding location in the business template; The business template is obtained in the following manner, including: determining the attribute information contained in the business template from multiple dimensions, wherein the attribute information includes at least one of the following: industry attribute, region attribute, time attribute, organization attribute, and participant attribute; combining the attribute information in multiple ways to obtain multiple business templates, wherein each business template includes at least one attribute information and authorization information corresponding to the attribute information; After obtaining multiple business templates, the method further includes: obtaining a first business template and a second business template from the multiple business templates; combining the first business template and the second business template according to a preset combination method to obtain a target business template, wherein the preset combination method includes at least one of the following: intersection, union, complement, and difference; and determining a set of business templates based on the target business template and the multiple business templates.
2. The method according to claim 1, characterized in that, After determining the set of business templates, the method further includes: Obtain the third and fourth business templates from the set of business templates; Determine the association configuration relationship between the third service template and the fourth service template, wherein the association configuration relationship is used to indicate that the fourth service template is managed through the third service template.
3. The method according to claim 1, characterized in that, Retrieving the business template corresponding to the business request from the business template set includes: Determine the first authorization information and the first attribute information in the service request; The business template corresponding to the first authorization information and the first attribute information is determined from the set of business templates.
4. The method according to claim 3, characterized in that, Determining the business template corresponding to the first authorization information and the first attribute information from the set of business templates includes: Obtain the second authorization information and second attribute information corresponding to the target template in the business template set, wherein the target template is any template in the business template set; Compare the first authorization information and the second authorization information to obtain a first comparison result; Compare the first attribute information and the second attribute information to obtain a second comparison result; If the first comparison result and the second comparison result are the same, the target template is determined as the business template corresponding to the business request.
5. The method according to claim 1, characterized in that, The authorization information corresponding to the attribute information includes: When the authorization information is the first authorization information corresponding to the organization attribute in the attribute information, it supports calling the templates corresponding to the peer organization and the superior organization; When the authorization information is the second authorization information corresponding to the regional attribute in the attribute information, it is supported to call the templates corresponding to the same level region and the superior region; When the authorization information is the third authorization information corresponding to the participant attribute in the attribute information, it is supported to call the template corresponding to the user with the same permissions as the participant; When the authorization information is the fourth authorization information corresponding to the time attribute in the attribute information, it is supported to call the template corresponding to the user with the same time dimension.
6. A data processing apparatus, characterized in that, include: The acquisition module is used to acquire data resource information from the business request, wherein the data resource information includes at least one of the following: industry attribute information, regional attribute information, time attribute information, organization attribute information, and participant attribute information; The calling module is used to call the business template corresponding to the business request from the business template set according to the business request, wherein the business template includes attribute information determined by multiple dimensions; The saving module is used to save the data resource information in the business request to the corresponding location in the business template according to the business template; The determination module is used to determine the attribute information contained in the business template from multiple dimensions, wherein the attribute information includes at least one of the following: industry attribute, region attribute, time attribute, organization attribute, and participant attribute; the attribute information is combined in multiple ways to obtain multiple business templates, wherein each business template includes at least one attribute information and authorization information corresponding to the attribute information; The determining module is further configured to obtain a first business template and a second business template from the plurality of business templates; combine the first business template and the second business template according to a preset combination method to obtain a target business template, wherein the preset combination method includes at least one of the following: intersection, union, complement, and difference; and determine a set of business templates based on the target business template and the plurality of business templates.
7. An electronic device, characterized in that, include: Memory, used to store program instructions; A processor, connected to the memory, is configured to execute a method for implementing the data processing described in any one of claims 1 to 5.
8. A non-volatile storage medium, characterized in that, The non-volatile storage medium includes a stored computer program, wherein the device containing the non-volatile storage medium executes the data processing method according to any one of claims 1 to 5 by running the computer program.