CN113783914A - Data processing method, device and equipment - Google Patents

Data processing method, device and equipment Download PDF

Info

Publication number
CN113783914A
CN113783914A CN202010903498.8A CN202010903498A CN113783914A CN 113783914 A CN113783914 A CN 113783914A CN 202010903498 A CN202010903498 A CN 202010903498A CN 113783914 A CN113783914 A CN 113783914A
Authority
CN
China
Prior art keywords
service instance
service
request message
terminal equipment
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010903498.8A
Other languages
Chinese (zh)
Inventor
张晋军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202010903498.8A priority Critical patent/CN113783914A/en
Publication of CN113783914A publication Critical patent/CN113783914A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/482Application

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application provides a data processing method, a device and equipment, wherein the method comprises the following steps: the terminal equipment generates a first request message corresponding to a first service, wherein the first service is any one of the services in the application program; the terminal equipment determines the address information of a target service instance corresponding to the first service through a first process; and the terminal equipment sends a first request message to the target service instance through the first process according to the address information of the target service instance. The reliability of network data transmission is improved.

Description

Data processing method, device and equipment
Technical Field
The embodiment of the application relates to the technical field of electronic communication, in particular to a data processing method, device and equipment.
Background
Network data forwarding is a common network communication mode, when two communication parties can not perform direct communication in a point-to-point mode, for example, when a terminal device only supports an HTTP protocol and a server only receives a certain private protocol, a gateway needs to be added between the terminal device and the server, and the gateway can first receive a request message of the terminal device according to the HTTP protocol and then send the request message to the server according to the corresponding private protocol, thereby completing network communication.
In the prior art, the gateways are usually in the form of clusters due to the requirement of high availability and performance expansion, that is, a plurality of gateways are deployed to collectively process network communication between the terminal devices and the servers. Any one gateway in the gateway cluster can receive different request messages of a plurality of terminal devices and respectively send the request messages to corresponding servers.
However, each gateway has limited resources (e.g., memory, network card, central processing unit, etc.), and when there are many request messages sent by multiple terminal devices simultaneously, the processing capability of the gateway is exceeded, which causes communication delay and even interruption between some terminal devices and the server, and the reliability of network data transmission is low.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device and data processing equipment, and the reliability of network data transmission is improved.
In a first aspect, an embodiment of the present application provides a data processing method, including:
the method comprises the steps that terminal equipment generates a first request message corresponding to a first service, wherein the first service is any one of application programs;
the terminal equipment determines the address information of a target service instance corresponding to the first service through a first process;
and the terminal equipment sends the first request message to the target service instance through the first process according to the address information of the target service instance.
In a possible implementation manner, the determining, by the terminal device through the first process, address information of a target service instance corresponding to the first service includes:
the terminal device obtains a service instance list corresponding to the application program, wherein the service instance list comprises identifiers of a plurality of services included in the application program, at least one service instance corresponding to each service and address information of each service instance;
and the terminal equipment determines the address information of the target service instance corresponding to the first service in the service instance list.
In a possible implementation manner, the acquiring, by the terminal device, a service instance list corresponding to the application program includes:
the terminal equipment sends a second request message to a first server, wherein the second request message comprises the identification of the application program;
and the terminal equipment receives the service instance list sent by the first server.
In a possible implementation manner, the determining, by the terminal device, address information of a target service instance corresponding to the first service in the service instance list includes:
the terminal equipment acquires at least one service instance corresponding to the first service in the service instance list;
the terminal equipment determines the target service instance in at least one service instance corresponding to the first service;
and the terminal equipment acquires the address information corresponding to the target service instance in the service instance list.
In a possible implementation manner, the acquiring, by the terminal device, a service instance list corresponding to the application program includes:
the terminal equipment acquires a configuration file;
the terminal equipment acquires a preset identifier in the configuration file;
and the terminal equipment acquires a service instance list corresponding to the corresponding version according to the preset identification in the configuration file.
In a possible implementation manner, the acquiring, by the terminal device, a service instance list corresponding to the application program includes:
the terminal equipment acquires a configuration file;
the terminal equipment acquires the version parameters in the configuration file;
and the terminal equipment acquires a service instance list corresponding to the corresponding version according to the version parameters in the configuration file.
In a possible implementation manner, the sending, by the terminal device, the first request message to the target service instance through the first process according to the address information of the target service instance includes:
the terminal equipment carries out Network Address Translation (NAT) on the first request message so as to redirect the request message to the first process;
and the terminal equipment sends the first request message to the target service instance through the first process according to the address information of the target service instance.
In one possible embodiment, the method further comprises:
and the terminal equipment downloads a file package corresponding to the application program, wherein the file package comprises the process information of the first process, and the first process is operated when the application program is started.
In a possible implementation manner, after the terminal device sends the first request message to the target service instance through the first process according to the address information of the target service instance, the method further includes:
and the terminal equipment receives a response message corresponding to the first request message through the first process.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
the system comprises a generating module, a sending module and a receiving module, wherein the generating module is used for generating a first request message corresponding to a first service, and the first service is any one of the services in the application program;
a determining module, configured to determine, by a first process, address information of a target service instance corresponding to the first service;
and the sending module is used for sending the first request message to the target service instance through the first process according to the address information of the target service instance.
In a possible implementation, the determining module is specifically configured to:
acquiring a service instance list corresponding to the application program, wherein the service instance list comprises identifiers of a plurality of services included in the application program, at least one service instance corresponding to each service, and address information of each service instance;
and determining the address information of the target service instance corresponding to the first service in the service instance list.
In a possible implementation, the determining module is specifically configured to:
sending a second request message to the first server, the second request message including an identification of the application;
and receiving the service instance list sent by the first server.
In a possible implementation, the determining module is specifically configured to:
obtaining at least one service instance corresponding to the first service in the service instance list;
determining the target service instance in at least one service instance corresponding to the first service;
and acquiring the address information corresponding to the target service instance in the service instance list.
In a possible implementation, the determining module is specifically configured to:
acquiring a configuration file;
acquiring a preset identifier in the configuration file;
and acquiring a service instance list corresponding to the corresponding version according to the preset identifier in the configuration file.
In a possible implementation, the determining module is specifically configured to:
acquiring a configuration file;
acquiring version parameters in the configuration file;
and acquiring a service instance list corresponding to the corresponding version according to the version parameters in the configuration file.
In a possible implementation manner, the sending module is specifically configured to:
performing Network Address Translation (NAT) on the first request message to redirect the request message to the first process;
and sending the first request message to the target service instance through the first process according to the address information of the target service instance.
In a possible embodiment, the apparatus further comprises:
and the downloading module is used for downloading a file package corresponding to the application program, wherein the file package comprises the process information of the first process, and the first process is operated when the application program is started.
In a possible embodiment, the apparatus further comprises:
and the receiving module is used for receiving a response message corresponding to the first request message through the first process.
In a third aspect, an embodiment of the present application provides a data processing apparatus, including: at least one processor and memory;
the memory is to store computer program instructions;
the at least one processor is configured to execute the computer program instructions stored in the memory, so that the terminal device executes the data processing method according to any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, in which computer program instructions are stored, and when a processor executes the computer program instructions, the data processing method according to any one of the above first aspects is performed.
According to the data processing method, the data processing device and the data processing equipment, the terminal equipment is provided with the application program, the application program is provided with the first process, and the first process has the function of the gateway. In the process, the terminal equipment can send the request message to the target service instance through the first process without depending on the existing centralized distributed gateway cluster, and when the number of the terminal equipment accessing the service through the application program is increased sharply, the request message can still be sent to the target service instance through the first process, so that the reliability of network data transmission is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is an application scenario diagram of a data processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a process of sending a first request message according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic hardware structure diagram of a data processing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is an application scenario diagram of a data processing method according to an embodiment of the present application. Referring to fig. 1, the terminal apparatus 101, the first server 102, and the second server 103 are included. The terminal device 101 may be a mobile terminal, a tablet computer, a desktop computer, etc., but is not limited thereto. The terminal device 101 may be installed with different applications, and one application may provide a service that can be executed by a service logic process, the service may include at least one service, and the terminal device may access the at least one service through the application, for example, the terminal device may access services such as browsing goods, shopping cart adding, payment, and the like through the application. The first server 102 may be configured to provide an operating environment of an application program, perform management control and maintenance on the application program, and the second server 103 may be configured to provide a service, where the first server 102 and the second server 103 may be the same or different, and the application is not specifically limited herein. The second server 103 may receive the access service request message transmitted by the terminal apparatus 101 through the network. Since the terminal device 101 and the second server 103 support different protocols, for example, the terminal device 101 only supports the HTTP protocol, and the second server 103 only supports a certain private protocol (e.g., the redis protocol), network data forwarding is required between the terminal device 101 and the second server 103, so as to complete network communication of different protocols.
In the prior art, a gateway is usually deployed between the terminal device 101 and the second server 103 to implement network data forwarding. The gateway may receive the request message of the terminal device 101 according to the HTTP protocol, and forward the request message to the second server 103 according to the corresponding private protocol. In the actual application process, a plurality of terminal devices 101 access services through application programs, and because the hardware resources of a single gateway are limited, a plurality of gateways are usually deployed to jointly complete the network data forwarding process. However, when the number of terminal devices 101 accessing services through an application program increases dramatically, the existing gateway cannot forward all service access request messages, which causes delay and even interruption of network data transmission, and the transmission reliability is low.
In order to solve the above technical problem, in the present application, an application program is installed in the terminal device 101, a configuration file of the application program includes process information of a first process, and the first process has a function of a gateway, so that when the terminal device 101 starts the application program, the terminal device starts the first process, and can send a request message to the second server 103 through the first process, without depending on an existing centralized gateway cluster, when the number of terminal devices 101 accessing the second server through the application program is increased suddenly, the request message can still be forwarded through the first process, and reliability of network data transmission is improved.
The first process runs in the terminal device 101, and the terminal device 101 may receive, through the first process, a request message for accessing a service, which is transmitted according to a first protocol, and forward the request message to the server according to a second protocol.
Next, a procedure of setting the first process in the application program will be described.
The first server 102 may modify the resource files and configuration information files of the application through the HOOK module. For example, the first server 102 may add a resource file of a first process in a resource file of an application program through the HOOK module, add a configuration information file of the first process in the configuration information file of the application program, thereby obtaining a new resource file and a configuration information file, package the new resource file and the configuration information file to obtain an installation package of the application program including information of the first process, and the first server 102 issues the installation package, for example, the first server 102 may issue the installation package on a network.
When the terminal device 101 needs to access a service, the installation package may be downloaded and installed first over the network. When the terminal apparatus 101 starts the application, the first process is started.
In an actual application process, the first server 102 may obtain a service instance list corresponding to an application program. It should be noted that at least one service that the terminal device 101 accesses through the application program may include multiple service instances, where the multiple service instances are respectively deployed at different addresses of the second server 103, and the addresses may be, for example, an IP (Internet Protocol Address) and a PORT. For example: the services that the terminal apparatus 101 accesses through the application may include: browsing a commodity detail page, adding a shopping cart, paying commodities and the like, for the commodity payment service, a plurality of service instances are correspondingly arranged at different addresses of a server respectively, for example: the address of the service instance on the second server 103 may be expressed as: 192.168.1.1:135, where 192.168.1.1 is the IP address of the second server 103 and 135 is a port of the second server 103.
The first server 102 may obtain the service instance list corresponding to the application program through the following feasible implementation manners: the second server 103 sends the address information of the service instance to the registration module of the first server 102 in real time or periodically, and the control module of the first server 102 acquires the address information of the service instance through the registration module and updates the service instance list in real time or periodically.
For example, when a new service instance 34 is added, the address information of the service instance 34 in the second server 103 may be represented as: 192.168.0.1:100, the second server 103 may send the address information to the registration module of the first server 102, and optionally, the second server 103 may send the address information to the registration module of the first server 102 in real time, or may send the address information to the registration module of the first server 102 periodically, for example: the transmission period may be 1 s.
The control module of the first server 102 stores therein service instance list information, and the service instance list may include identifiers of a plurality of services included in the application program, at least one service instance corresponding to each service, address information of each service instance, and the like. Alternatively, the service instance list may be as shown in table 1:
TABLE 1
Figure BDA0002660584790000081
The control module of the first server 102 acquires the address information of the newly added service instance 34 through the registration module, and updates the service instance list in real time or periodically. The updated service instance list may be as shown in table 2:
TABLE 2
Figure BDA0002660584790000082
Figure BDA0002660584790000091
It should be noted that the above is only an example to illustrate one possible application scenario, and is not a limitation to the application scenario.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application. Referring to fig. 2, the method may include:
s201, the terminal device generates a first request message corresponding to the first service.
The terminal equipment can be terminal equipment such as a smart phone, a tablet computer and a desktop computer.
The first service is any one of the application programs, for example, the first service may be commodity browsing, shopping cart adding, commodity payment, and the like. The application program is a computer program running on an operating system of the terminal device, for example, the application program may be a shopping application program, and one application program may provide a service, which may be executed by the terminal device through a service logic process corresponding to the application program, and the service may include at least one service, and the terminal device may access the at least one service through the application program.
The first request message is a request message generated by the terminal device through an application program and used for accessing the first service. Optionally, the first request message may be transmitted according to a first protocol, for example, the first protocol may be an HTTP protocol.
Optionally, the terminal device may generate the first request message corresponding to the first service in the following manner: when the terminal device needs to access the first service, the terminal device starts the application program, and receives an operation of the user on the control of the application program through the application program, optionally, the operation may be that the user clicks a corresponding control on a display page of the application program, for example, the display page of the first mall application program includes a control of the first commodity, when the user needs to browse details of the first commodity, the user may click the control of the first commodity, and after the terminal device receives the operation of the user, the terminal device correspondingly generates a first request message corresponding to browsing the first commodity.
S202, the terminal device determines address information of a target service instance corresponding to the first service through the first process.
Optionally, the terminal device may generate the first request message through a service logic process of the application program, and send the first request message to the Sidecar process through the service logic process according to the first protocol, and optionally, the first protocol may be an HTTP protocol.
The terminal device may receive a request message for accessing a service transmitted according to a first protocol through a first process and forward the request message to a server according to a second protocol.
The first process may be a Sidecar sidecr process, the sidecr is a container deployment mode in the container cluster management platform, and the sidecr process and the service logic process may be deployed according to a ratio of 1:1, where the container is a lightweight virtualization module, and one terminal device may set at least one container. The container cluster management platform may manage at least one container of the terminal device, and the container cluster management platform may be kubernets, which is an open source platform for deploying, updating, and maintaining containerized applications on the terminal device.
The first service is any one of a plurality of services provided by the application program, the first service may include a plurality of service instances, and the plurality of service instances may be respectively deployed at different IP/PORTs of the server.
The target service instance is any one of a plurality of service instances, and the terminal device may determine address information of the target service instance corresponding to the first service through the first process, where the address information of the target service instance may be IP/PORT address information of the target service instance at the server, and for example, the address information of the target service instance may be: 172.168.0.0:8080, wherein 172.168.0.0 is the IP address of the server corresponding to the target service instance, and 8080 is the port number assigned by the server to the target service instance.
Optionally, the address information of the target service instance corresponding to the first service may be determined by the first process through a feasible implementation manner as follows: the method comprises the steps that terminal equipment obtains a service instance list corresponding to an application program; and the terminal equipment determines the address information of the target service instance corresponding to the first service in the service instance list. The service instance list may be as shown in table 1, and is not described herein again.
Optionally, the service instance list corresponding to the application program may be obtained as follows: the terminal device may send a second request message to the first server, where the second request message may include an identifier of the application program, and after receiving the second request message, the first server sends a service instance list to the terminal device according to the second request message, and the terminal device receives the service instance list sent by the first server.
Optionally, the terminal device may determine, in the service instance list, address information of a target service instance corresponding to the first service by: the terminal equipment acquires at least one service instance corresponding to the first service in the service instance list; the terminal equipment determines a target service instance in at least one service instance corresponding to the first service; and the terminal equipment acquires the address information corresponding to the target service instance in the service instance list.
Next, the address information of the target service instance corresponding to the first service determined by the terminal device through the first process is described by taking the service instance list shown in table 1 as an example.
When the terminal device needs to determine the address information of the target service instance corresponding to the service1 through the first process, the terminal device sends a second request message to the first server, where the second request message may include an identifier of an application program, after the first server receives the second request message, the first server sends a service instance list corresponding to the application program to the terminal device according to the second request message, and the terminal device receives the service instance list sent by the first server through the first process. The terminal device obtains the service instance corresponding to the service1 in the service instance list through a first process, which respectively comprises the following steps: the service instance 11, the service instance 12, and the service instance 13, where the target service instance is determined in the three service instances, optionally, the method for determining the target service instance may include a random algorithm, a polling algorithm, and the like, which is not specifically limited in this embodiment of the present application, for example, the target service instance is determined to be the service instance 12 through the random algorithm, and the terminal device obtains the IP/PORT information corresponding to the target service instance 12 in the service instance list as follows: 192.168.0.0:456.
S203, the terminal device sends a first request message to the target service instance through the first process according to the address information of the target service instance.
Optionally, the terminal device sends the first request message to the target service instance through the first process according to the IP/PORT information of the target service instance, and optionally, the first request message sent to the target service instance through the first process may be transmitted according to a second protocol, for example, the second protocol may be a Redis private protocol.
Optionally, the terminal device may send the first request message to the target service instance through the first process according to the address information of the target service instance by the following method: the terminal equipment carries out Network Address Translation (NAT) on the first request message so as to redirect the request message to a first process; and the terminal equipment sends a first request message to the target service instance through the first process according to the address information of the target service instance.
Next, with reference to fig. 3, a detailed description will be given of a process in which the terminal device sends the first request message to the target service instance through the first process.
Fig. 3 is a schematic process diagram for sending a first request message according to an embodiment of the present application. Referring to fig. 3, after the terminal device generates the first request message, the terminal device may obtain the first request message through the redirection module, and perform NAT on the first request message through the redirection module by the terminal device, so as to redirect the request message to the first process; and the terminal equipment sends a first request message to the target service instance through the first process according to the address information of the target service instance.
The redirection module is arranged on the terminal device and used for configuring and controlling the TCP/IP protocol stack behavior of the kernel of the operating system, and optionally, the redirection module may be an Iptables.
Since the service logic process and the redirection module share the hardware resource of the terminal device, specifically, share the TCP/IP protocol stack of the terminal device, the redirection module can acquire the first request message faster than the conventional gateway. After the first request message is acquired, the terminal device may perform NAT on the first request message through the redirection module to redirect the first request message to the first process. And the terminal equipment sends a first request message to the target service instance through the first process according to the IP/PORT information of the target service instance.
In the data processing method provided by the embodiment of the application, the terminal device is provided with the application program, the application program is provided with the first process, and the first process has a gateway function, so that when the terminal device needs to access the service, the terminal device generates the first request message corresponding to the first service through the application program, determines the address information of the target service instance corresponding to the first service through the first process, and sends the first request message to the target service instance through the first process according to the address information of the target service instance. In the process, the terminal equipment realizes the forwarding of the access service request message through the first process, the existing gateway cluster in centralized distribution is not needed, and when the number of the terminal equipment accessing the service through the application program is increased rapidly, the request message can still be sent to the target service instance through the first process, so that the reliability of network data transmission is improved.
In addition to any of the above embodiments, the following describes the data processing method with reference to the embodiment shown in fig. 4.
Fig. 4 is a schematic flowchart of another data processing method according to an embodiment of the present application. Referring to fig. 4, the method may include:
s401, the terminal equipment generates a first request message corresponding to the first service.
It should be noted that the execution process of S401 may refer to the execution process of S201, and is not described herein again.
S402, the terminal device obtains a configuration file.
The configuration file is a file for configuring different services by the terminal device, and the terminal device can acquire the configuration file of the first service through the first process.
Optionally, the terminal device may obtain the configuration file through a feasible implementation manner as follows: the first server defines a first configuration file and a second configuration file through the control module, wherein the first configuration file and the second configuration file are configuration files related to service management and can be used for managing the first service. The first server sends the first configuration file and the second configuration file to the terminal device, and optionally, the first server may send the first configuration file and the second configuration file to the first process of the terminal device through the xDS protocol.
In the following, the process of acquiring the profile by the terminal device will be described in detail by taking the gray scale management as an example.
The gray scale management means that a preset number of terminal devices can access services provided by the application program of the first version, and terminal devices other than the preset number of terminal devices can access services provided by application programs of other versions. Optionally, the other versions of the application program may include at least one version of the application program, wherein the at least one version may include the second version. Before the application program of the first version is released, a preset number of terminal devices access the service through the application program of the first version to verify whether the function of the application program of the first version is normal or not, so that the release of the application program with problems is avoided.
Next, taking the other version in the grayscale management as the second version as an example, a process of acquiring the configuration file by the terminal device is described in detail.
The first service may be service1 and, correspondingly, the identity of the first profile may be denoted "service 1.destination rule. yaml". The first configuration file "service1. destination rule. yaml" may be defined by the following possible implementations:
Figure BDA0002660584790000131
Figure BDA0002660584790000141
wherein the first configuration file specifies that the terminal device can access the service1 through the first version of the application and the second version of the application. The first server may generate a first configuration file through a deployment platform, where the deployment platform may be an isto platform, and the first configuration file may be transmitted according to a third protocol, for example, the third protocol may be an xDS protocol.
The identity of the second configuration file may be denoted as "service 1.virtual service. yaml". A second configuration file "service 1.virtual service. yaml" may be defined by the following feasible implementation:
Figure BDA0002660584790000142
Figure BDA0002660584790000151
wherein the second configuration file specifies that the access parameters of the business logic process of the second version of the application program include "lab: canary "identifies that the access parameters of the business logic process of the first version of the application do not contain" lab: canary "designation. The first server may generate a second configuration file through a deployment platform, where the deployment platform may be an isto platform, and the second configuration file may be transmitted according to a third protocol, for example, the third protocol may be an xDS protocol.
Optionally, the terminal device may obtain the configuration file through a feasible implementation manner as follows: the terminal device receives the first configuration file and the second configuration file transmitted by the first server according to a third protocol through the first process, and the third protocol can be xDS protocol.
Optionally, before the terminal device obtains the configuration file, the terminal device may obtain the application programs of different versions through a network, specifically, the terminal device may download a first installation package at a first location through the network, and download a second installation package at a second location, where the first installation package is an installation package of the application program of the first version, and the second installation package is an installation package of the application program of the second version. And the terminal equipment installs the application program according to the installation package.
And S403, the terminal equipment acquires the preset identification in the configuration file.
The preset identifier is used for distinguishing application programs of different versions, and optionally, the preset identifier corresponds to the versions according to a preset corresponding relationship, where the preset corresponding relationship may include a plurality of preset identifiers and versions corresponding to each preset identifier, and optionally, the preset corresponding relationship may be as shown in table 3:
TABLE 3
Preset identification Version(s)
Preset identification 1 Version 1
Preset identification 2 Version 2
Preset identification 3 Version 3
Preset identification 4 Version 4
…… ……
It should be noted that, table 3 only illustrates the preset corresponding relationship between the preset identifier and the version in an exemplary form, and does not limit the preset corresponding relationship between the preset identifier and the version.
Optionally, as illustrated by the above second configuration file, the preset identifier may be "lab: canary", and accordingly, the configuration file of the application program of the second version includes the preset identifier "lab: canary", and the configuration file of the application program of the first version does not include the preset identifier "lab: canary".
S404, the terminal device obtains a service instance list corresponding to the corresponding version according to the preset identification in the configuration file.
Optionally, the first server may classify at least one service instance of the first service through the control module, and the following takes versions v1 and v2 as examples, and the process of classification is described with reference to table 4.
TABLE 4
Figure BDA0002660584790000161
As shown in table 4, the service1 is a service provided by a server, and the service1 may include 10 service instances, i.e., service instance 10 to service instance 19, where the 10 service instances correspond to 10 IP/PORTs of the server, respectively, where the service instances 10 to 16 correspond to the application of the first version (v1) and the service instances 17 to 19 correspond to the application of the second version (v 2).
It should be noted that the above description is only an example of a possible service instance classification manner, and the service instance classification manner is not limited.
Optionally, the terminal device may obtain the service instance list corresponding to the corresponding version according to the preset identifier in the configuration file by the following method: aiming at a first version in different versions, the terminal equipment sends a third request message to the first server, wherein the third request message comprises an identifier of a first version application program; and the terminal equipment receives a service instance list corresponding to the first version sent by the first server. Correspondingly, the service instance list corresponding to the acquired first version is shown in table 5.
TABLE 5
Figure BDA0002660584790000171
S405, the terminal device determines address information of a target service instance corresponding to the first service in the service instance list.
It should be noted that the execution process of S405 may refer to the execution process of S202, and is not described herein again.
S406, the terminal device sends a first request message to the target service instance through the first process according to the address information of the target service instance.
It should be noted that the execution process of S406 may refer to the execution process of S203, and is not described herein again.
S407, the terminal device receives a response message corresponding to the first request message through the first process.
Optionally, after receiving the first request message through the target service instance, the server packages the resource file and the configuration file corresponding to the target service instance, and generates a response message corresponding to the first request message.
Optionally, the terminal device may receive a response message corresponding to the first request message through the first process in the following manner: the server determines the IP/PORT information of the terminal equipment and sends a response message corresponding to the first request message to the terminal equipment according to the IP/PORT information of the terminal equipment and a second protocol; and the terminal equipment receives a response message corresponding to the first request message through the first process according to the first protocol.
In addition to any of the above embodiments, the following describes the data processing method with reference to the embodiment shown in fig. 5.
Fig. 5 is a flowchart illustrating another data processing method according to an embodiment of the present application. Referring to fig. 5, the method may include:
s501, the terminal device generates a first request message corresponding to the first service.
It should be noted that the execution process of S501 may refer to the execution process of S201, and is not described herein again.
S502, the terminal equipment acquires the configuration file.
Next, taking traffic management as an example, a process of acquiring a configuration file by a terminal device is described in detail.
The traffic management means that the terminal equipment can realize the access proportion to the service instances of different versions through the control module. The different versions may include a first version, a second version, a third version, and the like, and the present invention is not particularly limited. For example, when the service instance may include a first version of the service instance and a second version of the service instance, the terminal device with a preset ratio may access the first version of the service instance, and the terminal device with a ratio other than the preset ratio may access the second version of the service instance, so that the terminal device may implement a ratio of accessing the service instance through the first version of the application program and the second version of the application program.
The first service may be service1 and, correspondingly, the identity of the first profile may be denoted "service 1.destination rule. yaml". The first configuration file "service1. destination rule. yaml" may be defined by the following possible implementations:
Figure BDA0002660584790000181
Figure BDA0002660584790000191
wherein the first configuration file specifies that the terminal device can access the service1 through the first version of the application and the second version of the application. The first server may generate a first configuration file through a deployment platform, where the deployment platform may be an isto platform, and the first configuration file may be transmitted according to a third protocol, for example, the third protocol may be an xDS protocol.
The identity of the second configuration file may be denoted as "service 1.virtual service. yaml". The second configuration file "service 1.virtual service. yaml" may be defined by the following feasible implementation:
Figure BDA0002660584790000192
wherein the second configuration file specifies that the ratio of the terminal device to access the service instance through the first version of the application program and the second version of the application program is 70: 30.
S503, the terminal equipment acquires the version parameters in the configuration file.
The version parameter is used to set a weight for different versions of an application to access a service instance, e.g., the different versions may include a first version, a second version, a third version, etc.
Optionally, taking the second configuration file as an example, the different versions may include a first version (v1) and a second version (v2), where the version parameter is "weight: 70 ", the weight that the terminal device can access the service instance through the version of the application is 70%.
S504, the terminal device obtains a service instance list corresponding to the corresponding version according to the version parameters in the configuration file.
Optionally, the first server may classify at least one service instance of the first service through the control module, and a process of the classification is described below with reference to table 6.
TABLE 6
Figure BDA0002660584790000201
As shown in table 6, the service1 is a service provided by a server, and the service1 may include 10 service instances, i.e., service instance 10 to service instance 19, where the 10 service instances correspond to 10 IP/PORTs of the server, and the 10 service instances are classified according to a first parameter of a first version and a second parameter of a second version, where the service instances 10 to service instance 16 correspond to an application of the first version (v1) and the service instances 17 to service instance 19 correspond to an application of the second version (v 2).
It should be noted that the above description is only an example of a possible service instance classification manner, and the service instance classification manner is not limited.
It should be noted that, please refer to the execution process of S404 for a way that the terminal device obtains the service instance list corresponding to the corresponding version according to the version parameter in the configuration file, which is not described herein again.
S505, the terminal device determines address information of a target service instance corresponding to the first service in the service instance list.
It should be noted that the execution process of S505 may refer to the execution process of S202, and details are not described here.
S506, the terminal device sends a first request message to the target service instance through the first process according to the address information of the target service instance.
It should be noted that the execution process of S506 may refer to the execution process of S203, and is not described herein again.
And S507, the terminal equipment receives a response message corresponding to the first request message through the first process.
It should be noted that the execution process of S507 may refer to the execution process of S408, and is not described herein again.
In the data processing method provided by the embodiment of the application, the terminal device is provided with the application program, the application program is provided with the first process, and the first process has a gateway function, so that when the terminal device needs to access the service, the terminal device generates the first request message corresponding to the first service through the application program, determines the address information of the target service instance corresponding to the first service through the first process, and sends the first request message to the target service instance through the first process according to the address information of the target service instance. In the process, the terminal equipment can send the request message to the target service instance through the first process without depending on the existing gateway cluster in centralized distribution, and when the number of the terminal equipment accessing the service through the application program is increased rapidly, the request message can be still sent to the target service instance through the first process, so that the reliability of network data transmission is improved.
Fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. Referring to fig. 6, the data processing apparatus 100 includes:
a generating module 110, configured to generate a first request message corresponding to a first service, where the first service is any one of the applications;
a determining module 120, configured to determine, by a first process, address information of a target service instance corresponding to the first service;
a sending module 130, configured to send the first request message to the target service instance through the first process according to the address information of the target service instance.
In a possible implementation, the determining module 120 is specifically configured to:
acquiring a service instance list corresponding to the application program, wherein the service instance list comprises identifiers of a plurality of services included in the application program, at least one service instance corresponding to each service, and address information of each service instance;
and determining the address information of the target service instance corresponding to the first service in the service instance list.
In a possible implementation, the determining module 120 is specifically configured to:
sending a second request message to the first server, the second request message including an identification of the application;
and receiving the service instance list sent by the first server.
In a possible implementation, the determining module 120 is specifically configured to:
obtaining at least one service instance corresponding to the first service in the service instance list;
determining the target service instance in at least one service instance corresponding to the first service;
and acquiring the address information corresponding to the target service instance in the service instance list.
In a possible implementation, the determining module 120 is specifically configured to:
acquiring a configuration file;
acquiring a preset identifier in the configuration file;
and acquiring a service instance list corresponding to the corresponding version according to the preset identifier in the configuration file.
In a possible implementation, the determining module 120 is specifically configured to:
acquiring a configuration file;
acquiring version parameters in the configuration file;
and acquiring a service instance list corresponding to the corresponding version according to the version parameters in the configuration file.
In a possible implementation manner, the sending module 130 is specifically configured to:
performing Network Address Translation (NAT) on the first request message to redirect the request message to the first process;
and sending the first request message to the target service instance through the first process according to the address information of the target service instance.
The data processing apparatus 100 provided in the embodiment of the present application may execute the technical solutions shown in the foregoing method embodiments, and the implementation principles and beneficial effects thereof are similar and will not be described herein again.
Fig. 7 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application, and referring to fig. 7 on the basis of the embodiment shown in fig. 5, the apparatus further includes:
the downloading module 140 is configured to download a file package corresponding to the application program, where the file package includes process information of the first process, and the first process is run when the application program is started.
Fig. 8 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application, and referring to fig. 8 on the basis of the embodiment shown in fig. 7, the apparatus further includes:
a receiving module 150, configured to receive, by the first process, a response message corresponding to the first request message.
The data processing apparatus 100 according to the embodiment of the present application can execute the technical solutions shown in the foregoing method embodiments, and the implementation principles and the beneficial effects thereof are similar, and are not described herein again.
Fig. 9 is a schematic hardware structure diagram of a data processing apparatus according to an embodiment of the present application. Referring to fig. 9, the data processing apparatus 200 may include: a processor 201 and a memory 202, wherein the processor 201 and the memory 202 may be in communication; illustratively, the processor 201 and the memory 202 communicate via a communication bus 203, the memory 202 being configured to store program instructions, the processor 201 being configured to invoke the program instructions in the memory to perform the data processing method illustrated in any of the above-described method embodiments.
Optionally, the data processing device 200 may further comprise a communication interface, which may comprise a transmitter and/or a receiver.
Optionally, the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
An embodiment of the present application provides a readable storage medium, on which a computer program is stored; the computer program is for implementing a data processing method as described in any of the embodiments above.
The embodiment of the application provides a computer program product, which comprises instructions, and when the instructions are executed, the instructions cause a computer to execute the data processing method.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

Claims (12)

1. A data processing method, comprising:
the method comprises the steps that terminal equipment generates a first request message corresponding to a first service, wherein the first service is any one of application programs;
the terminal equipment determines the address information of a target service instance corresponding to the first service through a first process;
and the terminal equipment sends the first request message to the target service instance through the first process according to the address information of the target service instance.
2. The method according to claim 1, wherein the determining, by the terminal device through the first process, address information of the target service instance corresponding to the first service includes:
the terminal device obtains a service instance list corresponding to the application program, wherein the service instance list comprises identifiers of a plurality of services included in the application program, at least one service instance corresponding to each service and address information of each service instance;
and the terminal equipment determines the address information of the target service instance corresponding to the first service in the service instance list.
3. The method according to claim 2, wherein the obtaining, by the terminal device, the service instance list corresponding to the application program includes:
the terminal equipment sends a second request message to a first server, wherein the second request message comprises the identification of the application program;
and the terminal equipment receives the service instance list sent by the first server.
4. The method according to claim 2 or 3, wherein the determining, by the terminal device, the address information of the target service instance corresponding to the first service in the service instance list comprises:
the terminal equipment acquires at least one service instance corresponding to the first service in the service instance list;
the terminal equipment determines the target service instance in at least one service instance corresponding to the first service;
and the terminal equipment acquires the address information corresponding to the target service instance in the service instance list.
5. The method according to any one of claims 2 to 4, wherein the obtaining, by the terminal device, the service instance list corresponding to the application program includes:
the terminal equipment acquires a configuration file;
the terminal equipment acquires a preset identifier in the configuration file;
and the terminal equipment acquires a service instance list corresponding to the corresponding version according to the preset identification in the configuration file.
6. The method according to any one of claims 2 to 4, wherein the obtaining, by the terminal device, the service instance list corresponding to the application program includes:
the terminal equipment acquires a configuration file;
the terminal equipment acquires the version parameters in the configuration file;
and the terminal equipment acquires a service instance list corresponding to the corresponding version according to the version parameters in the configuration file.
7. The method according to any of claims 1-6, wherein the sending, by the terminal device, the first request message to the target service instance through the first process according to the address information of the target service instance, comprises:
the terminal equipment carries out Network Address Translation (NAT) on the first request message so as to redirect the request message to the first process;
and the terminal equipment sends the first request message to the target service instance through the first process according to the address information of the target service instance.
8. The method according to any one of claims 1-7, further comprising:
and the terminal equipment downloads a file package corresponding to the application program, wherein the file package comprises the process information of the first process, and the first process is operated when the application program is started.
9. The method according to any of claims 1-8, wherein after the terminal device sends the first request message to the target service instance through the first process according to the address information of the target service instance, the method further comprises:
and the terminal equipment receives a response message corresponding to the first request message through the first process.
10. A data processing apparatus, comprising:
the system comprises a generating module, a sending module and a receiving module, wherein the generating module is used for generating a first request message corresponding to a first service, and the first service is any one of the services in the application program;
a determining module, configured to determine, by a first process, address information of a target service instance corresponding to the first service;
and the sending module is used for sending the first request message to the target service instance through the first process according to the address information of the target service instance.
11. A data processing apparatus, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
execution of computer-executable instructions stored by the memory by the at least one processor causes the at least one processor to perform the data processing method of any of claims 1 to 9.
12. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement a data processing method as claimed in any one of claims 1 to 9.
CN202010903498.8A 2020-09-01 2020-09-01 Data processing method, device and equipment Pending CN113783914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010903498.8A CN113783914A (en) 2020-09-01 2020-09-01 Data processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010903498.8A CN113783914A (en) 2020-09-01 2020-09-01 Data processing method, device and equipment

Publications (1)

Publication Number Publication Date
CN113783914A true CN113783914A (en) 2021-12-10

Family

ID=78834960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010903498.8A Pending CN113783914A (en) 2020-09-01 2020-09-01 Data processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN113783914A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338650A (en) * 2021-12-23 2022-04-12 中电金信软件有限公司 File transmission method and device, electronic equipment and readable storage medium
WO2023201558A1 (en) * 2022-04-20 2023-10-26 华为技术有限公司 Mapping relationship generation method and apparatus, and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6609159B1 (en) * 1998-11-30 2003-08-19 Semyon Dukach Methods, systems, and machine readable programming for interposing front end servers between servers and clients
US20090150945A1 (en) * 2007-12-07 2009-06-11 Electronics & Telecommunications Method and apparatus for providing video-on-demand service based on internet protocol (ip) multimedia subsystem
CN104734915A (en) * 2015-03-05 2015-06-24 重庆邮电大学 Composite multiprocess and multithread multi-network concurrence dynamic simulation method
CN105721473A (en) * 2016-02-24 2016-06-29 锐达互动科技股份有限公司 WEB side remote invoking optimizing method and system
CN105955782A (en) * 2016-05-09 2016-09-21 北京奇虎科技有限公司 Application program running control method and device
CN108011927A (en) * 2017-11-08 2018-05-08 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of request data
CN108055322A (en) * 2017-12-12 2018-05-18 青岛海信智能商用系统股份有限公司 Request message processing method and processing device
CN109327435A (en) * 2018-09-20 2019-02-12 安徽云森物联网科技有限公司 Media resource acquisition methods, device and gateway
CN109561048A (en) * 2017-09-26 2019-04-02 北京京东尚科信息技术有限公司 A kind of communication management method and device
CN109618016A (en) * 2018-12-10 2019-04-12 深圳市网心科技有限公司 A kind of transmission processing method, correlation technique and the relevant apparatus of DNS request
CN109995713A (en) * 2017-12-30 2019-07-09 华为技术有限公司 Service processing method and relevant device in a kind of micro services frame
CN110311900A (en) * 2019-06-19 2019-10-08 微梦创科网络科技(中国)有限公司 A kind of service calling method, device, electronic equipment and storage medium
CN110677405A (en) * 2019-09-26 2020-01-10 北京金山云网络技术有限公司 Data processing method and device, electronic equipment and storage medium
CN111049854A (en) * 2019-12-25 2020-04-21 微民保险代理有限公司 Service request transmission method and device
CN111309380A (en) * 2020-03-12 2020-06-19 北京讯鸟软件有限公司 Service instance configuration method, device and system
CN111586095A (en) * 2020-03-26 2020-08-25 中国平安财产保险股份有限公司 Micro-service-based gray scale publishing method and device, computer equipment and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6609159B1 (en) * 1998-11-30 2003-08-19 Semyon Dukach Methods, systems, and machine readable programming for interposing front end servers between servers and clients
US20090150945A1 (en) * 2007-12-07 2009-06-11 Electronics & Telecommunications Method and apparatus for providing video-on-demand service based on internet protocol (ip) multimedia subsystem
CN104734915A (en) * 2015-03-05 2015-06-24 重庆邮电大学 Composite multiprocess and multithread multi-network concurrence dynamic simulation method
CN105721473A (en) * 2016-02-24 2016-06-29 锐达互动科技股份有限公司 WEB side remote invoking optimizing method and system
CN105955782A (en) * 2016-05-09 2016-09-21 北京奇虎科技有限公司 Application program running control method and device
CN109561048A (en) * 2017-09-26 2019-04-02 北京京东尚科信息技术有限公司 A kind of communication management method and device
CN108011927A (en) * 2017-11-08 2018-05-08 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of request data
CN108055322A (en) * 2017-12-12 2018-05-18 青岛海信智能商用系统股份有限公司 Request message processing method and processing device
CN109995713A (en) * 2017-12-30 2019-07-09 华为技术有限公司 Service processing method and relevant device in a kind of micro services frame
CN109327435A (en) * 2018-09-20 2019-02-12 安徽云森物联网科技有限公司 Media resource acquisition methods, device and gateway
CN109618016A (en) * 2018-12-10 2019-04-12 深圳市网心科技有限公司 A kind of transmission processing method, correlation technique and the relevant apparatus of DNS request
CN110311900A (en) * 2019-06-19 2019-10-08 微梦创科网络科技(中国)有限公司 A kind of service calling method, device, electronic equipment and storage medium
CN110677405A (en) * 2019-09-26 2020-01-10 北京金山云网络技术有限公司 Data processing method and device, electronic equipment and storage medium
CN111049854A (en) * 2019-12-25 2020-04-21 微民保险代理有限公司 Service request transmission method and device
CN111309380A (en) * 2020-03-12 2020-06-19 北京讯鸟软件有限公司 Service instance configuration method, device and system
CN111586095A (en) * 2020-03-26 2020-08-25 中国平安财产保险股份有限公司 Micro-service-based gray scale publishing method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338650A (en) * 2021-12-23 2022-04-12 中电金信软件有限公司 File transmission method and device, electronic equipment and readable storage medium
WO2023201558A1 (en) * 2022-04-20 2023-10-26 华为技术有限公司 Mapping relationship generation method and apparatus, and storage medium

Similar Documents

Publication Publication Date Title
CN109688235B (en) Virtual network method for processing business, device and system, controller, storage medium
CN109547570B (en) Service registration method, device, registration center management equipment and storage medium
CN104734931B (en) Link establishing method and device between a kind of virtual network function
CN104219127B (en) A kind of creation method and equipment of virtual network example
CN111345008B (en) Mobile edge host service notification method and device
US9628290B2 (en) Traffic migration acceleration for overlay virtual environments
CN110311983B (en) Service request processing method, device and system, electronic equipment and storage medium
US10862971B2 (en) Internet of things gateway service for a cloud foundry platform
CN110881007B (en) Container cluster network access method and device
US12101700B2 (en) Internet of vehicles message notification method and apparatus
US11095716B2 (en) Data replication for a virtual networking system
CN109104368B (en) Connection request method, device, server and computer readable storage medium
CN113783914A (en) Data processing method, device and equipment
CN108540408B (en) Openstack-based distributed virtual switch management method and system
US12058207B2 (en) Load balancing and secure tunneling for cloud-based network controllers
US10516759B2 (en) System and method for centralized management of software services
CN112532664A (en) Data upgrading method and device
CN108696557B (en) Information processing system, method and device
CN113612643B (en) Network configuration method, device and equipment of cloud mobile phone and storage medium
CN114048028A (en) Service calling method and device, storage medium and electronic equipment
CN112954084B (en) Edge computing processing method, network function example and edge service management and control center
CN110278248B (en) Method and device for distributing testament information and computer readable storage medium
CN113765983A (en) Site service deployment method and device
CN112988168B (en) Environment building method and device
CN115174687A (en) Service calling method and device, electronic equipment and storage medium

Legal Events

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