Check patentability & draft patents in minutes with Patsnap Eureka AI!

Service calling method, device and equipment and computer readable storage medium

A technology for service invocation and equipment, applied in the field of communication, can solve the problems of application gateway not working, increase service response time, etc., and achieve the effect of shortening service response time

Active Publication Date: 2020-06-23
LENOVO (BEIJING) LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this solution needs to set up different application-layer address gateways in advance for different application protocols. Every time a new protocol appears, it is necessary to develop its corresponding packet parsing rules; The text needs to be analyzed in depth, which increases the response time of the service
More importantly, the above application gateway cannot work for applications whose message payload format is not fixed or whose message payload is encoded or encrypted (such as blockchain, peer-to-peer P2P).

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service calling method, device and equipment and computer readable storage medium
  • Service calling method, device and equipment and computer readable storage medium
  • Service calling method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] An embodiment of the present application provides a service invocation method. The functions implemented by the service invocation method in this embodiment can be implemented by invoking program codes from a processor in a service invocation device. Of course, the program codes can be stored in a computer-readable storage medium. It can be seen that the service calling device includes at least a processor and a computer-readable storage medium.

[0029] Figure 1A An optional schematic flow diagram of the service invocation method provided by the embodiment of this application, such as Figure 1A As shown, the method includes the following steps:

[0030] Step S101, when the second application invokes the first application to implement the service invocation, acquire the protocol address and port of the first application.

[0031] Here, the second application and the first application may be any application on the terminal, such as application software such as a browse...

Embodiment 2

[0042] An embodiment of the present application provides a service invocation method. The functions implemented by the service invocation method in this embodiment can be implemented by invoking program codes from a processor in a service invocation device. Of course, the program codes can be stored in a computer-readable storage medium. It can be seen that the service calling device includes at least a processor and a computer-readable storage medium.

[0043] figure 2 An optional schematic flow diagram of the service invocation method provided by the embodiment of this application, such as figure 2 As shown, the method includes the following steps:

[0044] Step S201, obtaining the protocol address of the application, the floating address of the application, the port of the application and the floating port of the application.

[0045] In the embodiment of this application, the application in obtaining the protocol address of the application, the floating address of the ...

Embodiment 3

[0063] An embodiment of the present application provides a service invocation method. The functions implemented by the service invocation method in this embodiment can be implemented by invoking program codes from a processor in a service invocation device. Of course, the program codes can be stored in a computer-readable storage medium. It can be seen that the service calling device includes at least a processor and a computer-readable storage medium.

[0064] image 3 An optional schematic flow diagram of the service invocation method provided by the embodiment of this application, such as image 3 As shown, the method includes the following steps:

[0065] Step S301, when the second application invokes the first application to implement the service invocation, acquire the protocol address and port of the first application.

[0066] Step S302, searching for a floating address and a floating port that have a mapping relationship with the protocol address and port from a pre...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a service calling method, device and equipment and a computer readable storage medium, and the method comprises the steps: obtaining a protocol address and a port of a first application when a second application calls the service of the first application to achieve the service calling; searching a floating address having a mapping relationship with the protocol address and a floating port having a mapping relationship with the port from a preset mapping relationship list; and establishing network connection between a first application and a second application by adopting the searched floating address and floating port, thereby realizing service calling between the second application and the first application.

Description

technical field [0001] The present application relates to the technical field of communication, and relates to but not limited to a service calling method, device, equipment and computer-readable storage medium. Background technique [0002] Currently, due to the rapid development of Internet technology, Internet Protocol (Internet Protocol, IP) address resources are in sharp shortage. Therefore, many applications work with intranet addresses behind a firewall. When the application needs to provide services externally, the gateway will assign a floating IP (Floating IP) and floating port (Floating port) to the application for access by external devices; and the gateway will assign the application's internal IP, internal port, floating IP and The floating port is used for Network Address Translation (NAT). However, some applications will carry their internal IP and internal port in the payload of the message. When this kind of message passes through the NAT conversion of the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/12
CPCH04L61/2517H04L61/2514H04L61/255
Inventor 吉敏马亮亮鲁岩曾飞宇
Owner LENOVO (BEIJING) LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More