CN112615925B - Configuration and management method and device of service resources and electronic equipment - Google Patents
Configuration and management method and device of service resources and electronic equipment Download PDFInfo
- Publication number
- CN112615925B CN112615925B CN202011529885.6A CN202011529885A CN112615925B CN 112615925 B CN112615925 B CN 112615925B CN 202011529885 A CN202011529885 A CN 202011529885A CN 112615925 B CN112615925 B CN 112615925B
- Authority
- CN
- China
- Prior art keywords
- resource
- service
- attribute
- request
- authority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a method, a device and an electronic device for configuring and managing service resources, wherein the method is applied to a service resource management system, and the system is configured with a corresponding relation between a dimension attribute and a resource type; each dimension attribute is configured with a corresponding resource database; the method comprises the following steps: if the business resources to be configured exist, determining target dimension attributes corresponding to the business resources based on the resource types and the corresponding relations of the business resources; storing the service resources in a target resource database corresponding to the target dimension attribute; responding to the authority setting operation aiming at the service resources, and configuring an authority list for the service resources; and the user corresponding to the user identification contained in the authority list enjoys the management authority to the service resource. The method and the device can perform classified storage based on the service resource types, reduce cross information during resource management, and realize rapid resource management.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for configuring and managing service resources, and an electronic device.
Background
During modeling of the CDN service, because initial information is less, the CDN service is more and more abundant along with service development, when initial data cannot support the service, data is supplemented mostly in a horizontally-expanded manner for forward-compatible services, so that a service model is more and more bloated, that is, all information is concentrated in one plane, and as service complexity is continuously improved, maintenance of a single resource object is more and more complicated, and information expansion is more and more serious. As resource complexity is increased, more and more information is managed by a single resource, but the information is not required by all demanders, and too much cross information increases the cost of information maintenance and reduces the complexity of data security principles.
Disclosure of Invention
The application aims to provide a method and a device for configuring and managing service resources and electronic equipment, which can perform classified storage based on service resource types, reduce cross information in resource management and realize rapid resource management.
In a first aspect, an embodiment of the present application provides a method for configuring a service resource, where the method is applied to a service resource management system, and a corresponding relationship between a dimension attribute and a resource type is configured in the system; the dimension attributes include: a general attribute, a construction attribute, and a service attribute; each dimension attribute is configured with a corresponding resource database; the method comprises the following steps: if the business resources to be configured exist, determining target dimension attributes corresponding to the business resources based on the resource types and the corresponding relations of the business resources; storing the service resources in a target resource database corresponding to the target dimension attribute; responding to the authority setting operation aiming at the service resource, and configuring an authority list for the service resource; and the user corresponding to the user identification contained in the authority list enjoys the management authority to the service resource.
Further, the step of determining the target dimension attribute corresponding to the service resource based on the resource type and the corresponding relationship of the service resource includes: and searching the target dimension attribute corresponding to the service resource from the corresponding relation according to the resource type of the service resource.
Further, the step of configuring the permission list for the service resource in response to the permission setting operation for the service resource includes: and responding the authority setting operation aiming at the service resources, and generating an authority list corresponding to the service resources according to the user identification added in the authority setting operation so that the user corresponding to the user identification enjoys the management authority of the service resources.
Further, the service resource management system includes a CDN content management system.
Further, the dimension attributes include: generic attributes, construction attributes, and service attributes.
Further, the general attributes at least include one of: technical attributes, cost attributes, business attributes, and monitoring attributes.
Further, the plurality of dimensional attributes are constructed into a cube model; each face of the cube model corresponds to a dimension attribute.
In a second aspect, an embodiment of the present application provides a method for managing a service resource, where the method is applied to a service resource management system, and the system stores a service resource configured by the method for configuring a service resource according to the first aspect; the method comprises the following steps: receiving a resource management request of a user; the resource management request carries a request resource type, a request type and a target user identifier; searching target data corresponding to the request resource type from a target resource database corresponding to the request resource type; judging whether the user has the management authority to the target data or not according to the target user identification; and if the management authority exists, responding to the resource management request of the user based on the target data and the request type.
In a third aspect, an embodiment of the present application further provides a device for configuring a service resource, where the device is applied to a service resource management system, and a corresponding relationship between a dimension attribute and a resource type is configured in the system; each dimension attribute is configured with a corresponding resource database; the device comprises: the attribute determining module is used for determining a target dimension attribute corresponding to the business resource based on the resource type and the corresponding relation of the business resource if the business resource to be configured exists; the resource storage module is used for storing the service resources in a target resource database corresponding to the target dimension attribute; the authority configuration module is used for responding to the authority setting operation aiming at the service resources and configuring an authority list for the service resources; and the user corresponding to the user identification contained in the authority list enjoys the management authority to the service resource.
In a fourth aspect, an embodiment of the present application provides a management apparatus for a service resource, where the apparatus is applied to a service resource management system, and the system stores a service resource configured by the method for configuring a service resource according to the first aspect; the device comprises: the request receiving module is used for receiving a resource management request of a user; the resource management request carries a request resource type, a request type and a target user identifier; the data searching module is used for searching target data corresponding to the requested resource type from a target resource database corresponding to the requested resource type; the authority judgment module is used for judging whether the user has the management authority on the target data or not according to the target user identification; and the request response module is used for responding to the resource management request of the user based on the target data and the request type if the management authority exists.
In a fifth aspect, an embodiment of the present application further provides an electronic device, which includes a processor and a memory, where the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the method of the first aspect.
The configuration method of the business resources provided by the embodiment of the application is applied to a business resource management system, and the system is configured with the corresponding relation between the dimension attribute and the resource type; each dimension attribute is configured with a corresponding resource database; if the business resources to be configured exist, determining target dimension attributes corresponding to the business resources based on the resource types and the corresponding relations of the business resources; storing the service resources in a target resource database corresponding to the target dimension attribute; responding to the authority setting operation aiming at the service resources, and configuring an authority list for the service resources; and the user corresponding to the user identification contained in the authority list enjoys the management authority to the service resource. According to the embodiment of the application, classified storage and permission setting can be performed on the service resources, the phenomenon that data are overstaffed due to transverse expansion is avoided, and the management efficiency of the service resources is improved.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a service resource expansion in the prior art;
fig. 2 is a flowchart of a method for configuring service resources according to an embodiment of the present application;
fig. 3 is a schematic diagram of a cube model according to an embodiment of the present application;
fig. 4 is a flowchart of a method for managing service resources according to an embodiment of the present application;
fig. 5 is a block diagram illustrating a configuration apparatus of a service resource according to an embodiment of the present application;
fig. 6 is a block diagram illustrating a structure of a service resource management device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the present application will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The CDN service has less information in an initial stage during modeling, and as the service develops more and more abundantly, when initial data cannot support the service, data is supplemented mostly in a manner of horizontal expansion for forward compatible services, so that a service model is more and more bloated. At present, the CDN service resources are maintained mainly in a plane expansion manner, that is, all information is concentrated in one plane, and as the service complexity is continuously increased, the maintenance of a single resource object becomes more and more complex, and the information expansion becomes more serious. Almost all information of current resource management is concentrated on one surface, and the demands of different teams are overlapped, so that conflict and information expansion are inevitable, as shown in fig. 1.
As resource complexity is increased, more and more information is managed by a single resource, but the information is not required by all demanders, and too much cross information increases the cost of information maintenance and reduces the complexity of data security principles.
Based on this, embodiments of the present application provide a method and an apparatus for configuring and managing a service resource, and an electronic device, so as to solve the above technical problems.
To facilitate understanding of the present embodiment, first, a method for configuring a service resource disclosed in the embodiment of the present application is described in detail.
Fig. 2 is a flowchart of a method for configuring a service resource according to an embodiment of the present application, where the method is applied to a service resource management system, and the service resource management system may be a CDN content management system; the system is configured with the corresponding relation between the dimension attribute and the resource type; each dimension attribute is configured with a corresponding resource database. The dimension attributes at least include: a general attribute, a construction attribute, and a service attribute; wherein the construction attribute is an attribute related to system hardware; the service attribute is an attribute for identifying the service type; the general attributes are attributes related to information such as technology, cost, service and monitoring; the generic attributes include at least one of: technical attributes, cost attributes, business attributes, and monitoring attributes.
Each dimension attribute corresponds to at least one resource type, for example, a service attribute corresponds to a service attribute of a resource service, for example: on-demand CDN service, live source station service, DNS service, live transcoding service, etc.; the resource types corresponding to the construction attributes are as follows: the method comprises the following steps of constructing a life cycle, a construction type, an equipment model, hardware configuration information, resource storage logistics information, position information and the like; the resource types corresponding to the service attributes are as follows: service relation, scheduling configuration relation, customer domain name configuration version information and the like of resources in a CDN frame; the resource types corresponding to the technical attributes are as follows: scheduling information, bandwidth information, TCP, UDP port information, etc.; the resource types corresponding to the monitoring attributes are as follows: monitoring mode, monitoring template, monitoring information and the like.
The method specifically comprises the following steps:
step S202, if the business resource is to be configured, the target dimension attribute corresponding to the business resource is determined based on the resource type and the corresponding relation of the business resource.
If the business resource is to be configured, firstly, according to the resource type of the business resource, the target dimension attribute corresponding to the business resource is searched from the corresponding relation between the dimension attribute and the resource type. For example, the resource type of the service resource is warehouse logistics information, and the target dimension attribute corresponding to the service resource can be determined as a construction attribute based on the relationship.
Step S204, storing the service resources in a target resource database corresponding to the target dimension attribute;
further, the service resources are stored in a resource database corresponding to the construction attributes.
Step S206, responding to the authority setting operation aiming at the service resource, and configuring an authority list for the service resource; and the user corresponding to the user identification contained in the authority list enjoys the management authority to the service resource.
After the service resources are stored in the corresponding database, the setting of the management authority is further performed, that is, an authority list is configured for the service resources, and the user corresponding to the user identifier included in the authority list enjoys the management authority for the service resources. Specifically, in response to the permission setting operation for the service resource, a permission list corresponding to the service resource is generated according to the user identifier added in the permission setting operation, so that the user corresponding to the user identifier enjoys the management permission for the service resource.
The configuration method of the business resources provided by the embodiment of the application is applied to a business resource management system, and the system is configured with the corresponding relation between the dimension attribute and the resource type; each dimension attribute is configured with a corresponding resource database; if the business resources to be configured exist, determining target dimension attributes corresponding to the business resources based on the resource types and the corresponding relations of the business resources; storing the service resources in a target resource database corresponding to the target dimension attribute; responding to the authority setting operation aiming at the service resources, and configuring an authority list for the service resources; and the user corresponding to the user identification contained in the authority list enjoys the management authority to the service resource. According to the embodiment of the application, the classified storage and the authority setting can be carried out on the service resources, the phenomenon that data are bloated due to transverse expansion is avoided, and the management efficiency of the service resources is improved.
In a preferred embodiment, the dimensional attributes are constructed as a cube model; the cube has 6 faces, different data can be designed and planned for different faces when a business model is designed, the surrounding 4 faces around the cube are designed into general attributes for different teams to use, such as financial data, performance data and the like, and the lower 1 face is designed into basic data for resource establishment, namely establishment attributes, such as when to establish, regional data, operator data and the like; the top 1 plane is then the service attribute, identifying which service this resource serves.
In the embodiment of the present application, each face of the cube model corresponds to one dimension attribute. As shown in fig. 3, the 6 faces of the cube are marked with top (top), bottom (bottom), front (front), back (behind), left (left), and right (right) identifiers, respectively, and the 6 faces of the cube correspond to different dimensional attributes of the CDN resource, and the corresponding relationship is:
Top:
service attributes, including service attributes of resource services, such as: on-demand CDN service, live source station service, DNS service, live transcoding service, etc.;
Bottom:
the construction attributes comprise construction life cycle, construction type, equipment model, hardware configuration information, resource storage logistics information, position information and the like;
Front:
the service attributes comprise service relationships, scheduling configuration relationships, client domain name configuration version information and the like of resources in the CDN framework;
Behind:
the technical attributes comprise scheduling information, bandwidth information, TCP (transmission control protocol) and UDP (user datagram protocol) port information and the like;
Left:
the cost attributes comprise resource unit price, charging mode, charging period, free period and the like;
Right:
monitoring attributes including monitoring modes, monitoring templates, monitoring information and the like;
the essence of cube model management resources is that services are upwards and downwards built, basic attribute information is surrounded on the periphery, and subsequent services are more and more complex, and can be transversely expanded in a polyhedron mode.
A specific example is listed below: cloud computing manufacturers generally provide a scenario solution, that is, multiple IAAS and PAAS services need to be developed simultaneously and provided for clients, different business services all need resource support, corporate finance, operation and maintenance and other team cooperation, and finally business-oriented services are realized, assuming that a company plans to establish 1 data center and deploy 1000 servers at present, uniform resource construction data including data center positions, operators, opening time, machine number and the like are downward in a polyhedral model; the four sides provide financial and technical index information such as data center cost information, charging rules, server models, server prices, server configuration, data center bandwidth and the like for teams of finance, operation and maintenance and the like; and facing to the business upwards, and marking which resources are served by which business line, such as cloud computing business, AI business, CDN business and the like.
The configuration method of the service resources provided by the embodiment of the application can maintain and manage resource information by establishing a cube model; resource maintenance of a complex scene is switched from single plane information to multi-plane maintenance, and intersection and overlapping of resource information are reduced; different polyhedral resource maintenance models are established according to the service scene, so that the service resources can be managed clearly and effectively, and the requirement of transverse expansion caused by service complexity improvement can be met well; the polyhedral resource maintenance model clearly interfaces and shows the requirements of different teams on the same resource object.
Based on the above method embodiment, the present application embodiment provides a method for managing service resources, where the method is applied to a service resource management system, and the system stores service resources configured by the method for configuring service resources described in the previous embodiment; referring to fig. 4, the method comprises the steps of:
step S402, receiving a resource management request of a user; the resource management request carries a request resource type, a request type and a target user identifier; the request type includes one of: a resource updating request, a resource query request and a service switching request;
the requested resource type is the resource type described in the previous embodiment, such as a construction type, an equipment model, warehouse logistics information, and the like.
Step S404, searching target data corresponding to the requested resource type from a target resource database corresponding to the requested resource type;
step S406, judging whether the user has the management authority to the target data or not according to the target user identification;
step S408, if the management authority exists, the resource management request of the user is responded based on the target data and the request type.
The method for managing the service resources, provided by the embodiment of the application, can acquire the target data based on each parameter in the request, and respond to the request of the user based on the target data and the request type under the condition that the user has the management authority, so that the management efficiency of the service resources is improved.
Based on the method embodiment, the embodiment of the application also provides a device for configuring the service resources, wherein the device is applied to a service resource management system, and the system is configured with the corresponding relation between the dimension attribute and the resource type; each dimension attribute is configured with a corresponding resource database; referring to fig. 5, the apparatus includes:
an attribute determining module 52, configured to determine, if a service resource is to be configured, a target dimension attribute corresponding to the service resource based on the resource type and the corresponding relationship of the service resource;
a resource storage module 54, configured to store the service resource in a target resource database corresponding to the target dimension attribute;
a permission configuration module 56, configured to respond to a permission setting operation for the service resource, and configure a permission list for the service resource; and the user corresponding to the user identification contained in the authority list enjoys the management authority to the service resource.
Further, the attribute determining module 52 is further configured to: and searching the target dimension attribute corresponding to the service resource from the corresponding relation according to the resource type of the service resource.
Further, the permission configuration module 56 is further configured to: and responding the authority setting operation aiming at the service resources, and generating an authority list corresponding to the service resources according to the user identification added in the authority setting operation so that the user corresponding to the user identification enjoys the management authority of the service resources.
Further, the service resource management system includes a CDN content management system.
Further, the dimension attributes include: a general attribute, a construction attribute, and a service attribute;
further, the general attributes include at least one of: technical attributes, cost attributes, business attributes, and monitoring attributes.
Further, the plurality of dimensional attributes are constructed into a cube model; each face of the cube model corresponds to a dimension attribute.
The implementation principle and the generated technical effect of the configuration device for the service resources provided in the embodiment of the present application are the same as those of the embodiment of the configuration method for the service resources described above, and for brief description, reference may be made to corresponding contents in the embodiment of the configuration method for the service resources described above where no mention is made in part of the embodiment of the configuration device for the service resources.
Based on the foregoing method embodiment, an embodiment of the present application provides a management device for business resources, where the device is applied to a business resource management system, and the system stores business resources configured by the business resource configuration method according to the first aspect; referring to fig. 6, the apparatus includes:
a request receiving module 62, configured to receive a resource management request of a user; the resource management request carries a request resource type, a request type and a target user identifier;
a data searching module 64, configured to search target data corresponding to the requested resource type from a target resource database corresponding to the requested resource type;
the authority judging module 66 is used for judging whether the user has the management authority on the target data according to the target user identification;
and a request response module 68 for responding to the resource management request of the user based on the target data and the request type if the management authority exists.
Further, the request type includes one of: a resource update request, a resource query request, and a service switch request.
The implementation principle and the generated technical effect of the management device for the service resources provided in the embodiment of the present application are the same as those of the management method for the service resources described above, and for brief description, reference may be made to corresponding contents in the embodiment of the management method for the service resources described above where the embodiment of the management device for the service resources is not mentioned.
An electronic device is further provided in an embodiment of the present application, as shown in fig. 7, which is a schematic structural diagram of the electronic device, where the electronic device includes a processor 71 and a memory 70, the memory 70 stores computer-executable instructions that can be executed by the processor 71, and the processor 71 executes the computer-executable instructions to implement the foregoing method.
In the embodiment shown in fig. 7, the electronic device further comprises a bus 72 and a communication interface 73, wherein the processor 71, the communication interface 73 and the memory 70 are connected by the bus 72.
The Memory 70 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 73 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 72 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 72 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
The processor 71 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 71. The Processor 71 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory, and the processor 71 reads the information in the memory and completes the steps of the method for recommending virtual goods in games in the foregoing embodiment in combination with the hardware thereof.
Embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the method, and specific implementation may refer to the foregoing method embodiments, and is not described herein again.
The method and apparatus for configuring and managing service resources and the computer program product of the electronic device provided in the embodiments of the present application include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
Unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present application.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present application. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used to illustrate the technical solutions of the present application, but not to limit the technical solutions, and the scope of the present application is not limited to the above-mentioned embodiments, although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (9)
1. A configuration method of service resources is characterized in that the method is applied to a service resource management system, and the service resource management system is a CDN content management system; the system is configured with a corresponding relation between the dimension attribute and the resource type; each dimension attribute is configured with a corresponding resource database; the dimension attributes include: general attributes, construction attributes and service attributes; the construction attribute is an attribute related to system hardware; the service attribute is an attribute for identifying a service type; the generic attributes include: a technical attribute, a cost attribute, a service attribute, and a monitoring attribute; constructing a plurality of dimension attributes into a cube model; the upper surface of the cube model corresponds to a service attribute, the lower surface of the cube model corresponds to the construction attribute, and the front, the back, the left and the right correspond to one attribute of the general attributes respectively; the method comprises the following steps:
if the business resources are to be configured, determining target dimension attributes corresponding to the business resources based on the resource types of the business resources and the corresponding relations;
storing the service resources in a target resource database corresponding to the target dimension attribute;
responding to the authority setting operation aiming at the service resource, and configuring an authority list for the service resource; and the user corresponding to the user identification contained in the authority list enjoys the management authority to the service resource.
2. The method according to claim 1, wherein the step of determining the target dimension attribute corresponding to the business resource based on the resource type of the business resource and the corresponding relationship comprises:
and searching the target dimension attribute corresponding to the service resource from the corresponding relation according to the resource type of the service resource.
3. The method of claim 1, wherein the step of configuring the permission list for the service resource in response to the permission setting operation for the service resource comprises:
and responding to the authority setting operation aiming at the service resource, and generating an authority list corresponding to the service resource according to the user identification added in the authority setting operation so as to enable the user corresponding to the user identification to enjoy the management authority of the service resource.
4. A method for managing service resources, wherein the method is applied to a service resource management system, and the system stores the service resources configured by the method for configuring service resources according to any one of claims 1 to 3; the method comprises the following steps:
receiving a resource management request of a user; the resource management request carries a request resource type, a request type and a target user identifier;
searching target data corresponding to the requested resource type from a target resource database corresponding to the requested resource type;
judging whether the user has the management authority to the target data or not according to the target user identification;
and if the management authority exists, responding to the resource management request of the user based on the target data and the request type.
5. The method of claim 4, wherein the request type comprises one of: a resource update request, a resource query request, and a service switch request.
6. A configuration device of service resources is characterized in that the device is applied to a service resource management system, and the service resource management system is a CDN content management system; the system is configured with a corresponding relation between the dimension attribute and the resource type; each dimension attribute is configured with a corresponding resource database; the dimension attributes include: a general attribute, a construction attribute, and a service attribute; the construction attribute is an attribute related to system hardware; the service attribute is an attribute for identifying a service type; the generic attributes include: a technical attribute, a cost attribute, a service attribute, and a monitoring attribute; constructing a plurality of dimension attributes into a cube model; the upper surface of the cube model corresponds to a service attribute, the lower surface of the cube model corresponds to the construction attribute, and the front, the back, the left and the right surfaces of the cube model respectively correspond to one attribute in the general attributes; the device comprises:
an attribute determining module, configured to determine, if a service resource is to be configured, a target dimension attribute corresponding to the service resource based on a resource type of the service resource and the correspondence;
the resource storage module is used for storing the service resources in a target resource database corresponding to the target dimension attribute;
the authority configuration module is used for responding to the authority setting operation aiming at the service resource and configuring an authority list for the service resource; and the user corresponding to the user identification contained in the authority list enjoys the management authority to the service resource.
7. A device for managing service resources, wherein the device is applied to a service resource management system, and the system stores service resources configured by the method for configuring service resources according to any one of claims 1 to 3; the device comprises:
the request receiving module is used for receiving a resource management request of a user; the resource management request carries a request resource type, a request type and a target user identifier; the request type includes one of: a resource updating request, a resource query request and a service switching request;
the data searching module is used for searching target data corresponding to the requested resource type from a target resource database corresponding to the requested resource type;
the authority judgment module is used for judging whether the user has the management authority on the target data or not according to the target user identification;
and the request response module is used for responding to the resource management request of the user based on the target data and the request type if the management authority exists.
8. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any of claims 1 to 5.
9. A computer-readable storage medium having computer-executable instructions stored thereon which, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011529885.6A CN112615925B (en) | 2020-12-22 | 2020-12-22 | Configuration and management method and device of service resources and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011529885.6A CN112615925B (en) | 2020-12-22 | 2020-12-22 | Configuration and management method and device of service resources and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112615925A CN112615925A (en) | 2021-04-06 |
CN112615925B true CN112615925B (en) | 2022-11-01 |
Family
ID=75244133
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011529885.6A Active CN112615925B (en) | 2020-12-22 | 2020-12-22 | Configuration and management method and device of service resources and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112615925B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113961907A (en) * | 2021-10-29 | 2022-01-21 | 北京金山云网络技术有限公司 | Management method and device of memory cache service and server |
CN114385741A (en) * | 2021-12-14 | 2022-04-22 | 广东三维家信息科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN115795368B (en) * | 2023-02-07 | 2023-05-02 | 山东毓星智能科技有限公司 | Enterprise internal training data processing method and system based on artificial intelligence |
CN116800550A (en) * | 2023-08-29 | 2023-09-22 | 北京仁科互动网络技术有限公司 | Region management method, device and equipment in software as a service (SaaS) mode |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436269A (en) * | 2007-11-14 | 2009-05-20 | 华为软件技术有限公司 | Unionized resource management system and resource lookup method of business analysis system |
CN103078859A (en) * | 2012-12-31 | 2013-05-01 | 普天新能源有限责任公司 | Service system authority management method, equipment and system |
CN103488706A (en) * | 2013-09-06 | 2014-01-01 | 北京东方艾迪普科技发展有限公司 | Processing method and device for mass data base |
CN108776756A (en) * | 2018-06-04 | 2018-11-09 | 北京奇虎科技有限公司 | Access authorization for resource management method and device |
CN109032799A (en) * | 2018-07-25 | 2018-12-18 | 郑州云海信息技术有限公司 | Storage resource management method, apparatus, equipment and readable storage medium storing program for executing |
CN109522751A (en) * | 2018-12-17 | 2019-03-26 | 泰康保险集团股份有限公司 | Access right control method, device, electronic equipment and computer-readable medium |
CN109889517A (en) * | 2019-02-14 | 2019-06-14 | 广州小鹏汽车科技有限公司 | Data processing method, permissions data collection creation method, device and electronic equipment |
CN110363012A (en) * | 2019-05-28 | 2019-10-22 | 石化盈科信息技术有限责任公司 | Method, permission system and the storage medium of authority configuration are carried out to permission resource |
CN111241563A (en) * | 2020-01-13 | 2020-06-05 | 深圳壹账通智能科技有限公司 | Configuration method, device, server and storage medium of authority information |
CN112100585A (en) * | 2020-08-19 | 2020-12-18 | 北京小米移动软件有限公司 | Authority management method, device and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8356053B2 (en) * | 2005-10-20 | 2013-01-15 | Oracle International Corporation | Managing relationships between resources stored within a repository |
-
2020
- 2020-12-22 CN CN202011529885.6A patent/CN112615925B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436269A (en) * | 2007-11-14 | 2009-05-20 | 华为软件技术有限公司 | Unionized resource management system and resource lookup method of business analysis system |
CN103078859A (en) * | 2012-12-31 | 2013-05-01 | 普天新能源有限责任公司 | Service system authority management method, equipment and system |
CN103488706A (en) * | 2013-09-06 | 2014-01-01 | 北京东方艾迪普科技发展有限公司 | Processing method and device for mass data base |
CN108776756A (en) * | 2018-06-04 | 2018-11-09 | 北京奇虎科技有限公司 | Access authorization for resource management method and device |
CN109032799A (en) * | 2018-07-25 | 2018-12-18 | 郑州云海信息技术有限公司 | Storage resource management method, apparatus, equipment and readable storage medium storing program for executing |
CN109522751A (en) * | 2018-12-17 | 2019-03-26 | 泰康保险集团股份有限公司 | Access right control method, device, electronic equipment and computer-readable medium |
CN109889517A (en) * | 2019-02-14 | 2019-06-14 | 广州小鹏汽车科技有限公司 | Data processing method, permissions data collection creation method, device and electronic equipment |
CN110363012A (en) * | 2019-05-28 | 2019-10-22 | 石化盈科信息技术有限责任公司 | Method, permission system and the storage medium of authority configuration are carried out to permission resource |
CN111241563A (en) * | 2020-01-13 | 2020-06-05 | 深圳壹账通智能科技有限公司 | Configuration method, device, server and storage medium of authority information |
CN112100585A (en) * | 2020-08-19 | 2020-12-18 | 北京小米移动软件有限公司 | Authority management method, device and storage medium |
Non-Patent Citations (1)
Title |
---|
"基于Hadoop的遥感数据分布式存储研究";李程;《中国优秀硕士学位论文全文数据库 基础科学辑》;20181031;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112615925A (en) | 2021-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112615925B (en) | Configuration and management method and device of service resources and electronic equipment | |
CN110601896B (en) | Data processing method and equipment based on block chain nodes | |
CN114039858B (en) | Computing network resource fusion method, device, equipment and storage medium | |
CN109213758B (en) | Data access method, device, equipment and computer readable storage medium | |
CN112565334B (en) | Access method and device of Internet of things equipment and MQTT gateway | |
US20190098054A1 (en) | Tag-Based Security Policy Creation in a Distributed Computing Environment | |
CN110245029A (en) | A kind of data processing method, device, storage medium and server | |
CN111416723A (en) | Equipment management method and related equipment | |
CN108540408B (en) | Openstack-based distributed virtual switch management method and system | |
CN112579319A (en) | Service calling method and device based on LRU Cache optimization | |
CN112105026B (en) | Authorization control method, device and storage medium | |
CN109117152B (en) | Service generation system and method | |
CN113591448B (en) | Report generation method, device and storage medium | |
CN112738019B (en) | Method and device for displaying device information, storage medium and electronic device | |
WO2024002217A1 (en) | Application management method and related device | |
KR20200135176A (en) | Method and apparatus for edge transfer based on movement of user equipment | |
CN107005468B (en) | Method and device for determining NSD (non-volatile memory) to be uploaded | |
CN108780391A (en) | The method, apparatus and system of web services component access context data | |
CN114629744A (en) | Data access method, system and related device based on macvlan host computer network | |
CN107210996B (en) | Service chain management method and device | |
CN117376346A (en) | Equipment data processing method and device based on edge calculation and distributed calculation | |
CN112187916A (en) | Cross-system data synchronization method and device | |
WO2024114332A1 (en) | Communication method and apparatus, electronic device, and computer readable medium | |
CN114866600B (en) | Internet of things terminal access management method and device based on intelligent integration identification | |
CN111800481B (en) | Internet-based network interaction method and device and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |