CN110602212A - Application service management method, device and storage medium - Google Patents

Application service management method, device and storage medium Download PDF

Info

Publication number
CN110602212A
CN110602212A CN201910870560.5A CN201910870560A CN110602212A CN 110602212 A CN110602212 A CN 110602212A CN 201910870560 A CN201910870560 A CN 201910870560A CN 110602212 A CN110602212 A CN 110602212A
Authority
CN
China
Prior art keywords
service operation
access request
user access
interface
service
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
CN201910870560.5A
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.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN201910870560.5A priority Critical patent/CN110602212A/en
Publication of CN110602212A publication Critical patent/CN110602212A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Abstract

The embodiment of the invention provides an application service management method, an application service management device and a storage medium, wherein the method comprises the following steps: receiving a user access request, then calling a general service operation interface according to the user access request, and executing general service operation corresponding to the user access request, wherein one or more general service operations respectively corresponding to a plurality of application services provided by an application program are packaged in the general service operation interface, and further calling a target application service interface according to an execution result of the general service operation interface so that the target application service interface executes the business service operation. One or more universal service operations corresponding to a plurality of application services are stripped, the universal service operations are packaged into independent service components, and when a user access request is managed, the user access request can be realized by simply calling, so that the codes of all application service interfaces are simplified, and the maintainability of application program codes is improved.

Description

Application service management method, device and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for managing application services, and a storage medium.
Background
At present, the development of an application program gradually adopts a micro-service architecture to carry out rapid development iteration, and if non-service logic codes are embedded in micro-services related to the application program to realize a non-service function, the micro-services become bloated and difficult to maintain. With the increasing number of application service interfaces, if a non-service logic code corresponding to a non-service function is deployed in each application service interface, the difficulty in maintaining the multiple application service interfaces in the later period is high.
Therefore, efficient management of the application service interface is urgently required.
Disclosure of Invention
The embodiment of the invention provides an application service management method, an application service management device and a storage medium, which are used for improving maintainability of application program codes.
In a first aspect, an embodiment of the present invention provides an application service management method, where the method includes:
receiving a user access request, wherein the user access request is used for requesting to call a target application service interface to execute business service operation;
calling a general service operation interface according to the user access request, and executing general service operation corresponding to the user access request, wherein one or more general service operations respectively corresponding to a plurality of application services provided by an encapsulated application program are packaged in the general service operation interface, and the general service operation is non-business service operation;
and calling a target application service interface according to the execution result of the general service operation interface so as to enable the target application service interface to execute the business service operation.
Optionally, the invoking a general service operation interface according to the user access request, and executing a general service operation corresponding to the user access request includes:
if the state identifier of the general service operation interface is in an open state, calling the general service operation interface according to the user access request, and executing general service operation corresponding to the user access request.
Optionally, if the state identifier of the general service operation interface is an open state, invoking the general service operation interface according to the user access request, and executing a general service operation corresponding to the user access request, including:
if the state identifier of the general service operation interface is in an open state, calling the general service operation interface according to the user access request;
and if the state identifier of the general service operation corresponding to the user access request in the general service operation interface is an open state, executing the general service operation corresponding to the user access request according to the user access request.
Optionally, before the invoking a general service operation interface according to the user access request and executing a general service operation corresponding to the user access request, the method further includes:
configuring the state of a general service operation interface connected with the target application service interface and the state of each general service operation in the general service operation interface connected with the target application service interface, wherein the states comprise an opening state and a closing state.
Optionally, the generic service operations encapsulated in the generic service operation interface include: white list, black list, cutback, routing, and traffic control.
Optionally, the method further comprises:
if the general service operation comprises a white list, responding to the fact that the white list does not comprise the user, and calling the general service operation interface to intercept the user access request;
and if the general service operation comprises the blacklist, responding to the blacklist comprising the user, and calling the general service operation interface to intercept the user access request.
Optionally, a custom operation interface is further encapsulated in the general service operation interface, and the custom operation interface is used to execute the extended general service operation corresponding to the target application service interface.
In a second aspect, an embodiment of the present invention further provides an application service management apparatus, where the apparatus includes:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a user access request which is used for requesting to call a target application service interface to execute business service operation;
the processing module is used for calling a general service operation interface according to the user access request and executing general service operation corresponding to the user access request, one or more general service operations corresponding to a plurality of application services provided by an application program are packaged in the general service operation interface respectively, and the general service operation is non-business service operation;
and the calling module is used for calling a target application service interface according to the execution result of the general service operation interface so as to enable the target application service interface to execute the business service operation.
In a third aspect, an embodiment of the present invention further provides an application service management apparatus, including: a memory and a processor;
the memory stores computer program instructions;
the processor executes the computer program instructions to perform the application service management method of any of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a readable storage medium, including: carrying out a procedure;
the program, when executed by a processor, is to perform the application service management method of any one of the first aspect.
In a fifth aspect, the present invention further provides a program product, where the program product includes a computer program, where the computer program is stored in a readable storage medium, and at least one processor of the application service management apparatus can read the computer program from the readable storage medium, and the at least one processor executes the computer program to make the application service management apparatus execute the application service management method according to any one of the first aspect.
The embodiment of the invention provides an application service management method, an application service management device and a storage medium, wherein the method comprises the following steps: receiving a user access request, wherein the user access request is used for requesting to call a target application service interface to execute business service operation, then calling a general service operation interface according to the user access request, and executing general service operation corresponding to the user access request, wherein one or more general service operations respectively corresponding to a plurality of application services provided by an application program are packaged in the general service operation interface, and further, calling the target application service interface according to an execution result of the general service operation interface so that the target application service interface executes the business service operation. According to the application service management method provided by the embodiment of the invention, one or more general service operations corresponding to a plurality of application services provided by the application program are stripped, the general service operations are packaged into independent service components, and the management of the user access request can be realized by simply calling, so that the codes of all application service interfaces are simplified, and the maintainability of the application program codes is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of an application service management method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an application service management method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an application service management method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an application service management apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an application service management apparatus according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
Fig. 1 is a schematic view of an application scenario of an application service management method according to an embodiment of the present invention. As shown in fig. 1, the scenario includes at least one application service interface 1, at least one application service management device 2, and a business service interface 3. Wherein, at least one application service interface 1 is connected with one end of at least one application service management device 2, and the other end of at least one application service management device 2 is connected with a business service interface 3.
The business service interface 3 is configured to receive a user access request sent by a user, where the user access request is used to invoke a target application service interface to enable the target application service interface to perform a business service operation, where the target application service interface is one of the at least one application service interface 1. The business service operation is directed at different application programs, and the user access requests sent by the user may be different, for example, the application program is an audio playing program, the user access request sent by the user may be a request for caching an audio file, the application program is a shopping-type application program, and the user access request sent by the user may be a request for payment, a request for querying personal information of the user, a request for modifying personal information of the user, and the like.
The business service interface 3 may receive user access requests sent by users in a plurality of different channels, for example, the business service interface 3 may receive user access requests sent by users in different channels such as a campus channel and an external forum, and then the business service interface 3 sends the user access requests to the application service management device 2 corresponding to the target application service interface 1, where the target application service interface 1 is the application service interface 1 corresponding to the user access requests.
When the user access request reaches the application service management apparatus 2, the application service management apparatus 2 executes a general service operation corresponding to the user access request according to the user access request. In this embodiment of the present application, one or more general service operations respectively correspond to a plurality of application services provided by a package application program in the application service management apparatus 2, and the general service operation is a non-business service operation.
The application service management method provided by the present invention will be described in detail below by means of several specific embodiments.
Fig. 2 is a flowchart illustrating an application service management method according to an embodiment of the present invention. As shown in fig. 2, an execution subject of the application service management method provided in this embodiment may be an application service management apparatus provided in this embodiment, and the apparatus may be implemented in any software and/or hardware manner.
In this embodiment, the execution subject is taken as an example of the general service operation interface for detailed description.
S201, receiving a user access request.
The general service operation interface receives a user access request sent by a user, for example, the general service operation interface may receive a user access request sent by a business service interface.
The user access request is used for requesting to call a target application service interface to execute business service operation, and the plurality of application service interfaces provided by the application program comprise the target application service interface, namely, the target application service interface is one of the plurality of application service interfaces provided by the application program.
The user access request may include service attribute information and non-service attribute information, where the service attribute information is used to indicate what service operation the user access request is used to request, and the non-service attribute information is used to execute a general service operation.
S202, calling a general service operation interface according to the user access request, and executing general service operation corresponding to the user access request.
S203, calling a target application service interface according to the execution result of the general service operation interface.
The universal service operation interface is used for encapsulating one or more universal service operations corresponding to a plurality of application services provided by the application program, and the universal service operations are non-business service operations. For example, the application program can provide three different application services, namely an application service a, an application service B and an application service C, where the application service a is used to execute a business service operation a, the application service B is used to execute a business service operation B, and the application service C is used to execute a business service operation C, where the general service operation corresponding to the application service a includes a general service operation 1 and a general service operation 2, the general service operation corresponding to the application service B includes a general service operation 3 and a general service operation 4, and the general service operation corresponding to the application service C includes a general service operation 4, and then the general service operation interface is encapsulated with the general service operation 1, the general service operation 2, the general service operation 3 and the general service operation 4.
Illustratively, an application can provide three different application services, respectively: the method comprises the steps of inquiring user information, adding user information and modifying the user information, wherein general service operation corresponding to the inquired user information comprises traffic control and a white list, general service operation corresponding to the added user information comprises routing and a black list, general service operation corresponding to the modified user information comprises traffic control, and then the traffic control, the white list, the routing and the black list are packaged in a general service operation interface.
And the general service operation interface executes general service operation corresponding to the user access request according to the non-service attribute information in the user access request. That is, the general service operation interface executes the general service operation corresponding to the target application service interface according to the non-service attribute information in the user access request. Wherein, the non-service attribute information corresponding to different general service operations is different.
Optionally, the generic service operation interface may include one or more of whitelisting, blacklisting, traffic shedding, routing, and traffic control.
For example, as the user demand is continuously increased, new application services are continuously developed, and in an initial stage of online application service, in order to verify availability of service functions, the application services are usually only opened for a part of white list users, that is, when the general service operation is a white list, the general service operation interface determines whether the user is a white list user according to non-service attribute information in a user access request and the white list, if so, the target application service interface is called, and if not, the general service operation interface intercepts the user access request. The non-service attribute information in the user access request may be a user identifier, which may be a user name, a user Identity Document (ID), or the like.
After the service function verification is completed, the application service may be formally brought online, and more users are gradually opened, for example, the total number of registered users is gradually increased from 10% to 30%, 50%, and up to 100%, that is, when the general service operation is a cut, the general service operation interface may also configure information to realize the cut of the number of opened users. For example, after a new application service is formally online, the online user is gradually opened, for example, the total number of registered users is 100 ten thousands, and the general service operation interface may obtain a hash value corresponding to the user according to the ID of the user and a corresponding algorithm, and determine whether to allow the user to access according to the hash value corresponding to the user. For example, if the new application service is selected to be opened for 10% of the total number of the registered users, the general service operation interface may perform modulo operation on the hash value corresponding to the user and 10, allow the user with the calculation result of 1 to access, and intercept the access initiated by the user with the calculation result of not 1; if the new application service is selected to be opened for 20% of the total number of the registered users, the general service operation interface can perform modulo operation on the hash value corresponding to the user and 10, allow the users with the calculation results of 1 and 2 to access, intercept the access initiated by the users with the calculation results of not 1 and 2, and so on, and the general service operation interface can realize the cut-off.
If a malicious user is encountered, access restriction needs to be performed on the malicious user, and access to the application service is prohibited, that is, when the general service operation is a blacklist, the general service operation interface determines whether the blacklist includes the user according to non-service attribute information in the user access request and the blacklist, if so, the general service operation interface intercepts the user access request, and if not, the target application service interface is called. The non-service attribute information in the user access request may be a user identifier, which may be a user name, a user ID, or the like.
In addition, in some large-traffic access scenarios, in order to avoid application service paralysis, traffic control is generally performed, where the traffic control may include one or more of throttling, downgrading, and fusing, where throttling indicates that the universal service operation interface limits the number of users accessing the application service according to the configuration information, for example, limiting the number of accesses per second to the application service interface or limiting the timeout time for accessing the application service interface. Downgrades indicate that the generic service operation interface is capable of changing the traffic class indicating the amount of other traffic associated with the target traffic. Fusing indicates that the generic service operation interface can disable execution of other services associated with the target service.
Illustratively, if the general service operation includes traffic control, the traffic control includes flow limitation, a security call threshold may be set in the actual application, where the security call threshold represents the number of times of access to the target application service interface per second, when the number of times of access to the target application service interface per second is less than or equal to the security threshold, the general service interface calls the target application service interface normally, when an access request of a certain user reaches the general service operation interface, the number of times of access to the target application service per second is greater than the security call threshold, it represents that the user access request triggers flow limitation, and the general service interface performs flow limitation processing on the user access request, that is, the general service operation interface intercepts the user access request.
Illustratively, if the generic service operations include routing, the generic service operations interface may be configured to allow different users to access the same or different application service interfaces. In a possible implementation manner, the generic service operation interface may determine the target application service interface according to a user identifier included in the user access request, for example, a hash value corresponding to the user may be obtained by calculation according to an ID of the user, and the target application service interface is determined according to the hash value. In another possible implementation manner, the generic service operation interface completes the call of the specified target service interface by the specified user according to the configuration, for example, if the user identifier included in the user access request indicates that the user is male, the target application service interface a is called, and if the user identifier included in the user access request indicates that the user is female, the target application service interface B is scheduled.
In this embodiment, a user access request is first received, where the user access request is used to request to invoke a target application service interface to execute a service operation, then a general service operation interface is invoked according to the user access request, and a general service operation corresponding to the user access request is executed, where one or more general service operations respectively corresponding to a plurality of application services provided by an application program are encapsulated in the general service operation interface, and further, the target application service interface is invoked according to an execution result of the general service operation interface, so that the target application service interface executes the service operation. In the embodiment, one or more universal service operations corresponding to a plurality of application services provided by the application program are stripped, the universal service operations are packaged into independent service components, and the user access request can be managed by simply calling, so that the codes of all application service interfaces are simplified, and the maintainability of the application program codes is improved.
Optionally, in some embodiments, a custom operation interface is further encapsulated in the generic service operation interface, and the custom operation interface is used for executing the extended generic service operation corresponding to the target application service. Specifically, the custom operation interface is a custom logic gate, and an application developer can set what kind of general service operation the custom operation interface performs according to actual requirements, where the custom logic gate may also be referred to as a gate valve, an extended logic gate, or other names, and the embodiments of the present application do not limit this.
Illustratively, a white list is encapsulated in the universal service operation interface, the white list is used for intercepting the user access request according to the user ID, the actual application program needs a multidimensional interception process of user information, for example, the application program needs to intercept the user access request according to the user information such as the age, the academic calendar and the administrative region where the user is located, and then the custom logic gate can be used for determining whether to allow the target application service interface to be called according to the user information such as the age, the academic calendar and the administrative region where the user is located.
Fig. 3 is a flowchart illustrating an application service management method according to another embodiment of the present invention. As shown in fig. 3, the method of the present embodiment includes:
s301, receiving a user access request.
In this embodiment, step S301 is similar to step S201 in the embodiment shown in fig. 2, and details of step S201 in the embodiment shown in fig. 2 can be referred to, and are not repeated herein.
S302, determining the state identification of the general service operation interface.
If the status flag of the universal service operation interface is in the on state, S303 is executed, and if the status flag of the universal service operation interface is in the off state. S304 is performed.
S303, calling a general service operation interface.
And S304, calling a target application service interface.
S305, executing the general service operation with the state identification being the open state in the general service operation interface according to the user access request.
S306, determining to call a target application service interface or intercept a user access request according to the execution result of the general service operation interface. If the calling target application service interface is determined, executing S307, and if the user access request is determined to be intercepted, executing S308.
S307, calling a target application service interface.
And S308, intercepting the user access request.
For example, the generic service operations encapsulated in the generic service operations interface include: white list, black list, cut, route, and flow limit. The general service operation in the on state includes a white list and a current limit. When a user access request reaches a general service operation interface, if the general service operation interface determines that the user belongs to a white list user according to the user identification of the user access request, and when the user access request reaches, the access quantity of a target application service interface does not reach a safe calling peak value, therefore, the general service interface calls the target application service interface so that the target application service interface executes business service operation in the access request. When the user access request reaches the general service operation interface, if the general service operation interface determines that the user does not belong to the white list user according to the user identification of the user access request, the general service interface intercepts the user access request, and the general service interface can also generate corresponding log information to record the interception. When a user access request reaches a general service operation interface, if the general service operation interface determines that the user belongs to a white list user according to the user identification of the user access request, but when the user access request reaches, the access quantity of the target application service reaches a safe calling peak value, the general service interface intercepts the user access request, and the general service interface can also generate corresponding log information to record the interception.
When the general service operation in the open state comprises other general service operations encapsulated in the general service operation interface, the processing procedure is similar.
And S308, returning an interception result.
Optionally, in some embodiments, after intercepting the user access request, the generic service operation interface returns an interception result to the user, where the interception result may be preset content, and the preset content may be a json character string of a returned object, or may also return an empty object to the user.
Optionally, before determining the state identifier of the generic service operation interface in this embodiment S302, S301' is further included to configure a state of the generic service operation interface connected to the target application service interface, and a state of each generic service operation in the generic service operation interface connected to the target application service interface.
In the embodiment, one or more universal service operations corresponding to a plurality of application services provided by the application program are stripped, the universal service operations are packaged into independent service components, and the user access request can be managed by simply calling, so that the codes of all application service interfaces are simplified, and the maintainability of the application program codes is improved.
Optionally, if it is determined in S302 that the status identifier of the universal service operation interface is the closed status, S302 may further include: s302 ', configuring the state of the generic service operation interface to be an on state (S302' is not shown in fig. 3). Then, S303 is executed to call the general service operation interface.
Optionally, in some embodiments, before performing, according to the user access request, the general service operation in the general service operation interface, where the state is identified as the open state, the method further includes: s304', configuring the state of one or more general service operations in the general service operation interface connected with the target application service interface as an opening state. After that, S305 is executed again.
In other embodiments, the state of the general service operation interface connected to the target application service interface may also be configured in advance to be an on state or an off state, and the state of one or more general service operations in the general service operation interface connected to the target application service interface may also be configured in advance to be an on state or an off state. The application service management device can directly execute the application service management method provided by the embodiment of the invention when receiving the user access request.
Fig. 4 is a schematic structural diagram of an application service management apparatus according to an embodiment of the present invention. As shown in fig. 4, the present embodiment provides an apparatus 40 including: a receiving module 41, a processing module 42 and a calling module 43.
The receiving module 41 is configured to receive a user access request, where the user access request is used to request to invoke a target service interface to execute a service operation.
And the processing module 42 is configured to invoke a general service operation interface according to the user access request, and execute a general service operation corresponding to the user access request, where the general service operation interface encapsulates one or more general service operations corresponding to the plurality of application services provided by the application program.
Wherein the generic service operation is a non-business service operation.
A calling module 43, configured to call a target application service interface according to an execution result of the generic service operation interface, so that the target application service interface executes the service operation.
In some embodiments, the processing module 42 is specifically configured to, if the state of the universal service operation interface is indicated as an open state, invoke the universal service operation interface according to the user access request, and execute a universal service operation corresponding to the user access request.
In some embodiments, the processing module 42 is specifically configured to, if the state of the universal service operation interface is indicated as an open state, invoke the universal service operation interface according to the user access request; and if the state of the general service operation corresponding to the user access request in the general service operation interface is marked as an opening state, executing the general service operation corresponding to the user access request according to the user access request.
In some embodiments, the processing module 42, before invoking the generic service operation interface according to the user access request and executing the generic service operation corresponding to the user access request, is further configured to configure a state of the generic service operation interface connected to the target application service interface, and/or configure a state of one or more generic service operations in the generic service operation interface connected to the target application service interface, where the state includes an on state and an off state.
Optionally, the generic service operation encapsulated in the generic service operation interface includes one or more of white list, black list, cut, route, and traffic control.
In some embodiments, if the generic service operation includes a white list, in response to the white list not including the user, the processing module 42 is further configured to intercept the user access request; if the generic service operation includes a blacklist, in response to the blacklist including the user, the processing module 42 is further configured to intercept the user access request.
Optionally, a custom operation interface is further encapsulated in the general service operation interface, and the custom operation interface is used for executing the extended general service operation corresponding to the target application service interface.
The application service management apparatus provided in this embodiment may be used to execute the technical solutions in the embodiments shown in fig. 2 and fig. 3, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of an application service management apparatus according to another embodiment of the present invention. As shown in fig. 5, the application service management apparatus 50 of the present embodiment includes: memory 51, processor 52 and computer programs.
Wherein a computer program is stored in the memory 51 and configured to be executed by the processor 52 to implement the application service management method shown in any of the embodiments of fig. 2 and 3. The related description may be understood by referring to the related description and effect corresponding to the steps in fig. 2 and fig. 3, and redundant description is not repeated here.
In the present embodiment, the memory 51 and the processor 52 are connected by a bus 53.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the application service management method shown in any one of fig. 2 and fig. 3 in the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules 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 modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
Program code for implementing the methods of the present invention may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Finally, it should be noted that: although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely exemplary forms of implementing the claims; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. An application service management method, comprising:
receiving a user access request, wherein the user access request is used for requesting to call a target application service interface to execute business service operation;
calling a general service operation interface according to the user access request, and executing general service operation corresponding to the user access request, wherein one or more general service operations corresponding to a plurality of application services provided by an application program are packaged in the general service operation interface;
and calling a target application service interface according to the execution result of the general service operation interface so as to enable the target application service interface to execute the business service operation.
2. The method according to claim 1, wherein the invoking a general service operation interface according to the user access request, and executing a general service operation corresponding to the user access request comprises:
if the state identifier of the general service operation interface is in an open state, calling the general service operation interface according to the user access request, and executing general service operation corresponding to the user access request.
3. The method according to claim 2, wherein if the status identifier of the universal service operation interface is an open status, invoking the universal service operation interface according to the user access request, and executing a universal service operation corresponding to the user access request, includes:
if the state identifier of the general service operation interface is in an open state, calling the general service operation interface according to the user access request;
and if the state identifier of the general service operation corresponding to the user access request in the general service operation interface is an open state, executing the general service operation corresponding to the user access request according to the user access request.
4. The method according to claim 1, wherein before the invoking a generic service operation interface according to the user access request and executing a generic service operation corresponding to the user access request, further comprising:
configuring the state of a general service operation interface connected with the target application service interface, and/or configuring the state of one or more general service operations in the general service operation interface connected with the target application service interface, wherein the state comprises an opening state and a closing state.
5. The method of claim 1, wherein the generic service operations encapsulated in the generic service operations interface comprise: white list, black list, cutback, routing, and traffic control.
6. The method of claim 5, further comprising:
if the general service operation comprises a white list, responding to the fact that the white list does not comprise the user, and calling the general service operation interface to intercept the user access request;
and if the general service operation comprises the blacklist, responding to the blacklist comprising the user, and calling the general service operation interface to intercept the user access request.
7. The method according to any one of claims 1 to 6, wherein a custom operation interface is further encapsulated in the generic service operation interface, and the custom operation interface is used for executing the extended generic service operation corresponding to the target application service interface.
8. An application service management apparatus, comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a user access request which is used for requesting to call a target application service interface to execute business service operation;
the processing module is used for calling a general service operation interface according to the user access request and executing general service operation corresponding to the user access request, and one or more general service operations corresponding to a plurality of application services provided by an application program are packaged in the general service operation interface;
and the calling module is used for calling a target application service interface according to the execution result of the general service operation interface so as to enable the target application service interface to execute the business service operation.
9. An application service management apparatus, comprising: a memory and a processor;
the memory stores computer program instructions;
the processor executes the computer program instructions to perform the application service management method of any of claims 1 to 7.
10. A readable storage medium, comprising: carrying out a procedure;
the program, when executed by a processor, is to perform the application service management method of any of claims 1 to 7.
CN201910870560.5A 2019-09-16 2019-09-16 Application service management method, device and storage medium Pending CN110602212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910870560.5A CN110602212A (en) 2019-09-16 2019-09-16 Application service management method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910870560.5A CN110602212A (en) 2019-09-16 2019-09-16 Application service management method, device and storage medium

Publications (1)

Publication Number Publication Date
CN110602212A true CN110602212A (en) 2019-12-20

Family

ID=68859729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910870560.5A Pending CN110602212A (en) 2019-09-16 2019-09-16 Application service management method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110602212A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112839084A (en) * 2021-01-04 2021-05-25 浙江诺诺网络科技有限公司 Service processing method, device, equipment and computer readable storage medium
CN113626068A (en) * 2020-05-09 2021-11-09 北京沃东天骏信息技术有限公司 Page management method and device
CN114244905A (en) * 2021-11-22 2022-03-25 上海浦东发展银行股份有限公司 Data forwarding method and device, computer equipment and storage medium
WO2023078234A1 (en) * 2021-11-05 2023-05-11 贵州白山云科技股份有限公司 Method for controlling code execution on basis of distributed cloud network, and device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878393A (en) * 2017-01-16 2017-06-20 深圳市商沃科技发展有限公司 A kind of system based on fusion micro services framework
CN107239290A (en) * 2017-06-12 2017-10-10 郑州云海信息技术有限公司 The management method and device of a kind of application service
CN107733922A (en) * 2017-11-20 2018-02-23 百度在线网络技术(北京)有限公司 Method and apparatus for calling service
US20180115614A1 (en) * 2016-10-21 2018-04-26 Sap Se Highly Scalable Application Services
CN108234653A (en) * 2018-01-03 2018-06-29 马上消费金融股份有限公司 A kind of method and device of processing business request
CN109922158A (en) * 2019-03-22 2019-06-21 泰康保险集团股份有限公司 Data processing method, device, medium and electronic equipment based on micro services

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180115614A1 (en) * 2016-10-21 2018-04-26 Sap Se Highly Scalable Application Services
CN106878393A (en) * 2017-01-16 2017-06-20 深圳市商沃科技发展有限公司 A kind of system based on fusion micro services framework
CN107239290A (en) * 2017-06-12 2017-10-10 郑州云海信息技术有限公司 The management method and device of a kind of application service
CN107733922A (en) * 2017-11-20 2018-02-23 百度在线网络技术(北京)有限公司 Method and apparatus for calling service
CN108234653A (en) * 2018-01-03 2018-06-29 马上消费金融股份有限公司 A kind of method and device of processing business request
CN109922158A (en) * 2019-03-22 2019-06-21 泰康保险集团股份有限公司 Data processing method, device, medium and electronic equipment based on micro services

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626068A (en) * 2020-05-09 2021-11-09 北京沃东天骏信息技术有限公司 Page management method and device
CN112839084A (en) * 2021-01-04 2021-05-25 浙江诺诺网络科技有限公司 Service processing method, device, equipment and computer readable storage medium
WO2023078234A1 (en) * 2021-11-05 2023-05-11 贵州白山云科技股份有限公司 Method for controlling code execution on basis of distributed cloud network, and device and system
CN114244905A (en) * 2021-11-22 2022-03-25 上海浦东发展银行股份有限公司 Data forwarding method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109766722B (en) Method for constructing intelligent contract in block chain
CN110602212A (en) Application service management method, device and storage medium
US8769305B2 (en) Secure execution of unsecured apps on a device
US9047463B2 (en) Method and system for protecting data flow at a mobile device
TW201828220A (en) Service processing method and apparatus
CN103581187A (en) Method and system for controlling access rights
CN110390184B (en) Method, apparatus and computer program product for executing applications in the cloud
CN112565026B (en) Test frame generation method, device and equipment
CN115378735B (en) Data processing method and device, storage medium and electronic equipment
CN109255210A (en) The method, apparatus and storage medium of intelligent contract are provided in block chain network
CN103455349A (en) Method and device for accessing intelligent card by application program
CN115374481B (en) Data desensitization processing method and device, storage medium and electronic equipment
CN111144878B (en) Instruction generation method and instruction generation device
CN107846676A (en) Safety communicating method and system based on network section security architecture
CN110070360B (en) Transaction request processing method, device, equipment and storage medium
CN111245620B (en) Mobile security application architecture in terminal and construction method thereof
CN112395568A (en) Interface authority configuration method, device, equipment and storage medium
CN108171063A (en) Method, terminal and the computer readable storage medium of access safety element
CN112115500A (en) Method, device and system for accessing file
CN111143879A (en) Android platform SD card file protection method, terminal device and storage medium
KR101531833B1 (en) Multi-channel method and device for smartwork security framework based on mobile virtualization environment
CN105760164A (en) Method for achieving ACL permission in user space file system
CN111931222B (en) Application data encryption method, device, terminal and storage medium
CN112417402B (en) Authority control method, authority control device, authority control equipment and storage medium
CN113836529A (en) Process detection method, device, storage medium and computer equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Digital Technology Holding Co.,Ltd.

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Digital Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Beijing Economic and Technological Development Zone, 100176

Applicant before: JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220