CN116703071A - Resource sharing method, device and equipment and storage medium - Google Patents

Resource sharing method, device and equipment and storage medium Download PDF

Info

Publication number
CN116703071A
CN116703071A CN202310610945.4A CN202310610945A CN116703071A CN 116703071 A CN116703071 A CN 116703071A CN 202310610945 A CN202310610945 A CN 202310610945A CN 116703071 A CN116703071 A CN 116703071A
Authority
CN
China
Prior art keywords
service
atomic
services
resources
target
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.)
Pending
Application number
CN202310610945.4A
Other languages
Chinese (zh)
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310610945.4A priority Critical patent/CN116703071A/en
Publication of CN116703071A publication Critical patent/CN116703071A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a resource sharing method, a device, equipment and a storage medium, wherein a three-dimensional scene of a target virtual bank website is displayed through virtual reality equipment; if a service request aiming at any service is obtained, the identification of the any service is sent to a service queue corresponding to the service type of the any service; for each service to be processed corresponding to the service identifier in the service queue, obtaining a plurality of atomic services obtained by splitting the service to be processed; and for any atomic service obtained by splitting, distributing and scheduling idle resources and services of the network points for at least one atomic service according to the required resources and services of the any atomic service and idle resources and services of the banking network points of each entity collected by the information collecting system. The application improves the resource utilization rate of each entity banking website.

Description

Resource sharing method, device and equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for resource sharing.
Background
In order to provide a convenient service to users, banks are provided with banking sites in various places so that nearby customers transact business nearby.
However, in the actual application process, the traffic of different banking sites is different, and there may be a large traffic of banking sites and a small traffic of banking networks, so that there may be idle resources of banking sites with small traffic, and insufficient resources of banking sites with large traffic, so that the resources of physical banking sites cannot be effectively utilized.
If the resource sharing among the entity banking sites can be realized, the resource utilization rate of the entity banking sites can be improved. Therefore, how to realize resource sharing among banking outlets becomes a technical problem to be solved.
Disclosure of Invention
The application aims to provide a resource sharing method, a device, equipment and a storage medium, so as to at least partially overcome the technical problems in the prior art.
In order to achieve the above purpose, the present application provides the following technical solutions:
a method of resource sharing, the method comprising:
if a display instruction aiming at a target virtual bank website is obtained, displaying a three-dimensional scene of the target virtual bank website through virtual reality equipment;
if a service request aiming at any service is obtained, the identification of the any service is sent to a service queue corresponding to the service type to which the any service belongs;
For the service to be processed corresponding to each service identifier in the service queue, obtaining a plurality of atomic services obtained by splitting the service to be processed;
for any atomic service obtained by splitting, distributing and scheduling idle resources and services of the network points for at least one atomic service according to the required resources and services of the any atomic service and idle resources and service conditions of each entity banking network point collected by an information collecting system; the at least one atomic service includes only the arbitrary atomic service, or the at least one atomic service includes the arbitrary atomic service and at least one atomic service identical to the arbitrary atomic service.
The method, preferably, the obtaining the plurality of atomic services split by each service to be processed includes:
and obtaining a plurality of atomic services corresponding to the identification of each service to be processed according to the corresponding relation between the preset service identification and the atomic service identification.
According to the above method, preferably, the allocating and scheduling the idle resources and services of the network point for at least one atomic service according to the required resources and services of any atomic service and the idle resources and services collected by the information collecting system includes:
Determining target services capable of processing any atomic service and the number of target resources capable of processing any atomic service in idle resources and services collected by the information collection system;
determining at least one atomic service corresponding to the number of the target resources;
and distributing the at least one atomic service to the target resource capable of processing any atomic service so as to enable a target service to be configured in the target resource to process the at least one atomic service.
In the above method, preferably, the determining, among the idle resources and services collected by the information collecting system, a target service capable of processing the arbitrary atomic service and a number of target resources capable of processing the arbitrary atomic service includes:
determining a target service identifier corresponding to any atomic service identifier in idle resources and services collected by the information collection system;
according to each function mark associated with the target service mark, determining the resource associated with at least one function mark in the function marks as a candidate resource in idle resources and services collected by the information collection system;
Obtaining a target function mark associated with the identification of any atomic service;
and determining the candidate resource which is associated with the target function mark in the candidate resources as a target resource capable of processing any atomic service.
The method, preferably, the distributing the at least one atomic service to the target resource capable of processing any atomic service includes:
for an ith atomic service in the at least one atomic service, if the function label associated with the ith atomic service is a target class function label, distributing the ith atomic service to a local target resource; the local target resource is a target resource in an entity banking website corresponding to the target virtual banking website;
and if the function mark associated with the ith atomic service is a non-target class function mark, distributing the ith atomic service to local and/or non-local target resources.
In the above method, preferably, the idle resources and service conditions are acquired by the following manner:
each resource of the entity banking website periodically reports heartbeat information to the information collecting system in the running process;
the background server of each service of the entity banking website reports user login information when a user logs in;
The information collection system determines the resources in the running state and the quantity thereof according to the heartbeat information reported by the resources, and determines the services in the running state and the quantity thereof according to the user login information reported by the background server;
the information collection system determines idle resources and the number thereof, and idle services and the number thereof according to the available resources and the number thereof, available services and the number thereof of each entity banking website, and the resources and the number thereof in an operation state, and the services and the number thereof in the operation state.
In the method, preferably, the atomic service obtained by splitting each service is associated with a function mark;
different atomic services associate different functional labels; the function marks associated with each atomic service, which are obtained by splitting the same service, form all the function marks associated with the same service.
A resource sharing apparatus, comprising:
the display module is used for displaying the three-dimensional scene of the target virtual banking website through the virtual reality equipment if a display instruction aiming at the target virtual banking website is obtained;
a sending module, configured to send, if a service request for any service is obtained, an identifier of the any service to a to-be-processed service queue corresponding to a service type to which the any service belongs;
The obtaining module is used for obtaining a plurality of atomic services obtained by splitting each service to be processed for the service to be processed corresponding to each service identifier in the service to be processed queue;
the scheduling module is used for distributing and scheduling idle resources and services of the network point for at least one atomic service according to the demand resources and services of any atomic service obtained by splitting and the idle resources and service conditions collected by the information collecting system; the at least one atomic service includes only the arbitrary atomic service, or the at least one atomic service includes the arbitrary atomic service and at least one atomic service identical to the arbitrary atomic service.
An electronic device includes a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute a program stored in the memory to implement the steps of the resource sharing method as described in any one of the above.
A computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the steps of the resource sharing method as claimed in any one of the preceding claims.
According to the resource sharing method, the device, the equipment and the storage medium, if the display instruction aiming at the target virtual banking website is obtained, the three-dimensional scene of the target virtual banking website is displayed through the virtual reality equipment; if a service request aiming at any service is obtained, the identification of the any service is sent to a service queue corresponding to the service type of the any service; for each service to be processed corresponding to the service identifier in the service queue, obtaining a plurality of atomic services obtained by splitting the service to be processed; for any atomic service obtained by splitting, distributing and scheduling idle resources and services of the network points for at least one atomic service according to the required resources and services of the any atomic service and idle resources and services of each entity banking network point collected by the information collecting system; the at least one atomic service includes only any one of the atomic services described above, or the at least one atomic service includes any one of the atomic services described above, and at least one atomic service identical to any one of the atomic services described above. The application realizes the purpose of sharing the idle resources of each entity banking website to process the online business by uniformly distributing and scheduling the idle resources and services of each entity banking website, and improves the resource utilization rate of each entity banking website.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an implementation of a method for resource sharing according to an embodiment of the present application;
FIG. 2 is a flowchart of an implementation of allocating and scheduling resources and services that are idle for at least one atomic service according to the demand resources of any atomic service and idle resources and services collected by the information collecting system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a resource sharing device according to an embodiment of the present application;
fig. 4 is a block diagram of a hardware structure of an electronic device according to an embodiment of the present application.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in other sequences than those illustrated herein.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without any inventive effort, are intended to be within the scope of the application.
The resource sharing method provided by the embodiment of the application can be used for terminal equipment or a data processing system formed by the terminal equipment and a server, wherein the server can be a local area network server or a cloud server. The terminal device may be a terminal device of an entity banking website, or may be a personal terminal of a user, for example, a personal computer, or may be a mobile terminal such as a mobile phone, a tablet, or the like.
As shown in fig. 1, a flowchart for implementing a resource sharing method according to an embodiment of the present application may include:
step S101: and if a display instruction aiming at the target virtual banking website is obtained, displaying the three-dimensional scene of the target virtual banking website through the virtual reality equipment.
In the embodiment of the application, each virtual banking site uniquely corresponds to one entity banking site. The virtual display device worn by the user can display various application programs, when the user clicks the target application program, a map can be displayed, the positions of all virtual banking sites are displayed in the map, and the positions of all virtual banking sites in the map are consistent with the positions of the physical banking sites corresponding to the virtual banks in the map. Alternatively, the virtual banking point list may be displayed when the user clicks on the target application.
The user may select a target virtual banking endpoint in a map or virtual banking endpoint list.
The structure and arrangement in the three-dimensional scene of the target virtual banking website are consistent with the structure and arrangement in the entity banking website corresponding to the target virtual banking website, so that the user has the sense of being in close proximity to the entity banking website.
In the three-dimensional scene, various services which can be provided by the entity banks corresponding to the target virtual banking outlets can be displayed, and for any type of service, when preset operation aiming at any type of service is obtained, a service list under any type of service is displayed, so that a user can select any required service under the service list.
Step S102: and if the service request aiming at any service is obtained, the identification of the any service is sent to the service queue corresponding to the service type of the any service.
The user may perform a specified operation for the any service to trigger the virtual reality device to generate a service request for the any service.
In the application, different service types correspond to different service queues.
Step S103: and obtaining a plurality of atomic services which are split by the service to be processed for the service to be processed corresponding to each service identifier in the service queue.
Atomic traffic is the smallest service unit that constitutes the service to be processed.
Each service to be processed is split into a plurality of atomic services which are preconfigured, so that for any service to be processed, a plurality of atomic services corresponding to the identifier of the service to be processed can be obtained according to the identifier of the service to be processed and the corresponding relation between the preset service identifier and the atomic service identifier.
Step S104: and for any atomic service obtained by splitting, distributing and scheduling idle resources and services of the entity banking outlets for at least one atomic service according to the required resources and services of any atomic service and idle resources and services of each entity banking outlet collected by the information collecting system.
Wherein the at least one atomic service includes only any one atomic service described above, or the at least one atomic service includes any one atomic service described above, and at least one atomic service identical to any one atomic service described above.
The idle resources and service conditions of each entity banking website collected by the information collection system can be acquired by the following modes:
and each resource of the entity banking website periodically reports heartbeat information to the information collecting system in the running process.
Optionally, after the hardware resources (such as the client devices of the computer, etc.) of the physical banking website are turned on, heartbeat information is periodically reported to the information collecting system, so that the information collecting system knows which hardware resources are in use.
And the background server of each service of the entity banking website reports the user login information when the user logs in.
For each service provided by an entity banking website, different staff typically have different login accounts, so that for any service, when a user logs in to the any service, the background server of the any service can know which user logs in to the service. The background server reports the user login information to the information collection system so that the information collection system knows which users are logged into the service.
The user login information may include, but is not limited to: login account number, login time, etc.
The information collecting system determines the resources in the running state and the quantity thereof according to the heartbeat information reported by the resources, and determines the services in the running state and the quantity thereof according to the user login information reported by the background server.
For any resource of the entity banking website, if the information collecting system periodically receives heartbeat information sent by the any resource, determining that the any resource is in an operation state; if the heartbeat information sent by any resource and received by the information collecting system is not periodic (for example, after running in a short time, the information collecting system enters a sleep state, a sleep state or a shutdown state, etc., and the resource does not send the heartbeat information in the sleep/shutdown state), or the information collecting system does not receive the heartbeat information sent by any resource, and it is determined that any resource is not in the running state.
For any service of the entity banking website, if the information collecting system receives the user login information for any service, which is reported by the background server, it is determined that any service is logged in by a login account in the user login information. For any service, the number of accounts logged into the any service is the number of any service in the running state.
The information collecting system determines idle resources and the number thereof, and idle services and the number thereof according to the available resources and the number thereof, available services and the number thereof of each entity banking website, and the resources and the number thereof in an operation state and the services and the number thereof in the operation state.
The available resources and the number thereof, and the available services and the number thereof in each physical banking site are generally unchanged, even if changed, are changed occasionally, and can be updated immediately after the change.
For any entity bank website W, subtracting the number of available resources Z in the running state in any entity bank website W from the number of any available resources Z in any entity bank website W, so as to determine the number of available resources Z in the idle state in any entity bank website W.
Similarly, for any entity bank website W, subtracting the number of available services S in the running state in any entity bank website W from the number of available services S in any entity bank website W can determine the number of available services S in the idle state in any entity bank website W.
Alternatively, the resources correspond to the number of services, i.e. each resource is used to implement a service. Alternatively, the number of resources may not correspond to the number of services, for example, the number of services is greater than the number of resources, and at this time, one resource may be used to implement at least one service.
Optionally, the resources or services in the entity banking website to be scheduled may be in an unoperated state, so that scheduling information may be sent to a scheduler in the entity banking website to which the scheduled resources or services belong, where the scheduling information carries an identifier of the scheduled resources or services, and then the scheduler performs on-site scheduling of the resources and services.
According to the resource sharing method provided by the embodiment of the application, if the display instruction aiming at the target virtual banking website is obtained, the three-dimensional scene of the target virtual banking website is displayed through the virtual reality equipment; if a service request aiming at any service is obtained, the identification of the any service is sent to a service queue corresponding to the service type of the any service; for each service to be processed corresponding to the service identifier in the service queue, obtaining a plurality of atomic services obtained by splitting the service to be processed; for any atomic service obtained by splitting, distributing and scheduling idle resources and services of the network points for at least one atomic service according to the required resources and services of the any atomic service and idle resources and services of each entity banking network point collected by the information collecting system; the at least one atomic service includes only any one of the atomic services described above, or the at least one atomic service includes any one of the atomic services described above, and at least one atomic service identical to any one of the atomic services described above. The application realizes the purpose of sharing the idle resources of each entity banking website to process the online business by uniformly distributing and scheduling the idle resources and services of each entity banking website, and improves the resource utilization rate of each entity banking website.
Further, after allocating and scheduling resources and services idle to at least one atomic service, the scheduled resources and services may be marked as shared, so that the scheduled resources and services may be scheduled multiple times.
In an alternative embodiment, a flowchart of an implementation of allocating and scheduling resources and services that are idle for at least one atomic service according to the required resources of any atomic service and the idle resources and services collected by the information collecting system is shown in fig. 2, and may include:
step S201: and determining the target service capable of processing any atomic service and the number of the target resources capable of processing any atomic service in the idle resources and services collected by the information collecting system.
Alternatively, the resource associated with the target function mark in the idle resources collected by the information collecting system can be determined as the target resource capable of processing any atomic service. The method directly determines the number of the target resources from the idle resources collected by the information collecting system, and the method has slower speed of determining the target resources and the number thereof because the number of the function marks associated with the idle resources is larger.
Optionally, a target service identifier corresponding to any one of the atomic service identifiers may be determined in idle resources and services collected by the information collecting system, where the target service identifier characterizes a target service. As can be seen from the foregoing, in the present application, when splitting a service into an atomic service, a correspondence between a service identifier and an atomic service identifier is set, so that a target service identifier corresponding to any one of the atomic service identifiers can be determined according to the correspondence between the service identifier and the atomic service identifier.
And determining the resources associated with at least one function mark in the function marks as candidate resources in idle resources collected by the information collecting system according to each function mark associated with the target service mark.
In the application, each service identifier is associated with at least one function mark, and each function mark characterizes the function to be realized by the service corresponding to the associated service identifier; each resource is also associated with at least one function label, and each function label characterizes the function which can be realized by the corresponding resource of the associated resource identification.
By the same function labels associated with the service identification and the resource identification, matching of the service and the resource can be achieved to determine which resources a service needs to implement. For example, the identifier of the service S and the identifier of the resource Z are both associated with the function flag G, and then the resource Z is a resource matched with the service S, that is, the function corresponding to the function flag G that needs to be implemented by the service S may be implemented by the resource Z.
And obtaining the target function mark associated with the identification of any atomic service.
In the application, each atomic service is associated with a function mark, and different atomic services are associated with different function marks. The function marks associated with each atomic service, which are obtained by splitting the same service, form all the function marks associated with the same service.
And determining the candidate resource which is associated with the target function mark in the candidate resources as the target resource capable of processing any atomic service.
In this embodiment, a target service identifier corresponding to any atomic service identifier is determined first, a candidate resource is determined according to the target service identifier, and then a candidate resource associated with a target function identifier is selected from the candidate resources as a target resource capable of processing any atomic service. Since the number of target services and the number of candidate resources are small, the speed of determining the target resources and the number thereof can be increased.
Step S202: at least one atomic service corresponding to the number of target resources is determined.
The number of at least one atomic service is the same as the number of target resources.
Step S203: and distributing at least one atomic service to a target resource capable of processing any atomic service, so that a target service is configured in the target resource to process the at least one atomic service.
Optionally, for the ith atomic service in the at least one atomic service, if the function label associated with the ith atomic service is a target class function label, the ith atomic service is allocated to a local target resource. The local target resource is a target resource in an entity banking website corresponding to the target virtual banking website.
The target class function mark refers to the function characterized by the function mark associated with the ith atomic service, and the function is a function requiring entity output. For example, the function represented by the function flag associated with the ith atomic service is a print function or the like.
Because the user selects the target virtual banking site, the user selects the entity banking site corresponding to the target virtual banking site to transact the service, if the function mark associated with the ith atomic service is the target class function mark, the ith atomic service is distributed to the local target resource, and the staff of the entity banking site corresponding to the target virtual banking site can transact the related service in real time, thereby meeting the actual requirement of the user.
If the function label associated with the ith atomic service is a non-target class function label, the ith atomic service is allocated to a local and/or non-local target resource.
For the business which does not need the staff of the entity banking website to obtain the entity output, the resources of other entity banking website can be scheduled to process the ith atomic business, and of course, the resources of the local entity banking website can also be scheduled to process the ith atomic business.
Corresponding to the method embodiment, the present application further provides a resource sharing device, and a schematic structural diagram of the resource sharing device provided by the embodiment of the present application is shown in fig. 3, which may include:
the display module 301, the sending module 302, the obtaining module 303 and the scheduling module 304; wherein, the liquid crystal display device comprises a liquid crystal display device,
the display module 301 is configured to display, if a display instruction for a target virtual banking website is obtained, a three-dimensional scene of the target virtual banking website through a virtual reality device;
the sending module 302 is configured to send, if a service request for any service is obtained, an identifier of the any service to a to-be-processed service queue corresponding to a service type to which the any service belongs;
the obtaining module 303 is configured to obtain, for each service to be processed corresponding to each service identifier in the service to be processed queue, a plurality of atomic services split by each service to be processed;
The scheduling module 304 is configured to allocate and schedule resources and services that are idle for at least one atomic service according to the required resources and services of any atomic service obtained by splitting and idle resources and services collected by the information collecting system; the at least one atomic service includes only the arbitrary atomic service, or the at least one atomic service includes the arbitrary atomic service and at least one atomic service identical to the arbitrary atomic service.
According to the resource sharing device provided by the embodiment of the application, if the display instruction aiming at the target virtual banking website is obtained, the three-dimensional scene of the target virtual banking website is displayed through the virtual reality equipment; if a service request aiming at any service is obtained, the identification of the any service is sent to a service queue corresponding to the service type of the any service; for each service to be processed corresponding to the service identifier in the service queue, obtaining a plurality of atomic services obtained by splitting the service to be processed; for any atomic service obtained by splitting, distributing and scheduling idle resources and services of the network points for at least one atomic service according to the required resources and services of the any atomic service and idle resources and services of each entity banking network point collected by the information collecting system; the at least one atomic service includes only any one of the atomic services described above, or the at least one atomic service includes any one of the atomic services described above, and at least one atomic service identical to any one of the atomic services described above. The application realizes the purpose of sharing the idle resources of each entity banking website to process the online business by uniformly distributing and scheduling the idle resources and services of each entity banking website, and improves the resource utilization rate of each entity banking website.
In an alternative embodiment, the obtaining module 303 is configured to:
and obtaining a plurality of atomic services corresponding to the identification of each service to be processed according to the corresponding relation between the preset service identification and the atomic service identification.
In an alternative embodiment, the scheduling module 304 is configured to:
determining target services capable of processing any atomic service and the number of target resources capable of processing any atomic service in idle resources and services collected by the information collection system;
determining at least one atomic service corresponding to the number of the target resources;
and distributing the at least one atomic service to the target resource capable of processing any atomic service so as to enable a target service to be configured in the target resource to process the at least one atomic service.
In an alternative embodiment, the scheduling module 304 is configured to, in determining, among the idle resources and services collected by the information collecting system, a target service capable of processing the arbitrary atomic traffic, and a number of target resources capable of processing the arbitrary atomic traffic:
determining a target service identifier corresponding to any atomic service identifier in idle resources and services collected by the information collection system;
According to each function mark associated with the target service mark, determining the resource associated with at least one function mark in the function marks as a candidate resource in idle resources and services collected by the information collection system;
obtaining a target function mark associated with the identification of any atomic service;
and determining the candidate resource which is associated with the target function mark in the candidate resources as a target resource capable of processing any atomic service.
In an alternative embodiment, when the scheduling module 304 distributes the at least one atomic service to the target resource capable of processing the any one atomic service, the scheduling module is configured to:
for an ith atomic service in the at least one atomic service, if the function label associated with the ith atomic service is a target class function label, distributing the ith atomic service to a local target resource; the local target resource is a target resource in an entity banking website corresponding to the target virtual banking website;
and if the function mark associated with the ith atomic service is a non-target class function mark, distributing the ith atomic service to local and/or non-local target resources.
In an alternative embodiment, the idle resources and service conditions are acquired by:
each resource of the entity banking website periodically reports heartbeat information to the information collecting system in the running process;
the background server of each service of the entity banking website reports user login information when a user logs in;
the information collection system determines the resources in the running state and the quantity thereof according to the heartbeat information reported by the resources, and determines the services in the running state and the quantity thereof according to the user login information reported by the background server;
the information collection system determines idle resources and the number thereof, and idle services and the number thereof according to the available resources and the number thereof, available services and the number thereof of each entity banking website, and the resources and the number thereof in an operation state, and the services and the number thereof in the operation state.
In an alternative embodiment, the atomic service split from each service is associated with a function label;
different atomic services associate different functional labels; the function marks associated with each atomic service, which are obtained by splitting the same service, form all the function marks associated with the same service.
The resource sharing device provided by the embodiment of the application can be applied to electronic equipment, such as terminal equipment, a cloud platform, a server cluster and the like. Optionally, fig. 4 shows a block diagram of a hardware structure of an electronic device according to an embodiment of the present application, and referring to fig. 4, the hardware structure of the electronic device may include:
at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4.
In the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete the communication with each other through the communication bus 4;
processor 1 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present application, etc.;
the memory 3 may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory) or the like, such as at least one magnetic disk memory;
wherein the memory stores a program, the processor is operable to invoke the program stored in the memory, the program operable to:
If a display instruction aiming at a target virtual bank website is obtained, displaying a three-dimensional scene of the target virtual bank website through virtual reality equipment;
if a service request aiming at any service is obtained, the identification of the any service is sent to a service queue corresponding to the service type to which the any service belongs;
for the service to be processed corresponding to each service identifier in the service queue, obtaining a plurality of atomic services obtained by splitting the service to be processed;
for any atomic service obtained by splitting, distributing and scheduling idle resources and services of the network points for at least one atomic service according to the required resources and services of the any atomic service and idle resources and service conditions of each entity banking network point collected by an information collecting system; the at least one atomic service includes only the arbitrary atomic service, or the at least one atomic service includes the arbitrary atomic service and at least one atomic service identical to the arbitrary atomic service.
Alternatively, the refinement function and the extension function of the program may be described with reference to the above.
The embodiment of the present application also provides a storage medium storing a program adapted to be executed by a processor, the program being configured to:
If a display instruction aiming at a target virtual bank website is obtained, displaying a three-dimensional scene of the target virtual bank website through virtual reality equipment;
if a service request aiming at any service is obtained, the identification of the any service is sent to a service queue corresponding to the service type to which the any service belongs;
for the service to be processed corresponding to each service identifier in the service queue, obtaining a plurality of atomic services obtained by splitting the service to be processed;
for any atomic service obtained by splitting, distributing and scheduling idle resources and services of the network points for at least one atomic service according to the required resources and services of the any atomic service and idle resources and service conditions of each entity banking network point collected by an information collecting system; the at least one atomic service includes only the arbitrary atomic service, or the at least one atomic service includes the arbitrary atomic service and at least one atomic service identical to the arbitrary atomic service.
Alternatively, the refinement function and the extension function of the program may be described with reference to the above.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
It should be understood that in the embodiments of the present application, the claims, the various embodiments, and the features may be combined with each other, so as to solve the foregoing technical problems.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of resource sharing, the method comprising:
if a display instruction aiming at a target virtual bank website is obtained, displaying a three-dimensional scene of the target virtual bank website through virtual reality equipment;
if a service request aiming at any service is obtained, the identification of the any service is sent to a service queue corresponding to the service type to which the any service belongs;
for the service to be processed corresponding to each service identifier in the service queue, obtaining a plurality of atomic services obtained by splitting the service to be processed;
for any atomic service obtained by splitting, distributing and scheduling idle resources and services of the network points for at least one atomic service according to the required resources and services of the any atomic service and idle resources and service conditions of each entity banking network point collected by an information collecting system; the at least one atomic service includes only the arbitrary atomic service, or the at least one atomic service includes the arbitrary atomic service and at least one atomic service identical to the arbitrary atomic service.
2. The method according to claim 1, wherein said obtaining the number of atomic traffic split by each of said pending services comprises:
And obtaining a plurality of atomic services corresponding to the identification of each service to be processed according to the corresponding relation between the preset service identification and the atomic service identification.
3. The method according to claim 1 or 2, wherein the allocating and scheduling resources and services left unused by the network for at least one atomic service according to the required resources and services of the any atomic service and the idle resources and services collected by the information collecting system includes:
determining target services capable of processing any atomic service and the number of target resources capable of processing any atomic service in idle resources and services collected by the information collection system;
determining at least one atomic service corresponding to the number of the target resources;
and distributing the at least one atomic service to the target resource capable of processing any atomic service so that the target service configured in the target resource processes the at least one atomic service.
4. A method according to claim 3, wherein said determining, among the free resources and services collected by the information collecting system, the target service capable of handling the any atomic traffic and the number of target resources capable of handling the any atomic traffic comprises:
Determining a target service identifier corresponding to any atomic service identifier in idle resources and services collected by the information collection system;
according to each function mark associated with the target service mark, determining the resource associated with at least one function mark in the function marks as a candidate resource in idle resources and services collected by the information collection system;
obtaining a target function mark associated with the identification of any atomic service;
and determining the candidate resource which is associated with the target function mark in the candidate resources as a target resource capable of processing any atomic service.
5. A method according to claim 3, wherein said distributing said at least one atomic service to said target resource capable of handling said any atomic service comprises:
for an ith atomic service in the at least one atomic service, if the function label associated with the ith atomic service is a target class function label, distributing the ith atomic service to a local target resource; the local target resource is a target resource in an entity banking website corresponding to the target virtual banking website;
And if the function mark associated with the ith atomic service is a non-target class function mark, distributing the ith atomic service to local and/or non-local target resources.
6. The method of claim 1, wherein the idle resources and service conditions are collected by:
each resource of the entity banking website periodically reports heartbeat information to the information collecting system in the running process;
the background server of each service of the entity banking website reports user login information when a user logs in;
the information collection system determines the resources in the running state and the quantity thereof according to the heartbeat information reported by the resources, and determines the services in the running state and the quantity thereof according to the user login information reported by the background server;
the information collection system determines idle resources and the number thereof, and idle services and the number thereof according to the available resources and the number thereof, available services and the number thereof of each entity banking website, and the resources and the number thereof in an operation state, and the services and the number thereof in the operation state.
7. The method of claim 6, wherein the atomic traffic split by each service is associated with a functional label;
Different atomic services associate different functional labels; the function marks associated with each atomic service, which are obtained by splitting the same service, form all the function marks associated with the same service.
8. A resource sharing apparatus, comprising:
the display module is used for displaying the three-dimensional scene of the target virtual banking website through the virtual reality equipment if a display instruction aiming at the target virtual banking website is obtained;
a sending module, configured to send, if a service request for any service is obtained, an identifier of the any service to a to-be-processed service queue corresponding to a service type to which the any service belongs;
the obtaining module is used for obtaining a plurality of atomic services obtained by splitting each service to be processed for the service to be processed corresponding to each service identifier in the service to be processed queue;
the scheduling module is used for distributing and scheduling idle resources and services of the network point for at least one atomic service according to the demand resources and services of any atomic service obtained by splitting and the idle resources and service conditions collected by the information collecting system; the at least one atomic service includes only the arbitrary atomic service, or the at least one atomic service includes the arbitrary atomic service and at least one atomic service identical to the arbitrary atomic service.
9. An electronic device comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute a program stored in the memory to implement the steps of the resource sharing method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a program is stored, characterized in that the program, when being executed by a processor, implements the steps of the resource sharing method as claimed in any one of claims 1-7.
CN202310610945.4A 2023-05-26 2023-05-26 Resource sharing method, device and equipment and storage medium Pending CN116703071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310610945.4A CN116703071A (en) 2023-05-26 2023-05-26 Resource sharing method, device and equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310610945.4A CN116703071A (en) 2023-05-26 2023-05-26 Resource sharing method, device and equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116703071A true CN116703071A (en) 2023-09-05

Family

ID=87844337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310610945.4A Pending CN116703071A (en) 2023-05-26 2023-05-26 Resource sharing method, device and equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116703071A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116881027A (en) * 2023-09-08 2023-10-13 国网信息通信产业集团有限公司 Atomic service combination communication method, device, electronic equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116881027A (en) * 2023-09-08 2023-10-13 国网信息通信产业集团有限公司 Atomic service combination communication method, device, electronic equipment and medium
CN116881027B (en) * 2023-09-08 2024-01-16 国网信息通信产业集团有限公司 Atomic service combination communication method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
CN110443695A (en) Data processing method and its device, electronic equipment and medium
US20130091502A1 (en) System and method of providing virtual machine using device cloud
CN109600798A (en) Multi-domain resource allocation method and device in a kind of network slice
EP2958277A1 (en) Instant messaging method and system
CN107995013B (en) Customer service distribution method and device
CN111163130A (en) Network service system and data transmission method thereof
US11755379B2 (en) Liaison system and method for cloud computing environment
CN110991903A (en) Service personnel allocation method, device, equipment and storage medium
CN108984687B (en) Automatic group adding control method and device based on user behaviors and storage medium
CN116703071A (en) Resource sharing method, device and equipment and storage medium
CN112631800A (en) Kafka-oriented data transmission method and system, computer equipment and storage medium
CN107086937B (en) Monitoring method and device
CN114095567A (en) Data access request processing method and device, computer equipment and medium
CN111427551A (en) User code operation method of programming platform, equipment and storage medium
CN114155026A (en) Resource allocation method, device, server and storage medium
CN112769943A (en) Service processing method and device
CN111092814B (en) Service handling request message distribution method and equipment
CN115118784A (en) Computing resource scheduling method, device and system
CN112991064B (en) Service processing method, device, computer equipment and storage medium
CN108830441B (en) Resource query method and device
CN103051607B (en) Access method, equipment and system
CN108696472B (en) Request processing method and device
CN111913732A (en) Service updating method and device, management server and storage medium
KR101679149B1 (en) Cloud computing system suitable for mobile terminal

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