Resource management and control method and device, electronic equipment and storage medium

By combining the resource control information preconfigured by the user on the ERP system and the configuration code of the target resource, and generating new configuration codes for rendering and displaying, the problem of cumbersome and complex resource control in the ERP system is solved, personalized control of user access resources is realized, and resource control efficiency is improved.

CN119668761APending Publication Date: 2025-03-21广州市扬新技术研究有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411818021.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

In the ERP system, when managing resources for different users, different resources need to be built according to different roles, resulting in cumbersome and complex processes, high resource management costs, and a large amount of resource data are generated, resulting in high system storage pressure.

Method used

In response to the target user's access request to the target resource, the resource management information preconfigured by the target resource corresponding to the target user is obtained, the configuration code of the target resource is extracted, the resource management information and the configuration code are combined to generate a new configuration code, and the target resource is rendered and displayed based on the configuration code, and the resource management and configuration is performed during the rendering process.

Benefits of technology

It realizes personalized and refined control of user access resources, simplifies resource management and control processes, reduces resource management and control costs, reduces system storage pressure, and improves resource management and control efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668761A_ABST
    Figure CN119668761A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a resource management and control method and device, electronic equipment and a storage medium. According to the technical scheme provided by the embodiment of the invention, in response to the access request of the target user side to the target resource, the resource management and control information pre-configured by the target resource corresponding to the target user side is acquired; extracting a first configuration code of the target resource, wherein the first configuration code comprises configuration information of second specified content of the target resource; and combining the resource management and control information with the first configuration code to generate a second configuration code, and performing rendering display of the target resource at the target user side based on the second configuration code, and extracting a target configuration field of the resource management and control information based on the parent identifier and the target identifier to perform resource management and control configuration of the target element corresponding to the first specified content. By adopting the technical means, personalized and refined management and control of user access resources can be realized. The resource management and control process is simplified, so that the resource management and control efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a resource management method, device, electronic device, and storage medium. Background Art

[0002] At present, in the process of developing ERP systems (enterprise management systems), the requirements for resource control are becoming more and more sophisticated. In the EPR system, special functions such as financial information, contract information, and approval authority are not only subject to the control of the company or account, but also require individual control of a certain user. When performing individual resource control for a user, resources are constructed based on the user's role information. When a user with corresponding role information subsequently queries for resources, the pre-constructed resources for the role are issued based on the user's role information, thereby realizing resource control for the corresponding user.

[0003] However, when managing resources for different users, different resources need to be built according to different roles. The whole process is cumbersome and complicated, and the cost of resource management is high. In addition, resource management for different users will generate a large amount of resource data, which will cause the system storage to be over-occupied and the storage pressure to be relatively large. Summary of the invention

[0004] The embodiments of the present application provide a resource management method, device, electronic device and storage medium, which can perform personalized and refined management of resources accessed by users, improve resource management efficiency, and solve the technical problems of cumbersome and complex resource management processes.

[0005] In a first aspect, an embodiment of the present application provides a resource management method, including:

[0006] In response to a target user terminal's access request to a target resource, obtain resource control information pre-configured for the target resource corresponding to the target user terminal, the resource control information including a parent identifier identifying a display interface of the target resource, a target identifier identifying a target element corresponding to a first specified content in the target resource, and a target configuration field for controlling and displaying the first specified content;

[0007] Extracting a first configuration code of the target resource, where the first configuration code includes configuration information of a second specified content of the target resource;

[0008] The resource management information is combined with the first configuration code to generate a second configuration code, and the target resource is rendered and displayed on the target user end based on the second configuration code. During the rendering and display process, the target configuration field is extracted based on the parent identifier and the target identifier to perform resource management configuration of the target element corresponding to the first specified content.

[0009] Further, the resource management and control information is combined with the first configuration code to generate a second configuration code, including:

[0010] When it is detected that the first configuration code contains configuration information corresponding to the target identifier, the target configuration field replaces the corresponding configuration information in the first configuration code to generate a second configuration code.

[0011] Further, rendering and displaying the target resource on the target user terminal based on the second configuration code includes:

[0012] A custom rendering component is created, configuration information of the second configuration code is integrated based on the instruction function of the custom rendering component, and rendering and displaying the target resource on the target user end is performed based on the integrated configuration information.

[0013] Further, the configuration information of the second configuration code is integrated based on the instruction function of the custom rendering component, and the target resource is rendered and displayed on the target user terminal based on the integrated configuration information, including:

[0014] The command function based on the custom rendering component reads the configuration information of each target element in the display interface of the target resource, and performs rendering and display of the corresponding target element on the target user end based on the read configuration information.

[0015] Further, based on the parent identifier and the target identifier, the target configuration field is extracted to perform resource control configuration of the target element corresponding to the first specified content, including:

[0016] When the target configuration field extracted based on the parent identifier and the target identifier is empty, the target element corresponding to the first designated content is configured as a default state.

[0017] Further, obtaining resource management and control information pre-configured for the target resource corresponding to the target user terminal also includes:

[0018] When the target resource does not pre-configure resource control information corresponding to the target user terminal, determine an associated client with the same role information as the target user terminal, and configure resource control information of the target user terminal based on first associated resource control data corresponding to the associated client of the target resource.

[0019] Further, obtaining resource management and control information pre-configured for the target resource corresponding to the target user terminal also includes:

[0020] When the target resource does not correspond to the pre-configured resource control information of the target user terminal, determine the associated resources of the target resource, query the second associated resource control data pre-configured for the associated resource corresponding to the target user terminal, and configure the resource control information of the target user terminal based on the second associated resource control data.

[0021] In a second aspect, an embodiment of the present application provides a resource management and control device, including:

[0022] An acquisition module, configured to, in response to a target user terminal's access request to a target resource, acquire resource control information preconfigured for the target resource corresponding to the target user terminal, the resource control information including a parent identifier for identifying a display interface of the target resource, a target identifier for identifying a target element corresponding to a first specified content in the target resource, and a target configuration field for controlling and displaying the first specified content;

[0023] An extraction module, used to extract a first configuration code of a target resource, where the first configuration code includes configuration information of a second specified content of the target resource;

[0024] The display module is used to merge the resource management information with the first configuration code to generate a second configuration code, render and display the target resource on the target user end based on the second configuration code, and during the rendering and display process, extract the target configuration field based on the parent identifier and the target identifier to perform resource management configuration of the target element corresponding to the first specified content.

[0025] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0026] memory and one or more processors;

[0027] The memory is used to store one or more programs;

[0028] When the one or more programs are executed by the one or more processors, the one or more processors implement the resource management and control method as described in the first aspect.

[0029] In a fourth aspect, an embodiment of the present application provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the resource management and control method as described in the first aspect.

[0030] The embodiment of the present application obtains the resource control information pre-configured by the target user terminal corresponding to the target resource by responding to the target user terminal's access request to the target resource, the resource control information includes a parent identifier that identifies the display interface of the target resource, a target identifier that identifies the target element corresponding to the first specified content in the target resource, and a target configuration field for controlling and displaying the first specified content; extracts the first configuration code of the target resource, the first configuration code includes the configuration information of the second specified content of the target resource; merges the resource control information with the first configuration code to generate a second configuration code, renders and displays the target resource on the target user terminal based on the second configuration code, and in the rendering and display process, extracts the target configuration field based on the parent identifier and the target identifier to perform resource control configuration of the target element corresponding to the first specified content. The above technical means are adopted to merge the resource control information pre-configured by the target user terminal with the configuration code of the target resource foundation, and use the merged configuration code to render and display the target resource on the target user terminal, thereby using the resource control information to display and control the specified content of the target resource, and realize personalized and refined control of user access to resources. The resource control process is simplified, thereby improving the efficiency of resource control. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 This is a flow chart of a resource management method provided in Example 1 of the present application;

[0032] Figure 2 This is a schematic diagram of resource management information configuration in Example 1 of the present application;

[0033] Figure 3 It is the contract column display control flow chart in the first embodiment of the present application;

[0034] Figure 4 This is one of the contract list display control schematic diagrams in the first embodiment of the present application;

[0035] Figure 5 This is the second schematic diagram of contract list display control in the first embodiment of the present application;

[0036] Figure 6 This is the third schematic diagram of contract list display control in the first embodiment of the present application;

[0037] Figure 7 It is a structural diagram of a resource management and control device provided in Example 1 of the present application;

[0038] Figure 8 It is a structural schematic diagram of an electronic device provided in Example 1 of the present application. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0040] The resource management method provided in this application aims to merge the pre-configured resource management information with the configuration code of the target resource base, and use the merged configuration code to render and display the target resource on the target user end, thereby using the resource management information to display and control the specified content of the target resource.

[0041] In the process of developing ERP systems, some common forms of control, such as company resource control and user account resource control, are becoming more and more refined. As the functions of the system become more and more powerful, some special functional information needs to be further controlled, such as financial information, contract information, approval authority, etc. These functions are not only limited to the control of the company or account, but can also be controlled individually for a certain user.

[0042] When performing resource management for different users, different resources need to be built according to different roles. The whole process is cumbersome and complicated, and the cost of resource management is high. In addition, resource management for different users will generate a large amount of resource data, which will cause the system storage to be over-occupied and the storage pressure to be relatively large.

[0043] In addition, common resource control methods only stop at the button permission level and are managed through different roles. However, there are more and more demands for customized control forms in the market. For different accounts belonging to the same role, the interface display form should be different. Taking the contract amount information as an example, the amount is advanced information and is only open to special users. All contract information is displayed in the table, but in the amount column, the current resource control method can be used to directly hide the information in this column or replace the amount with asterisks. When viewing the contract details, the same form can also be used to perform special processing on special information. Building different resources for resource control according to different roles cannot meet the resource control needs at the granularity of a single user.

[0044] Based on this, a resource management method is provided in an embodiment of the present application to solve the technical problems of cumbersome and complex resource management processes, to perform personalized and refined management of resources accessed by users, and to improve resource management efficiency.

[0045] Embodiment 1:

[0046] Figure 1 A flowchart of a resource control method provided in Example 1 of the present application is given. The resource control method provided in this embodiment can be executed by a resource control device, which can be implemented by software and / or hardware. The resource control device can be composed of two or more physical entities, or can be composed of one physical entity. Generally speaking, the resource control device can be a computing device such as a server device for resource control display.

[0047] The following description is made by taking the resource control device as an example of the subject for executing the resource control method. Figure 1 , the resource control method specifically includes:

[0048] S110. In response to a target user terminal's access request to a target resource, obtain resource management information pre-configured for the target resource and corresponding to the target user terminal, wherein the resource management information includes a parent identifier that identifies a display interface of the target resource, a target identifier that identifies a target element corresponding to a first specified content in the target resource, and a target configuration field for managing and displaying the first specified content.

[0049] When performing resource control, this application performs display control of specified content according to the resource control information pre-configured by different user terminals. For a resource, different users have different access rights. Taking a contract list as an example, some users need to control and display the content of the "contract amount" column, and prohibit these users from obtaining the content of the "contract amount" part when viewing the contract list. Therefore, it is necessary to configure resource control information so that when the corresponding user accesses the contract list, the content of the "contract amount" part is controlled and displayed (such as hidden) through the resource control information when the user views the contract list, thereby achieving personalized and refined resource control effects. In addition, according to actual needs, resource control information can also be used to display, hide, modify text and configure element styles in functional areas such as data filtering, tables and forms. Adaptively configure resource control information according to actual resource control needs. This application does not impose fixed restrictions on the specific resource control configuration types of elements, and will not be elaborated here.

[0050] When a user accesses a corresponding resource, the user terminal corresponding to the user is defined as the target user terminal, and the resource accessed by the user is defined as the target resource. According to different resource management scenarios, the target resource can be a list, a filter box, a document, and other types of resource data. By obtaining the pre-configured resource management information of the target user terminal corresponding to the target resource, the specified content in the target resource can be controlled and displayed on the display interface of the target user terminal, and the specified content to be controlled and displayed is defined as the first specified content.

[0051] Prior to this, operators can configure resource control information based on the resource control requirements of different users corresponding to the target resources. Figure 2 , taking the resource control of a contract information list as an example, the operator starts the resource control configuration interface of the contract information list, and sets a parent identifier "contractInfo" corresponding to the contract information list to mark which interface the target resource is in. In addition, for the first specified content to be controlled, such as a column in the contract information list, it is also necessary to set a unique identifier "contractmoney" for the first specified content at the code level, defined as the target identifier, to locate the configuration information of the first specified content in the configuration code. In addition, according to the control requirements of the first specified content, the corresponding configuration information is configured, which is defined as the target configuration field. For the first specified content, the target configuration field can be configured to display / hide the column, and can also configure the column width, column field name modification, whether the column is sortable, whether the column is draggable, and other configuration items. According to actual needs, the target configuration field can be a variety of different configuration information, and this application does not impose fixed restrictions on this, so it will not be elaborated here. The resource control information can be bound to the user identifier of the target user end for subsequent comparison and query.

[0052] After completing the configuration of resource management information, when the user logs in to the target client and is ready to access a specific target resource (such as a contract list, financial data, contract details, etc.), the target client triggers an access request by clicking, entering query conditions, etc., and the request is sent to the resource management device. After the resource management device performs authentication and access rights verification on the target client, it retrieves the resource management information related to the user and the target resource in the resource management database based on the user ID of the target client and the parent ID of the target resource and other related information.

[0053] S120: Extract a first configuration code of the target resource, where the first configuration code includes configuration information of a second specified content of the target resource.

[0054] On the other hand, it is necessary to extract the configuration file of some content in the target resource that does not need to be controlled and displayed, and define this part of the content that does not need to be controlled and displayed as the second designated content, and its corresponding configuration file is the first configuration code. It can be understood that for different users, the first designated content that needs to be controlled and displayed in the corresponding target resources is different. However, there is some content that does not need to be controlled and can be viewed by all users, that is, the second designated content. For this part of the second designated content, by pre-configuring its configuration information and constructing the first configuration code, the resource control configuration of the second designated content can be performed by extracting this part of the configuration code, and the second designated content can be rendered and displayed according to the resource control configuration content.

[0055] S130. Combining the resource management information with the first configuration code to generate a second configuration code, rendering and displaying the target resource on the target user end based on the second configuration code, and during the rendering and display process, extracting the target configuration field based on the parent identifier and the target identifier to perform resource management and control configuration of the target element corresponding to the first specified content.

[0056] Furthermore, based on the resource management information and the first configuration code obtained above, the code structure and content are determined by parsing the first configuration code. The first configuration code is used to perform resource management configuration on the target element of the second specified content in the target resource display interface. According to the code structure of the first configuration code, find the part of the first configuration code that corresponds to the configuration information. Then merge the resource management information into the corresponding part of the code structure to obtain the corresponding second configuration code. The second configuration code includes the configuration information (target configuration field) of the first specified content that the target client needs to control and display corresponding to the target resource and the configuration information of the second specified content that does not need to be controlled and displayed.

[0057] Based on the second configuration code, when rendering and displaying the target resource, it is only necessary to query the second configuration code according to each target element on the display interface of the target resource to find the corresponding configuration information, and then render and display the target element according to the configuration information.

[0058] Optionally, merging the resource management and control information with the first configuration code to generate a second configuration code includes:

[0059] When it is detected that the first configuration code contains configuration information corresponding to the target identifier, the target configuration field replaces the corresponding configuration information in the first configuration code to generate a second configuration code.

[0060] After obtaining the resource control information and the first configuration code, if there is already configuration information corresponding to the first specified content in the first configuration code, it needs to be replaced with the target configuration field of the resource control information. Among them, the parent identifier and the target identifier are used to quickly find the corresponding target element in the first configuration code. After finding the corresponding target element, check its current configuration information. If the configuration information exists, replace the value of the target configuration field in the resource control information with the value of the original configuration information. This ensures that resource control is effective and avoids the situation where the resource control configuration overlaps and causes the control to fail.

[0061] Optionally, rendering and displaying the target resource on the target user terminal based on the second configuration code includes:

[0062] A custom rendering component is created, configuration information of the second configuration code is integrated based on the instruction function of the custom rendering component, and rendering and displaying the target resource on the target user end is performed based on the integrated configuration information.

[0063] In the user interface building framework, with the help of the custom table component, the directive function is used in the component to integrate the configuration information of the second configuration code and determine the structure of the configuration information, including fixed keys such as auth (show or hide), label (column name), onlyAuth (whether to display only under the current user), and other custom configurations. In Vue, you can use Vue.directive or the directives option in the component to define custom directives. The directive can receive configuration information and perform resource management configuration for the corresponding target element based on this information.

[0064] The configuration information of the second configuration code is integrated based on the instruction function of the custom rendering component, and the target resource is rendered and displayed on the target user terminal based on the integrated configuration information, including:

[0065] The command function based on the custom rendering component reads the configuration information of each target element in the display interface of the target resource, and performs rendering and display of the corresponding target element on the target user end based on the read configuration information.

[0066] Take the display control of a contract list as an example. Create a table component by using Vue's component system. The component should be able to accept configuration information and render the table based on this information. Use custom instructions in the template of the table component to dynamically control the display and hiding of columns. The instruction can decide whether to display a column based on the auth field in the configuration information. In the logic of the instruction or component, special configuration information (such as auth, on l yAuth) is specially handled. For example, if auth is 0, hide the column; if it is 1, show the column.

[0067] Optionally, extracting a target configuration field based on the parent identifier and the target identifier to perform resource control configuration of a target element corresponding to the first specified content includes:

[0068] When the target configuration field extracted based on the parent identifier and the target identifier is empty, the target element corresponding to the first designated content is configured as a default state.

[0069] For example, the default state of the target element corresponding to the first specified content is preset to be displayed. When the target configuration field is extracted based on the parent identifier and the target identifier, if the configuration information under a certain target identifier is not found, that is, the target configuration field is empty, the target element corresponding to the first specified content is set to be displayed by default, and no additional resource management operations are performed. The default state can be achieved by setting a default value in an instruction or component. In addition, according to different resource management information, the default state can also be a state such as a default element style.

[0070] Finally, in the table component, the columns and rows of the table are rendered according to the integrated configuration information, thereby ensuring that different content is displayed on the display interface of the corresponding target user end according to the corresponding user's permissions and configuration information.

[0071] For example, take the resource control of the contract list corresponding to user A as an example. Figure 3 As shown, when the user logs in to the user terminal and prepares to enter the contract list information interface, the resource management and control device receives the user's access request and obtains its pre-configured resource management and control information according to the user ID. The resource management and control information specifies that the contract amount in the contract list is hidden. At the same time, the configuration code of the contract list does not require resource management, such as the configuration code of the contract name column, contract code column and other information columns. The two parts of information are merged and integrated. Based on the integrated configuration information, resource management and control configuration can be performed for different target elements of the contract list information interface. And when configuring resource management for the contract amount column, the content of this column is configured to be hidden and not rendered. Then, on the contract list information interface of user A's user terminal, part of the content of the contract amount column cannot be seen. As shown in FIG. Figure 4 As shown, based on the above resource management results, on the contract list information interface of user A's user end, only the contract name column, contract code column and other information columns are rendered and displayed.

[0072] Similarly, according to actual needs, when the target configuration field is configured to display the contract amount column, Figure 5 As shown in the figure, on the contract list information interface of user A's user terminal, the contract name column, contract code column, contract amount column and other information columns are rendered and displayed. In addition, when the target configuration field is configured to display the contract amount column with an asterisk, as shown in the figure below: Figure 6As shown, on the contract list information interface of the user end of user A, the contract name column, contract code column, "*" column and other information columns are rendered and displayed.

[0073] Different resource control effects can be obtained according to different configurations of the target configuration fields. For the contract name column, contract code column and other information columns that do not require resource control, they are all displayed. This enables personalized and refined control of user access to resources. There is no need to create separate resources for different users, simplifying the resource control process and improving resource control efficiency.

[0074] Optionally, obtaining resource management and control information pre-configured for a target resource corresponding to a target user terminal also includes:

[0075] When the target resource does not pre-configure resource control information corresponding to the target user terminal, determine an associated client with the same role information as the target user terminal, and configure resource control information of the target user terminal based on first associated resource control data corresponding to the associated client of the target resource.

[0076] When querying the resource control information pre-configured for the target user, if the resource control information pre-configured for the target user is not found, it is necessary to query the associated client with the same role information as the target user. The role information may include user type, authority level, department affiliation, etc., which are helpful to identify other clients with similar needs and permissions. After determining the associated client with the same role information as the target user, the first associated resource control data of these associated clients are further retrieved. The first associated resource control data is the resource control information configured for the associated client corresponding to the target resource, which includes the control policy of the associated client corresponding to the target resource. The resource control information of the target user is configured based on these associated data. Specifically, the parent identifier, target identifier and target configuration field part of the information can be collected to configure the resource control information of the target client. By querying the first associated resource control data of the associated client with similar permissions to configure the resource control information of the target user, the efficient configuration of the resource control information of the target user can be achieved, and the efficiency of resource control information configuration can be improved. At the same time, it also avoids the situation where the resource control of the target user fails due to the failure to query the resource control information of the target user, thereby improving the reliability of resource control.

[0077] Optionally, obtaining resource management and control information pre-configured for a target resource corresponding to a target user terminal also includes:

[0078] When the target resource does not correspond to the pre-configured resource control information of the target user terminal, determine the associated resources of the target resource, query the second associated resource control data pre-configured for the associated resource corresponding to the target user terminal, and configure the resource control information of the target user terminal based on the second associated resource control data.

[0079] Different from the above-mentioned method of configuring the resource control information of the target user terminal for the first associated resource control data of the associated client, when the present application queries the pre-configured resource control information of the target user terminal, if the pre-configured resource control information for the target user terminal cannot be found, the associated resources with the same type, permission level, etc. as the target resource can also be queried. Taking the contract list as an example, the associated contract list of the same type and permission level but different time can be queried. The resource control strategy corresponding to the target user terminal of this part of the contract list is the same, so the resource control information pre-configured for the target user terminal corresponding to this part of the contract list is queried, which is defined as the second associated resource control data. The resource control information of the target user terminal is configured based on the second associated resource control data, so that the efficient configuration of the resource control information of the target user terminal can also be achieved, thereby improving the efficiency of resource control information configuration. At the same time, it also avoids the situation where the resource control of the target user terminal fails due to the inability to query the resource control information of the target user terminal, thereby improving the reliability of resource control.

[0080] In the above, by responding to the target user terminal's access request to the target resource, the resource control information pre-configured by the target user terminal corresponding to the target resource is obtained, and the resource control information includes a parent identifier that identifies the display interface of the target resource, a target identifier that identifies the target element corresponding to the first specified content in the target resource, and a target configuration field used for controlling and displaying the first specified content; extracting the first configuration code of the target resource, the first configuration code includes the configuration information of the second specified content of the target resource; merging the resource control information with the first configuration code to generate a second configuration code, rendering and displaying the target resource on the target user terminal based on the second configuration code, and in the rendering and display process, extracting the target configuration field based on the parent identifier and the target identifier to perform resource control configuration of the target element corresponding to the first specified content. By adopting the above technical means, the resource control information pre-configured by the target user terminal is merged with the configuration code of the target resource base, and the merged configuration code is used to render and display the target resource on the target user terminal, so as to use the resource control information to display and control the specified content of the target resource, and realize personalized and refined control of user access to resources. Simplify the resource control process, thereby improving the efficiency of resource control.

[0081] Embodiment 2:

[0082] Based on the above embodiments, Figure 7 This is a schematic diagram of the structure of a resource management and control device provided in Example 2 of this application. Figure 7 The resource management and control device provided in this embodiment specifically includes: an acquisition module 21, an extraction module 22 and a display module 23.

[0083] The acquisition module 21 is used to respond to the target user terminal's access request to the target resource, and obtain the resource control information pre-configured by the target resource corresponding to the target user terminal, the resource control information including a parent identifier of the display interface of the target resource, a target identifier of the target element corresponding to the first specified content in the target resource, and a target configuration field for controlling and displaying the first specified content;

[0084] The extraction module 22 is used to extract a first configuration code of the target resource, where the first configuration code includes configuration information of a second specified content of the target resource;

[0085] The display module 23 is used to merge the resource management information with the first configuration code to generate a second configuration code, render and display the target resource on the target user end based on the second configuration code, and during the rendering and display process, extract the target configuration field based on the parent identifier and the target identifier to perform resource management configuration of the target element corresponding to the first specified content.

[0086] Specifically, the resource management and control information is combined with the first configuration code to generate the second configuration code, including:

[0087] When it is detected that the first configuration code contains configuration information corresponding to the target identifier, the target configuration field replaces the corresponding configuration information in the first configuration code to generate a second configuration code.

[0088] Specifically, rendering and displaying the target resource on the target user terminal based on the second configuration code includes:

[0089] A custom rendering component is created, configuration information of the second configuration code is integrated based on the instruction function of the custom rendering component, and rendering and displaying the target resource on the target user end is performed based on the integrated configuration information.

[0090] Specifically, the configuration information of the second configuration code is integrated based on the instruction function of the custom rendering component, and the target resource is rendered and displayed on the target user terminal based on the integrated configuration information, including:

[0091] The command function based on the custom rendering component reads the configuration information of each target element in the display interface of the target resource, and performs rendering and display of the corresponding target element on the target user end based on the read configuration information.

[0092] Specifically, extracting the target configuration field based on the parent identifier and the target identifier to perform resource control configuration of the target element corresponding to the first specified content includes:

[0093] When the target configuration field extracted based on the parent identifier and the target identifier is empty, the target element corresponding to the first designated content is configured as a default state.

[0094] Specifically, obtaining resource control information pre-configured by the target resource corresponding to the target user terminal also includes:

[0095] When the target resource does not pre-configure resource control information corresponding to the target user terminal, determine an associated client with the same role information as the target user terminal, and configure resource control information of the target user terminal based on first associated resource control data corresponding to the associated client of the target resource.

[0096] Specifically, obtaining resource control information pre-configured by the target resource corresponding to the target user terminal also includes:

[0097] When the target resource does not correspond to the pre-configured resource control information of the target user terminal, determine the associated resources of the target resource, query the second associated resource control data pre-configured for the associated resource corresponding to the target user terminal, and configure the resource control information of the target user terminal based on the second associated resource control data.

[0098] In the above, by responding to the target user terminal's access request to the target resource, the resource control information pre-configured by the target user terminal corresponding to the target resource is obtained, and the resource control information includes a parent identifier that identifies the display interface of the target resource, a target identifier that identifies the target element corresponding to the first specified content in the target resource, and a target configuration field used for controlling and displaying the first specified content; extracting the first configuration code of the target resource, the first configuration code includes the configuration information of the second specified content of the target resource; merging the resource control information with the first configuration code to generate a second configuration code, rendering and displaying the target resource on the target user terminal based on the second configuration code, and in the rendering and display process, extracting the target configuration field based on the parent identifier and the target identifier to perform resource control configuration of the target element corresponding to the first specified content. By adopting the above technical means, the resource control information pre-configured by the target user terminal is merged with the configuration code of the target resource base, and the merged configuration code is used to render and display the target resource on the target user terminal, so as to use the resource control information to display and control the specified content of the target resource, and realize personalized and refined control of user access to resources. Simplify the resource control process, thereby improving the efficiency of resource control.

[0099] The resource management and control device provided in the second embodiment of the present application can be used to execute the resource management and control method provided in the above-mentioned first embodiment, and has corresponding functions and beneficial effects.

[0100] Embodiment three:

[0101] Embodiment 3 of the present application provides an electronic device, referring to Figure 8The electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34 and an output device 35. The number of processors in the electronic device can be one or more, and the number of memories in the electronic device can be one or more. The processor, memory, communication module, input device and output device of the electronic device can be connected via a bus or other means.

[0102] As a computer-readable storage medium, the memory can be used to store software programs, computer executable programs and modules, such as the program instructions / modules corresponding to the resource management and control method described in any embodiment of the present application (for example, the acquisition module, extraction module and display module in the resource management and control device). The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.

[0103] The communication module is used for data transmission.

[0104] The processor executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, thereby realizing the above-mentioned resource management method.

[0105] The input device can be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device can include display devices such as display screens.

[0106] The electronic device provided above can be used to execute the resource management method provided in the above embodiment 1, and has corresponding functions and beneficial effects.

[0107] Embodiment 4:

[0108] An embodiment of the present application also provides a storage medium containing computer executable instructions, which are used to execute a resource management method when executed by a computer processor. The resource management method includes: in response to a target user terminal's access request to a target resource, obtaining resource management information pre-configured for the target resource corresponding to the target user terminal, the resource management information including a parent identifier that identifies a display interface of the target resource, a target identifier that identifies a target element corresponding to a first specified content in the target resource, and a target configuration field for managing and displaying the first specified content; extracting a first configuration code for the target resource, the first configuration code including configuration information of a second specified content of the target resource; merging the resource management information with the first configuration code to generate a second configuration code, rendering and displaying the target resource on the target user terminal based on the second configuration code, and during the rendering and display process, extracting the target configuration field based on the parent identifier and the target identifier to perform resource management configuration for the target element corresponding to the first specified content.

[0109] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.

[0110] Of course, the storage medium containing computer executable instructions provided in the embodiment of the present application, whose computer executable instructions are not limited to the resource management method described above, can also execute related operations in the resource management method provided in any embodiment of the present application.

[0111] The resource control device, storage medium and electronic device provided in the above embodiments can execute the resource control method provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the resource control method provided in any embodiment of the present application.

[0112] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.

Claims

1. A resource management method, characterized in that: include: In response to a target user terminal's access request to a target resource, obtain resource control information pre-configured for the target resource and corresponding to the target user terminal, the resource control information including a parent identifier identifying a display interface of the target resource, a target identifier identifying a target element corresponding to a first specified content in the target resource, and a target configuration field for controlling and displaying the first specified content; Extracting a first configuration code of the target resource, where the first configuration code includes configuration information of a second specified content of the target resource; The resource management information is combined with the first configuration code to generate a second configuration code, and the target resource is rendered and displayed on the target user terminal based on the second configuration code. During the rendering and display process, the target configuration field is extracted based on the parent identifier and the target identifier to perform resource management configuration of the target element corresponding to the first specified content.

2. The resource management method according to claim 1, characterized in that: The step of combining the resource management and control information with the first configuration code to generate a second configuration code includes: When it is detected that the first configuration code contains configuration information corresponding to the target identifier, the target configuration field replaces the configuration information corresponding to the first configuration code to generate a second configuration code.

3. The resource management method according to claim 1, characterized in that: The rendering and displaying of the target resource on the target user terminal based on the second configuration code includes: A custom rendering component is created, configuration information of the second configuration code is integrated based on the instruction function of the custom rendering component, and rendering and displaying the target resource on the target user terminal is performed based on the integrated configuration information.

4. The resource management method according to claim 3, characterized in that: The step of integrating the configuration information of the second configuration code based on the instruction function of the custom rendering component, and rendering and displaying the target resource on the target user terminal based on the integrated configuration information includes: The configuration information of each target element in the display interface of the target resource is read based on the instruction function of the custom rendering component, and the rendering and display of the corresponding target element on the target user terminal is performed based on the read configuration information.

5. The resource management method according to claim 4, characterized in that: The extracting the target configuration field based on the parent identifier and the target identifier to perform resource control configuration of the target element corresponding to the first specified content includes: When the target configuration field extracted based on the parent identifier and the target identifier is empty, the target element corresponding to the first designated content is configured as a default state.

6. The resource management method according to any one of claims 1 to 5, characterized in that: The obtaining of resource control information pre-configured for the target resource and corresponding to the target user terminal further includes: When the target resource is not pre-configured with the resource control information corresponding to the target user terminal, an associated client with the same role information as the target user terminal is determined, and the resource control information of the target user terminal is configured based on the first associated resource control data corresponding to the associated client of the target resource.

7. The resource management method according to any one of claims 1 to 5, characterized in that: The obtaining of resource control information pre-configured for the target resource and corresponding to the target user terminal further includes: In the case where the target resource does not correspond to the resource control information pre-configured for the target user terminal, determine the associated resources of the target resource, query the second associated resource control data pre-configured for the associated resource corresponding to the target user terminal, and configure the resource control information of the target user terminal based on the second associated resource control data.

8. A resource management and control device, characterized in that: include: an acquisition module, configured to, in response to a target user terminal's access request to a target resource, acquire resource control information preconfigured for the target resource corresponding to the target user terminal, the resource control information including a parent identifier identifying a display interface of the target resource, a target identifier identifying a target element corresponding to a first specified content in the target resource, and a target configuration field for controlling and displaying the first specified content; An extraction module, configured to extract a first configuration code of the target resource, wherein the first configuration code includes configuration information of a second specified content of the target resource; A display module is used to merge the resource management information with the first configuration code to generate a second configuration code, render and display the target resource on the target user terminal based on the second configuration code, and during the rendering and display process, extract the target configuration field based on the parent identifier and the target identifier to perform resource management configuration of the target element corresponding to the first specified content.

9. An electronic device, characterized in that: include: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the resource management and control method as described in any one of claims 1-7.

10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the resource management method as described in any one of claims 1 to 7 when executed by a computer processor.