CN113297113A - Control method and control device based on service bus system - Google Patents

Control method and control device based on service bus system Download PDF

Info

Publication number
CN113297113A
CN113297113A CN202110559414.8A CN202110559414A CN113297113A CN 113297113 A CN113297113 A CN 113297113A CN 202110559414 A CN202110559414 A CN 202110559414A CN 113297113 A CN113297113 A CN 113297113A
Authority
CN
China
Prior art keywords
service
access point
request
bus system
control method
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
CN202110559414.8A
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.)
Postal Savings Bank of China Ltd
Original Assignee
Postal Savings 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 Postal Savings Bank of China Ltd filed Critical Postal Savings Bank of China Ltd
Priority to CN202110559414.8A priority Critical patent/CN113297113A/en
Publication of CN113297113A publication Critical patent/CN113297113A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a control method and a control device based on a service bus system. The control method comprises the following steps: receiving at least one product service request sent by a request access point; screening out a target service access point based on at least one product service request; and adopting the target service access point to provide product service for the external request terminal corresponding to the request access point. The invention solves the technical problem that the centralized service bus system in the related technology can not provide automatic service management when dealing with product services.

Description

Control method and control device based on service bus system
Technical Field
The invention relates to the technical field of information processing, in particular to a control method and a control device based on a service bus system.
Background
In the related art, centralized service administration centrally manages services among all associated systems on service administration nodes which are planned in a unified manner, so that the customized requirements of a specific system are difficult to meet, and higher requirements are imposed on the load pressure of the service administration nodes (both overpressure consequences and capacity expansion requirements need to consume more resources).
The existing centralized service bus system can not complete automatic service management, and has various disadvantages:
1) when a centralized service bus system is newly added with service, the centralized service bus system needs to be manually added and manually fill in configuration files, and if the number of the service is large once, the configuration speed is slow and errors are easy to occur.
2) The centralized service bus system needs to be restarted and taken effect after newly adding the modification service, the restarting influence area is large, all related system transactions in use are influenced, and the influence is particularly obvious in the production environment.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a control method and a control device based on a service bus system, which at least solve the technical problem that the centralized service bus system in the related art cannot provide automatic service management when dealing with product services.
According to an aspect of the embodiments of the present invention, a control method based on a service bus system is provided, where the service bus system is respectively interfaced with a plurality of service access points and a plurality of request access points, the service access points are deployed at a service provider, and the request access points are deployed at an external request end, the control method includes: receiving at least one product service request sent by a request access point; screening out a target service access point based on the at least one product service request; and adopting the target service access point to provide product service for an external request end corresponding to the request access point.
Optionally, the step of screening out the target service access point based on the at least one product service request includes: searching a service access point with the distance to the request access point within a preset distance range to obtain a service distance table; screening the service distance table to obtain a first preset number of service access points; analyzing the current running state and the service processing rate of each service access point to obtain a service state table; sequencing the service state table; and taking the service access point which is the first sequenced in the service state table as the target service access point.
Optionally, the step of searching for a service access point whose distance from the request access point is within a preset distance range to obtain a service distance table includes: acquiring dynamic routing information and static routing information of the request access point; determining a physical address of the requesting access point based on the dynamic routing information and static routing information; and searching a service access point with the distance from the request access point within a preset distance range based on the physical address of the request access point to obtain the service distance table.
Optionally, the service bus system further comprises: the control method comprises the following steps: receiving version update information, wherein the version update information comprises at least one of: the management application is deployed on a management and control platform, and the service application is deployed on a service access point; reporting the version updating information to the control platform; and adopting the management and control platform to release the version updating information.
Optionally, the service bus system further comprises: the control method comprises the following steps: acquiring address ports recorded by the management and control platform and the registration platform, wherein the address ports are routing address ports of a request access point and a service access point; and updating an address port table when the address port is changed.
Optionally, the control method further includes: issuing service configuration information to all request access points of the service bus system, wherein the service configuration information comprises: a dynamic routing address of the serving access point, a static routing address of the serving access point, and a distance of the serving access point from the requesting access point.
Optionally, after issuing service configuration information to all requesting access points of the service bus system, the control method further includes: if the service configuration information is detected to be changed, determining that a request access point needing to be changed appears; controlling at least one of the requesting access points to cease service; and carrying out information packet upgrading operation on the request access point which stops service.
Optionally, the service bus system further comprises: and the monitoring platform is used for monitoring whether each request access point and each service access point can normally run or not to obtain a monitoring information table.
According to another aspect of the embodiments of the present invention, there is also provided a control device based on a service bus system, where the service bus system is respectively interfaced with a plurality of service access points and a plurality of request access points, the service access points are deployed at a service providing end, and the request access points are deployed at an external request end, the control device including: a receiving unit, configured to receive at least one product service request sent by a request access point; the screening unit is used for screening out the target service access point based on the at least one product service request; and the processing unit is used for providing product service for an external request terminal corresponding to the request access point by adopting the target service access point.
Optionally, the screening unit comprises: the first searching module is used for searching a service access point with the distance to the request access point within a preset distance range to obtain a service distance table; the first screening module is used for screening the service distance table to obtain a first preset number of service access points; the first analysis module is used for analyzing the current running state and the service processing rate of each service access point to obtain a service state table; the first sequencing module is used for sequencing the service state table; a first determining module, configured to use a service access point ranked first in the service status table as the target service access point.
Optionally, the first lookup module includes: the first obtaining submodule is used for obtaining the dynamic routing information and the static routing information of the request access point; a first determining submodule, configured to determine a physical address of the requesting access point based on the dynamic routing information and the static routing information; and the first searching submodule is used for searching the service access point with the distance between the service access point and the request access point within a preset distance range based on the physical address of the request access point to obtain the service distance table.
Optionally, the service bus system further comprises: the management and control platform, controlling means still includes: a first receiving module, configured to receive version update information, where the version update information includes at least one of: the management application is deployed on a management and control platform, and the service application is deployed on a service access point; the first reporting module is used for reporting the version updating information to the control platform; and the first release module is used for releasing the version updating information by adopting the control platform.
Optionally, the service bus system further comprises: registration platform, the controlling means still includes: the first acquisition module is used for acquiring address ports recorded by the management and control platform and the registration platform, wherein the address ports are routing address ports of a request access point and a service access point; and the first updating module is used for updating the address port table when the address port is changed.
Optionally, the control device further comprises: a first issuing module, configured to issue service configuration information to all request access points of the service bus system, where the service configuration information includes: a dynamic routing address of the serving access point, a static routing address of the serving access point, and a distance of the serving access point from the requesting access point.
Optionally, the control device further comprises: the second determining module is used for determining the request access point needing to be changed if the change of the service configuration information is detected after the service configuration information is issued to all the request access points of the service bus system; a second control module for controlling at least one of the requesting access points to cease service; and the first upgrading module is used for carrying out information package upgrading operation on the request access point which stops service.
Optionally, the service bus system further comprises: and the monitoring platform is used for monitoring whether each request access point and each service access point can normally run or not to obtain a monitoring information table.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the above control methods based on the service bus system.
In the embodiment of the invention, at least one product service request sent by the request access point is received, the target service access point is screened out based on the at least one product service request, and the target service access point is adopted to provide product service for an external request terminal corresponding to the request access point. In the embodiment, when a new product service request exists, the service access point capable of providing the service can be automatically determined, the automatic management service is realized, the configuration file is automatically generated through the service access point, the efficiency is obviously high, the error rate is low, and therefore the technical problem that the automatic service management cannot be provided when a centralized service bus system deals with the product service in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of an alternative service bus system based control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative service bus system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an alternative service bus system based control device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above 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 is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, 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 one
In accordance with an embodiment of the present invention, there is provided an embodiment of a service bus system-based control method, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The embodiment of the invention provides a control method based on a service bus system, wherein the service bus system is respectively butted with a plurality of service access points and a plurality of request access points, the service access points are deployed at a service providing end, and the request access points are deployed at an external request end. External requestors may include, but are not limited to: ATM machines, PC machines, etc.
In the embodiment of the invention, the product service request reaches the service bus system ESB through an electronic channel, after the product service request is received, the optimal service access point is found (the idle access point and the most efficient access point are found according to the local priority principle), and various product services, such as credit card and savings card services, are provided through the service access point.
The distributed service management scheme related to the embodiment of the invention can achieve the following effects:
1) when the new service is added, the service can be automatically managed, the configuration file is automatically generated, the efficiency is obviously high, and the error rate is low.
2) After the service is modified or newly added, the whole system does not need to be restarted, only the service access point of the corresponding associated system needs to be restarted, the influence area is small, the timing upgrading function is added, the efficiency is high, the speed is high, and the error rate is obviously reduced.
3) Automatic upgrading content, timing tasks, timing upgrading and background monitoring upgrading progress are added.
4) When the service bus system ESB is connected, the processing load burden can be reduced for each service node, and the resource consumption can be reduced.
Fig. 1 is a flowchart of an alternative service bus system-based control method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, receiving at least one product service request sent by a request access point;
step S104, screening out a target service access point based on at least one product service request;
and step S106, adopting the target service access point to provide product service for the external request terminal corresponding to the request access point.
Through the steps, at least one product service request sent by the request access point can be received, the target service access point is screened out based on the at least one product service request, and the target service access point is adopted to provide product service for the external request terminal corresponding to the request access point. In the embodiment, when a new product service request exists, the service access point capable of providing the service can be automatically determined, the automatic management service is realized, the configuration file is automatically generated through the service access point, the efficiency is obviously high, the error rate is low, and therefore the technical problem that the automatic service management cannot be provided when a centralized service bus system deals with the product service in the related technology is solved.
The present invention will be described in detail below with reference to the above-described embodiments.
Step S102, at least one product service request sent by the request access point is received.
The present invention is applicable to banking systems that interface with a savings card system and a credit card system, providing product services including, but not limited to: deposit, debit, transfer, e.g., request the access point to send a debit request to the service bus system.
And step S104, screening out the target service access point based on at least one product service request.
Optionally, the step of screening out the target service access point based on at least one product service request includes: searching a service access point with the distance from the request access point within a preset distance range to obtain a service distance table; screening the service distance table to obtain a first preset number of service access points; analyzing the current running state and the service processing rate of each service access point to obtain a service state table; sequencing the service state table; and taking the service access point which is the first ordered service access point in the service state table as a target service access point.
When the service access points are screened, the current available state of the service access points and the priority distance between the service access points and the request access point are used as screening conditions, and the service access points with idle service states and the service access points with high processing speed are found.
Another optional step of searching for a service access point whose distance from the request access point is within a preset distance range to obtain a service distance table includes: acquiring dynamic routing information and static routing information of a request access point; determining a physical address of the requesting access point based on the dynamic routing information and the static routing information; and searching a service access point with the distance from the request access point within a preset distance range based on the physical address of the request access point to obtain a service distance table.
By the above embodiment, it is possible to realize that the management routing address: the access point manages the address routing information (including management: management and control platform address and registration platform address), and the access point acquires the node or node updating state, and how to manage the address ports of the management and control platform and the registration platform at the access point, and how to update the address information of the access point if the central address is adjusted.
And step S106, adopting the target service access point to provide product service for the external request terminal corresponding to the request access point.
Optionally, the service bus system further includes: the control platform, the control method still includes: receiving version update information, wherein the version update information comprises at least one of: the version upgrading information of the management application and the version upgrading information of the service application are deployed on the management and control platform, and the service application is deployed on the service access point; reporting the version updating information to a control platform; and releasing version updating information by adopting a control platform.
Through the embodiment, automatic upgrading and updating can be realized: the management and control platform provides a version release function and comprises the steps of issuing versions of management application, service information and the like, the access point provides a version receiving service, the management and control platform provides a service for reporting the version updating process information of the access point, and the access point considers the version updating information recording and reporting, including the reporting of abnormal conditions.
The management application of the access point realizes the receiving, saving and updating of the address port information of the management and control platform and the registration platform, and the management and control platform provides the pushing and updating function of the management address port information.
FIG. 2 is a schematic diagram of an alternative service bus system according to an embodiment of the present invention, as shown in FIG. 2, the service bus system comprising: the system comprises a requester system, a provider system, a management and control platform, a registration platform and a monitoring platform.
The requesting system corresponds to a plurality of requesting access points (fig. 2 shows one requesting access point), and the requesting access point can implement the following functions: the method comprises the steps of management application starting, consumer service information obtaining, dynamic routing information obtaining, static routing information obtaining, application process starting, consumer service information receiving, static routing information receiving and monitoring information collecting. The requestor system may include a plurality of external requestors as described above.
The provider system corresponds to multiple service access points (one service access point is shown in fig. 2), and the service access points can implement the following functions: the method comprises the steps of management application starting, provider service information obtaining, static routing information obtaining, application process starting, application node registration, provider service information receiving, static routing information receiving and monitoring information acquisition. The provider system may include a plurality of service providers as described above.
The management and control platform can realize the following functions: the method comprises the steps of consumer service information acquisition, provider service information acquisition, static routing information acquisition, consumer service information push, provider service information push and static routing information push.
In the embodiment of the invention, the management and control platform is used as an implementation subject, the requester system and the provider system are in butt joint, and the management and control platform can be in butt joint with a plurality of service access points and a plurality of request access points.
The registration platform can realize the functions of route pushing and application registration, and the monitoring platform can realize the information acquisition of the request access point and the service access point.
In the embodiment of the invention, based on a distributed automatic service management concept, service management functions are distributed in each associated system (namely the service associated system to which the service access point belongs), service management is unified on a service bus management platform, and automatic configuration is handed to a management and control platform for unified allocation.
In an embodiment of the present invention, the service bus system further includes: the registration platform, the control method also includes: acquiring address ports recorded by a management and control platform and a registration platform, wherein the address ports are routing address ports of a request access point and a service access point; when the address port is changed, the address port table is updated.
Optionally, the control method further includes: issuing service configuration information to all request access points of a service bus system, wherein the service configuration information comprises: the dynamic routing address of the serving access point, the static routing address of the serving access point, and the distance of the serving access point from the requesting access point.
Optionally, after issuing the service configuration information to all the requesting access points of the service bus system, the control method further includes: if the service configuration information is detected to be changed, determining that a request access point needing to be changed appears; controlling at least one requesting access point to cease service; and carrying out information packet upgrading operation at the request access point which stops the service.
When upgrading, an upgrading operation is triggered (part of the nodes are preferentially upgraded 1/3 in batches), the management and control platform triggers the information packet upgrading of the request access point, the access point is randomly selected to stop the service, the upgrading information packet is updated, and the service is started.
In an optional implementation manner of the embodiment of the present invention, the service bus system further includes: and the monitoring platform is used for monitoring whether each request access point and each service access point can normally run or not to obtain a monitoring information table.
The invention is described below in connection with an alternative embodiment.
In the embodiment of the present invention, the integrated service system may implement the following steps:
step 1, integrated system maintenance: the newly accessed system needs to be operated; the administrator operates to access the new system;
step 2, access point information maintenance [ operation under line ]: maintaining the information of the access point to a control platform;
step 3, the access point registers (online): starting a control process, and shaking hands to a control platform;
step 4, maintaining subscription services (offline): if the service of a certain system is subscribed for the first time (from the perspective of a service provider system), address configuration needs to be maintained; default handling is not maintained;
step 5, sending the configuration information of the subscription service: issuing service configuration information to all request access points of the attached system; the control process receives and lands;
and 6, enabling the access point to: manually triggering a control process and starting an operation process;
7, uploading the version to a management and control platform;
step 8, selecting an xx system as an upgrading system;
step 9, the version is issued to all access points of the upgrading system; the access point receives and stores the data;
step 10, an upgrade operation is triggered (upgrade sequence batch with partial node first upgrade 1/3): a management and control platform- > access point; randomly selecting an access point to stop service, updating an upgrade package, and starting service;
and 11, uploading an upgrading state: access point management and control; the management and control are well registered; for subsequent query operations.
Based on a distributed automatic service management concept, service management functions are distributed in each associated system, service management is uniformly managed in a service bus, and automatic configuration is handed to a management and control unified allocation method.
In this embodiment, the source code adjustment involved in the tacs communication and nacos service management integration can be performed.
After the related associated system deploys the access point, the related associated system always has the requirements of changing the service and newly adding the service, the embodiment can automatically update the access point configuration, the transaction file and the restart service according to the requirements of the associated system, the restart does not influence the normal transaction of other systems, and the working efficiency is greatly improved. The advantages are as follows:
1) automated service management
The provider system releases the service, and after the consumer system registers the consumption service, the automatic configuration of the service can be realized at the first time, so that not only are manpower and material resources saved, but also the transaction communication speed and the service release efficiency are obviously improved.
2) Optimized service publishing
After the new modification service is added, only the access point process of the corresponding system needs to be restarted, the transaction of other systems is not influenced, the influence area is small, and the efficiency is obviously improved.
3) Automated upgrade
Timing tasks and automatic upgrading operation are added, and upgrading time and upgrading content can be set in the background.
4) Providing transaction invocation efficiency
Through source code level adjustment, the calls of the tass service and the nacos registration center are integrated, and the transaction calling efficiency and the service treatment efficiency are respectively improved by more than 20%.
The invention is described below in connection with an alternative embodiment.
Example two
The control device based on the service bus system according to this embodiment includes a plurality of implementation units, and each implementation unit corresponds to a respective implementation step in the first embodiment.
Fig. 3 is a schematic diagram of an alternative control apparatus based on a service bus system according to an embodiment of the present invention, where the service bus system is respectively interfaced with a plurality of service access points and a plurality of request access points, the service access points are deployed at a service provider, and the request access points are deployed at an external request end, as shown in fig. 3, the control apparatus may include: a receiving unit 31, a screening unit 33, a processing unit 35, wherein,
a receiving unit 31, configured to receive at least one product service request sent by a request access point;
a screening unit 33, configured to screen out a target service access point based on at least one product service request;
and the processing unit 35 is configured to provide product services for the external request end corresponding to the request access point by using the target service access point.
The control device based on the service bus system can receive at least one product service request sent by the request access point through the receiving unit 31, screen out the target service access point based on the at least one product service request through the screening unit 33, and provide product service for the external request end corresponding to the request access point through the processing unit 35 by adopting the target service access point. In the embodiment, when a new product service request exists, the service access point capable of providing the service can be automatically determined, the automatic management service is realized, the configuration file is automatically generated through the service access point, the efficiency is obviously high, the error rate is low, and therefore the technical problem that the automatic service management cannot be provided when a centralized service bus system deals with the product service in the related technology is solved.
Optionally, the screening unit includes: the first searching module is used for searching a service access point with the distance to the request access point within a preset distance range to obtain a service distance table; the first screening module is used for screening the service distance table to obtain a first preset number of service access points; the first analysis module is used for analyzing the current running state and the service processing rate of each service access point to obtain a service state table; the first sequencing module is used for sequencing the service state table; and the first determining module is used for taking the service access point which is ranked first in the service state table as the target service access point.
Optionally, the first lookup module includes: the first obtaining submodule is used for obtaining the dynamic routing information and the static routing information of the request access point; the first determining submodule is used for determining the physical address of the request access point based on the dynamic routing information and the static routing information; and the first searching submodule is used for searching the service access point with the distance between the service access point and the request access point within the preset distance range based on the physical address of the request access point to obtain a service distance table.
Optionally, the service bus system further includes: management and control platform, controlling means still includes: a first receiving module, configured to receive version update information, where the version update information includes at least one of: the version upgrading information of the management application and the version upgrading information of the service application are deployed on the management and control platform, and the service application is deployed on the service access point; the first reporting module is used for reporting the version updating information to the control platform; and the first release module is used for releasing the version updating information by adopting the control platform.
Optionally, the service bus system further includes: registration platform, controlling means still includes: the system comprises a first acquisition module, a second acquisition module and a management and control module, wherein the first acquisition module is used for acquiring address ports recorded by a management and control platform and a registration platform, and the address ports are routing address ports of a request access point and a service access point; the first updating module is used for updating the address port table when the address port is changed.
Optionally, the control device further includes: a first issuing module, configured to issue service configuration information to all request access points of a service bus system, where the service configuration information includes: the dynamic routing address of the serving access point, the static routing address of the serving access point, and the distance of the serving access point from the requesting access point.
Optionally, the control device further includes: the second determining module is used for determining the request access point needing to be changed if the change of the service configuration information is detected after the service configuration information is issued to all the request access points of the service bus system; a second control module for controlling at least one requesting access point to stop service; and the first upgrading module is used for carrying out information packet upgrading operation on the service-stopping request access point.
Optionally, the service bus system further includes: and the monitoring platform is used for monitoring whether each request access point and each service access point can normally run or not to obtain a monitoring information table.
The control device based on the service bus system may further include a processor and a memory, and the receiving unit 31, the screening unit 33, the processing unit 35, and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory. The kernel can be set to be one or more, and the target service access point is adopted to provide product service for the external request end corresponding to the request access point by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the above control methods based on the service bus system.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: receiving at least one product service request sent by a request access point; screening out a target service access point based on at least one product service request; and adopting the target service access point to provide product service for the external request terminal corresponding to the request access point.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A control method based on a service bus system is characterized in that the service bus system is respectively connected with a plurality of service access points and a plurality of request access points, the service access points are deployed at a service provider, and the request access points are deployed at an external request end, the control method comprises the following steps:
receiving at least one product service request sent by a request access point;
screening out a target service access point based on the at least one product service request;
and adopting the target service access point to provide product service for an external request end corresponding to the request access point.
2. The method of claim 1, wherein the step of screening out the target service access point based on the at least one product service request comprises:
searching a service access point with the distance to the request access point within a preset distance range to obtain a service distance table;
screening the service distance table to obtain a first preset number of service access points;
analyzing the current running state and the service processing rate of each service access point to obtain a service state table;
sequencing the service state table;
and taking the service access point which is the first sequenced in the service state table as the target service access point.
3. The control method according to claim 2, wherein the step of searching for the serving access point having a distance from the requesting access point within a preset distance range to obtain a serving distance table comprises:
acquiring dynamic routing information and static routing information of the request access point;
determining a physical address of the requesting access point based on the dynamic routing information and static routing information;
and searching a service access point with the distance from the request access point within a preset distance range based on the physical address of the request access point to obtain the service distance table.
4. The control method of claim 1, wherein the service bus system further comprises: the control method comprises the following steps:
receiving version update information, wherein the version update information comprises at least one of: the management application is deployed on a management and control platform, and the service application is deployed on a service access point;
reporting the version updating information to the control platform;
and adopting the management and control platform to release the version updating information.
5. The control method of claim 4, wherein the service bus system further comprises: the control method comprises the following steps:
acquiring address ports recorded by the management and control platform and the registration platform, wherein the address ports are routing address ports of a request access point and a service access point;
and updating an address port table when the address port is changed.
6. The control method according to claim 4, characterized by further comprising:
issuing service configuration information to all request access points of the service bus system, wherein the service configuration information comprises: a dynamic routing address of the serving access point, a static routing address of the serving access point, and a distance of the serving access point from the requesting access point.
7. The control method of claim 6, wherein after issuing service configuration information to all requesting access points of the service bus system, the control method further comprises:
if the service configuration information is detected to be changed, determining that a request access point needing to be changed appears;
controlling at least one of the requesting access points to cease service;
and carrying out information packet upgrading operation on the request access point which stops service.
8. The control method of claim 1, wherein the service bus system further comprises: and the monitoring platform is used for monitoring whether each request access point and each service access point can normally run or not to obtain a monitoring information table.
9. A control device based on a service bus system, wherein the service bus system is respectively connected to a plurality of service access points and a plurality of request access points, the service access points are disposed at a service provider, and the request access points are disposed at an external request end, the control device comprising:
a receiving unit, configured to receive at least one product service request sent by a request access point;
the screening unit is used for screening out the target service access point based on the at least one product service request;
and the processing unit is used for providing product service for an external request terminal corresponding to the request access point by adopting the target service access point.
10. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls an apparatus to execute the control method based on the service bus system according to any one of claims 1 to 8.
CN202110559414.8A 2021-05-21 2021-05-21 Control method and control device based on service bus system Pending CN113297113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110559414.8A CN113297113A (en) 2021-05-21 2021-05-21 Control method and control device based on service bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110559414.8A CN113297113A (en) 2021-05-21 2021-05-21 Control method and control device based on service bus system

Publications (1)

Publication Number Publication Date
CN113297113A true CN113297113A (en) 2021-08-24

Family

ID=77323712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110559414.8A Pending CN113297113A (en) 2021-05-21 2021-05-21 Control method and control device based on service bus system

Country Status (1)

Country Link
CN (1) CN113297113A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
CN106131213A (en) * 2016-08-17 2016-11-16 深圳市金证科技股份有限公司 A kind of service management and system
WO2017198156A1 (en) * 2016-05-18 2017-11-23 中兴通讯股份有限公司 Service deployment method, apparatus and system
CN108965461A (en) * 2018-08-03 2018-12-07 华数传媒网络有限公司 Service administering method, device and dubbo service system
CN110661879A (en) * 2019-10-12 2020-01-07 北京奇艺世纪科技有限公司 Node scheduling method, device and system, scheduling server and terminal equipment
CN112000540A (en) * 2020-07-20 2020-11-27 中国建设银行股份有限公司 Monitoring processing method, system, equipment and storage medium for distributed deployment products

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
WO2017198156A1 (en) * 2016-05-18 2017-11-23 中兴通讯股份有限公司 Service deployment method, apparatus and system
CN106131213A (en) * 2016-08-17 2016-11-16 深圳市金证科技股份有限公司 A kind of service management and system
CN108965461A (en) * 2018-08-03 2018-12-07 华数传媒网络有限公司 Service administering method, device and dubbo service system
CN110661879A (en) * 2019-10-12 2020-01-07 北京奇艺世纪科技有限公司 Node scheduling method, device and system, scheduling server and terminal equipment
CN112000540A (en) * 2020-07-20 2020-11-27 中国建设银行股份有限公司 Monitoring processing method, system, equipment and storage medium for distributed deployment products

Similar Documents

Publication Publication Date Title
US20230400990A1 (en) System and method for performing live partitioning in a data store
US11789925B2 (en) System and method for conditionally updating an item with attribute granularity
US9754009B2 (en) System and method for implementing a scalable data storage service
US5832191A (en) Method and apparatus for automatically enabling communication with a network printer
CN105099988B (en) Method, access method and device and system for supporting gray scale to issue
US8732517B1 (en) System and method for performing replica copying using a physical copy mechanism
US8572091B1 (en) System and method for partitioning and indexing table data using a composite primary key
US6950847B2 (en) Service provider system for delivering services in a distributed computing environment
US6098098A (en) System for managing the configuration of multiple computer devices
CN112506617B (en) Mirror image updating method and device for side car containers in Kubernetes cluster
CN108965461A (en) Service administering method, device and dubbo service system
JP2000503785A (en) Method and apparatus for updating or changing a network directory
CN102508693A (en) Web server capacity expansion system based on virtual machine
CN109032635A (en) Method for upgrading software, device and the network equipment
CN116724543A (en) Container cluster management method and device
CN115102999B (en) DevOps system, service providing method, storage medium and electronic device
CN113297113A (en) Control method and control device based on service bus system
JP2015146130A (en) Information processing apparatus and information processing apparatus management method
CN111431951A (en) Data processing method, node equipment, system and storage medium
CN114666397A (en) Client version updating method and system
JPH10320184A (en) Software version management system
JP4232606B2 (en) File distribution system, client program, client, server program, server, and method
CN111698311A (en) Node control method and device of distributed storage cluster and electronic equipment
CN116048571A (en) Software upgrading method, device, distributed equipment and computer readable storage medium
CN104298750A (en) Updating processing method and device for real-time system communication

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