CN112583877B - Resource information processing method and device, storage medium and electronic equipment - Google Patents

Resource information processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112583877B
CN112583877B CN201910944135.6A CN201910944135A CN112583877B CN 112583877 B CN112583877 B CN 112583877B CN 201910944135 A CN201910944135 A CN 201910944135A CN 112583877 B CN112583877 B CN 112583877B
Authority
CN
China
Prior art keywords
resource information
service system
role
service
synchronized
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
Application number
CN201910944135.6A
Other languages
Chinese (zh)
Other versions
CN112583877A (en
Inventor
吴宇明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201910944135.6A priority Critical patent/CN112583877B/en
Publication of CN112583877A publication Critical patent/CN112583877A/en
Application granted granted Critical
Publication of CN112583877B publication Critical patent/CN112583877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a resource information processing method, a resource information processing device, a storage medium and electronic equipment. The method is applied to a platform system, and resource information of a first role object is acquired, wherein the first role object is created by a service system, and content used for representing the resource information comprises at least one of the following contents: the authority owned by the first character object and the resources available for the first character object; binding a second role object in the platform system with the first role object to enable the second role object to correspond to the resource information; wherein the second persona object corresponds to at least one user object; the information of at least one user object is synchronized to the first role object of the service system, so that the technical effect of improving the efficiency of resource integration is achieved.

Description

Resource information processing method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a resource information processing method, device, storage medium, and electronic device.
Background
At present, under the rapid development of the internet, the services are gradually developed towards micro services from the initial unified services. As the number of service systems providing services increases, the resource control of each service system is easily subject to redundancy development, and thus resource integration is an important ring.
In the field, resource integration is generally unified and standardized at the beginning of development, and a unified platform system is used for resource integration, but for a service system which has been developed, it is obviously not advisable to newly design and develop a resource integration scheme from the aspects of service stability and economic benefit, so that the technical problem of low efficiency of resource integration exists.
Aiming at the problem of low efficiency of resource integration in the related art, no effective solution is provided at present.
Disclosure of Invention
The invention mainly aims to provide a resource information processing method, a resource information processing device, a storage medium and electronic equipment, and at least solves the technical problem of low resource integration efficiency.
In order to achieve the above object, according to another aspect of the present invention, another method for processing resource information is also provided. The method is applied to a platform system, and resource information of a first character object is obtained, wherein the first character object is created by a service system, and the content used for representing the resource information comprises at least one of the following contents: the authority owned by the first character object and the resources available for the first character object; binding a second role object in the platform system with the first role object to enable the second role object to correspond to the resource information; wherein the second persona object corresponds to at least one user object; information of at least one user object is synchronized to a first character object of a service system.
Optionally, the obtaining the resource information of the first character object includes: acquiring resource information of a first role object synchronized by a service system through a full synchronous interface of the service system; or acquiring the resource information of the first role object synchronized by the service system through an incremental synchronization interface of the service system.
Optionally, the obtaining resource information of the first character object synchronized by the service system through a full synchronization interface of the service system includes: and under the condition that the platform system is started for the first time, acquiring resource information of the first role object synchronized by the service system through a full synchronous interface of the service system.
Optionally, the obtaining resource information of the first character object synchronized by the service system through the incremental synchronization interface of the service system includes: and acquiring the resource information of the first character object synchronized by the service system through an incremental synchronization interface of the service system according to preset time.
Optionally, in a case that there are a plurality of service systems, the obtaining resource information of the first character object includes: acquiring resource information of a first role object synchronized by a service system through a full synchronous interface of a service bus, wherein the resource of the first role object is synchronized to the full synchronous interface of the service bus through the full synchronous interface of the service system; or acquiring resource information of the first role object synchronized by the service system through an increment synchronous interface of the service bus, wherein the resource of the first role object is synchronized to the increment synchronous interface of the service bus through the increment synchronous interface of the service system.
Optionally, synchronizing information of the at least one user object to the first persona object of the service system comprises: information of at least one user object is synchronized to a first character object of a service system through a service bus.
Optionally, the resources available to the first character object include at least one of: accessible content, accessible paths, available hardware resources.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a processing apparatus for resource information. The device is applied to a service system and can comprise: a creating unit for creating a first character object of the service system; the system comprises a first synchronization unit, a second synchronization unit and a third synchronization unit, wherein the first synchronization unit is used for synchronizing resources of a first role object into a platform system, the first role object is bound with a second role object in the platform system through the resources, and the second role object corresponds to at least one user object; and the first acquisition unit is used for acquiring the information of at least one user object synchronized by the platform system and processing the information of each user object through the first role object.
In order to achieve the above object, according to another aspect of the present invention, another resource information processing apparatus is also provided. The device is applied to a platform system and can comprise: an obtaining unit, configured to obtain resource information of a first character object, where the first character object is created by a service system, and content indicated by the resource information includes at least one of: the authority owned by the first character object and the resources available for the first character object; the system comprises a binding unit, a resource information acquiring unit and a resource information acquiring unit, wherein the binding unit is used for binding a second role object in a platform system with a first role object to enable the second role object to correspond to the resource information, and the second role object corresponds to at least one user object; a synchronization unit for synchronizing information of at least one user object to a first character object of a service system.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a storage medium. The storage medium comprises a stored program, wherein when the program runs, the device where the storage medium is located is controlled to execute the resource information processing method of the embodiment of the invention.
In order to achieve the above object, according to another aspect of the present invention, there is also provided an electronic device. The electronic equipment comprises a processor, at least one memory connected with the processor, and a bus; the processor and the memory complete mutual communication through a bus; the processor is used for calling the program instructions in the memory so as to execute the resource information processing method of the embodiment of the invention.
By means of the technical scheme, when the service system has a new role, only the role bound with the service system needs to be added in the platform system and the resource information is synchronized, so that the user object of the platform system can be used for the resources corresponding to the new role in the service system, the resources can be simply and effectively integrated in a unified manner, the resource integration scheme does not need to be redesigned and developed even if the resource system established at the initial development stage is changed, the technical problem of low resource integration efficiency is solved, and the technical effect of improving the resource integration efficiency is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a method for processing resource information according to an embodiment of the invention;
FIG. 2 is a diagram of a multi-service rights integration system according to an embodiment of the present invention;
FIG. 3 is a flow diagram of a method for multi-service privilege integration according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a resource information processing apparatus according to an embodiment of the present invention; and
fig. 5 is a schematic diagram of an electronic device according to an embodiment of the invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the accompanying drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The embodiment of the invention also provides a resource information processing method, which can be applied to a platform system.
Fig. 1 is a flowchart of another resource information processing method according to an embodiment of the present invention. As shown in fig. 1, the method may include the steps of:
step S102, acquiring resource information of the first character object.
In the technical solution provided by step S102 of the present invention, the platform system acquires resource information of a first character object, where the first character object is created by the service system, and the content that the resource information is used to represent includes at least one of the following: the rights owned by the first character object, the resources available to the first character object.
In this embodiment, after the service system has been developed, a first role object of the service system is created, where the service system is a party for providing services to the platform system, that is, a service party, and the first role object is also a service party role, and a newly created role object of the service system may be a management object for managing information of the service system.
In this embodiment, the data related to the first character object may be resource information of the service system associated with the first character object, the resource information may be a right owned by the first character object, such as an operation right of adding, deleting, changing, checking, and the like, and the resource information may also be a resource usable by the first character object, and the usable resource includes content accessible by the first character object, a path accessible by the first character object, hardware resource information usable by the first character object, and the like. Optionally, the first character object of this embodiment has a one-to-many correspondence with resource information belonging to itself, that is, one first character object may be associated with a plurality of resource information. The platform system of this embodiment may obtain a plurality of resource information associated with the first character object synchronized by the service system.
And step S104, binding a second role object in the platform system with the first role object to enable the second role object to correspond to the resource information.
In the technical solution provided in step S104 of the present invention, after the resource of the first role object is acquired, the service system synchronizes the resource of the first role object to the platform system, and binds the second role object in the platform system with the first role object, so that the second role object corresponds to the resource information of the first role object, where the second role object corresponds to at least one user object.
In this embodiment, the authority control of the platform system serves as a set of central authority management scheme to control the access authority of each service system. The platform system of this embodiment has a second role object, which is a platform system role, and may be a management object for managing information of the platform system, where the second role object and resource information belonging to the second role object may have a one-to-many relationship, that is, one second role object may be associated with a plurality of resource information, and the resource information of the second role object may include information of at least one user object, where the user object and the second role object may have a many-to-one relationship, that is, a plurality of user objects have one second role object, but each user object only belongs to one second role object, and the resource information of the second role object may include information of at least one user object, and the information may be other related information such as a user account number, a password, and the like.
In the platform system, the second role object in the platform system can be bound with the first role object through the authorization function of the platform system, that is, the corresponding relationship between the second role object and the first role object is established. After the second role object in the platform system is bound with the first role object, the second role object can correspond to the resource information of the first role object, and the second role object can enjoy the resource information of the first role object.
Step S106, synchronizing the information of at least one user object to the first role object of the service system.
In the technical solution provided in step S106 of the present invention, after the second role object in the platform system is bound to the first role object and the second role object corresponds to the resource information, the information of the at least one user object is synchronized to the first role object of the service system, so that the service platform obtains the information of the at least one user object synchronized by the platform system.
In this embodiment, since the second role object of the platform system corresponds to the at least one user object, the platform system can synchronize the information of the at least one user object to the first role object of the service system, and the service system obtains the information of the at least one user object synchronized by the platform system, and can process the information of each user object through the first role object, thereby achieving the purpose of integrating and managing the resource information without making a great change in the service system.
The resource information processing method of this embodiment can be applied to a service system, and through the above steps S102 to S106, resource information of a first character object is acquired, where the first character object is created by the service system, and content that the resource information is used to represent includes at least one of the following: the authority owned by the first character object and the resources available for the first character object; binding a second role object in the platform system with the first role object to enable the second role object to correspond to the resource information, wherein the second role object corresponds to at least one user object; synchronizing information of at least one user object to a first persona object of a service system, wherein the information of each user object is processed by the service system through the first persona object. That is to say, when a new role is added to the service system, only the role bound to the new role needs to be added to the platform system and the resource information is synchronized, so that the user object of the platform system can be used for the resource corresponding to the new role in the service system, the resources can be simply and effectively integrated in a unified manner, even if the resource system established at the initial development stage is changed, the resource integration scheme does not need to be redesigned and developed, the technical problem of low resource integration efficiency is solved, and the technical effect of improving the resource integration efficiency is achieved.
As an alternative implementation manner, in step S102, the acquiring resource information of the first character object includes: acquiring resource information of a first role object synchronized by a service system through a full synchronous interface of the service system; or acquiring the resource information of the first character object synchronized by the service system through an incremental synchronization interface of the service system.
In this embodiment, when the platform system acquires the resource of the first character object, the platform system may acquire the resource information of the first character object in a full amount manner. Optionally, the platform system of this embodiment invokes a synchronization interface of the service system, and synchronizes the resource information of the first character object to the platform system through the synchronization interface of the service system to obtain the resource information of the first character object, where the synchronization interface may be a full synchronization interface, and the platform system may invoke the full synchronization interface to obtain the resource information of the first character object synchronized by the service system through the full synchronization interface, so that the platform system achieves the purpose of synchronously obtaining the resource information of the first character object.
Optionally, the platform system of this embodiment may further obtain the resource information of the first character object in an incremental manner. Optionally, the synchronization interface in this embodiment may also be an incremental synchronization interface, and the platform system may call the incremental synchronization interface, and synchronize the resource information of the first character object to the platform system through the incremental synchronization interface of the service system, so that the platform system acquires the resource information of the first character object, thereby achieving an object of synchronously acquiring the resource information of the first character object by the platform system.
As an optional implementation manner, the obtaining resource information of the first role object synchronized by the service system through the full synchronization interface of the service system includes: and under the condition that the platform system is started for the first time, acquiring resource information of the first character object synchronized by the service system through a full synchronous interface of the service system.
In this embodiment, when the resource information of the first character object synchronized by the service system through the full synchronization interface of the service system is obtained, it may be detected whether the platform system is started for the first time, if the platform system is started for the first time, the platform system may call the full synchronization interface of the service system, and the service system synchronizes the resource of the first character object to the platform system through the full synchronization interface of the service system, so that the platform system obtains the resource information of the first character object.
As an optional implementation manner, the obtaining resource information of the first role object synchronized by the service system through the incremental synchronization interface of the service system includes: and according to the preset time, acquiring the resource information of the first character object synchronized by the service system through an incremental synchronous interface of the service system.
In this embodiment, when the resource information of the first character object synchronized by the service system through the incremental synchronization interface of the service system is obtained, the incremental synchronization interface provided by the service system may be called in a timing scheduling manner according to a predetermined time, and the service platform synchronizes the resource of the first character object to the platform system through the incremental synchronization interface of the service system, so that the platform system obtains the resource information of the first character object synchronized by the service system.
As an optional implementation manner, in the case that there are multiple service systems, in step S102, the acquiring resource information of the first character object includes: acquiring resource information of a first role object synchronized by a service system through a full synchronous interface of a service bus, wherein the resource of the first role object is synchronized to the full synchronous interface of the service bus through the full synchronous interface of the service system; or acquiring resource information of the first role object synchronized by the service system through an increment synchronous interface of the service bus, wherein the resource of the first role object is synchronized to the increment synchronous interface of the service bus through the increment synchronous interface of the service system.
In this embodiment, if there are multiple service systems, an intermediate service may be created, the full synchronization interface of each service system may be called in a service bus manner, the platform system obtains resource information of the first character object synchronized by each service system through the full synchronization interface of the service bus, and each service system may synchronize its own resource of the first character object into the full synchronization interface of the service bus through the full synchronization interface of the service system first, and then call the full synchronization interface of the service bus by the platform system, so that the full synchronization interface of the service bus synchronizes the resource of the first character object into the platform system.
The embodiment may also call the incremental synchronization interface of each service system in a service bus manner, and obtain the resource information of the first role object synchronized by the service system through the incremental synchronization interface of the service bus, where each service system may synchronize the resource of the first role object to the incremental synchronization interface of the service bus through the incremental synchronization interface of the service system first, and then call the incremental synchronization interface of the service bus by the platform system, so that the incremental synchronization interface of the service bus synchronizes the resource of the first role object to the platform system.
As an alternative implementation, the step S106 of synchronizing the information of the at least one user object to the first character object of the service system includes: information of at least one user object is synchronized to a first character object of a service system through a service bus.
In this embodiment, after the platform system acquires the resource information of the first role object, the platform system may invoke an interface of the service bus, and synchronize information of at least one user object associated with the second role object of the platform system into the service system, so that the service system acquires the information of at least one user object synchronized by the platform system through the service bus, so as to integrate and manage the resource information.
Optionally, the resources available to the first character object include at least one of: accessible content, accessible paths, available hardware resource information.
In this embodiment, the content that can be accessed by the first character object may be a website, a page content, and the like that the first character object is allowed to access, the path that can be accessed by the first character object may be a file path that can be accessed by the first character object, and the hardware resource information that can be used by the first character object may be a type of hardware used by the first character object, and the like, which is not limited herein.
According to the embodiment, the authority integration under multiple services can be completed by binding the first role object of the service system through the second role object of the platform system, when the service system has a new role, only the role bound with the second role object needs to be added in the platform system and the resource information is synchronized, so that the user object of the platform system can be used for the resource corresponding to the new role in the service system, the resources can be simply and effectively integrated in a unified manner, the resource integration scheme does not need to be redesigned and developed even if the resource system established at the initial development stage is changed, the technical problem of low resource integration efficiency is solved, and the technical effect of improving the resource integration efficiency is achieved.
Example 2
The technical solution of the embodiment of the present invention is described below with reference to a preferred embodiment, and specifically, a resource is taken as an authority for example.
In the embodiment, the role object of the platform system is bound with the role object of the service system to complete the authority integration under multiple services, so that the problem that the authorities of various different service systems are difficult to uniformly control due to inconsistent authority control schemes is solved.
Fig. 2 is a schematic diagram of a multi-service rights integration system according to an embodiment of the present invention. As shown in fig. 2, the system may include: service system 21, service system 22, and platform system 23.
The platform system 23 of this embodiment may be configured to perform authority control, the service system 21 and the service system 22 may be configured to perform role object synchronization, and the role object of the platform system 23 may be bound to the role objects of the service system 21 and the service system 22.
The authority control of the platform system 23 of this embodiment is described below.
The authority control of the platform system 23 in this embodiment is a set of management scheme for central authority collection, and can control the access authority of the service system 21 and the service system 22.
The authority model of the platform system 23 in this embodiment may correspond to one role object for multiple user objects, that is, multiple user objects belong to the same role object, for example, the role object B is for the user object a and the user object B, but each user object can only belong to one role object; the role object and the resource information are in one-to-many correspondence, that is, one role object may possess a plurality of resource information, for example, role object a possesses resource information 1, resource information 2 and resource information 3.
The following describes synchronization of the character objects (characters) by the service system 21 (or the service system 22).
In the service system 21, the role object and the resource information are in one-to-many correspondence, and one role object may possess a plurality of resource information, for example, one role object possesses resource information 1, resource information 2, and resource information 3. When the service system 21 newly creates a character object, the resource information of the character may be synchronized by a full-volume synchronization method and an incremental synchronization method, and synchronized to the platform system 23.
The full synchronization mode is to call a full synchronization interface of the service system 21 when the platform system 23 is started for the first time, so that the service system 21 synchronizes resource information of the role object to the platform system 23 through the full synchronization interface.
In the incremental synchronization mode, an incremental synchronization interface provided by the service system 21 is called according to a specified time in a timing scheduling mode, so that the service system 21 synchronizes the resource information of the role object to the platform system 23 through the incremental synchronization interface.
Optionally, the service system of this embodiment may include, but is not limited to, the service system 21 and the service system 22, and this embodiment creates an intermediate service, calls the full-synchronization interface or the incremental-synchronization interface of each service system in the form of a service bus, synchronizes the resource information of the character object to the full-synchronization interface or the incremental-synchronization interface, and then calls the full-service full-synchronization interface or the incremental-synchronization interface of the service bus by the platform system 23, so as to synchronize the resource information of the character object to the platform system 23 through the full-service full-synchronization interface or the incremental-synchronization interface of the service bus.
A method of binding a character object of the platform system 23 with a character object of the service system 21 (or the service system 22) of the embodiment will be described below.
In this embodiment, in the platform system 23, the role object of the platform system 23 is bound with the role object of the service system 21, an interface of the service bus is called, and information of the user object of the role object of the platform system 23 is synchronized into the service system 21, so that the integrated management of the rights can be realized. The information of the user object may be information such as a user account, a login password, and the like, which is not limited herein.
Fig. 3 is a flowchart of a method for rights integration under multiple services according to an embodiment of the present invention. As shown in fig. 3, the method may include the steps of:
in step S301, the service system creates a character object.
The role object created by the service system in this embodiment is associated with resource information, where the resource information includes resource information related to a process of managing the service system, the resource information may be a right owned by the role object and a resource usable by the role object, and the resource usable by the role object includes accessible content, an accessible path, and a usable hardware resource.
Step S302, the platform system calls a full-scale synchronization or incremental synchronization interface of the service bus to synchronize resource information of the role object created by the service system.
After the role object is created by the service system, the platform system may call the full-scale synchronization interface or the incremental synchronization interface of the service bus to synchronize the resource information of the role object created by the service system.
Step S303, binding the role object of the platform system and the role object created by the service system through the authorization function of the platform system.
Step S304, the platform system synchronizes the user information owned by the role object to the role object of the service system.
In this embodiment, when binding a role object of the platform system and a role object created by the service system, the platform system synchronizes information of a user owned by the role object to the role object of the service system.
According to the embodiment, the role objects of the service systems are bound through the role objects of the platform system to complete authority integration under multiple services, the problem that the authorities are difficult to uniformly control due to the fact that authority control schemes of various different service systems are inconsistent is solved, under the condition that all the service systems are not greatly changed, only a small amount of development is needed, the authorities can be uniformly managed, unified integration of the authorities is achieved, the technical problem that the efficiency of resource integration is low is solved, and the technical effect of improving the efficiency of the resource integration is achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
Example 3
The embodiment of the invention also provides a device for processing the resource information. It should be noted that the processing apparatus for resource information of this embodiment is applied to a service system, and may be used to execute the processing method for resource information shown in fig. 1 of the present invention.
Fig. 4 is a schematic diagram of another resource information processing apparatus according to an embodiment of the present invention. As shown in fig. 4, the resource information processing apparatus 40 may include: an acquisition unit 41, a binding unit 42 and a synchronization unit 43.
An obtaining unit 41, configured to obtain resource information of a first character object, where the first character object is created by the service system, and content used for representing by the resource information includes at least one of: the rights owned by the first character object, the resources available to the first character object.
And a binding unit 42, configured to bind a second role object in the platform system with the first role object, so that the second role object corresponds to the resource information, where the second role object corresponds to at least one user object.
A synchronization unit 43, configured to synchronize information of at least one user object to a first role object of the service system, where the information of each user object is processed by the service system through the first role object.
The resource information processing apparatus of this embodiment synchronizes the resource of the first role object created by the service system to the platform system, so that the first role object is bound to the second role object in the platform system, and further, the information associated with at least one user object by the second role object is obtained and can be processed, so as to integrate the resource uniformly, thereby avoiding the standard of authority integration only in the initial stage of development, and for the developed service system, the design and development of the resource integration scheme need to be performed again, solving the technical problem of low efficiency of resource integration, and achieving the technical effect of improving the efficiency of resource integration.
Example 4
In this embodiment, the data processing apparatus comprises a processor and a memory, the above-mentioned obtaining unit 41, the binding unit 42 and the synchronization unit 43 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the technical effect of improving the efficiency of resource integration under the browser environment is achieved by adjusting the kernel parameters.
Example 5
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing a method for processing resource information when executed by a processor.
Example 6
Fig. 5 is a schematic diagram of an electronic device according to an embodiment of the invention. As shown in fig. 5, the electronic device 50 includes at least one processor 501, and at least one memory 502, a bus 503 connected to the processor; the processor 501 and the memory 502 complete communication with each other through a bus 503; the processor 501 is used for calling the program instructions in the memory 502 to execute the processing method of the resource information. The electronic device 50 herein may be a server, a PC, a PAD, a cell phone, etc.
Example 7
The present application also provides a computer program product for a platform system, adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring resource information of a first character object, wherein the first character object is created by a service system, and the content represented by the resource information comprises at least one of the following: the authority owned by the first character object and the resources available for the first character object; binding a second role object in the platform system with the first role object to enable the second role object to correspond to the resource information, wherein the second role object corresponds to at least one user object; information of at least one user object is synchronized to a first character object of a service system.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: acquiring the resource information of the first character object includes: acquiring resource information of a first role object synchronized by a service system through a full synchronous interface of the service system; or acquiring the resource information of the first role object synchronized by the service system through an incremental synchronization interface of the service system.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: and under the condition that the platform system is started for the first time, acquiring resource information of the first character object synchronized by the service system through a full synchronous interface of the service system.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: and according to the preset time, acquiring the resource information of the first character object synchronized by the service system through an incremental synchronous interface of the service system.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: under the condition that a plurality of service systems are available, acquiring resource information of a first role object synchronized by the service systems through a full synchronous interface of a service bus, wherein the resource of the first role object is synchronized to the full synchronous interface of the service bus through the full synchronous interface of the service systems; or acquiring resource information of the first role object synchronized by the service system through an increment synchronous interface of the service bus, wherein the resource of the first role object is synchronized to the increment synchronous interface of the service bus through the increment synchronous interface of the service system.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: information of at least one user object is synchronized to the service system via the service bus.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above can be implemented by a general purpose computing device, they can be centralized in a single computing device or distributed over a network of multiple computing devices, and they can alternatively be implemented by program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A resource information processing method is applied to a platform system and comprises the following steps:
acquiring resource information of a first role object, wherein the first role object is created by a service system, and the content represented by the resource information comprises at least one of the following: the authority owned by the first character object, the resources available to the first character object;
binding a second role object in the platform system with the first role object to enable the second role object to correspond to the resource information; wherein the second character object corresponds to at least one user object;
synchronizing information of the at least one user object to the first character object of the service system;
wherein the obtaining of the resource information of the first character object includes:
acquiring resource information of the first role object synchronized by the service system through a full synchronous interface of the service system; or
And acquiring the resource information of the first character object synchronized by the service system through an incremental synchronization interface of the service system.
2. The method of claim 1, wherein obtaining resource information of the first character object synchronized by the service system through a full-scale synchronization interface of the service system comprises:
and under the condition that the platform system is started for the first time, acquiring the resource information of the first role object synchronized by the service system through a full synchronous interface of the service system.
3. The method of claim 1, wherein obtaining resource information of the first character object synchronized by the service system through an incremental synchronization interface of the service system comprises:
and acquiring the resource information of the first character object synchronized by the service system through an incremental synchronization interface of the service system according to preset time.
4. The method of claim 1, wherein in the case that the service system is multiple, the obtaining resource information of the first character object comprises:
acquiring resource information of the first role object synchronized by the service system through a full synchronous interface of a service bus, wherein the resource information of the first role object is synchronized to the full synchronous interface of the service bus through the full synchronous interface of the service system; or
And acquiring the resource information of the first role object synchronized by the service system through an increment synchronous interface of a service bus, wherein the resource information of the first role object is synchronized to the increment synchronous interface of the service bus by the increment synchronous interface of the service system.
5. The method of claim 4, wherein synchronizing the information of the at least one user object to the first persona object of the service system comprises:
synchronizing information of the at least one user object to a first character object of the service system through the service bus.
6. The method of any of claims 1-5, wherein the resources available to the first character object include at least one of:
accessible content, accessible paths, available hardware resources.
7. The device for processing resource information, applied to a platform system, comprises:
an obtaining unit, configured to obtain resource information of a first character object, where the first character object is created by a service system, and content indicated by the resource information includes at least one of: the authority owned by the first character object and the resources available for the first character object;
the binding unit is used for binding a second role object in the platform system with the first role object so as to enable the second role object to correspond to the resource information; wherein the second persona object corresponds to at least one user object;
a synchronization unit for synchronizing information of the at least one user object to a first character object of the service system;
wherein the obtaining unit is further configured to obtain the resource information of the first character object by:
acquiring resource information of the first role object synchronized by the service system through a full synchronous interface of the service system; or
And acquiring the resource information of the first character object synchronized by the service system through an incremental synchronization interface of the service system.
8. A storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the storage medium is located to perform the method of any one of claims 1 to 6.
9. An electronic device comprising to a processor, and at least one memory, bus connected to the processor;
the processor and the memory complete mutual communication through the bus;
the processor is configured to invoke program instructions in the memory to perform the method of any of claims 1 to 6.
CN201910944135.6A 2019-09-30 2019-09-30 Resource information processing method and device, storage medium and electronic equipment Active CN112583877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910944135.6A CN112583877B (en) 2019-09-30 2019-09-30 Resource information processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910944135.6A CN112583877B (en) 2019-09-30 2019-09-30 Resource information processing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112583877A CN112583877A (en) 2021-03-30
CN112583877B true CN112583877B (en) 2022-11-22

Family

ID=75116588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910944135.6A Active CN112583877B (en) 2019-09-30 2019-09-30 Resource information processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112583877B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034790A (en) * 2011-09-30 2013-04-10 上海博泰悦臻网络技术服务有限公司 Service system and user permission activation method
WO2018121445A1 (en) * 2016-12-29 2018-07-05 中兴通讯股份有限公司 Multi-tenant access control method and apparatus
CN108763960A (en) * 2018-06-04 2018-11-06 北京奇虎科技有限公司 Access authorization for resource management method and device
CN108830101A (en) * 2018-06-04 2018-11-16 北京奇虎科技有限公司 Application permission configuration method and device based on tables of data
CN109286579A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 A kind of distribution method of user resources, device and computer readable storage medium
CN109598117A (en) * 2018-10-24 2019-04-09 平安科技(深圳)有限公司 Right management method, device, electronic equipment and storage medium
CN110064201A (en) * 2019-04-28 2019-07-30 北京字节跳动网络技术有限公司 A kind of control method of role-security, device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034790A (en) * 2011-09-30 2013-04-10 上海博泰悦臻网络技术服务有限公司 Service system and user permission activation method
WO2018121445A1 (en) * 2016-12-29 2018-07-05 中兴通讯股份有限公司 Multi-tenant access control method and apparatus
CN109286579A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 A kind of distribution method of user resources, device and computer readable storage medium
CN108763960A (en) * 2018-06-04 2018-11-06 北京奇虎科技有限公司 Access authorization for resource management method and device
CN108830101A (en) * 2018-06-04 2018-11-16 北京奇虎科技有限公司 Application permission configuration method and device based on tables of data
CN109598117A (en) * 2018-10-24 2019-04-09 平安科技(深圳)有限公司 Right management method, device, electronic equipment and storage medium
CN110064201A (en) * 2019-04-28 2019-07-30 北京字节跳动网络技术有限公司 A kind of control method of role-security, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112583877A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN112448856B (en) Method and system for providing public network access for external through intranet kubernets
CN104717233B (en) Database portion arranging method and device
CN111935110B (en) Method and device for controlling permission of tenant to access container instance
CN102200922A (en) Application program installation method and terminal
CA2824705A1 (en) Communications network, computer architecture, computer-implemented method and computer program product for development and management of femtocell-based applications
CN103888408B (en) Upload the data to method and the device of social platform
CN104168309A (en) Data backup and operation method based on cloud service
CN113568970A (en) Application service data management method, device, equipment and storage medium
CN111897623A (en) Cluster management method, device, equipment and storage medium
CN103716400A (en) Method and system for achieving mobile working based on virtual machine
CN108289080B (en) Method, device and system for accessing file system
CN113312168A (en) Page access method and electronic equipment
CN113259494B (en) File storage method and device, electronic equipment and storage medium
CN111935260B (en) Account synchronization method and device, electronic equipment and storage medium
CN112583877B (en) Resource information processing method and device, storage medium and electronic equipment
CN111045928B (en) Interface data testing method, device, terminal and storage medium
CN109753782B (en) Adaptive processing method and device for cloud security resource pool
CN106161517B (en) The method and apparatus for realizing cloud storage access by cloud file system
CN103379148A (en) Cloud calculator and method for processing files through cloud calculator
CN106936643B (en) Equipment linkage method and terminal equipment
CN106993060A (en) A kind of master data integrated approach based on service architecture
CN107770210A (en) Licence plate side's control method, set top box and family's open platform
CN109756362B (en) Integrated processing method and device for third-party security component
CN108063679B (en) Method and device for upgrading cloud management platform
CN114726629B (en) Authority configuration method, system, device, electronic equipment and readable storage medium

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