CN112367684B - Flow control method, device, storage medium and computer equipment - Google Patents

Flow control method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN112367684B
CN112367684B CN202011092111.1A CN202011092111A CN112367684B CN 112367684 B CN112367684 B CN 112367684B CN 202011092111 A CN202011092111 A CN 202011092111A CN 112367684 B CN112367684 B CN 112367684B
Authority
CN
China
Prior art keywords
target
information
test
routing
target user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011092111.1A
Other languages
Chinese (zh)
Other versions
CN112367684A (en
Inventor
周世伟
史海洋
杨茗凯
夏露
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shuidi Technology Group Co ltd
Original Assignee
Beijing Shuidi Technology Group 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 Shuidi Technology Group Co ltd filed Critical Beijing Shuidi Technology Group Co ltd
Priority to CN202011092111.1A priority Critical patent/CN112367684B/en
Publication of CN112367684A publication Critical patent/CN112367684A/en
Application granted granted Critical
Publication of CN112367684B publication Critical patent/CN112367684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a flow control method, a flow control device, a storage medium and computer equipment, relates to the technical field of information, and mainly aims to support flow control with finer granularity and route a specific user group to a corresponding test version. The method comprises the following steps: receiving a test request of a target user, wherein the test request carries attribute information of the target user; determining a target group to which the target user belongs according to the attribute information, and generating first identification information corresponding to the target user according to the target group to which the target user belongs; respectively matching the first identification information with route information of different test versions corresponding to target service, and determining target route information matched with the first identification information; and according to the target routing information, routing the test request of the target user to a corresponding test version module. The invention is mainly applicable to user-based flow control.

Description

Flow control method, device, storage medium and computer equipment
Technical Field
The present invention relates to the field of information technologies, and in particular, to a flow control method, a flow control device, a storage medium, and a computer device.
Background
In a complex system formed by a plurality of micro services, the flow of an access system has a trend of complicating and meshing more and more, and how to accurately control each test version in a user access flow link in the complex flow is a strong demand of research, development and operation teams.
Currently, for gray scale release, a control strategy of flow percentage is generally adopted to control the user flow. However, the control mode of the flow percentage can only control the flow proportion of the users of each test version, does not support the flow control ratio with finer granularity, and cannot acquire the feedback information of a specific user group aiming at the target test version, so that the product strategy is not utilized to be adjusted, and the service requirement cannot be met.
Disclosure of Invention
In view of this, the present invention provides a flow control method, apparatus, storage medium and computer device, and the main purpose of the present invention is to support finer granularity flow control, and to route a specific user group to a corresponding test version, so as to obtain feedback information of the specific user group, and facilitate adjustment of product policies.
According to one aspect of the present invention, there is provided a flow control method comprising:
Receiving a test request of a target user, wherein the test request carries attribute information of the target user;
determining a target group to which the target user belongs according to the attribute information, and generating first identification information corresponding to the target user according to the target group to which the target user belongs;
respectively matching the first identification information with route information of different test versions corresponding to target service, and determining target route information matched with the first identification information;
and according to the target routing information, routing the test request of the target user to a corresponding test version module.
Optionally, the routing the test request of the target user to the corresponding test version module according to the target routing information includes:
determining a target test version pointed by the routing parameter according to the routing parameter in the target routing information;
and according to the destination address corresponding to the target test version, routing the test request of the target user to the target test version module.
Optionally, after the first identification information is respectively matched with the routing information of different test versions corresponding to the target service, determining the target routing information matched with the first identification information, the method further includes:
If multiple kinds of target route information exist, selecting target route information with highest priority according to the priority corresponding to the multiple kinds of target route information;
the routing the test request of the target user to the corresponding test version module according to the target routing information includes:
and according to the target routing information with the highest priority, routing the test request of the target user to a corresponding test version module.
Optionally, before the receiving the test request of the target user, the method further includes:
acquiring flow strategy information corresponding to a target service;
constructing a basic flow model corresponding to the flow strategy according to the service scene information corresponding to the flow strategy information;
and generating the routing information corresponding to the different test versions according to the basic flow model, and transmitting the routing information corresponding to the different test versions to a cluster gateway.
Optionally, after the obtaining the traffic policy information corresponding to the target service, the method further includes:
if the target service corresponds to a plurality of flow strategies, setting priority levels respectively corresponding to the plurality of flow strategies according to service requirements;
Generating the routing information corresponding to the different test versions according to the basic flow model, and issuing the routing information corresponding to the different test versions to a cluster gateway, wherein the routing information comprises:
and determining various routing information corresponding to any one of the different test versions and the priority level corresponding to the various routing information according to the basic flow model and the priority level corresponding to the various flow strategies respectively.
Optionally, the constructing a basic flow model corresponding to the flow policy according to the service scenario information corresponding to the flow policy information includes:
if the business scene information corresponding to the flow strategy information is a gray experiment, constructing a scale type basic flow model corresponding to the flow strategy;
and if the service scene information corresponding to the flow strategy information is canary release, constructing a basic flow model based on the user information and corresponding to the flow strategy.
Optionally, after generating the routing information corresponding to the different test versions according to the basic traffic model and issuing the routing information corresponding to the different test versions to the cluster gateway, the method further includes:
And if the routing information fails to be issued, sending alarm information of the failure of issuing the strategy configuration to the service personnel terminal.
Optionally, after the routing the test request of the target user to the corresponding test version module according to the target routing information, the method further includes:
generating second identification information corresponding to the target user, and feeding the second identification information corresponding to the target user back to a user side, so that when the test request sent by the target user is received again, the test request sent again by the target user is routed to the same test version module according to the second identification information carried by the test request.
According to a second aspect of the present invention, there is provided a flow control device comprising:
the receiving unit is used for receiving a test request of a target user, wherein the test request carries attribute information of the target user;
the generating unit is used for determining a target group to which the target user belongs according to the attribute information and generating first identification information corresponding to the target user according to the target group to which the target user belongs;
the determining unit is used for respectively matching the first identification information with the route information of different test versions corresponding to the target service and determining target route information matched with the first identification information;
And the routing unit is used for routing the test request of the target user to the corresponding test version module according to the target routing information.
Optionally, the routing unit includes: the determining module and the routing module are arranged to determine,
the determining module is used for determining a target test version pointed by the routing parameter according to the routing parameter in the target routing information;
the routing module is used for routing the test request of the target user to the target test version module according to the destination address corresponding to the target test version.
Optionally, the apparatus further comprises: the selection unit is used for selecting the unit,
the selecting unit is used for selecting the target route information with the highest priority according to the priority corresponding to the plurality of target route information if the plurality of target route information exists;
the routing unit is specifically configured to route the test request of the target user to a corresponding test version module according to the target routing information with the highest priority level.
Optionally, the apparatus further comprises: an acquisition unit and a construction unit,
the acquisition unit is used for acquiring flow strategy information corresponding to the target service;
The construction unit is used for constructing a basic flow model corresponding to the flow strategy according to the service scene information corresponding to the flow strategy information;
the generating unit is further configured to generate routing information corresponding to the different test versions according to the basic traffic model, and send the routing information corresponding to the different test versions to a trunking gateway.
Optionally, the apparatus further comprises: the unit is arranged to be arranged to,
the setting unit is used for setting priority levels respectively corresponding to the multiple flow strategies according to service requirements if the target service corresponds to the multiple flow strategies;
the generating unit is specifically configured to determine, according to the basic flow models and the priority levels respectively corresponding to the multiple flow policies, multiple routing information corresponding to any one of the different test versions, and the priority levels respectively corresponding to the multiple routing information.
Optionally, the construction unit is specifically configured to construct a scale basic flow model corresponding to the flow policy if the service scenario information corresponding to the flow policy information is a gray scale experiment; and if the service scene information corresponding to the flow strategy information is canary release, constructing a basic flow model based on the user information and corresponding to the flow strategy.
Optionally, the apparatus further comprises: the transmitting unit is configured to transmit the data,
and the sending unit is used for sending alarm information of failure in issuing policy configuration to the service personnel terminal if the routing information fails in issuing.
Optionally, the generating unit is further configured to generate second identification information corresponding to the target user, and feed back the second identification information corresponding to the target user to the user side, so that when the test request sent by the target user is received again, the test request sent again by the target user is routed to the same test version module according to the second identification information carried by the test request.
According to a third aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a test request of a target user, wherein the test request carries attribute information of the target user;
determining a target group to which the target user belongs according to the attribute information, and generating first identification information corresponding to the target user according to the target group to which the target user belongs;
respectively matching the first identification information with route information of different test versions corresponding to target service, and determining target route information matched with the first identification information;
And according to the target routing information, routing the test request of the target user to a corresponding test version module.
According to a fourth aspect of the present invention there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of:
receiving a test request of a target user, wherein the test request carries attribute information of the target user;
determining a target group to which the target user belongs according to the attribute information, and generating first identification information corresponding to the target user according to the target group to which the target user belongs;
respectively matching the first identification information with route information of different test versions corresponding to target service, and determining target route information matched with the first identification information;
and according to the target routing information, routing the test request of the target user to a corresponding test version module.
Compared with the current mode of controlling the user flow by adopting a flow percentage control strategy, the invention receives the test request of the target user, wherein the test request carries the attribute information of the target user; meanwhile, according to the attribute information, determining a target group to which the target user belongs, and generating first identification information corresponding to the target user according to the target group to which the target user belongs; in addition, the first identification information is respectively matched with the route information of different test versions corresponding to the target service, and the target route information matched with the first identification information is determined; finally, according to the target routing information, the test request of the target user is routed to a corresponding test version module, so that a user-based flow strategy can be set, a specific user group can be routed to a corresponding test version module by determining a target group to which the target user belongs and generating corresponding identification information, finer-granularity flow control is supported, meanwhile, feedback information of the specific user group can be acquired, the product strategy is convenient to adjust, in addition, a plurality of test versions with different functional characteristics can be issued at the same time, in the development process, the test versions with different functional characteristics are not interfered with each other, and a tester can test a certain new characteristic independently, so that the product development efficiency and sensitivity are improved.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
The invention may be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
FIG. 1 shows a flow control method flow chart provided by an embodiment of the present invention;
FIG. 2 is a flow chart of another flow control method provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a flow control device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another flow control device according to an embodiment of the present invention;
fig. 5 shows a schematic physical structure of a computer device according to an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Embodiments of the invention are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the computer system/server include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, minicomputer systems, mainframe computer systems, and distributed cloud computing technology environments that include any of the above systems, and the like.
A computer system/server may be described in the general context of computer-system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server may be implemented in a distributed cloud computing environment in which tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including memory storage devices.
The embodiment of the invention provides an information recommendation method, as shown in fig. 1, which comprises the following steps:
101. and receiving a test request of the target user.
The test request carries attribute information of the target user, wherein the target user is a user participating in product version test, and the attribute information of the target user specifically comprises: in order to overcome the defect that a flow percentage control strategy is adopted in the prior art, the embodiment of the invention sets a flow control strategy based on a user, generates corresponding identification information by determining a target group to which the target user belongs, and routes a test request of the target user to a corresponding test version module according to the identification information, so that the specific user group can be routed to the corresponding test version module, finer-granularity flow control can be supported, and meanwhile, feedback information of the specific user group can be acquired, thereby being convenient for adjusting the product strategy.
Specifically, different test versions of the same service are deployed based on a micro service mode, for example, in the micro service mode, different test versions of a service A are deployed, functional characteristics corresponding to the different test versions are different, in addition, a service grid is constructed for the micro service, service management capability provided by the service grid Istio is adopted to control flow, a target user at a user interaction layer can select deployed service, a corresponding service is selected through clicking, a test request of the target user is sent, the test request carries attribute information of the target user, the test request specifically comprises information of age, position, work, area, academic and the like of the target user, and after receiving the test request sent by the target user, a device or equipment for controlling the flow of the user can determine a target group to which the target user belongs according to the attribute information of the target user carried in the test request, so that corresponding identification information can be generated according to the determined target group.
102. And determining a target group to which the target user belongs according to the attribute information, and generating first identification information corresponding to the target user according to the target group to which the target user belongs.
For the embodiment of the invention, after receiving a test request of a target user, determining a target group to which the target user belongs according to attribute information carried in the test request, for example, dividing the user into different user groups according to ages and areas in which the user attribute information is located, wherein the age group is 16-25 years old, and the area in which the user is sunk is the target group A; the age range is 26 years old to 35 years old, and the user with Beijing area is the target group B; and if the age of the user in the attribute information of the target user is 28 years old and the area is Beijing, determining the group of the target user as a target group B, generating first identification information tokengreya so as to match the generated first identification information with routing information corresponding to different test versions, and routing the test request of the target user to a corresponding test version module according to a matching result.
It should be noted that, not only the first identification information of the target user may be generated at the device side controlling the user traffic, but also the first identification information of the target user may be generated at the request side according to the attribute information of the target user when the user sends the test request, and the first identification information is added to the test request, so that after the device controlling the user traffic receives the test request of the target user side, the test request of the target user is directly routed to the corresponding test version module according to the first identification information carried in the test request.
103. And respectively matching the first identification information with the route information of different test versions corresponding to the target service, and determining target route information matched with the first identification information.
The routing information corresponding to different test versions is a routing rule generated according to a flow policy set by a user, for example, a developer finds a service policy of a service test in a flow policy setting interface, and sets a gray flow policy based on a custom header for the test version test-grey-a: the complete matching mode trafficlabel is token greyreya, and a gray scale flow strategy based on a custom header is set for a test version test-grey-b example in a similar way: and generating route information corresponding to different test versions according to a traffic policy set by a user, namely, a user participation test-grey-a marked as a token, a user participation test-grey-b marked as a token, and then issuing the route information to the cluster gateway. It should be noted that, in the traffic policy setting interface, besides the traffic policy based on the custom header, the gray traffic policy based on the user id may also be set, for example, the user participation test version test-grey-b with the mobile phone number 1312345xxxx is not limited to the specific setting mode of the traffic policy in the embodiment of the present invention.
For the embodiment of the invention, the generated first identification information is matched with the route information corresponding to different test versions, the route information matched with the first identification information is determined, and immediately after the example, if the generated first identification information of the target user is token reya, the first identification information is determined to be matched with the route information of the test version test-grey-a, and according to the route information, the test request of the target user is routed to the test version test-grey-a module; if the generated first identification information of the target user is token check-b, determining that the first identification information is matched with the routing information of the test version test-grey-b, and routing the test request of the target user to the test version test-grey-b module according to the routing information.
104. And according to the target routing information, routing the test request of the target user to a corresponding test version module.
For the embodiment of the invention, when a target user uses a service, a request of the service firstly reaches an gateway of an gateway-gateway, first identification information corresponding to the target user is generated at the gateway, the first identification information is added to the request, and when the request passes through the api-gateway, the injected sidecar agent gateway-proxy in the gateway performs flow management, namely, the first identification information is matched with routing information corresponding to different testing versions, target routing information matched with the first identification information is determined, and the testing request of the target user is routed to the corresponding testing version module according to the target routing information.
For the specific process of routing the test request of the target user to the corresponding test version according to the target routing information, the target test version specified by the routing parameter can be determined according to the routing parameter route in the target routing information, then the destination address corresponding to the target test version is determined through the DestinationRule, and the test request of the target user is routed to the target test version module according to the destination address, so that the flow control strategy based on the user can be realized, and flow control with finer granularity can be supported.
Compared with the current mode of controlling the user flow by adopting a flow percentage control strategy, the flow control method provided by the embodiment of the invention has the advantages that the test request of the target user is received, and the test request carries the attribute information of the target user; meanwhile, according to the attribute information, determining a target group to which the target user belongs, and generating first identification information corresponding to the target user according to the target group to which the target user belongs; in addition, the first identification information is respectively matched with the route information of different test versions corresponding to the target service, and the target route information matched with the first identification information is determined; finally, according to the target routing information, the test request of the target user is routed to a corresponding test version module, so that a user-based flow strategy can be set, a specific user group can be routed to a corresponding test version module by determining a target group to which the target user belongs and generating corresponding identification information, finer-granularity flow control is supported, meanwhile, feedback information of the specific user group can be acquired, the product strategy is convenient to adjust, in addition, a plurality of test versions with different functional characteristics of a product can be issued at the same time, in the development process, the test versions with different functional characteristics are not interfered with each other, and a tester can test a certain new characteristic independently, so that the product development efficiency and sensitivity are improved.
Further, in order to better illustrate the above control process of the user flow, as a refinement and extension of the above embodiment, an embodiment of the present invention provides another flow control method, as shown in fig. 2, where the method includes:
201. and receiving a test request of the target user.
Wherein, the test request carries the attribute information of the target user. For the implementation of the invention, before providing services to users, different test versions of the services to be tested are deployed based on a micro-service mode, meanwhile, a service grid is constructed for the micro-services, the service management capability provided by the service grid Istio is adopted to control the flow, the packaged service functions and test versions are provided for the users through a user interaction layer, in addition, the users can set flow strategies corresponding to the different test versions of the services through a flow strategy setting interface of the user interaction layer, so that routing information of the different test versions is generated according to the flow strategies configured by the users, and based on the method, the method further comprises the following steps: acquiring flow strategy information corresponding to a target service; constructing a basic flow model corresponding to the flow strategy according to the service scene information corresponding to the flow strategy information; and generating the routing information corresponding to the different test versions according to the basic flow model, and transmitting the routing information corresponding to the different test versions to a cluster gateway. Further, the constructing a basic flow model corresponding to the flow policy according to the service scenario information corresponding to the flow policy information includes: if the business scene information corresponding to the flow strategy information is a gray experiment, constructing a scale type basic flow model corresponding to the flow strategy; and if the service scene information corresponding to the flow strategy information is canary release, constructing a basic flow model based on the user information and corresponding to the flow strategy.
Specifically, istio is selected as a basic tool of the scheme, aiming at a specific component, using pilot/differential for service discovery and issuing of routing rules, using a side-objective for automatic injection of side, selecting gap as unified configuration management, selecting ingresgateway as gateway entrance, then designing a UI interface for realizing user operation, realizing through a B/S architecture, enabling a user to rapidly configure a corresponding flow strategy according to own service requirements, constructing a basic flow model corresponding to the flow strategy according to service scene information corresponding to the flow strategy, wherein the service scene corresponding to the flow strategy comprises a virtual environment, service flow rules, gray level experiments, canary release and the like, and the basic flow model comprises a scale basic flow model, a head-based basic flow model and a user information-based basic flow model. For example, if a user configures a flow strategy for a gray experiment, a basic flow model of a class is constructed; if the user configures the flow strategy aiming at canary, a basic flow model based on user information is constructed, so that different types of basic flow models can be constructed according to the flow strategies of different business scenes configured by the user, namely, the flow strategies set by the user are stored into the system through the different types of basic flow models, and the corresponding routing rules generated according to the basic flow models are generated. Further, after the basic flow model corresponding to the flow strategy is constructed, the basic flow model is subjected to format conversion in a rule mapping layer, and is converted into a format which can be identified by a conversion agent. Further, according to the basic traffic model after format conversion, the main crd (custom resource definition, i.e. personalized resource definition) of the istio of Kubernetes (k 8 s) is constructed: destinationRule is used as a target set, where traffic needs to go is controlled, and a routing rule is defined for each k8s service; the virtual service is used as a routing rule to control how the traffic goes there, and the routing rule is defined for each domain name expected to be exposed externally, namely, the routing rule corresponding to different test versions of service is defined in the virtual service. Each service corresponds to a test version of the service pointed to by a routing parameter route in the DestinationRule and VirtualService, virtualService, and a domain name or a destination address corresponding to the test version is defined in the DestinationRule, so that it can be known that the combination of the DestinationRule and the virtualization service can route a test request of a target user to a corresponding test version module. Further, according to the main crd constructing the relation of Kubernetes (k 8 s), the routing information corresponding to different test versions can be determined, and the routing information corresponding to the different test versions is issued to the cluster gateway, so that the cluster gateway routes the test request of the target user to the corresponding test version according to the routing information of the different test versions.
Further, after the obtaining the traffic policy information corresponding to the target service, the method further includes: if the target service corresponds to a plurality of flow strategies, setting priority levels respectively corresponding to the plurality of flow strategies according to service requirements; generating the routing information corresponding to the different test versions according to the basic flow model, and issuing the routing information corresponding to the different test versions to a cluster gateway, wherein the routing information comprises: and determining various routing information corresponding to any one of the different test versions and the priority level corresponding to the various routing information according to the basic flow model and the priority level corresponding to the various flow strategies respectively.
Specifically, since the user may set multiple traffic policies for different traffic scenarios, where the different traffic policies are likely to be for the same service, it is first required to integrate the traffic policies corresponding to the same service and set priority levels among the different traffic policies for the same service, for example, the traffic policies set for the user of the service a include a traffic percentage control policy, the traffic control policy based on user information may set, according to the traffic demand, the priority level corresponding to the traffic control policy based on user information higher than the priority level corresponding to the traffic percentage control policy, and further may determine, according to the time information set by the different traffic policies, the priority level corresponding to the traffic policy set by the latest time, such that the priority level corresponding to the traffic policy set by the latest time is the highest, thereby being able to determine, according to the above manner, the priority level among the different traffic policies of the same service, further, construct a basic traffic model corresponding to the different traffic policies of the same service, and generate routing information of different test versions under the service according to the basic traffic model and the priority level corresponding to the different traffic policies, for example, the routing information corresponding to test version test-grey-a includes: the method comprises the steps of routing information 1 and routing information 2, wherein the routing information 1 is used for routing target group users with trafficlabel being token to a test version a, the routing information 2 is used for routing thirty percent of users to the test version a, and the priority corresponding to the routing information 1 is higher than the priority corresponding to the routing information 2 according to the priority corresponding to the traffic policy, so that the routing information and the priority corresponding to the different test versions of the same service can be determined under the condition that a plurality of traffic policies exist.
Further, after the routing information corresponding to the different test versions is issued to the cluster gateway, the method further includes: and if the routing information fails to be issued, sending alarm information of the failure of issuing the strategy configuration to the service personnel terminal. Therefore, the usability of the flow strategy distribution set by the user can be ensured.
202. And determining a target group to which the target user belongs according to the attribute information, and generating first identification information corresponding to the target user according to the target group to which the target user belongs.
The attribute information includes personal information such as age, occupation, area and academic of the user, the user is divided into different user groups according to the attribute information, when a test request of the user is received, a target group to which the user belongs can be determined according to the attribute information carried in the test request, for example, the sex of the user is female, the area is Shanghai, the age is 34 years, the group to which the user belongs is determined to be a target group A, and then corresponding identification information is added according to the target group to which the user belongs, for example, a token reya is added in the test request of the user, so that when the test request reaches a gateway, the gateway can route the test request of the target user to a corresponding test version module according to the identification information token reya in the test request.
203. And respectively matching the first identification information with the route information of different test versions corresponding to the target service, and determining target route information matched with the first identification information.
For the embodiment of the invention, by setting a specific flow rule based on user identification by means of the flow control capability of the service grid, when a request end is received to send a test request, each node in a link, such as an ingresgateway node, an api-gateway node and the like, is called to transfer the user identification according to the call link, and the gateway can route the test request of the user to the corresponding test version according to the routing information with low different test versions and the transferred user identification, for example, the first identification information of the user is token rya, the routing information complete matching mode traffictable corresponding to the test version a is token rya, and the routing information complete matching mode traffictable corresponding to the test version b is token ryb.
Further, after the first identification information is respectively matched with the routing information of different test versions corresponding to the target service and the target routing information matched with the first identification information is determined, the method further includes: if multiple kinds of target route information exist, selecting target route information with highest priority according to priority levels corresponding to the multiple kinds of target route information, and based on the target route information, routing a test request of the target user to a corresponding test version module, wherein the method comprises the following steps: and according to the target routing information with the highest priority, routing the test request of the target user to a corresponding test version module.
For example, the routing information 1 corresponding to the test version test-grey-a is used for routing target group users with trafficlabel being token ngreya into the test version a, the routing information 2 corresponding to the test version test-grey-b is used for routing thirty percent of users into the test version b, and the routing information 1 corresponds to a higher priority than the routing information 2 corresponds to a higher priority, so that the test request of the target user is routed into the test version a according to the routing information 1.
204. And determining a target test version pointed by the routing parameter according to the routing parameter in the target routing information.
For the embodiment of the invention, the target routing information includes a routing parameter route, and the routing parameter route points to the target test version, for example, the routing parameter route points to the test version test-grey-a in the target routing information.
205. And according to the destination address corresponding to the target test version, routing the test request of the target user to the target test version module.
For the embodiment of the invention, destination addresses corresponding to different test versions are stored in the DestinationRule corresponding to the service, the destination address corresponding to the test version test-grey-a is searched from the DestinationRule according to the target test version test-grey-a pointed by the route parameter route in the target route information, and the test request of the target user is routed to the test version test-grey-a according to the destination address corresponding to the test version test-grey-a.
Further, in order to ensure that when the target user sends the test request again, the test request can be routed to the same test version module, after the test request of the target user is routed to the corresponding test version according to the target routing information, the method further includes: generating second identification information corresponding to the target user, and feeding the second identification information corresponding to the target user back to a user side, so that when the test request sent by the target user is received again, the test request sent again by the target user is routed to the same test version module according to the second identification information carried by the test request. Specifically, after the test request of the user is routed to the corresponding test version module, the second identification information is fed back to the user side, the second identification information is used for marking that the user has accessed a certain test version, and when the user accesses again, the test request of the user can be directly routed to the same test version according to the second identification information, so that the user can be ensured to always access the same test version.
In order to illustrate the implementation of the above embodiment, taking a traffic policy based on a user as an example, the following application scenario is given, but not limited thereto:
On the premise of normal operation of normal (normal) versions of a service test, two new versions of test-grey-a and test-grey-b of the same service test are distributed and deployed, then a traffic policy of the service test is found in a gray policy setting interface, and a gray traffic policy based on a custom header is set for a test-grey-a instance: the trafficlabel is token reya in a complete matching mode, and a gray scale flow strategy based on user id is set for a test-grey-b instance at the same time: if the target user belongs to the target group A, when the service test is used, the header information with a key of token is carried in the service request, the request firstly reaches an gateway of an gateway-ingresgateway, then reaches the service through the api-gateway, finally achieves the service, carries out flow control through a side agent gateway-proxy which is already injected into the gateway, finally routes the service request of the user into a test version test-grey-a, and similarly, if the mobile phone number of the target user is 1312345xxxx, when the target user uses test service, the request of the target user is routed into a test version test-grey-b through a similar link process, and the rest user requests are all routed into a normal instance of the service test.
Compared with the current mode of controlling the user flow by adopting a flow percentage control strategy, the flow control method provided by the embodiment of the invention has the advantages that the test request of the target user is received, and the test request carries the attribute information of the target user; meanwhile, according to the attribute information, determining a target group to which the target user belongs, and generating first identification information corresponding to the target user according to the target group to which the target user belongs; in addition, the first identification information is respectively matched with the route information of different test versions corresponding to the target service, and the target route information matched with the first identification information is determined; finally, according to the target routing information, the test request of the target user is routed to a corresponding test version module, so that a user-based flow strategy can be set, a specific user group can be routed to a corresponding test version module by determining a target group to which the target user belongs and generating corresponding identification information, finer-granularity flow control is supported, meanwhile, feedback information of the specific user group can be acquired, the product strategy is convenient to adjust, in addition, a plurality of test versions with different functional characteristics of a product can be issued at the same time, in the development process, the test versions with different functional characteristics are not interfered with each other, and a tester can test a certain new characteristic independently, so that the product development efficiency and sensitivity are improved.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides a flow control device, as shown in fig. 3, including: a receiving unit 31, a generating unit 32, a determining unit 33 and a routing unit 34.
The receiving unit 31 may be configured to receive a test request of a target user, where the test request carries attribute information of the target user. The receiving unit 31 is a main functional module for receiving a test request of a target user in the present apparatus.
The generating unit 32 may be configured to determine, according to the attribute information, a target group to which the target user belongs, and generate, according to the target group to which the target user belongs, first identification information corresponding to the target user. The generating unit 32 is a main functional module, which determines, according to the attribute information, a target group to which the target user belongs, and generates, according to the target group to which the target user belongs, first identification information corresponding to the target user, and is also a core module.
The determining unit 33 may be configured to match the first identification information with routing information of different test versions corresponding to a target service, and determine target routing information matched with the first identification information. The determining unit 33 is a main functional module, which is also a core module, for respectively matching the first identification information with routing information of different test versions corresponding to the target service in the present device, and determining the target routing information matched with the first identification information.
The routing unit 34 may be configured to route the test request of the target user to a corresponding test version module according to the target routing information. The routing unit 34 is a main functional module, also a core module, in the present apparatus, for routing the test request of the target user to the corresponding test version module according to the target routing information.
Further, as shown in fig. 4, the routing unit 34 includes: a determination module 341 and a routing module 342.
The determining module 341 may be configured to determine, according to a routing parameter in the target routing information, a target test version pointed to by the routing parameter.
The routing module 342 may be configured to route the test request of the target user to the target test version module according to the destination address corresponding to the target test version.
Further, the apparatus further comprises: and a selecting unit 35, where the selecting unit 35 may be configured to select, if there are multiple types of target route information, the target route information with the highest priority according to the priority corresponding to the multiple types of target route information.
The routing unit 34 may be specifically configured to route the test request of the target user to a corresponding test version module according to the target routing information with the highest priority.
Further, the apparatus further comprises: an obtaining unit 36 and a constructing unit 37, where the obtaining unit 36 may be configured to obtain traffic policy information corresponding to a target service.
The construction unit 37 may be configured to construct a basic traffic model corresponding to the traffic policy according to the traffic scenario information corresponding to the traffic policy information.
The generating unit 32 may be further configured to generate routing information corresponding to the different test versions according to the basic traffic model, and send the routing information corresponding to the different test versions to a trunking gateway.
Further, the apparatus further comprises: the setting unit 38, where the setting unit 38 may be configured to set priority levels corresponding to the multiple traffic policies according to the service requirements if the target service corresponds to the multiple traffic policies.
The generating unit 32 may be specifically configured to determine, according to the basic traffic model and the priority level respectively corresponding to the multiple traffic policies, multiple types of routing information corresponding to any one of the different test versions, and the priority level respectively corresponding to the multiple types of routing information.
Further, the construction unit 37 may be specifically configured to construct a scale base flow model corresponding to the flow policy if the service scenario information corresponding to the flow policy information is a gray scale experiment; and if the service scene information corresponding to the flow strategy information is canary release, constructing a basic flow model based on the user information and corresponding to the flow strategy.
Further, the apparatus further comprises: and a sending unit 39, where the sending unit 39 may be configured to send, if the routing information fails to be sent, alarm information that the policy configuration fails to be sent to the service personnel terminal.
Further, the generating unit 32 may be further configured to generate second identification information corresponding to the target user, and feed back the second identification information corresponding to the target user to the user side, so that when the test request sent by the target user is received again, the test request sent again by the target user is routed to the same test version module according to the second identification information carried by the test request.
Based on the above-mentioned methods shown in fig. 1 and 2, correspondingly, the embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the methods shown in fig. 1 to 2.
Based on the embodiment of the method shown in fig. 1 and the device shown in fig. 3, the embodiment of the invention further provides a physical structure diagram of a computer device, as shown in fig. 5, where the computer device includes: a processor 41, a memory 42, and a computer program stored on the memory 42 and executable on the processor, wherein the memory 42 and the processor 41 are both arranged on a bus 43, the processor 41 implementing the method as shown in fig. 1-2 when executing the program.
According to the technical scheme, the method and the device can receive the test request of the target user, wherein the test request carries the attribute information of the target user; meanwhile, according to the attribute information, determining a target group to which the target user belongs, and generating first identification information corresponding to the target user according to the target group to which the target user belongs; in addition, the first identification information is respectively matched with the route information of different test versions corresponding to the target service, and the target route information matched with the first identification information is determined; finally, according to the target routing information, the test request of the target user is routed to a corresponding test version module, so that a user-based flow strategy can be set, a specific user group can be routed to a corresponding test version module by determining a target group to which the target user belongs and generating corresponding identification information, finer-granularity flow control is supported, meanwhile, feedback information of the specific user group can be acquired, the product strategy is convenient to adjust, in addition, a plurality of test versions with different functional characteristics of a product can be issued at the same time, in the development process, the test versions with different functional characteristics are not interfered with each other, and a tester can test a certain new characteristic independently, so that the product development efficiency and sensitivity are improved.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are mutually referred to. For system embodiments, the description is relatively simple as it essentially corresponds to method embodiments, and reference should be made to the description of method embodiments for relevant points.
The method and system of the present invention may be implemented in a number of ways. For example, the methods and systems of the present invention may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present invention are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A flow control device, comprising:
the receiving unit is used for receiving a test request of a target user, wherein the test request carries attribute information of the target user;
the generating unit is used for determining a target group to which the target user belongs according to the attribute information and generating first identification information corresponding to the target user according to the target group to which the target user belongs;
the determining unit is used for respectively matching the first identification information with the route information of different test versions corresponding to the target service and determining target route information matched with the first identification information;
the routing unit is used for routing the test request of the target user to the corresponding test version module according to the target routing information;
the apparatus further comprises: an acquisition unit and a construction unit,
the acquisition unit is used for acquiring flow strategy information corresponding to the target service;
the construction unit is used for constructing a basic flow model corresponding to the flow strategy according to the service scene information corresponding to the flow strategy information;
the generating unit is further configured to generate routing information corresponding to the different test versions according to the basic traffic model, and send the routing information corresponding to the different test versions to a trunking gateway;
The apparatus further comprises: the selection unit is used for selecting the unit,
the selecting unit is used for selecting the target route information with the highest priority according to the priority corresponding to the plurality of target route information if the plurality of target route information exists;
the routing unit is specifically configured to route the test request of the target user to a corresponding test version module according to the target routing information with the highest priority level;
the apparatus further comprises: the unit is arranged to be arranged to,
the setting unit is used for setting priority levels respectively corresponding to the multiple flow strategies according to service requirements if the target service corresponds to the multiple flow strategies;
the generating unit is specifically configured to determine, according to the basic flow models and the priority levels respectively corresponding to the multiple flow policies, multiple routing information corresponding to any one of the different test versions, and the priority levels respectively corresponding to the multiple routing information;
the construction unit is specifically configured to construct a scale type basic flow model corresponding to the flow policy if the service scene information corresponding to the flow policy information is a gray scale experiment; and if the service scene information corresponding to the flow strategy information is canary release, constructing a basic flow model based on the user information and corresponding to the flow strategy.
2. The apparatus of claim 1, wherein the routing unit comprises: the determining module and the routing module are arranged to determine,
the determining module is used for determining a target test version pointed by the routing parameter according to the routing parameter in the target routing information;
the routing module is used for routing the test request of the target user to the target test version module according to the destination address corresponding to the target test version.
3. The apparatus of claim 1, wherein the apparatus further comprises: the transmitting unit is configured to transmit the data,
and the sending unit is used for sending alarm information of failure in issuing policy configuration to the service personnel terminal if the routing information fails in issuing.
4. The apparatus of claim 1, wherein the device comprises a plurality of sensors,
the generating unit is further configured to generate second identification information corresponding to the target user, and feed back the second identification information corresponding to the target user to a user side, so that when the test request sent by the target user is received again, the test request sent again by the target user is routed to the same test version module according to the second identification information carried by the test request.
5. A flow control method, comprising:
receiving a test request of a target user, wherein the test request carries attribute information of the target user;
determining a target group to which the target user belongs according to the attribute information, and generating first identification information corresponding to the target user according to the target group to which the target user belongs;
respectively matching the first identification information with route information of different test versions corresponding to target service, and determining target route information matched with the first identification information;
according to the target route information, the test request of the target user is routed to a corresponding test version module;
before said receiving the test request of the target user, the method further comprises:
acquiring flow strategy information corresponding to a target service;
constructing a basic flow model corresponding to the flow strategy according to the service scene information corresponding to the flow strategy information;
generating route information corresponding to different test versions according to the basic flow model, and transmitting the route information corresponding to the different test versions to a cluster gateway;
After the first identification information is respectively matched with the route information of different test versions corresponding to the target service and the target route information matched with the first identification information is determined, the method further comprises the steps of:
if multiple kinds of target route information exist, selecting target route information with highest priority according to the priority corresponding to the multiple kinds of target route information;
the routing the test request of the target user to the corresponding test version module according to the target routing information includes:
according to the target route information with the highest priority, the test request of the target user is routed to a corresponding test version module;
after the flow policy information corresponding to the target service is obtained, the method further includes:
if the target service corresponds to a plurality of flow strategies, setting priority levels respectively corresponding to the plurality of flow strategies according to service requirements;
generating the routing information corresponding to the different test versions according to the basic flow model, and issuing the routing information corresponding to the different test versions to a cluster gateway, wherein the routing information comprises:
according to the basic flow model and the priority level respectively corresponding to the various flow strategies, determining various routing information corresponding to any one of the different test versions and the priority level respectively corresponding to the various routing information;
The constructing a basic flow model corresponding to the flow strategy according to the service scene information corresponding to the flow strategy information comprises the following steps:
if the business scene information corresponding to the flow strategy information is a gray experiment, constructing a scale type basic flow model corresponding to the flow strategy;
and if the service scene information corresponding to the flow strategy information is canary release, constructing a basic flow model based on the user information and corresponding to the flow strategy.
6. The method of claim 5, wherein routing the test request of the target user to the corresponding test version module according to the target routing information comprises:
determining a target test version pointed by the routing parameter according to the routing parameter in the target routing information;
and according to the destination address corresponding to the target test version, routing the test request of the target user to the target test version module.
7. The method of claim 5, wherein after generating the routing information corresponding to the different test versions according to the basic traffic model and issuing the routing information corresponding to the different test versions to a cluster gateway, the method further comprises:
And if the routing information fails to be issued, sending alarm information of the failure of issuing the strategy configuration to the service personnel terminal.
8. The method of claim 5, wherein after said routing the test request of the target user into the corresponding test version module according to the target routing information, the method further comprises:
generating second identification information corresponding to the target user, and feeding the second identification information corresponding to the target user back to a user side, so that when the test request sent by the target user is received again, the test request sent again by the target user is routed to the same test version module according to the second identification information carried by the test request.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 5 to 8.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program when executed by the processor implements the steps of the method according to any of claims 5 to 8.
CN202011092111.1A 2020-10-13 2020-10-13 Flow control method, device, storage medium and computer equipment Active CN112367684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011092111.1A CN112367684B (en) 2020-10-13 2020-10-13 Flow control method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011092111.1A CN112367684B (en) 2020-10-13 2020-10-13 Flow control method, device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN112367684A CN112367684A (en) 2021-02-12
CN112367684B true CN112367684B (en) 2023-11-14

Family

ID=74507931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011092111.1A Active CN112367684B (en) 2020-10-13 2020-10-13 Flow control method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN112367684B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113422732A (en) * 2021-06-22 2021-09-21 康键信息技术(深圳)有限公司 Version updating method, device, equipment and storage medium based on total station gray scale
CN113742577A (en) * 2021-08-10 2021-12-03 深圳市东信时代信息技术有限公司 AB test scheme processing method, device, equipment and storage medium based on SaaS
CN113791759A (en) * 2021-09-09 2021-12-14 上海仙塔智能科技有限公司 Code development processing method and device, electronic equipment and storage medium
CN114006938A (en) * 2021-09-24 2022-02-01 深圳市佳创视讯技术股份有限公司 Message routing issuing method, device, equipment and storage medium of distributed cluster
CN113852689A (en) * 2021-09-24 2021-12-28 北京百度网讯科技有限公司 Traffic processing method and device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357435A (en) * 2016-08-31 2017-01-25 广州唯品会信息科技有限公司 Matching method and device for same computer room
CN108989140A (en) * 2017-06-05 2018-12-11 中移信息技术有限公司 A kind of test method of flow alerting delay, apparatus and system
CN109831752A (en) * 2019-04-03 2019-05-31 深圳联想懂的通信有限公司 A kind of communication flow rate control method and system
CN111327538A (en) * 2018-12-17 2020-06-23 中国移动通信集团山东有限公司 Scheduling policy control method and system
CN111522735A (en) * 2020-03-18 2020-08-11 北京健康之家科技有限公司 Shunting method and device for test experiment
CN111600930A (en) * 2020-04-09 2020-08-28 网宿科技股份有限公司 Micro-service request traffic management method, device, server and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357435A (en) * 2016-08-31 2017-01-25 广州唯品会信息科技有限公司 Matching method and device for same computer room
CN108989140A (en) * 2017-06-05 2018-12-11 中移信息技术有限公司 A kind of test method of flow alerting delay, apparatus and system
CN111327538A (en) * 2018-12-17 2020-06-23 中国移动通信集团山东有限公司 Scheduling policy control method and system
CN109831752A (en) * 2019-04-03 2019-05-31 深圳联想懂的通信有限公司 A kind of communication flow rate control method and system
CN111522735A (en) * 2020-03-18 2020-08-11 北京健康之家科技有限公司 Shunting method and device for test experiment
CN111600930A (en) * 2020-04-09 2020-08-28 网宿科技股份有限公司 Micro-service request traffic management method, device, server and storage medium

Also Published As

Publication number Publication date
CN112367684A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
CN112367684B (en) Flow control method, device, storage medium and computer equipment
EP3346738B1 (en) Group communication method and system for group communication
KR101432128B1 (en) M2M platform for converting resources into abstracted device object on M2M network
CN108683668A (en) Resource checksum method, apparatus, storage medium and equipment in content distributing network
US10972564B2 (en) System and method for automating actions in distributed computing
KR102479037B1 (en) Device for tile map service and method thereof
CN107819891A (en) Data processing method, device, computer equipment and storage medium
CN106131113A (en) A kind of resource downloading method, device, system and Resource Server
CN109729183A (en) Request processing method, device, equipment and storage medium
US20120143943A1 (en) Cloud service system and method, and recording medium
KR102500594B1 (en) Service Layer Message Templates in Communication Networks
CN112445700A (en) Test method and device
US11184242B2 (en) System and method for automating the discovery process
CN106713353A (en) Intelligent seamless aggregation method and system for geographic information service
CN114157710A (en) Communication strategy configuration method, device, storage medium and equipment
CN103109277A (en) Data sharing program, data distribution program, terminal, server, data sharing method, and data distribution method
CN111600929B (en) Transmission line detection method, routing strategy generation method and proxy server
US9015292B2 (en) Method, apparatus and computer program product for providing composite capability information for devices in distributed networks
CN116996585A (en) Multicast communication method, device, system, computer equipment and storage medium
KR20100070456A (en) Potential peer producing method and system thereof using p2p sensor network
JP2019041241A (en) Distribution system
CN113765970A (en) P2P network node selection method, device, equipment and storage medium
US20200065508A1 (en) Device and method to share image received from user terminal with other user terminals
CN105812434A (en) Business chain control method and device after virtualization of user hand-held equipment
US20140181307A1 (en) Routing apparatus and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100102 201 / F, block C, 2 lizezhong 2nd Road, Chaoyang District, Beijing

Applicant after: Beijing Shuidi Technology Group Co.,Ltd.

Address before: 100102 201, 2 / F, block C, No.2 lizezhong 2nd Road, Chaoyang District, Beijing

Applicant before: Beijing Health Home Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant