CN106656940B - Method and apparatus for processing service access requests - Google Patents

Method and apparatus for processing service access requests Download PDF

Info

Publication number
CN106656940B
CN106656940B CN201510740152.XA CN201510740152A CN106656940B CN 106656940 B CN106656940 B CN 106656940B CN 201510740152 A CN201510740152 A CN 201510740152A CN 106656940 B CN106656940 B CN 106656940B
Authority
CN
China
Prior art keywords
service
information
request
network device
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510740152.XA
Other languages
Chinese (zh)
Other versions
CN106656940A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201510740152.XA priority Critical patent/CN106656940B/en
Publication of CN106656940A publication Critical patent/CN106656940A/en
Application granted granted Critical
Publication of CN106656940B publication Critical patent/CN106656940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer And Data Communications (AREA)

Abstract

Compared with the prior art, the method and the equipment for processing the service access request have the advantages that the service object information of the corresponding target service is inquired and determined in the corresponding service registration information through the first network equipment according to the service access request, and the service call request about the target service is sent to the second network equipment; the second network equipment determines service response information corresponding to the service calling request by calling the target service and sends the service response information to the first network equipment; therefore, all service interfaces in the second network equipment are abstracted into the service independent interfaces, so that the first network equipment processes the service access request of the outer-layer service corresponding to the target service of the second network equipment through the service independent interfaces, the service request of the outer-layer service is more efficiently and accurately routed to the target service corresponding to the second network equipment, and meanwhile, the user experience of related applications is improved.

Description

Method and apparatus for processing service access requests
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a technology for processing a service access request.
Background
With the development of science and technology, particularly with the emergence of cloud computing, terminal applications represented by media such as mobile phones, tablet computers and notebook computers are more and more common, and are gradually integrated into various fields such as enterprise management, government affair disclosure and management, personal entertainment experience and the like; therefore, more and more users need to process the service request called by the terminal operation related service through the lower application system, and therefore, the service request called by the specific service directly affects the response speed, the processing efficiency and the like of the service request with the corresponding problem of the target service system in the lower application system for specifically processing the corresponding service request.
Currently, in order to shield direct interaction between an outer-layer service system and an underlying application system, a network device, such as an aggregation system, provides aggregation and routing functions for services provided by the underlying application system, and a manner for an existing aggregation system to accurately route a service request invoked by an outer-layer service to a corresponding target service system is as follows: in a typical RPC (Remote Procedure Call) mode, each lower layer application issues an RPC service, and the aggregation system subscribes to the RPC service, that is, the aggregation system needs to route a service access request from an outer layer service to a specific service interface of the corresponding lower layer application system. However, the above RPC mode has the following problems:
(1) the aggregation system strongly depends on the lower application system through an RPC mechanism, so that when the lower application system issues correspondingly, the aggregation system also needs to be changed and issued, and when the lower application system has a large number of issuing branches, the stability of the aggregation system cannot be guaranteed due to frequent issuing of the aggregation system;
(2) with the increase of complexity of outer layer services, the lower layer application systems and the corresponding interfaces of the lower layer application systems, on which the aggregation system depends, are more and more, and a large number of interface packages enable the dependency relationship to be more complex, the systems to be too fat, and the maintenance to be difficult.
Disclosure of Invention
The application aims to provide a method and equipment for processing a service access request, so as to solve the problem of routing a service request corresponding to an outer-layer service to a target service in a corresponding lower-layer application system.
According to an aspect of the present application, a method for processing a service access request at a first network device is provided, where the method includes:
inquiring and determining service object information corresponding to a target service in corresponding service registration information according to a service access request, wherein the service object information is obtained when the target service is registered based on a corresponding service independent interface;
sending a service invocation request related to the target service to a corresponding second network device, wherein the service invocation request is based on the service independent interface and comprises the service object information;
and receiving service response information returned by the second network equipment based on the service calling request to respond to the service access request.
According to another aspect of the present application, there is also provided a method for processing a service access request at a second network device, where the method includes:
receiving a service call request about a target service sent by a corresponding first network device, wherein the service call request is based on a service independent interface and comprises service object information, and the service object information is provided to the first network device when the target service is registered based on the service independent interface;
determining service response information corresponding to the service calling request by calling the target service;
and sending the service response information to the first network equipment.
According to another aspect of the present application, there is also provided a first network device for processing a service access request, wherein the device comprises:
target service determining means for inquiring and determining service object information corresponding to a target service in corresponding service registration information according to a service access request, wherein the service object information is obtained when the target service is registered based on a corresponding service independent interface;
a service call request sending device, configured to send a service call request related to the target service to a corresponding second network device, where the service call request is based on the service independent interface and includes the service object information;
and the service response information receiving device is used for receiving the service response information returned by the second network equipment based on the service invoking request so as to respond to the service access request.
According to another aspect of the present application, there is also provided a second network device for processing a service access request, wherein the device includes:
the service calling request receiving device is used for receiving a service calling request which is sent by corresponding first network equipment and related to a target service, wherein the service calling request is based on a service independent interface and comprises service object information, and the service object information is provided to the first network equipment when the target service is registered based on the service independent interface;
the service response information determining device is used for determining service response information corresponding to the service calling request by calling the target service;
and the service response information sending device is used for sending the service response information to the first network equipment.
According to yet another aspect of the present application, there is also provided a system for processing a service access request, wherein the system includes the first network device as described above and the second network device as described above. .
Compared with the prior art, the method and the device have the advantages that the service object information corresponding to the target service is inquired and determined in the corresponding service registration information through the first network device according to the service access request, wherein the service object information is obtained when the target service is registered based on a corresponding service independent Interface, such as an Application Program Interface (API); the first network equipment sends a service calling request about the target service to corresponding second network equipment, and the second network equipment receives the service calling request about the target service sent by the corresponding first network equipment; the second network equipment determines service response information corresponding to the service calling request by calling the target service; the second network equipment sends the service response information to the first network equipment, and the first network equipment receives the service response information returned by the second network equipment based on the service calling request so as to respond to the service access request; therefore, all service interfaces in the second network equipment are abstracted into service independent interfaces, for example, API interfaces, so that the first network equipment processes the service access request of the outer-layer service corresponding to the target service of the second network equipment through the service independent interfaces, the service request of the outer-layer service is more efficiently and accurately routed to the target service corresponding to the second network equipment, the service request is more efficiently processed, and meanwhile, the experience of a user performing service operation is improved.
Moreover, according to the application, the corresponding registration information containing the unique identification information is inquired through the unique identification information of the service calling request, for example, the operation type information, and the registration information corresponds to the specific target service, so that the processing of the service calling request by the target service is realized, and therefore, the service calling request is matched with the corresponding target service only through the unique identification information with global uniqueness in the service calling request and the target service registration information, the matching mode of the service calling request and the target service is simplified, and the processing efficiency of the service calling request is improved.
In addition, the application can send the service independent interface to the second network device through the first network device, and accordingly, the second network device receives the service independent interface sent by the first network device; the second network equipment provides the first network equipment with registration information of the target service based on the service independent interface, wherein the registration information comprises the service object information, and correspondingly, the first network equipment receives the registration information of the target service submitted by the second network equipment based on the service independent interface, wherein the registration information comprises the service object information; therefore, services in the second network equipment, for example, a lower application system, are registered on the service independent interface, and the registration information is provided to the independent interface, so that the service system on the second network equipment performs better unified management, and meanwhile, the service call request can inquire the registration information of the corresponding target service on the service independent interface conveniently.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 illustrates a flow diagram of a method for processing a service access request in accordance with an aspect of the subject application;
FIG. 2 illustrates a flow diagram of a method for processing a service access request in accordance with a preferred embodiment of the present application;
FIG. 3 is a diagram illustrating registration of a service in a second network device at an independent service interface in accordance with a preferred embodiment of the present application;
FIG. 4 is a schematic diagram of a system for processing a service access request according to another aspect of the present application, and a schematic diagram of a first network device and a second network device included in the system;
fig. 5 is a schematic diagram of a first network device and a second network device for processing a service access request according to a preferred embodiment of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present invention is described in further detail below with reference to the attached drawing figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
To further illustrate the technical means and effects adopted by the present application, the following description clearly and completely describes the technical solution of the present application with reference to the accompanying drawings and preferred embodiments.
Referring to fig. 3, a schematic diagram of a system for processing a service access request according to an aspect of the present application is shown, where the system includes a first network device 1 for processing the service access request and a second network device 2 for processing the service access request.
Specifically, the first network device 1 may include an aggregation system that aggregates service access requests of upper layer services and routes the service access requests to target services corresponding to the lower layer application system, and the second network device 2 may include a lower layer application system that processes service invocation requests from the aggregation system, where the lower layer application system includes at least one target service for processing service invocation requests from the aggregation system.
Further, the first network device queries and determines service object information of a corresponding target service in corresponding service registration information according to the service access request, wherein the service object information is obtained when the target service is registered based on a corresponding service independent interface, for example, an API interface; the first network equipment sends a service calling request about the target service to corresponding second network equipment, and the second network equipment receives the service calling request about the target service sent by the corresponding first network equipment; the second network equipment determines service response information corresponding to the service calling request by calling the target service; the second network equipment sends the service response information to the first network equipment, and the first network equipment receives the service response information returned by the second network equipment based on the service calling request so as to respond to the service access request; therefore, the service request of the outer-layer service is processed by the corresponding target service, so that the service request of the outer-layer service is more efficiently and accurately routed to the target service corresponding to the second network equipment, the service request of the outer-layer service is more efficiently processed, and the experience of a user performing service operation is improved.
Those skilled in the art should understand that in a specific implementation of the embodiment, the first network device may include an aggregation system that aggregates service access requests of upper layer services and routes the service access requests to a target service corresponding to a lower layer application system; the second network device may include an underlying application system for processing service invocation requests from the aggregation system. For convenience of description, in the embodiment, the first network device and the aggregation system that aggregates the service access request of the upper layer service and routes the service access request to the target service corresponding to the lower layer application system, and the second network device and the lower layer application system that processes the service invocation request from the aggregation system are respectively used interchangeably.
Fig. 1 is a flowchart illustrating a method for processing a service access request at a first network device and a second network device according to another aspect of the present application. The first network device 1 and the second network device 2 cooperate with each other to complete the processing of the service access request.
Specifically, in step S1, the first network device queries and determines service object information of a corresponding target service in corresponding service registration information according to the service access request, wherein the service object information is obtained when the target service is registered based on a corresponding service independent interface; in step S2, the first network device sends a service invocation request related to the target service to the corresponding second network device, wherein the service invocation request is based on the service independent interface and includes the service object information; accordingly, in step S2, the second network device receives a service invocation request related to a target service sent by the corresponding first network device, wherein the service invocation request is based on the service independent interface and includes service object information, and the service object information is provided to the first network device when the target service is registered based on the service independent interface; in step S3, the second network device determines service response information corresponding to the service invocation request by invoking the target service; in step S4, the second network device sends the service response information to the first network device; accordingly, in step S4, the first network device receives the service response information returned by the second network device based on the service invocation request in response to the service access request.
Referring to fig. 1, in step S1, the first network device 1 queries and determines service object information of a corresponding target service in corresponding service registration information according to the service access request, where the service object information is obtained when the target service is registered based on a corresponding service independent interface.
Specifically, the service access request is a service access request called when a user operates an outer-layer service application, for example, a payment request, a transfer request, and the like sent on a terminal, wherein the service registration information is information provided when the second network device 2 registers the service application thereof on a service-independent interface provided by the first network device 1, wherein the service object information is included in information provided when the second network device 2 registers the service application thereof on the service-independent interface, for example, operation type information, serial number information of the service access request, and the like, and the service-independent interface may be an interface, for example, an API interface, that abstracts interfaces of all service (including a target service) applications on the second network device 2.
Further, in step S1, the first network device 1 queries and determines the service object information of the corresponding target service in the corresponding service registration information according to the service access request, and specifically, the first network device 1 may match and query the service object information of the target service corresponding to the service access request in the service registration information according to the related information in the service access request or the information abstracted from the service access request, for example, at least one of serial number information, operation type information, and request parameter information of the service access request. The manner in which the first network device 1 queries and determines the service object information corresponding to the target service may be to search and match through preset query content, for example, information included in both the service access request and the service object information; the query can also be performed according to information with global uniqueness, such as operation type information, contained in all service access requests and all service object information.
It should be understood by those skilled in the art that the manner described above for the first network device 1 to query the corresponding service registration information according to the service access request to determine the service object information of the corresponding target service is only an example, and other existing or future possible manners for querying the corresponding service registration information according to the service access request to determine the service object information of the corresponding target service may be applicable to the present application, and are also included in the scope of the present application, and are herein incorporated by reference.
Referring to fig. 1, in step S2, the first network device 1 sends a service invocation request related to the target service to the corresponding second network device 2, wherein the service invocation request is based on the service independent interface and includes the service object information.
Specifically, the service invocation request is a corresponding service invocation request sent by the first network device 1 to the second network device 2 according to the received service access request from the outer-layer application, so as to invoke a target service corresponding to the service access request, and process the service access request from the outer-layer application through the corresponding target service. Further, the service invocation request is based on the service independent interface, and it may be understood that the service invocation request is a service request obtained by processing a service access request from an external application by the first network device 1 based on the service independent interface, for example, based on an attribute of the service independent interface, extracting relevant information in the service access request as a corresponding service invocation request sent to the second network device 2, and the like.
Further, the service invocation request includes the service object information, specifically, the service object information herein plays a role in identifying the service invocation request, and at the same time, can determine information of a target service corresponding to the service invocation request, for example, at least one of serial number information, operation type, invoked parameter information, and the like of the service invocation request. Specifically, the first network device 1 sends a service Call request corresponding to the target service to the second network device 2 according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), based on wired and wireless connection with the second network device 2, wherein the wireless connection includes, but is not limited to, Near Field Communication (NFC), Bluetooth (Bluetooth), wireless local area network (wifi), infrared data transmission (IrDA), ZigBee, Ultra WideBand (Ultra WideBand), WiMedia, GPS, DECT, wireless 1394, and other special wireless systems.
Referring to fig. 1, correspondingly, in step S2, the second network device 2 receives a service invocation request about a target service sent by the corresponding first network device 1, wherein the service invocation request is based on a service independent interface and includes service object information, and the service object information is provided to the first network device 1 when the target service is registered based on the service independent interface.
Correspondingly, the second network device 2 receives the service Call request corresponding to the target service, which is sent by the first network device 1, according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), based on wired and wireless connection with the first network device 1. The service invocation request is based on the service independent interface and includes a description of the service object information, which is specifically referred to the above description in this embodiment and is not described herein again; specifically, at this time, the service object information is information provided by the service in the second network device 2 when the target service is registered based on the service independent interface, as shown in fig. 3, a schematic diagram of the service 101 in the second network device 2 registering to the service independent interface 102 is shown, where "service 1, service 2, and service 3.... service n" represents all service systems in the second network device 2, where the target service corresponding to the service invocation request may be a certain "service m", and a dotted arrow represents that the service is to provide registration information to the service independent interface 102 to complete registration.
In addition, the action of registering the service 101 in the second network device 2 with the service independent interface 102 as shown in fig. 3 may be completed before the first network device 1 receives the service access request from the outer-layer service.
Referring to fig. 1, in step S3, the second network device 2 determines the service response information corresponding to the service invocation request by invoking the target service.
Specifically, in step S3, after receiving the service invocation request, the second network device 2 needs to process the service invocation request by invoking a target service corresponding to the service invocation request, for example, if the service invocation request is a request of registering a website by a user, when the target service processes the registration request, the user may be required to input information such as an identification number, a name, a password, and the like to complete the registration request of the user, and display a registration result of the user to the user, where the registration result of the user is service response information corresponding to the registration request.
Referring to fig. 1, in step S4, the second network device 2 sends the service response information to the first network device 1.
Specifically, in step S4, after determining the service response information corresponding to the service invocation request, the second network device 2 needs to provide the service response information to the first network device 1, where the service response information is result information of the second network device 2 after processing the service access request, for example, information such as a payment result corresponding to the payment request and a transfer result corresponding to the transfer request. Further, the second network device 2 sends the service response information corresponding to the service Call request to the first network device 1 according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), based on the wired and wireless connection with the first network device 1.
Referring to fig. 1, correspondingly, in step S4, the first network device 1 receives the service response information returned by the second network device 2 based on the service invocation request in response to the service access request.
Correspondingly, the first network device 1 receives the service response information corresponding to the service Call request sent by the second network device 2 based on the wired and wireless connection with the second network device 2 and according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), and further responds to the service access request from the outer layer service; for the description of the service response information, please refer to the above description of the present embodiment, which is not repeated herein.
Preferably, the method for processing the service access request at the first network device side, wherein the step S4 includes:
s41 (not shown) receiving service response information returned by the second network device 2 based on the service invocation request;
s42 (not shown) provides the service response information to the application corresponding to the service access request in response to the service access request.
Specifically, in step S41, the first network device 1 receives the service response information corresponding to the service invocation request sent by the second network device 2 according to a related service invocation Protocol, for example, RPC (Remote Procedure Call Protocol), based on the wired and wireless connection with the second network device 2, and the related description of this part refers to the foregoing embodiment and is not repeated herein.
Further, in step S42, after receiving the service response information returned based on the service invocation request, the first network device 1 needs to provide the response information to the application corresponding to the service invocation request, that is, the terminal where the application sending the service access request corresponding to the service invocation request is located, and display the service response information to the user on the terminal; for example, a user sends a service access request for logging in a certain website on a mobile terminal, a first network device 1 sends a service call request corresponding to the request for logging in the certain website to a second network device 2 for processing the service call request and for processing a service corresponding to a login operation, that is, a target service, the target service processes the login request to obtain login result information, the second network device 2 sends the login result information to the first network device 1, and the first network device 1 then provides the login result information to the mobile terminal where a corresponding application is located.
Preferably, the method for processing the service access request at the first network device side, wherein the step S2 includes:
s21 (not shown) generating a service invocation request related to the target service, wherein the service invocation request is based on the service independent interface and includes the service object information;
s22 (not shown) sends the service invocation request to the corresponding second network device 2.
Specifically, in step S21, the step of generating the service invocation request related to the target service may include that the first network device 1 receives the service access request from the outer layer service, and needs to process the service access request, for example, perform abstract information extraction, and a specific processing manner or extracted information content, which needs to be determined according to the registration information of the target service on the service independent interface, so as to obtain the service invocation request based on the service independent interface and including the service object information.
Specifically, in step S22, for a detailed description of a manner in which the first network device 1 sends the service invocation request to the second network device 2, reference may be made to the foregoing embodiment, which is not described herein again.
More preferably, the service invocation request includes access parameter information included in the service access request.
Specifically, the service invocation request is information obtained by processing a corresponding service access request, and the specific processing manner may include abstracting and extracting relevant information included in the service access request according to needs, where the specifically extracted content information needs to be determined according to a registration condition of a target service in a service independent interface and a need of the target service for processing the service invocation request corresponding to the target service, where the access parameter information is the content information extracted from the service access request, so as to satisfy the requirement that the parameter information is used to query and match the corresponding target service and also satisfy the information required by the target service for processing the service invocation request corresponding to the target service, where the service invocation request may include a serial number of the service access request sent by a client, an operation type agreed between the service invocation request and the target service, and a processing manner of the target service invocation request, Some parameter information may be used to query and match registration information of the target service registered in the service independent interface, for example, an operation type agreed by the service invocation request and the target service, some parameter information may be used to find an accurate target service and may be used to process the service invocation request by the target service, for example, information such as a system name of the target service, a class name of the target service, and a method name of the target service.
Preferably, the service invocation request includes unique identification information for identifying the service invocation request.
Specifically, in order to quickly and efficiently correspond the service invocation request to the target service for processing the request, the service invocation request needs to include identification information for identifying global uniqueness of the service invocation request, and in practice, the uniqueness identification information may be an operation type agreed by the service invocation request and the target service, for example, the target service corresponding to the registration request is a registered operation type, and the target service corresponding to the login request is a logged-in operation type.
Referring to fig. 2, preferably, the method for processing a service access request further includes:
s5 the first network device 1 sends the service independent interface to the second network device 2, and the second network device 2 receives the service independent interface sent by the first network device 1;
s6 the second network device 2 providing the first network device 1 with registration information of the target service based on the service independent interface; the first network device 1 receives registration information of the target service submitted by the second network device 2 based on the service independent interface, wherein the registration information includes the service object information.
Specifically, in the step S5, the first network device 1 sends the service independent interface to the second network device 2 based on the wired and wireless connection with the second network device 2 and according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), and further, the service independent interface may be an interface format abstracted from all service applications on the second network device 2, for example, an API interface, and the first network device 1 sends the service independent interface information to the second network device 2, so as to register the service on the second network device 2, as shown in fig. 3, a schematic diagram that the service 101 on the second network device 2 registers with the service independent interface 102 is shown. Accordingly, the second network device 2 receives the service independent interface sent by the first network device 1, wherein for the description of the specific manner in which the second network device 2 receives the service independent interface, please refer to relevant parts of this embodiment, which are not described herein again.
Specifically, in the step S6, regarding a specific manner in which the second network device 2 provides the registration information of the target service based on the service-independent interface to the first network device 1, reference may be made to relevant description parts of this embodiment, which are not described herein again, and further, as shown in fig. 3, a manner in which the service 101 on the second network device 2 is registered on the service-independent interface 102 is performed according to a need of the service-independent interface, for example, according to a registration protocol of the independent service interface; accordingly, the first network device 1 receives the registration information of the target service submitted by the second network device 2 based on the service independent interface according to the related service calling Protocol, for example, RPC (Remote Procedure Call Protocol), based on the wired and wireless connection with the second network device 2. The registration information comprises the service object information, so that the service calling request can inquire and match out a corresponding target service.
Preferably, the method for processing a service access request further comprises:
s7 (not shown), the first network device 1 sends the extension information of the service independent interface to the second network device 2; the second network device 2 receives the extension item information of the service independent interface sent by the first network device 1;
wherein the step S6 includes:
the second network device 2 provides the first network device 1 with registration information of the target service based on the service independent interface and the extension item information, wherein the registration information includes the service object information; the first network device 1 receives the registration information of the target service submitted by the second network device 2 based on the service independent interface and the extension item information, wherein the registration information includes the service object information.
Specifically, in the step S7, the first network device 1 sends the extension information of the service independent interface to the second network device 2 according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), based on wired and wireless connection with the second network device 2; correspondingly, the second network device 2 receives the extension item information of the service independent interface sent by the first network device 1 according to a related service calling Protocol, for example, RPC (Remote Procedure Call Protocol), based on wired and wireless connection with the first network device 1, where the extension item information is used for information that the service in the second network device 2 is registered on the service independent interface, for example, the extension item information may be used for issuing a registration Protocol of the service independent interface, so that the service meeting the corresponding registration Protocol may be registered.
Specifically, the step S6 includes: the second network device 2 is based on a wired, wireless connection with the first network device 1, and according to the relevant service invocation protocol, for example, RPC (Remote Procedure Call Protocol), provides the first network device 1 with the registration information of the target service based on the service independent interface and the extension information, and accordingly, the first network device 1 is based on the wired and wireless connection with the second network device 2 and calls the Protocol according to the related service, e.g., a Remote Procedure Call Protocol (RPC), receives registration information of the target service submitted by the second network device 2 based on the service independent interface and the extension information, the registration information includes the service object information, so that the service call request can inquire and match out a corresponding target service.
Compared with the prior art, the method and the device have the advantages that the service object information corresponding to the target service is inquired and determined in the corresponding service registration information through the first network device according to the service access request, wherein the service object information is obtained when the target service is registered based on a corresponding service independent interface, such as an API (application programming interface); the first network equipment sends a service calling request about the target service to corresponding second network equipment, and the second network equipment receives the service calling request about the target service sent by the corresponding first network equipment; the second network equipment determines service response information corresponding to the service calling request by calling the target service; the second network equipment sends the service response information to the first network equipment, and the first network equipment receives the service response information returned by the second network equipment based on the service calling request so as to respond to the service access request; therefore, all service interfaces in the second network equipment are abstracted into service independent interfaces, for example, API interfaces, so that the first network equipment processes the service access request of the outer-layer service corresponding to the target service of the second network equipment through the service independent interfaces, the service request of the outer-layer service is more efficiently and accurately routed to the target service corresponding to the second network equipment, the service request is more efficiently processed, and meanwhile, the experience of a user performing service operation is improved.
Moreover, according to the application, the corresponding registration information containing the unique identification information is inquired through the unique identification information of the service calling request, for example, the operation type information, and the registration information corresponds to the specific target service, so that the processing of the service calling request by the target service is realized, and therefore, the service calling request is matched with the corresponding target service only through the unique identification information with global uniqueness in the service calling request and the target service registration information, the matching mode of the service calling request and the target service is simplified, and the processing efficiency of the service calling request is improved.
In addition, the application can send the service independent interface to the second network device through the first network device, and accordingly, the second network device receives the service independent interface sent by the first network device; the second network equipment provides the first network equipment with registration information of the target service based on the service independent interface, wherein the registration information comprises the service object information, and correspondingly, the first network equipment receives the registration information of the target service submitted by the second network equipment based on the service independent interface, wherein the registration information comprises the service object information; therefore, services in the second network equipment, for example, a lower application system, are registered on the service independent interface, and the registration information is provided to the independent interface, so that the service system on the second network equipment performs better unified management, and meanwhile, the service call request can inquire the registration information of the corresponding target service on the service independent interface conveniently.
Referring to fig. 4, a schematic diagram of a first network device 1 and a second network device 2 for processing a service access request according to another aspect of the present application is shown, where the first network device 1 includes a target service determination device 11, a service invocation request sending device 13, and a service response information receiving device 15, and the second network device 2 includes a service invocation request receiving device 12, a service response information determination device 14, and a service response information sending device 16. The first network device 1 and the second network device 2 cooperate with each other to implement processing of a service access request from an outer layer service.
Specifically, the target service determining apparatus 11 of the first network device queries and determines service object information of a corresponding target service in corresponding service registration information according to a service access request, where the service object information is obtained when the target service is registered based on a corresponding service independent interface; the service call request sending device 13 of the first network device sends a service call request related to the target service to the corresponding second network device 2, wherein the service call request is based on the service independent interface and includes the service object information; accordingly, the service call request receiving device 12 of the second network device receives a service call request about a target service sent by a corresponding first network device, wherein the service call request is based on a service independent interface and includes service object information, and the service object information is provided to the first network device when the target service is registered based on the service independent interface; the service response information determining device 14 of the second network device determines the service response information corresponding to the service invoking request by invoking the target service; a service response information sending device 16 of the second network device, which sends the service response information to the first network device 1; accordingly, the service response information receiving device 15 of the first network device receives the service response information returned by the second network device 2 based on the service invocation request to respond to the service access request.
The above devices continuously operate, and herein, it should be understood by those skilled in the art that "continuously" means that the above devices respectively determine, send and receive a service invocation request, determine service response information corresponding to the service invocation request, send and receive the service response information, and the like in real time or according to a set or real-time adjusted operating mode requirement until the first network device stops receiving the service access request of the outer layer service.
Referring to fig. 4, the target service determining apparatus 11 of the first network device queries and determines service object information of a corresponding target service in corresponding service registration information according to a service access request, where the service object information is obtained when the target service is registered based on a corresponding service independent interface.
Specifically, the service access request is a service access request called when a user operates an outer-layer service application, for example, a payment request, a transfer request, and the like sent on a terminal, wherein the service registration information is information provided when the second network device 2 registers the service application thereof on a service-independent interface provided by the first network device 1, wherein the service object information is included in information provided when the second network device 2 registers the service application thereof on the service-independent interface, for example, operation type information, serial number information of the service access request, and the like, and the service-independent interface may be an interface, for example, an API interface, that abstracts interfaces of all service (including a target service) applications on the second network device 2.
Further, the target service determining apparatus 11 of the first network device queries and determines the service object information of the corresponding target service in the corresponding service registration information according to the service access request, specifically, the first network device 1 may match and query the service object information of the target service corresponding to the service access request in the service registration information according to the related information in the service access request or the information abstracted from the service access request, for example, at least one of serial number information, operation type information, and request parameter information of the service access request. The manner in which the first network device 1 queries and determines the service object information corresponding to the target service may be to search and match through preset query content, for example, information included in both the service access request and the service object information; the query can also be performed according to information with global uniqueness, such as operation type information, contained in all service access requests and all service object information.
It should be understood by those skilled in the art that the manner described above for the first network device 1 to query the corresponding service registration information according to the service access request to determine the service object information of the corresponding target service is only an example, and other existing or future possible manners for querying the corresponding service registration information according to the service access request to determine the service object information of the corresponding target service may be applicable to the present application, and are also included in the scope of the present application, and are herein incorporated by reference.
Referring to fig. 4, the service invocation request sending device 13 of the first network device sends a service invocation request related to the target service to the corresponding second network device, where the service invocation request is based on the service independent interface and includes the service object information.
Specifically, the service invocation request is a corresponding service invocation request sent by the first network device 1 to the second network device 2 according to the received service access request from the outer-layer application, so as to invoke a target service corresponding to the service access request, and process the service access request from the outer-layer application through the corresponding target service. Further, the service invocation request is based on the service independent interface, and it may be understood that the service invocation request is a service request obtained by processing a service access request from an external application by the first network device 1 based on the service independent interface, for example, based on an attribute of the service independent interface, extracting relevant information in the service access request as a corresponding service invocation request sent to the second network device 2, and the like.
Further, the service invocation request includes the service object information, specifically, the service object information herein plays a role in identifying the service invocation request, and at the same time, can determine information of a target service corresponding to the service invocation request, for example, at least one of serial number information, operation type, invoked parameter information, and the like of the service invocation request. Specifically, the first network device 1 sends a service Call request corresponding to the target service to the second network device 2 according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), based on wired and wireless connection with the second network device 2, wherein the wireless connection includes, but is not limited to, Near Field Communication (NFC), Bluetooth (Bluetooth), wireless local area network (wifi), infrared data transmission (IrDA), ZigBee, Ultra WideBand (Ultra WideBand), WiMedia, GPS, DECT, wireless 1394, and other special wireless systems.
Referring to fig. 4, correspondingly, the service invocation request receiving device 12 of the second network device receives a service invocation request related to a target service sent by a corresponding first network device, wherein the service invocation request is based on a service independent interface and includes service object information, and the service object information is provided to the first network device when the target service is registered based on the service independent interface.
Correspondingly, the second network device 2 receives the service Call request corresponding to the target service, which is sent by the first network device 1, according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), based on wired and wireless connection with the first network device 1. The service invocation request is based on the service independent interface and includes a description of the service object information, which is specifically referred to the above description in this embodiment and is not described herein again; specifically, at this time, the service object information is information provided by the service in the second network device 2 when the target service is registered based on the service independent interface, as shown in fig. 3, a schematic diagram of the service 101 in the second network device 2 registering to the service independent interface 102 is shown, where "service 1, service 2, and service 3.... service n" represents all service systems in the second network device 2, where the target service corresponding to the service invocation request may be a certain "service m", and a dotted arrow represents that the service is to provide registration information to the service independent interface 102 to complete registration.
In addition, the action of registering the service 101 in the second network device 2 with the service independent interface 102 as shown in fig. 3 may be completed before the first network device 1 receives the service access request from the outer-layer service.
Referring to fig. 4, the service response information determining device 14 of the second network device determines the service response information corresponding to the service invoking request by invoking the target service.
Specifically, the service response information determining device 14 of the second network device needs to process the service call request by invoking a target service corresponding to the service call request after the second network device 2 receives the service call request, for example, if the service call request is a request of registering a website by a user, when the target service processes the registration request at this time, the user may be required to input information such as an identity number, a name, a password, and the like to complete the registration request of the user, and display a registration result of the user to the user, where the registration result of the user is service response information corresponding to the registration request.
Referring to fig. 4, the service response information sending device 16 of the second network device sends the service response information to the first network device.
Specifically, the service response information sending device 16 of the second network device needs to provide the service response information to the first network device 1 after the second network device 2 determines the service response information corresponding to the service invocation request, where the service response information is result information of the second network device 2 after processing the service access request, for example, information such as a payment result corresponding to the payment request and a transfer result corresponding to the transfer request. Further, the second network device 2 sends the service response information corresponding to the service Call request to the first network device 1 according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), based on the wired and wireless connection with the first network device 1.
Referring to fig. 4, the service response information receiving device 15 of the first network device receives the service response information returned by the second network device based on the service invocation request to respond to the service access request.
Correspondingly, the first network device 1 receives service response information corresponding to the service Call request sent by the second network device 2 based on the wired and wireless connection with the second network device 2 and according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), and further responds to the service access request from the outer layer service; for the description of the service response information, please refer to the above description of the present embodiment, which is not repeated herein.
As shown in fig. 4, preferably, the service response information receiving device 15 includes:
a service response information receiving unit (not shown) that receives service response information returned by the second network device based on the service invocation request;
and a service response information providing unit (not shown) that provides the service response information to an application corresponding to the service access request in response to the service access request.
Specifically, the service response information receiving unit of the first network device 1 receives the service response information corresponding to the service invocation request sent by the second network device 2 according to a related service invocation Protocol, for example, RPC (Remote Procedure Call Protocol), based on wired and wireless connection between the first network device 1 and the second network device 2, and the related description of this part refers to the above-mentioned embodiment and is not described herein again.
Further, after receiving the service response information returned based on the service invocation request, the first network device 1 needs the service response information providing unit therein to provide the response information to the application corresponding to the service invocation request, that is, the terminal where the application sending the service access request corresponding to the service invocation request is located, and displays the service response information to the user on the terminal; for example, a user sends a service access request for logging in a certain website on a mobile terminal, a first network device 1 sends a service call request corresponding to the request for logging in the certain website to a second network device 2 for processing the service call request and for processing a service corresponding to a login operation, that is, a target service, the target service processes the login request to obtain login result information, the second network device 2 sends the login result information to the first network device 1, and the first network device 1 then provides the login result information to the mobile terminal where a corresponding application is located.
Referring to fig. 4, preferably, the service invocation request sending device 13 includes:
a service invocation request generation unit (not shown) that generates a service invocation request regarding the target service, wherein the service invocation request is based on the service independent interface and includes the service object information;
and a service invocation request transmitting unit (not shown) that transmits the service invocation request to the corresponding second network device.
Specifically, the step of generating the service invocation request related to the target service by the service invocation request generating unit may include that the first network device 1 receives the service access request from the outer layer service, and needs to process the service access request, for example, abstract information extraction, a specific processing manner or extracted information content needs to be determined according to the registration information of the target service on the service independent interface, so as to obtain the service invocation request based on the service independent interface and including the service object information.
Specifically, for a detailed description of a manner in which the service invocation request sending unit of the first network device 1 sends the service invocation request to the second network device 2, reference may be made to the foregoing embodiment, which is not described herein again.
Preferably, the service invocation request includes access parameter information included in the service access request.
Specifically, the service invocation request is information obtained by processing a corresponding service access request, and the specific processing manner may include abstracting and extracting relevant information included in the service access request according to needs, where the specifically extracted content information needs to be determined according to a registration condition of a target service in a service independent interface and a need of the target service for processing the service invocation request corresponding to the target service, where the access parameter information is the content information extracted from the service access request, so as to satisfy the requirement that the parameter information is used to query and match the corresponding target service and also satisfy the information required by the target service for processing the service invocation request corresponding to the target service, where the service invocation request may include a serial number of the service access request sent by a client, an operation type agreed between the service invocation request and the target service, and a processing manner of the target service invocation request, Some parameter information may be used to query and match registration information of the target service registered in the service independent interface, for example, an operation type agreed by the service invocation request and the target service, some parameter information may be used to find an accurate target service and may be used to process the service invocation request by the target service, for example, information such as a system name of the target service, a class name of the target service, and a method name of the target service.
Preferably, the service invocation request includes unique identification information for identifying the service invocation request.
Specifically, in order to quickly and efficiently correspond the service invocation request to the target service for processing the request, the service invocation request needs to include identification information for identifying global uniqueness of the service invocation request, and in practice, the uniqueness identification information may be an operation type agreed by the service invocation request and the target service, for example, the target service corresponding to the registration request is a registered operation type, and the target service corresponding to the login request is a logged-in operation type.
As shown in fig. 5, preferably, the first network device 1 further includes:
a service independent interface transmitting means 17 for transmitting the service independent interface to the second network device;
correspondingly, the second network device 2 further comprises:
the independent service interface receiving device 18 receives the service independent interface sent by the first network device.
Specifically, the service independent interface sending device 17 of the first network device sends the service independent interface to the second network device 2 based on the wired and wireless connection between the first network device 1 and the second network device 2 and according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), further, the service independent interface may be an interface form abstracted from all service applications on the second network device 2, for example, an API interface, and the first network device 1 sends the service independent interface information to the second network device 2, so that the service on the second network device 2 is registered, as shown in fig. 3, a schematic diagram that the service 101 on the second network device 2 is registered to the service independent interface 102 is shown. Accordingly, the second network device 2 receives the service independent interface sent by the first network device 1, wherein for the description of the manner in which the independent service interface receiving apparatus 18 of the second network device specifically receives the service independent interface, please refer to the above description of this embodiment, which is not described herein again.
As shown in fig. 5, preferably, the second network device 2 further includes:
a registration information providing device 20, configured to provide registration information of the target service based on the service independent interface to the first network device, where the registration information includes the service object information;
accordingly, the first network device 1 further includes:
and a registration information receiving device 19, configured to receive registration information of the target service submitted by the second network device based on the service independent interface, where the registration information includes the service object information.
Specifically, regarding the registration information providing apparatus 20 of the second network device, a specific way of providing the registration information of the target service based on the service independent interface to the first network device 1 may refer to relevant description parts of this embodiment, which are not described herein again, and further, as shown in fig. 3, a way of registering the service 101 on the second network device 2 on the service independent interface 102 is performed according to the needs of the service independent interface, for example, according to a registration protocol of the independent service interface; correspondingly, the registration information receiving device 19 of the first network device receives the registration information of the target service submitted by the second network device 2 based on the service independent interface according to the wired and wireless connection between the first network device 1 and the second network device 2 and according to the relevant service calling Protocol, for example, RPC (Remote Procedure Call Protocol). The registration information comprises the service object information, so that the service calling request can inquire and match out a corresponding target service.
Preferably, the first network device 1 further comprises:
extension item information transmitting means (not shown) for transmitting extension item information of the service independent interface to the second network device;
correspondingly, the second network device 2 further comprises:
extension item information receiving means (not shown) for receiving extension item information of the service independent interface transmitted by the first network device.
Specifically, the extension item information sending device of the first network device 1 sends the extension item information of the service independent interface to the second network device 2 based on the wired and wireless connection between the first network device 1 and the second network device 2 and according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol); correspondingly, the extension item information receiving apparatus of the second network device 2 receives, based on the wired and wireless connection between the second network device 2 and the first network device 1, the extension item information of the service independent interface sent by the first network device 1 according to a related service Call Protocol, for example, RPC (Remote Procedure Call Protocol), where the extension item information is used for information that the service in the second network device 2 is registered on the service independent interface, and for example, may be used for issuing a registration Protocol of the service independent interface, so that the service meeting the corresponding registration Protocol may be registered.
Further, the registration information providing apparatus 20 of the second network device:
providing, to the first network device, registration information of the target service based on the service independent interface and the extension information, wherein the registration information includes the service object information.
Accordingly, the registration information receiving means 19 of the first network device:
and receiving registration information of the target service submitted by the second network equipment based on the service independent interface and the extension item information, wherein the registration information comprises the service object information.
Specifically, the registration information providing device 20 of the second network device provides the first network device 1 with the registration information of the target service based on the service independent interface and the extension information according to a related service calling Protocol, for example, RPC (Remote Procedure Call Protocol), based on the wired and wireless connection between the second network device 2 and the first network device 1, and correspondingly, the registration information receiving device 19 of the first network device receives the registration information of the target service submitted by the second network device 2 based on the service independent interface and the extension information according to a related service calling Protocol, for example, RPC (Remote Procedure Call Protocol), the registration information comprises the service object information, so that the service calling request can inquire and match out a corresponding target service.
Compared with the prior art, the method and the device have the advantages that the service object information corresponding to the target service is inquired and determined in the corresponding service registration information through the first network device according to the service access request, wherein the service object information is obtained when the target service is registered based on a corresponding service independent interface, such as an API (application programming interface); the first network equipment sends a service calling request about the target service to corresponding second network equipment, and the second network equipment receives the service calling request about the target service sent by the corresponding first network equipment; the second network equipment determines service response information corresponding to the service calling request by calling the target service; the second network equipment sends the service response information to the first network equipment, and the first network equipment receives the service response information returned by the second network equipment based on the service calling request so as to respond to the service access request; therefore, all service interfaces in the second network equipment are abstracted into service independent interfaces, for example, API interfaces, so that the first network equipment processes the service access request of the outer-layer service corresponding to the target service of the second network equipment through the service independent interfaces, the service request of the outer-layer service is more efficiently and accurately routed to the target service corresponding to the second network equipment, the service request is more efficiently processed, and meanwhile, the experience of a user performing service operation is improved.
Moreover, according to the application, the corresponding registration information containing the unique identification information is inquired through the unique identification information of the service calling request, for example, the operation type information, and the registration information corresponds to the specific target service, so that the processing of the service calling request by the target service is realized, and therefore, the service calling request is matched with the corresponding target service only through the unique identification information with global uniqueness in the service calling request and the target service registration information, the matching mode of the service calling request and the target service is simplified, and the processing efficiency of the service calling request is improved.
In addition, the application can send the service independent interface to the second network device through the first network device, and accordingly, the second network device receives the service independent interface sent by the first network device; the second network equipment provides the first network equipment with registration information of the target service based on the service independent interface, wherein the registration information comprises the service object information, and correspondingly, the first network equipment receives the registration information of the target service submitted by the second network equipment based on the service independent interface, wherein the registration information comprises the service object information; therefore, services in the second network equipment, for example, a lower application system, are registered on the service independent interface, and the registration information is provided to the independent interface, so that the service system on the second network equipment performs better unified management, and meanwhile, the service call request can inquire the registration information of the corresponding target service on the service independent interface conveniently.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (19)

1. A method at a first network device for processing a service access request, wherein the method comprises:
inquiring and determining service object information corresponding to a target service in corresponding service registration information according to a service access request, wherein the service object information is obtained when the target service is registered based on a corresponding service independent interface;
sending a service calling request about the target service to corresponding second network equipment, wherein the service calling request is based on the service independent interface and comprises the service object information, the service calling request comprises unique identification information for identifying the service calling request, and the unique identification information is an operation type agreed by the service calling request and the target service;
and receiving service response information returned by the second network equipment based on the service calling request to respond to the service access request, wherein the first network equipment is an aggregation system, the second network equipment is a lower-layer application system, and the service access request comes from an outer-layer business system.
2. The method of claim 1, wherein the receiving service response information returned by the second network device based on the service invocation request in response to the service access request comprises:
receiving service response information returned by the second network equipment based on the service calling request;
and providing the service response information to an application corresponding to the service access request to respond to the service access request.
3. The method of claim 1, wherein the sending a service invocation request for the target service to a corresponding second network device comprises:
generating a service invocation request related to the target service, wherein the service invocation request is based on the service independent interface and comprises the service object information;
and sending the service calling request to the corresponding second network equipment.
4. The method of claim 3, wherein the service invocation request includes access parameter information included in the service access request.
5. The method of claim 1, wherein the method further comprises:
sending the service independent interface to the second network device;
receiving registration information of the target service submitted by the second network equipment based on the service independent interface, wherein the registration information comprises the service object information.
6. The method of claim 5, wherein the method further comprises:
sending extension item information of the service independent interface to the second network equipment;
wherein the receiving registration information of the target service submitted by the second network device based on the service independent interface comprises:
and receiving registration information of the target service submitted by the second network equipment based on the service independent interface and the extension item information, wherein the registration information comprises the service object information.
7. A method at a second network device for processing a service access request, wherein the method comprises:
receiving a service call request which is sent by corresponding first network equipment and related to a target service, wherein the service call request is based on a service independent interface and comprises service object information, the service object information is provided to the first network equipment when the target service is registered based on the service independent interface, the service object information in the service call request which is sent by the first network equipment and related to the target service is inquired and determined in corresponding service registration information by the first network equipment according to a service access request, the service call request comprises unique identification information used for identifying the service call request, and the unique identification information is an operation type agreed by the service call request and the target service;
determining service response information corresponding to the service calling request by calling the target service;
and sending the service response information to the first network equipment, wherein the first network equipment is an aggregation system, the second network equipment is a lower-layer application system, and the service access request comes from an outer-layer business system.
8. The method of claim 7, wherein the method further comprises:
receiving the service independent interface sent by the first network equipment;
providing, to the first network device, registration information for the target service based on the service independent interface, wherein the registration information includes the service object information.
9. The method of claim 8, wherein the method further comprises:
receiving extension item information of the service independent interface sent by the first network equipment;
wherein the providing registration information of the target service based on the service independent interface to the first network device comprises:
providing, to the first network device, registration information of the target service based on the service independent interface and the extension information, wherein the registration information includes the service object information.
10. A first network device for processing a service access request, wherein the device comprises:
target service determining means for inquiring and determining service object information corresponding to a target service in corresponding service registration information according to a service access request, wherein the service object information is obtained when the target service is registered based on a corresponding service independent interface;
a service invocation request sending device, configured to send a service invocation request related to the target service to a corresponding second network device, where the service invocation request is based on the service independent interface and includes the service object information, the service invocation request includes unique identification information for identifying the service invocation request, and the unique identification information is an operation type agreed between the service invocation request and the target service;
and a service response information receiving device, configured to receive service response information returned by the second network device based on the service invocation request, so as to respond to the service access request, where the first network device is an aggregation system, the second network device is a lower-layer application system, and the service access request is from an outer-layer service system.
11. The apparatus of claim 10, wherein the service response information receiving means comprises:
a service response information receiving unit, configured to receive service response information returned by the second network device based on the service invocation request;
and the service response information providing unit is used for providing the service response information to the application corresponding to the service access request so as to respond to the service access request.
12. The apparatus of claim 10, wherein the service invocation request sending means comprises:
a service invocation request generation unit, configured to generate a service invocation request related to the target service, where the service invocation request is based on the service independent interface and includes the service object information;
and the service calling request sending unit is used for sending the service calling request to the corresponding second network equipment.
13. The device of claim 12, wherein the service invocation request includes access parameter information included in the service access request.
14. The apparatus of claim 10, wherein the apparatus further comprises:
a service independent interface sending means for sending the service independent interface to the second network device;
and a registration information receiving device, configured to receive registration information of the target service, which is submitted by the second network device based on the service independent interface, where the registration information includes the service object information.
15. The apparatus of claim 14, wherein the apparatus further comprises:
an extension item information sending device, configured to send extension item information of the service independent interface to the second network device;
wherein the registration information receiving means is configured to:
and receiving registration information of the target service submitted by the second network equipment based on the service independent interface and the extension item information, wherein the registration information comprises the service object information.
16. A second network device for processing a service access request, wherein the device comprises:
the service call request receiving device is used for receiving a service call request which is sent by corresponding first network equipment and related to a target service, wherein the service call request is based on a service independent interface and comprises service object information, the service object information is provided for the first network equipment when the target service is registered based on the service independent interface, the service object information in the service call request which is sent by the first network equipment and related to the target service is inquired and determined in corresponding service registration information by the first network equipment according to a service access request, the service call request comprises unique identification information used for identifying the service call request, and the unique identification information is an operation type agreed by the service call request and the target service;
the service response information determining device is used for determining service response information corresponding to the service calling request by calling the target service;
and the service response information sending device is used for sending the service response information to the first network equipment, wherein the first network equipment is an aggregation system, the second network equipment is a lower-layer application system, and the service access request is from an outer-layer service system.
17. The apparatus of claim 16, wherein the apparatus further comprises:
an independent service interface receiving device, configured to receive the service independent interface sent by the first network device;
and a registration information providing device, configured to provide, to the first network device, registration information of the target service based on the service independent interface, where the registration information includes the service object information.
18. The apparatus of claim 17, wherein the apparatus further comprises:
an extension item information receiving device, configured to receive extension item information of the service independent interface sent by the first network device;
wherein the registration information providing apparatus is configured to:
providing, to the first network device, registration information of the target service based on the service independent interface and the extension information, wherein the registration information includes the service object information.
19. A system for processing a service access request, wherein the system comprises a first network device as claimed in any one of claims 10 to 15 and a second network device as claimed in any one of claims 16 to 18.
CN201510740152.XA 2015-11-04 2015-11-04 Method and apparatus for processing service access requests Active CN106656940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510740152.XA CN106656940B (en) 2015-11-04 2015-11-04 Method and apparatus for processing service access requests

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510740152.XA CN106656940B (en) 2015-11-04 2015-11-04 Method and apparatus for processing service access requests

Publications (2)

Publication Number Publication Date
CN106656940A CN106656940A (en) 2017-05-10
CN106656940B true CN106656940B (en) 2021-02-26

Family

ID=58850940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510740152.XA Active CN106656940B (en) 2015-11-04 2015-11-04 Method and apparatus for processing service access requests

Country Status (1)

Country Link
CN (1) CN106656940B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784527A (en) * 2019-10-18 2020-02-11 三体云智能科技有限公司 Information management system and method
CN112187561B (en) * 2020-08-19 2022-05-27 深圳市广和通无线股份有限公司 Communication module testing method, device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647319A (en) * 2012-03-27 2012-08-22 许继集团有限公司 Application service system for monitoring power charging-exchanging station and interprocess communication method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407154C (en) * 2004-04-29 2008-07-30 国际商业机器公司 A system and method for modeling and dynamically deploying services into a distributed networking architecture
CN101847100B (en) * 2010-06-08 2012-12-05 用友软件股份有限公司 Method for expanding software application and device
US8990381B2 (en) * 2010-12-31 2015-03-24 Motorola Solutions, Inc. Method and apparatus for managing common and application specific presence information
CN104506896B (en) * 2015-01-16 2018-10-16 三星电子(中国)研发中心 The operation processing method and device of smart television
CN104572112A (en) * 2015-01-21 2015-04-29 成都卫士通信息安全技术有限公司 Inter-program function dynamic multiplexing system and method based on Android system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647319A (en) * 2012-03-27 2012-08-22 许继集团有限公司 Application service system for monitoring power charging-exchanging station and interprocess communication method

Also Published As

Publication number Publication date
CN106656940A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US10531223B2 (en) Matching users in a location-based service
CN106874174B (en) Method and device for realizing interface test and function test
CN109145025B (en) Multi-data-source integrated data query method and device and service server
US20160072789A1 (en) Mobile cloud service architecture
CN113364853B (en) Business service system, business request method and gateway equipment
WO2014055363A1 (en) Method and system for providing location services
WO2020143557A1 (en) Method and device for displaying information
US11570744B2 (en) User proximity discovery and data identification
US11263267B1 (en) Apparatuses, methods, and computer program products for generating interaction vectors within a multi-component system
CN110597877A (en) Block chain transaction processing method and device
US20210141824A1 (en) Geolocation restricted content registration and publication
CN107203877B (en) Method and device for realizing service between accounts in close range
CN106656940B (en) Method and apparatus for processing service access requests
US10824655B2 (en) Data models for geo-enriched data
US11521250B2 (en) Method and apparatus for providing digital product using user account synchronization
US20180091460A1 (en) Augmenting location of social media posts based on proximity of other posts
CN114675982A (en) General method and system for acquiring data of service integration system
CN109462868B (en) Method and equipment for inquiring target information by wireless access point
US10652341B2 (en) Restful interface system for an application
US11256758B2 (en) System and method for rendering overlapping points
CN112883410B (en) Method and device for displaying information
CN112486991A (en) Database report processing method and device and electronic equipment
CN116975835A (en) Single sign-on method and related equipment
US20160269494A1 (en) Apparatus and method for providing object-oriented services
KR20150120165A (en) Method and apparatus for managing participating information of terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant