CN110601880A - Cloud platform, service processing method, command interface and computer equipment - Google Patents

Cloud platform, service processing method, command interface and computer equipment Download PDF

Info

Publication number
CN110601880A
CN110601880A CN201910824868.6A CN201910824868A CN110601880A CN 110601880 A CN110601880 A CN 110601880A CN 201910824868 A CN201910824868 A CN 201910824868A CN 110601880 A CN110601880 A CN 110601880A
Authority
CN
China
Prior art keywords
command
service processing
service
routing
information
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.)
Granted
Application number
CN201910824868.6A
Other languages
Chinese (zh)
Other versions
CN110601880B (en
Inventor
张钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910824868.6A priority Critical patent/CN110601880B/en
Publication of CN110601880A publication Critical patent/CN110601880A/en
Priority to PCT/CN2020/099397 priority patent/WO2021042849A1/en
Application granted granted Critical
Publication of CN110601880B publication Critical patent/CN110601880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application is applicable to the technical field of computers, and provides a cloud platform, a service processing method, a command interface and computer equipment, wherein the cloud platform comprises: the database is used for recording configuration information and routing information corresponding to various command types; the command interface is used for receiving the business processing command, acquiring configuration information and routing information according to the command type of the business processing command, configuring the business processing command according to the configuration information, routing the business processing command to a business module corresponding to the routing information for business processing, and returning a feedback processing result to a command issuing party; and the service module is used for receiving the service processing command, performing service processing according to the service processing command and feeding back a processing result to the command interface. The method and the device can solve the problems that in the existing cloud platform, a plurality of externally provided service interfaces are provided, when the cloud platform receives a service request, the parameter verification is disordered, and a plurality of service interfaces are difficult to call to be matched with each other to realize a composite service.

Description

Cloud platform, service processing method, command interface and computer equipment
Technical Field
The application belongs to the technical field of computers, and particularly relates to a cloud platform, a service processing method, a command interface and computer equipment.
Background
With the development of cloud platform services, more and more service functions are added in the cloud platform, and the service functions need to develop corresponding interfaces, so that more and more service interfaces are provided by the cloud platform.
The service interfaces are not uniform in the development process, when the cloud platform receives a service request, the parameter check is disordered, the coupling degree of each service interface and the service function is high, and the plurality of service interfaces are difficult to call to be matched with each other to realize the composite service function.
In summary, in the existing cloud platform, there are many service interfaces provided externally, and when the cloud platform receives a service request, the parameter verification is disordered, and it is difficult to call multiple service interfaces to cooperate with each other to realize a composite service.
Disclosure of Invention
In view of this, embodiments of the present application provide a cloud platform, a service processing method, a command interface, and a computer device, so as to solve the problems that, in an existing cloud platform, there are many externally provided service interfaces, when a service request is received by the cloud platform, parameters are checked in a disordered manner, and it is difficult to call multiple service interfaces to cooperate with each other to implement a composite service.
A first aspect of an embodiment of the present application provides a cloud platform, including: the system comprises a command interface, a database and a service module;
the database is used for recording configuration information and routing information corresponding to various command types;
the command interface is used for receiving a service processing command, acquiring corresponding configuration information and routing information according to the command type of the service processing command, configuring the service processing command according to the configuration information, routing the configured service processing command to a service module corresponding to the routing information for service processing, and returning a processing result fed back by the service module to an issuer of the service processing command;
and the service module is used for receiving the configured service processing command, performing service processing according to the configured service processing command, and feeding back a processing result to the command interface.
A second aspect of the embodiments of the present application provides a service processing method, including:
receiving a service processing command, and acquiring a command type of the service processing command;
acquiring configuration information and routing information corresponding to the command type from a database;
configuring the service processing command according to the configuration information, and routing the configured service processing command to a service module corresponding to the routing information for service processing;
and receiving the processing result fed back by the service module, and returning the processing result to the issuing party of the service processing command.
A third aspect of an embodiment of the present application provides a command interface, including:
the command receiving module is used for receiving a service processing command and acquiring the command type of the service processing command;
the information acquisition module is used for acquiring configuration information and routing information corresponding to the command type from a database;
the configuration routing module is used for configuring the service processing command according to the configuration information and routing the configured service processing command to a service module corresponding to the routing information for service processing;
and the result feedback module is used for receiving the processing result fed back by the service module and returning the processing result to the issuing party of the service processing command.
A fourth aspect of embodiments of the present application provides a computer device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method as described above when executing the computer program.
A fifth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of the method as described above.
Compared with the prior art, the embodiment of the application has the advantages that:
in the cloud platform of the application, a combination of unified command interface and database configuration is adopted, only command interfaces are provided for the outside, when the cloud platform receives a service processing command, the service processing command is configured and routed according to configuration information and routing information recorded in the database, when a service module is newly added, only corresponding configuration information and routing information need to be newly added in the database, corresponding interfaces do not need to be developed by each service module, interface management is convenient, the unified command interfaces are beneficial to parameter verification, parameter verification confusion caused by different interfaces adopted by each service module is avoided, when a composite service is needed to be realized, only corresponding service processing commands need to be issued and integrated according to a logical relation, a plurality of different service interfaces do not need to be coordinated, the problem that in the existing cloud platform, a plurality of service interfaces are provided for the outside is solved, when the cloud platform receives a service request, the parameter verification is disordered, and the problem that a plurality of service interfaces are difficult to call to realize the compound service in a mutual matching mode is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a cloud platform provided in an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation of a service processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a command interface provided by an embodiment of the present application;
fig. 4 is a schematic diagram of a computer device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The first embodiment is as follows:
referring to fig. 1, a cloud platform provided in an embodiment of the present application is described below, where the cloud platform includes: a command interface 101, a database 102 and a business module 103;
the database 102 is configured to record configuration information and routing information corresponding to various command types;
the command interface 101 is configured to receive a service processing command, obtain corresponding configuration information and routing information according to a command type of the service processing command, configure the service processing command according to the configuration information, route the configured service processing command to a service module 103 corresponding to the routing information for service processing, and return a processing result fed back by the service module 103 to an issuer of the service processing command;
the service module 103 is configured to receive the configured service processing command, perform service processing according to the configured service processing command, and feed back a processing result to the command interface 101.
In the cloud platform of this embodiment, a framework structure configured by the unified command interface 101 and the database 102 is adopted, the cloud platform provides only the command interface 101 to the outside, and the outside can only send a service processing command to the cloud platform, which is beneficial to performing unified parameter verification and avoiding the occurrence of a disordered parameter verification compared with a traditional architecture in which each service module 103 develops a corresponding interface respectively.
When the command interface 101 receives a service processing command, corresponding configuration information and routing information are inquired from the database 102, the service processing command is configured and routed according to the configuration information and the routing information, when a newly added service module 103 or a service module 103 is changed, only the corresponding configuration information and routing information needs to be newly added or changed in the database 102, a new interface does not need to be developed, interface management is facilitated, and workload of developers is reduced.
When receiving the configured service processing command, the service module 103 performs service processing according to the configured service processing command, and feeds back a processing result to the command interface 101, so that the command interface 101 returns the processing result to the issuer of the service processing command.
When a composite service is required to be realized, because the unified command interface 101 is adopted, a developer can integrate an existing command object according to service logic to generate a new command object, or the external of the cloud platform can send a composite service processing command, when the command interface receives the composite service processing command, the independent service processing command existing in the composite service processing command is analyzed, the command type and the processing time sequence logic of the independent service processing command are identified, the independent service processing command is configured according to the command type, the independent service processing command is sequentially processed according to the processing time sequence logic to realize the composite service, for example, two command types of start and stop exist at present, when the developer needs to add the command type of restart, the developer associates and integrates the restart, and stop according to the logic relationship, when the restart is set to be called, stop is executed first and then start is executed, so that the function of restart is realized; or, an instruction issuing party outside the cloud platform may issue a compound instruction stop + start, thereby implementing a restart function.
Example two:
referring to fig. 2, a service processing method provided in the second embodiment of the present application is described below, where the service processing method in the second embodiment of the present application includes:
step S201, receiving a service processing command, and acquiring a command type of the service processing command;
when the command interface receives a business processing command sent from the outside of the cloud platform (for example, a browser), a command type corresponding to the business processing command is obtained.
Step S202, obtaining configuration information and routing information corresponding to the command type from a database;
and after the command interface acquires the command type corresponding to the service processing command, inquiring corresponding configuration information and routing information from the database according to the command type.
Step S203, configuring the service processing command according to the configuration information, and routing the configured service processing command to a service module corresponding to the routing information for service processing;
after the command interface queries the configuration information and the routing information, the service processing command may be configured according to the configuration information, for example, the session information, the interface authentication mode, whether a verification code is needed, the short message verification, and other information of the service processing command may be configured.
And then, the configured service processing command is routed to the corresponding service module for processing according to the routing information, and it should be understood that the address accessed by the service processing command is not the address provided by the command issuing party, but the address provided by the routing information.
And step S204, receiving the processing result fed back by the service module, and returning the processing result to the issuing party of the service processing command.
And after receiving the configured service processing command, the service module performs service processing according to the service processing command and feeds back the processing interface to the command interface.
And after receiving the processing result fed back by the service module, the command interface returns the processing result to the issuing party of the service processing command to complete the service processing flow.
Further, the configuring the service processing command according to the configuration information, and routing the configured service processing command to the service module corresponding to the routing information for service processing specifically includes:
a1, adding corresponding session information for the service processing command according to the configuration information;
the session information includes user information and other contents, and the corresponding session information can be added to the service processing command according to the configuration information, so as to distinguish the issuing party of the service processing command.
A2, routing the service processing command added with the session information to a service module corresponding to the routing information for service processing.
After the session information is added, the service processing command added with the session information is routed to a service processing module corresponding to the routing information for service processing, after the service module feeds back a processing result to the command interface, the command interface feeds back the processing result to a correct service processing command issuer according to the session information, and the processing result is prevented from being fed back to a wrong issuer.
Further, before the routing the service processing command added with the session information to the service module corresponding to the routing information for service processing, the method further includes:
b1, performing authority verification on the service processing command added with the session information according to the configuration information;
after the session information is added to the service processing command, authority verification can be performed on the service processing command, and the subsequent steps can be executed according to the authority verification result.
Correspondingly, the routing the service processing command added with the session information to the service module corresponding to the routing information for service processing specifically includes:
c1, if the authority passes the verification, routing the service processing command added with the session information to a service module corresponding to the routing information for service processing;
if the authority passes the verification, the service processing command added with the session information can be routed to a service module corresponding to the routing information for service processing.
And C2, if the authority verification fails, returning abnormal error reporting information to the issuing party of the business processing command.
If the authority verification fails, the issuer of the service processing command is not authorized to access the corresponding service module, and the abnormal error reporting information is returned to the issuer of the service processing command.
Further, the receiving the processing result fed back by the service module and returning the processing result to the issuer of the service processing command specifically includes:
d1, receiving the processing result fed back by the service module, and packaging the processing result in a preset packaging format;
after receiving the processing result, the processing result may be encapsulated in a preset encapsulation format.
And D2, returning the encapsulated processing result to the issuer of the business processing command.
And after the encapsulation is finished, returning the encapsulated processing result to the issuing party of the business processing command. In the conventional scheme, the data formats returned by the interfaces are not consistent, and a service processing command issuer often needs to configure a plurality of data reading plugins.
Besides the processing result is packaged according to the preset packaging format, other information generated in the business process, such as abnormal error reporting information, can also be packaged according to the preset format, so as to ensure the format consistency of the output information.
Meanwhile, in the operation process of the command interface, the gateway can request the flow limitation, for example, the command issuing times of each IP within the preset time length can be limited, and the malicious attack is avoided.
In the service processing method provided in this embodiment two, after the command interface receives the service processing command, the corresponding configuration information and routing information are queried from the database, the service processing command is configured and routed according to the configuration information and the routing information, and a combination of a unified command interface and database configuration is adopted, so that management and parameter verification can be conveniently performed on the interface.
In the configuration process, session information can be added to the service processing command so as to distinguish the issuing party of the service processing command, the authority verification can be carried out, and corresponding operation is executed according to the authority verification result.
When the processing result and other information are returned to the issuing party of the service processing command, the information can be packaged by adopting a preset packaging format, so that the format consistency of the information externally output by the command interface is ensured.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example three:
the third embodiment of the present application provides a command interface, which is only shown in relevant parts for convenience of description, and as shown in fig. 3, the command interface includes,
a command receiving module 301, configured to receive a service processing command and obtain a command type of the service processing command;
an information obtaining module 302, configured to obtain configuration information and routing information corresponding to the command type from a database;
a configuration routing module 303, configured to configure the service processing command according to the configuration information, and route the configured service processing command to a service module corresponding to the routing information to perform service processing;
a result feedback module 304, configured to receive the processing result fed back by the service module, and return the processing result to the issuer of the service processing command.
Further, the configuration routing module 303 specifically includes:
the information adding submodule is used for adding corresponding session information to the service processing command according to the configuration information;
and the information routing submodule is used for routing the service processing command added with the session information to a service module corresponding to the routing information for service processing.
Further, the configuration routing module 303 further includes:
the authority verification submodule is used for performing authority verification on the service processing command added with the session information according to the configuration information;
correspondingly, the information routing sub-module specifically includes:
the pass-through routing submodule is used for routing the service processing command added with the session information to a service module corresponding to the routing information for service processing if the authority passes the verification;
and the failure error reporting submodule is used for returning abnormal error reporting information to the issuing party of the business processing command if the authority verification fails.
Further, the result feedback module 304 specifically includes:
the result packaging submodule is used for receiving the processing result fed back by the service module and packaging the processing result in a preset packaging format;
and the encapsulation returning submodule is used for returning the encapsulated processing result to the issuing party of the business processing command.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Example four:
fig. 4 is a schematic diagram of a computer device provided in the fourth embodiment of the present application. As shown in fig. 4, the computer device 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. When the processor 40 executes the computer program 42, the functions of the modules/units in the cloud platform embodiment are implemented, for example, the cloud platform includes a command interface, a database, and a service module, and when the processor 40 executes the computer program corresponding to the command interface, the steps in the service processing method embodiment may be implemented, as shown in steps S201 to S204 in fig. 2; or the processor 40 executes a computer program corresponding to the command interface, the functions of the modules/units in the above-mentioned command interface embodiment, such as the functions of the modules 301 to 304 shown in fig. 3, can be implemented.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the computer device 4. For example, the computer program 42 may be divided into a command interface, a database, and a service module, where the command interface may include a command receiving module, an information obtaining module, a configuration routing module, and a result feedback module, and the specific functions of the modules in the command interface are as follows:
the command receiving module is used for receiving a service processing command and acquiring the command type of the service processing command;
the information acquisition module is used for acquiring configuration information and routing information corresponding to the command type from a database;
the configuration routing module is used for configuring the service processing command according to the configuration information and routing the configured service processing command to a service module corresponding to the routing information for service processing;
and the result feedback module is used for receiving the processing result fed back by the service module and returning the processing result to the issuing party of the service processing command.
The computer device 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The computer device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a computer device 4 and is not intended to limit computer device 4 and may include more or fewer components than those shown, or some of the components may be combined, or different components, e.g., the computer device may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. The memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the computer device 4. The memory 41 is used for storing the computer program and other programs and data required by the computer device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
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 implementation. 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/computer device and method may be implemented in other ways. For example, the above-described apparatus/computer device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, 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, devices or units, and may be in an electrical, mechanical 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 network 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 application 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 modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A cloud platform, comprising: the system comprises a command interface, a database and a service module;
the database is used for recording configuration information and routing information corresponding to various command types;
the command interface is used for receiving a service processing command, acquiring corresponding configuration information and routing information according to the command type of the service processing command, configuring the service processing command according to the configuration information, routing the configured service processing command to a service module corresponding to the routing information for service processing, and returning a processing result fed back by the service module to an issuer of the service processing command;
and the service module is used for receiving the configured service processing command, performing service processing according to the configured service processing command, and feeding back a processing result to the command interface.
2. A method for processing a service, comprising:
receiving a service processing command, and acquiring a command type of the service processing command;
acquiring configuration information and routing information corresponding to the command type from a database;
configuring the service processing command according to the configuration information, and routing the configured service processing command to a service module corresponding to the routing information for service processing;
and receiving the processing result fed back by the service module, and returning the processing result to the issuing party of the service processing command.
3. The service processing method according to claim 1, wherein the configuring the service processing command according to the configuration information, and the routing the configured service processing command to the service module corresponding to the routing information for performing service processing specifically includes:
adding corresponding session information to the service processing command according to the configuration information;
and routing the service processing command added with the session information to a service module corresponding to the routing information for service processing.
4. The service processing method of claim 3, wherein before the routing the service processing command added with the session information to the service module corresponding to the routing information for service processing, further comprising:
performing authority verification on the service processing command added with the session information according to the configuration information;
correspondingly, the routing the service processing command added with the session information to the service module corresponding to the routing information for service processing specifically includes:
if the authority passes the verification, routing the service processing command added with the session information to a service module corresponding to the routing information for service processing;
and if the authority verification fails, returning abnormal error reporting information to the issuing party of the business processing command.
5. The service processing method according to claim 1, wherein said receiving the processing result fed back by the service module and returning the processing result to the issuer of the service processing command specifically includes:
receiving a processing result fed back by the service module, and packaging the processing result in a preset packaging format;
and returning the encapsulated processing result to the issuing party of the service processing command.
6. A command interface, comprising:
the command receiving module is used for receiving a service processing command and acquiring the command type of the service processing command;
the information acquisition module is used for acquiring configuration information and routing information corresponding to the command type from a database;
the configuration routing module is used for configuring the service processing command according to the configuration information and routing the configured service processing command to a service module corresponding to the routing information for service processing;
and the result feedback module is used for receiving the processing result fed back by the service module and returning the processing result to the issuing party of the service processing command.
7. The command interface of claim 6, wherein the configuration routing module specifically comprises:
the information adding submodule is used for adding corresponding session information to the service processing command according to the configuration information;
and the information routing submodule is used for routing the service processing command added with the session information to a service module corresponding to the routing information for service processing.
8. The command interface of claim 7, wherein the configuration routing module further comprises:
the authority verification submodule is used for performing authority verification on the service processing command added with the session information according to the configuration information;
correspondingly, the information routing sub-module specifically includes:
the pass-through routing submodule is used for routing the service processing command added with the session information to a service module corresponding to the routing information for service processing if the authority passes the verification;
and the failure error reporting submodule is used for returning abnormal error reporting information to the issuing party of the business processing command if the authority verification fails.
9. A computer arrangement comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 2 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 2 to 5.
CN201910824868.6A 2019-09-02 2019-09-02 Cloud platform, service processing method, command interface and computer equipment Active CN110601880B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910824868.6A CN110601880B (en) 2019-09-02 2019-09-02 Cloud platform, service processing method, command interface and computer equipment
PCT/CN2020/099397 WO2021042849A1 (en) 2019-09-02 2020-06-30 Cloud platform, service processing method, command interface and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910824868.6A CN110601880B (en) 2019-09-02 2019-09-02 Cloud platform, service processing method, command interface and computer equipment

Publications (2)

Publication Number Publication Date
CN110601880A true CN110601880A (en) 2019-12-20
CN110601880B CN110601880B (en) 2022-08-26

Family

ID=68857075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910824868.6A Active CN110601880B (en) 2019-09-02 2019-09-02 Cloud platform, service processing method, command interface and computer equipment

Country Status (2)

Country Link
CN (1) CN110601880B (en)
WO (1) WO2021042849A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193807A (en) * 2020-01-09 2020-05-22 北京辰森世纪科技股份有限公司 Information interaction method and device, storage medium and computer equipment
CN112416357A (en) * 2020-11-17 2021-02-26 杭州米络星科技(集团)有限公司 Communication method and device based on business module and electronic equipment
WO2021042849A1 (en) * 2019-09-02 2021-03-11 平安科技(深圳)有限公司 Cloud platform, service processing method, command interface and computer device
CN112565031A (en) * 2020-11-30 2021-03-26 福州汇思博信息技术有限公司 Parameter configuration method and terminal for PPP connection
CN112667324A (en) * 2020-12-30 2021-04-16 凌云光技术股份有限公司 Method and device for calling command class in command mode
CN112905313A (en) * 2021-01-21 2021-06-04 深圳市元征科技股份有限公司 Task processing method and device and electronic equipment
CN113835756A (en) * 2021-09-28 2021-12-24 深圳大普微电子科技有限公司 Host command analysis method and device, solid state disk controller and solid state disk
CN114422343A (en) * 2020-10-13 2022-04-29 腾讯科技(深圳)有限公司 Service configuration method, device, system and computer readable storage medium
CN115328581A (en) * 2022-08-05 2022-11-11 科东(广州)软件科技有限公司 Management device and method for modular service fusion based on heterogeneous system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126195A1 (en) * 2000-05-20 2003-07-03 Reynolds Daniel A. Common command interface
CN102036058A (en) * 2010-12-20 2011-04-27 南京中兴新软件有限责任公司 Method, server, terminal and system for switching videos in video monitoring system
CN105681115A (en) * 2016-04-01 2016-06-15 北京新奥特云视科技有限公司 OnAir all-media cloud platform application method and system
CN109743205A (en) * 2018-12-29 2019-05-10 浪潮电子信息产业股份有限公司 A kind of cloud platform OS network management, device and server
CN109815013A (en) * 2019-01-02 2019-05-28 深圳壹账通智能科技有限公司 Business data processing method, device, computer equipment and storage medium
CN109933626A (en) * 2019-02-12 2019-06-25 平安科技(深圳)有限公司 Data processing method, device and the financial transaction terminal of financial business

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014046694A1 (en) * 2012-09-24 2014-03-27 Empire Technology Development Llc Decentralized cloud workflows
CN105847364A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Public cloud object storage method based on uniform domain name and public cloud object storage system based on uniform domain name
CN206149327U (en) * 2016-11-22 2017-05-03 北京万方数据股份有限公司 Information cloud management platform and information system of enterprise
CN108492195B (en) * 2018-03-08 2020-11-27 中国平安人寿保险股份有限公司 Rule engine package parameter generalization method, equipment and storage medium
CN108449418B (en) * 2018-03-29 2021-08-06 新华三云计算技术有限公司 Hybrid cloud platform management system and method
CN110601880B (en) * 2019-09-02 2022-08-26 平安科技(深圳)有限公司 Cloud platform, service processing method, command interface and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126195A1 (en) * 2000-05-20 2003-07-03 Reynolds Daniel A. Common command interface
CN102036058A (en) * 2010-12-20 2011-04-27 南京中兴新软件有限责任公司 Method, server, terminal and system for switching videos in video monitoring system
CN105681115A (en) * 2016-04-01 2016-06-15 北京新奥特云视科技有限公司 OnAir all-media cloud platform application method and system
CN109743205A (en) * 2018-12-29 2019-05-10 浪潮电子信息产业股份有限公司 A kind of cloud platform OS network management, device and server
CN109815013A (en) * 2019-01-02 2019-05-28 深圳壹账通智能科技有限公司 Business data processing method, device, computer equipment and storage medium
CN109933626A (en) * 2019-02-12 2019-06-25 平安科技(深圳)有限公司 Data processing method, device and the financial transaction terminal of financial business

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021042849A1 (en) * 2019-09-02 2021-03-11 平安科技(深圳)有限公司 Cloud platform, service processing method, command interface and computer device
CN111193807A (en) * 2020-01-09 2020-05-22 北京辰森世纪科技股份有限公司 Information interaction method and device, storage medium and computer equipment
CN114422343A (en) * 2020-10-13 2022-04-29 腾讯科技(深圳)有限公司 Service configuration method, device, system and computer readable storage medium
CN114422343B (en) * 2020-10-13 2023-12-29 腾讯科技(深圳)有限公司 Service configuration method, device, system and computer readable storage medium
CN112416357A (en) * 2020-11-17 2021-02-26 杭州米络星科技(集团)有限公司 Communication method and device based on business module and electronic equipment
CN112565031A (en) * 2020-11-30 2021-03-26 福州汇思博信息技术有限公司 Parameter configuration method and terminal for PPP connection
CN112667324A (en) * 2020-12-30 2021-04-16 凌云光技术股份有限公司 Method and device for calling command class in command mode
CN112667324B (en) * 2020-12-30 2023-12-05 凌云光技术股份有限公司 Method and device for calling command class in command mode
CN112905313A (en) * 2021-01-21 2021-06-04 深圳市元征科技股份有限公司 Task processing method and device and electronic equipment
CN113835756A (en) * 2021-09-28 2021-12-24 深圳大普微电子科技有限公司 Host command analysis method and device, solid state disk controller and solid state disk
CN115328581A (en) * 2022-08-05 2022-11-11 科东(广州)软件科技有限公司 Management device and method for modular service fusion based on heterogeneous system
CN115328581B (en) * 2022-08-05 2023-10-27 科东(广州)软件科技有限公司 Management device and method for modularized business fusion based on heterogeneous system

Also Published As

Publication number Publication date
CN110601880B (en) 2022-08-26
WO2021042849A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
CN110601880B (en) Cloud platform, service processing method, command interface and computer equipment
CN108427705B (en) Electronic device, distributed system log query method and storage medium
CN108923908B (en) Authorization processing method, device, equipment and storage medium
CN107798038B (en) Data response method and data response equipment
CN111143087B (en) Interface calling method, device, storage medium and server
CN111026367B (en) Micro-service arrangement method, device, terminal equipment and storage medium
CN108460068B (en) Method, device, storage medium and terminal for importing and exporting report
CN112653618A (en) Gateway registration method and device of micro-service application API endpoint
CN112631649A (en) Intelligent contract management method, device, terminal equipment and medium
CN115408193A (en) Method and device for processing error codes among multiple modules
CN111338716A (en) Data processing method and device based on rule engine and terminal equipment
CN111381989A (en) Microservice link generation method, microservice link generation device, server and storage medium
CN110866382A (en) Document generation method, device, terminal equipment and medium
CN111447273B (en) Cloud processing system and data processing method based on cloud processing system
CN113132522A (en) Test method, device, server and medium
CN111324645B (en) Block chain data processing method and device
CN112187509A (en) Multi-architecture cloud platform execution log management method, system, terminal and storage medium
CN111142863A (en) Page generation method and device
CN114157662B (en) Cloud platform parameter adaptation method, device, terminal equipment and storage medium
CN115599401A (en) Publishing method, device, equipment and medium of user-defined model
CN111652580B (en) Method and device for processing data of nodes
CN113742235A (en) Method and device for checking codes
CN111464429B (en) WeChat applet multi-item compatible sharing method, system, storage medium and equipment
CN112261072A (en) Service calling method, device, equipment and storage medium
CN111045928A (en) Interface data testing method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant