# US 2025/0097193 A1 · Addressing test methods and apparatuses, storage media, and electronic devices

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0097193 A1
- Document ID: US20250097193A1
- Status: Published application
- Kind: A1
- Application number: 18/969,584
- Filed: 2024-12-05
- Published: 2025-03-20
- Earliest claimed: 2022-08-26
- Assignees: Alipay (Hangzhou) Information Technology Co., Ltd.
- Applicants: Alipay (Hangzhou) Information Technology Co., Ltd.
- Inventors: Kun Gao
- Web page: https://patentgrep.com/patent/US20250097193A1

## CPC

- H04L 61/5046: Resolving address allocation conflicts; Testing of addresses (testing when self-assigning an address H04L61/5092)
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for addressing testing includes, applying to addressing middleware in a test cloud architecture, creating virtual middleware in response to a received creation request for the virtual middleware. In response to a configuration request for the virtual middleware, at least one actual address is selected from actual addresses of nodes as an address of the virtual middleware, and a channel is established from the virtual middleware to a user according to the address of the virtual middleware. When the addressing middleware is in test, a test case containing an addressing request used to address the virtual middleware is run. Based on attribute information of a user who sends the addressing request and the channel, an address of the virtual middleware is determined as a test address and compared with a pre-determined standard address as a test result of the addressing middleware.

## Claims

### Claim 1

A computer-implemented method for addressing testing, comprising:
applying to addressing middleware in a test cloud architecture:
creating virtual middleware in response to a received creation request for the virtual middleware;
in response to a configuration request for the virtual middleware, selecting at least one actual address from actual addresses of nodes contained in the test cloud architecture as an address of the virtual middleware, and establishing a channel from the virtual middleware to a user in the test cloud architecture according to the address of the virtual middleware;
when the addressing middleware is in test, running a test case by using the addressing middleware, wherein the test case contains an addressing request used to address, as addressed virtual middleware, the virtual middleware;
determining, by using the addressing middleware and based on attribute information of a user who sends the addressing request and the channel, an address of the addressed virtual middleware as a test address; and
comparing the test address with a standard address to obtain a test result of the addressing middleware, wherein the standard address is determined in advance according to the attribute information of the user who sends the addressing request and the channel.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein:
the channel comprises a common channel; and
establishing a channel from the virtual middleware to a user in the test cloud architecture, comprises:
for each address of the virtual middleware, when a common channel from the address of the virtual middleware to the user in the test cloud architecture is established, configuring the address as an address corresponding to the common channel, and configuring attribute information of a user allowed to access the address for the common channel; and
the attribute information comprises at least one of a logical equipment room in which the user is located, a physical equipment room in which the user is located, or a geographical region in which the user is located.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein:
the channel comprises a dedicated channel;
the user in the test cloud architecture comprises a logic data center (LDC) user; and
establishing a channel from the virtual middleware to a user in the test cloud architecture, comprises:
for each address of the virtual middleware, when a dedicated channel from the address of the virtual middleware to the LDC user in the test cloud architecture is established, configuring the address as an address corresponding to the dedicated channel, determining an LDC user who needs to establish the dedicated channel as an LDC user allowed to access the address, and configuring attribute information of the LDC user allowed to access the address for the dedicated channel; and
the attribute information comprises at least one of a tenant to which the LDC user belongs, a logical equipment room in which the LDC user is located, a physical equipment room in which the LDC user is located, or a geographical region in which the LDC user is located.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein:
the channel comprises a dedicated channel;
the user in the test cloud architecture comprises a non-logic data center (LDC) user; and
establishing a channel from the virtual middleware to a user in the test cloud architecture, comprises:
for each address of the virtual middleware, when a dedicated channel from the address of the virtual middleware to the non-LDC user in the test cloud architecture is established, configuring the address as an address corresponding to the dedicated channel, determining a non-LDC user who needs to establish the dedicated channel as a non-LDC user allowed to access the address, and configuring attribute information of the non-LDC user allowed to access the address for the dedicated channel; and
the attribute information comprises at least one of a tenant to which the non-LDC user belongs, a physical equipment room in which the non-LDC user is located, or a geographical region in which the non-LDC user is located.

### Claim 5 (depends on 2)

The computer-implemented method of claim 2, wherein:
determining, by using the addressing middleware and based on attribute information of a user who sends the addressing request and the channel, an address of the addressed virtual middleware, comprises:
for each channel, determining, by using the addressing middleware, whether a configuration of the channel contains at least one type of attribute information of the user who sends the addressing request; if yes, determining that the channel is a channel that matches the attribute information of the user who sends the addressing request; or otherwise, determining that the channel is not a channel that matches the attribute information of the user who sends the addressing request; and
determining an address corresponding to the channel that matches the attribute information of the user who sends the addressing request as the address of the addressed virtual middleware.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein:
after the establishing, as an established channel, a channel from the virtual middleware to a user in the test cloud architecture:
determining an environment screening condition corresponding to the established channel; and
before determining that the channel is a channel that matches the attribute information of the user who sends the addressing request:
determining that an environment in which the user who sends the addressing request is located satisfies the environment screening condition corresponding to the channel.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein:
the address of the virtual middleware comprises at least two actual addresses; and
comparing the test address with a standard address to obtain a test result of the addressing middleware, comprises:
determining whether the test address obtained by addressing is in a one-to-one correspondence with the standard address;
if yes, determining that an addressing result of the addressing middleware is accurate; and
if no, determining that the addressing result of the addressing middleware is inaccurate.

### Claim 8

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform one or more operations for addressing testing, comprising:
applying to addressing middleware in a test cloud architecture:
creating virtual middleware in response to a received creation request for the virtual middleware;
in response to a configuration request for the virtual middleware, selecting at least one actual address from actual addresses of nodes contained in the test cloud architecture as an address of the virtual middleware, and establishing a channel from the virtual middleware to a user in the test cloud architecture according to the address of the virtual middleware;
when the addressing middleware is in test, running a test case by using the addressing middleware, wherein the test case contains an addressing request used to address, as addressed virtual middleware, the virtual middleware;
determining, by using the addressing middleware and based on attribute information of a user who sends the addressing request and the channel, an address of the addressed virtual middleware as a test address; and
comparing the test address with a standard address to obtain a test result of the addressing middleware, wherein the standard address is determined in advance according to the attribute information of the user who sends the addressing request and the channel.

### Claim 9 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein:
the channel comprises a common channel; and
establishing a channel from the virtual middleware to a user in the test cloud architecture, comprises:
for each address of the virtual middleware, when a common channel from the address of the virtual middleware to the user in the test cloud architecture is established, configuring the address as an address corresponding to the common channel, and configuring attribute information of a user allowed to access the address for the common channel; and
the attribute information comprises at least one of a logical equipment room in which the user is located, a physical equipment room in which the user is located, or a geographical region in which the user is located.

### Claim 10 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein:
the channel comprises a dedicated channel;
the user in the test cloud architecture comprises a logic data center (LDC) user; and
establishing a channel from the virtual middleware to a user in the test cloud architecture, comprises:
for each address of the virtual middleware, when a dedicated channel from the address of the virtual middleware to the LDC user in the test cloud architecture is established, configuring the address as an address corresponding to the dedicated channel, determining an LDC user who needs to establish the dedicated channel as an LDC user allowed to access the address, and configuring attribute information of the LDC user allowed to access the address for the dedicated channel; and
the attribute information comprises at least one of a tenant to which the LDC user belongs, a logical equipment room in which the LDC user is located, a physical equipment room in which the LDC user is located, or a geographical region in which the LDC user is located.

### Claim 11 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein:
the channel comprises a dedicated channel;
the user in the test cloud architecture comprises a non-logic data center (LDC) user; and
establishing a channel from the virtual middleware to a user in the test cloud architecture, comprises:
for each address of the virtual middleware, when a dedicated channel from the address of the virtual middleware to the non-LDC user in the test cloud architecture is established, configuring the address as an address corresponding to the dedicated channel, determining a non- LDC user who needs to establish the dedicated channel as a non-LDC user allowed to access the address, and configuring attribute information of the non-LDC user allowed to access the address for the dedicated channel; and
the attribute information comprises at least one of a tenant to which the non-LDC user belongs, a physical equipment room in which the non-LDC user is located, or a geographical region in which the non-LDC user is located.

### Claim 12 (depends on 9)

The non-transitory, computer-readable medium of claim 9, wherein:
determining, by using the addressing middleware and based on attribute information of a user who sends the addressing request and the channel, an address of the addressed virtual middleware, comprises:
for each channel, determining, by using the addressing middleware, whether a configuration of the channel contains at least one type of attribute information of the user who sends the addressing request; if yes, determining that the channel is a channel that matches the attribute information of the user who sends the addressing request; or otherwise, determining that the channel is not a channel that matches the attribute information of the user who sends the addressing request; and
determining an address corresponding to the channel that matches the attribute information of the user who sends the addressing request as the address of the addressed virtual middleware.

### Claim 13 (depends on 12)

The non-transitory, computer-readable medium of claim 12, wherein:
after the establishing, as an established channel, a channel from the virtual middleware to a user in the test cloud architecture:
determining an environment screening condition corresponding to the established channel; and
before determining that the channel is a channel that matches the attribute information of the user who sends the addressing request:
determining that an environment in which the user who sends the addressing request is located satisfies the environment screening condition corresponding to the channel.

### Claim 14 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein:
the address of the virtual middleware comprises at least two actual addresses; and
comparing the test address with a standard address to obtain a test result of the addressing middleware, comprises:
determining whether the test address obtained by addressing is in a one-to-one correspondence with the standard address;
if yes, determining that an addressing result of the addressing middleware is accurate; and
if no, determining that the addressing result of the addressing middleware is inaccurate.

### Claim 15

A computer-implemented system for addressing testing, comprising:
one or more computers; and
one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations, comprising:
applying to addressing middleware in a test cloud architecture:
creating virtual middleware in response to a received creation request for the virtual middleware;
in response to a configuration request for the virtual middleware, selecting at least one actual address from actual addresses of nodes contained in the test cloud architecture as an address of the virtual middleware, and establishing a channel from the virtual middleware to a user in the test cloud architecture according to the address of the virtual middleware;
when the addressing middleware is in test, running a test case by using the addressing middleware, wherein the test case contains an addressing request used to address, as addressed virtual middleware, the virtual middleware;
determining, by using the addressing middleware and based on attribute information of a user who sends the addressing request and the channel, an address of the addressed virtual middleware as a test address; and
comparing the test address with a standard address to obtain a test result of the addressing middleware, wherein the standard address is determined in advance according to the attribute information of the user who sends the addressing request and the channel.

### Claim 16 (depends on 15)

The computer-implemented system of claim 15, wherein:
the channel comprises a common channel; and
establishing a channel from the virtual middleware to a user in the test cloud architecture, comprises:
for each address of the virtual middleware, when a common channel from the address of the virtual middleware to the user in the test cloud architecture is established, configuring the address as an address corresponding to the common channel, and configuring attribute information of a user allowed to access the address for the common channel; and
the attribute information comprises at least one of a logical equipment room in which the user is located, a physical equipment room in which the user is located, or a geographical region in which the user is located.

### Claim 17 (depends on 15)

The computer-implemented system of claim 15, wherein:
the channel comprises a dedicated channel;
the user in the test cloud architecture comprises a logic data center (LDC) user; and
establishing a channel from the virtual middleware to a user in the test cloud architecture, comprises:
for each address of the virtual middleware, when a dedicated channel from the address of the virtual middleware to the LDC user in the test cloud architecture is established, configuring the address as an address corresponding to the dedicated channel, determining an LDC user who needs to establish the dedicated channel as an LDC user allowed to access the address, and configuring attribute information of the LDC user allowed to access the address for the dedicated channel; and
the attribute information comprises at least one of a tenant to which the LDC user belongs, a logical equipment room in which the LDC user is located, a physical equipment room in which the LDC user is located, or a geographical region in which the LDC user is located.

### Claim 18 (depends on 15)

The computer-implemented system of claim 15, wherein:
the channel comprises a dedicated channel;
the user in the test cloud architecture comprises a non-logic data center (LDC) user; and
establishing a channel from the virtual middleware to a user in the test cloud architecture, comprises:
for each address of the virtual middleware, when a dedicated channel from the address of the virtual middleware to the non-LDC user in the test cloud architecture is established, configuring the address as an address corresponding to the dedicated channel, determining a non-LDC user who needs to establish the dedicated channel as a non-LDC user allowed to access the address, and configuring attribute information of the non-LDC user allowed to access the address for the dedicated channel; and
the attribute information comprises at least one of a tenant to which the non-LDC user belongs, a physical equipment room in which the non-LDC user is located, or a geographical region in which the non-LDC user is located.

### Claim 19 (depends on 16)

The computer-implemented system of claim 16, wherein:
determining, by using the addressing middleware and based on attribute information of a user who sends the addressing request and the channel, an address of the addressed virtual middleware, comprises:
for each channel, determining, by using the addressing middleware, whether a configuration of the channel contains at least one type of attribute information of the user who sends the addressing request; if yes, determining that the channel is a channel that matches the attribute information of the user who sends the addressing request; or otherwise, determining that the channel is not a channel that matches the attribute information of the user who sends the addressing request; and
determining an address corresponding to the channel that matches the attribute information of the user who sends the addressing request as the address of the addressed virtual middleware.

### Claim 20 (depends on 19)

The computer-implemented system of claim 19, wherein:
after the establishing, as an established channel, a channel from the virtual middleware to a user in the test cloud architecture:
determining an environment screening condition corresponding to the established channel; and
before determining that the channel is a channel that matches the attribute information of the user who sends the addressing request:
determining that an environment in which the user who sends the addressing request is located satisfies the environment screening condition corresponding to the channel.
