Information processing method, device, electronic device and storage medium

Through the pan-domain name resolution technology, service processing requests are received and processed, and the problem of delays and cross-domain after domain name change is solved, achieving fast and convenient service processing request processing.

CN113765988BActive Publication Date: 2025-02-25BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110221146.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-26
Publication Date
2025-02-25
Estimated Expiration
2041-02-26

AI Technical Summary

Technical Problem

In the prior art, when a user changes the domain name information, the changed domain name of the device needs to be restarted before it can take effect, resulting in inconvenient business processing request processing; at the same time, when using an independent domain name system, it needs to be maintained separately, and there are cross-domain problems when processing access requests. , resulting in inconvenience in information processing.

Method used

Receive service processing requests through pan-domain name resolution technology, determine the target service agent subcluster based on the target domain name information, thereby retrieving pre-configured target association information, generating target service processing requests and sending them to the target processing service, realizing fast service processing requests for service processing requests deal with.

Benefits of technology

It realizes that the domain name information will take effect immediately after modifying it, and improves the convenience and efficiency of handling business requests, solves cross-domain problems, and simplifies domain name management and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113765988B_ABST
    Figure CN113765988B_ABST
Patent Text Reader

Abstract

The present invention discloses an information processing method, device, electronic device and storage medium, the method comprising: receiving a business processing request based on wildcard domain name resolution, and determining a target service proxy subcluster according to target domain name information in the business processing request; retrieving pre-configured target association information corresponding to the target domain name information from the target service proxy subcluster; wherein the service proxy cluster is used to store domain name information and association information generated when each authorized user registers; generating a target business processing request based on the target domain name information and target association information and sending it to a target gateway service, so that the target gateway service sends the target business processing request to the target business processing service, so that the target processing service processes the target business processing request and obtains target response data. The technical solution of the embodiment of the present invention solves the problem of inconvenience in information processing at present, and realizes the technical effect of fast and convenient effective information processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to an information processing method, device, electronic device, and storage medium. Background Art

[0002] Currently, each independent shopping mall can purchase software as a service, which can provide users with the ability to independently build and maintain the e-commerce platform.

[0003] When implementing the technical solution based on the above method, the inventor found the following problems:

[0004] When a user changes their domain name information, they need to restart the device for the changed domain name to take effect, which means it cannot take effect in real time. Furthermore, when an independent domain name system is adopted, each store needs to maintain its own independent domain name, but when processing business requests, it is necessary to first enter the same public domain name through the backend. Therefore, there is a cross-domain technical problem when processing access requests, which leads to inconvenient information processing. Summary of the invention

[0005] The present invention provides an information processing method, device, electronic device and storage medium to achieve the technical effect of effectively and conveniently processing business processing requests.

[0006] In a first aspect, an embodiment of the present invention provides an information processing method, the method comprising:

[0007] Receiving a service processing request after wildcard domain name resolution, and determining a target service proxy subcluster according to target domain name information in the service processing request;

[0008] Retrieving pre-configured target association information corresponding to the target domain name information from the target service proxy sub-cluster; wherein the service proxy cluster is used to store the domain name information and association information generated when each authorized user registers;

[0009] A target business processing request is generated based on the target domain name information and the target association information and sent to a target gateway service, so that the target gateway service sends the target business processing request to a target business processing service, so that the target processing service processes the target business processing request and obtains target response data.

[0010] In a second aspect, an embodiment of the present invention further provides an information processing device, the device comprising:

[0011] The proxy subcluster determination module is used to receive a service processing request after resolution based on a wildcard domain name, and determine a target service proxy subcluster according to target domain name information in the service processing request;

[0012] The associated information acquisition module is used to retrieve the pre-configured target associated information corresponding to the target domain name information from the target service proxy sub-cluster; wherein the service proxy cluster is used to store the domain name information and associated information generated when each authorized user registers;

[0013] A response data determination module is used to generate a target business processing request based on the target domain name information and the target association information and send it to a target gateway service, so that the target gateway service sends the target business processing request to a target business processing service, so that the target processing service processes the target business processing request and obtains target response data.

[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0015] one or more processors;

[0016] a storage device for storing one or more programs,

[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the information processing method as described in any one of the embodiments of the present invention.

[0018] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the information processing method as described in any one of the embodiments of the present invention.

[0019] According to the technical solution of the embodiment of the present invention, after receiving a business processing request, the wildcard domain name resolution module can resolve the business processing request. If it is determined that the business processing request needs to be forwarded to the service proxy cluster, the request is forwarded to the service proxy cluster to retrieve the target association information adapted to the domain name information in the business processing request from the service proxy cluster, and generate a target business processing server corresponding to the target processing service based on the target association information and the business processing request, so that the target business processing server can execute the business processing request, which solves the problem that when the domain name information is changed, the domain name changed by the device needs to be restarted to take effect, resulting in inconvenience for the business processing request. Furthermore, when an independent domain name system is adopted, it needs to be maintained separately, but when the business processing request is initiated through the same public domain name of the backend, there is a cross-domain when processing the access request, resulting in the technical problem of inconvenience for information processing. It is realized that through wildcard domain name resolution, the domain name information can be modified and take effect immediately, and when the business processing request corresponding to the modified domain name is received, the business processing request can be processed, which improves the technical effect of convenience and efficiency in processing business processing requests. . BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 A schematic diagram of a flow chart of an information processing method provided in Embodiment 1 of the present invention;

[0022] Figure 2 A schematic diagram of a flow chart of an information processing method provided in Embodiment 2 of the present invention;

[0023] Figure 3 A schematic diagram of the system structure of the information processing method provided in the second embodiment of the present invention;

[0024] Figure 4 A schematic diagram of the structure of an information processing device provided in Embodiment 3 of the present invention;

[0025] Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0027] Embodiment 1

[0028] Figure 1 A flow chart of an information processing method provided in the first embodiment of the present invention is provided. This embodiment can be applicable to the situation where the associated information corresponding to each domain name information is managed. The method can be applied to the situation where, when a business processing request is received, the business processing request is forwarded to a service proxy cluster based on the wildcard domain name resolution, and then the business processing request is processed. The method can be executed by an information processing device, and the device can be implemented in the form of software and / or hardware. The hardware can be an electronic device, and the electronic device can be a terminal or a server, etc. The execution of the method can be performed by a server.

[0029] like Figure 1 The method of this embodiment includes:

[0030] S110: Receive a service processing request after wildcard domain name resolution, and determine a target service proxy subcluster according to target domain name information in the service processing request.

[0031] Among them, the server may include a domain name resolution system, and the corresponding domain name information may be pre-configured in the domain name resolution system. If the domain name information in the request is the domain name information configured in the domain name resolution system, the request information may be forwarded to the service proxy cluster, so as to obtain the associated information matching the domain name information in the business processing request from the associated information corresponding to the domain name information stored in the service proxy cluster, thereby determining the target processing service for the business processing request. The user may trigger a small program in a certain application, and when a certain control in the small program is detected to be triggered, a business processing request corresponding to the control may be generated and executed. For example, the small program is Haidian Micro Mall, and the user may trigger a control for browsing a certain item. After the control is triggered, an item access request may be generated, and the business processing request at this time is an item access request. The business processing request may be resolved to the wildcard domain name resolution module through the public network. The wildcard domain name resolution module may perform wildcard resolution on the domain name information in the business processing request to obtain the resolution result. The resolution result may be the target domain name information carried in the business processing request. Based on the resolution result and the domain name information pre-configured in the domain name resolution system, it may be determined whether to forward the business processing request to the service proxy cluster, thereby obtaining the corresponding correlation information. The domain name information can be understood as some information in the link information, and the target domain name information is the target link carried by the business processing request. The target service proxy subcluster is a proxy cluster that stores the associated information corresponding to the business processing request.

[0032] Specifically, the domain name resolution module can perform wildcard domain name resolution on the business processing request, and determine whether to forward it to the service proxy cluster based on the wildcard domain name resolution result. If the wildcard domain name resolution result is the domain name information pre-configured in the domain name resolution system, it can be sent to the service proxy cluster. When receiving a business processing request based on wildcard domain name resolution, the target domain name information in the business processing request can be extracted. According to the target domain name information, it can be determined that the corresponding associated information is stored in the service proxy sub-cluster, and the service proxy sub-cluster can be used as the target service proxy sub-cluster.

[0033] In this embodiment, before receiving a business processing request based on wildcard domain name resolution and determining the target service proxy subcluster according to the target domain name information in the business processing request, it also includes: parsing the business processing request generated based on the user's trigger operation based on the wildcard domain name resolution module to obtain target field information; when the target field information is pre-configured field information, obtaining the target domain name information in the target business processing request to determine the target service proxy subcluster corresponding to the target domain name information.

[0034] Among them, the wildcard domain name resolution module is used to resolve the business processing request to obtain the domain name information of the business processing request. The suffix in the domain name information can be used as the target field. At least one field information can be pre-configured in the domain name resolution system, that is, the links corresponding to which suffixes need to be forwarded to the target service proxy subcluster. Users can trigger various controls in the mini program, and corresponding business processing requests can be generated according to the triggered controls. For example, a request to visit a store or a request to obtain an item can be used as a business processing request.

[0035] Specifically, after the client sends a business processing request, the business processing request can be sent to the target server based on the public network. The domain name resolution module in the target server can perform a general resolution on the business processing request generated based on the user's trigger operation to obtain the target field information, such as the suffix information of the request. If the target field information is the field information pre-configured in the domain name resolution system, the business processing request can be further processed to obtain the target domain name information in the target business processing request, and then determine the target service proxy subcluster corresponding to the target domain name information.

[0036] In this embodiment, since the wildcard domain name resolution module can perform wildcard domain name resolution on the business processing request, the domain name information carried by each business processing request can be obtained, and further, according to the pre-configured domain name information and the target domain name information, it is determined whether to forward the business processing request to the target proxy cluster, which solves the problem of crossing when processing business processing requests with inconsistent domain name information.

[0037] Exemplarily, the domain name information pre-configured in the domain name resolution system is XX.selling.cn. When a business processing request is received, it is determined that the target field (i.e., the suffix name) of the business processing request is .selling.cn, which is the pre-configured domain name information. At this time, the business processing request can be forwarded to the target service proxy cluster. At the same time, the target service proxy subcluster that stores the associated information of selling.cn can be determined. In other words, the domain name resolution system will configure a wildcard domain name resolution for the *.selling.cn domain name, so that all domain names ending with selling.cn will be routed to the request proxy server cluster corresponding to the .selling.cn. Since wildcard domain name resolution is used, after the user updates the corresponding domain name information, the associated information can be updated in the service proxy cluster, so that when a business processing request is received, the business processing request can be subjected to a wildcard domain name resolution, achieving the technical effect that the change of the domain name information can take effect immediately.

[0038] In this embodiment, determining the target service proxy subcluster based on the target domain name information in the business processing request includes: determining the target service proxy subcluster corresponding to the target domain name information based on the target domain name information in the business processing request, and routing to the target service proxy subcluster in the service proxy cluster based on a routing module.

[0039] Among them, the service proxy cluster is a cluster composed of a group of servers, and the server can be an nginx server. Each server can be understood as a subcluster. The target service proxy subcluster is a subcluster in the service proxy cluster, and is a subcluster that stores the target association information corresponding to the target domain name information. The domain name resolution module can determine the request proxy subcluster that stores the target association information corresponding to the target domain name information. After determining the target service proxy subcluster corresponding to the target domain name information, it can be routed to the target service proxy subcluster based on the routing module to obtain the target association information corresponding to the target domain name information from the target service proxy subcluster.

[0040] S120: Retrieve pre-configured target association information corresponding to the target domain name information from the target service proxy subcluster.

[0041] Among them, the target service cluster includes multiple service proxy subclusters, and each service proxy subcluster is used to store the associated information corresponding to the corresponding domain name information. After each user registers the corresponding store, the corresponding permission information, domain name information and other related information can be assigned to it. Other related information can be information such as store account, tenant data, etc. Domain name information with the same suffix name is stored in a target service proxy subcluster. In other words, the service proxy subcluster can store the domain name information and associated information generated when each authorized user registers. Authorized users are users who purchase software as a service. After purchasing software as a service, the corresponding domain name information and associated information can be assigned to the corresponding user. Such information can be stored in the service proxy subcluster.

[0042] Specifically, after the target service proxy subcluster is determined, pre-configured target association information corresponding to the target domain name information may be retrieved from the target service proxy subcluster.

[0043] In this embodiment, the service proxy subcluster includes a proxy server, and the proxy server inherits an information retrieval script. The method of retrieving pre-configured target association information corresponding to the target domain name information from the target service proxy subcluster includes: obtaining the target domain name information in the business processing request based on the information retrieval script, and retrieving pre-configured target association information that matches the target domain name information.

[0044] Among them, the service proxy cluster includes at least one service proxy sub-cluster, each service proxy sub-cluster is composed of an nginx server, and a specific lua script can be deployed on the nginx server. The script can perform secondary processing on the business processing request to generate a target business processing request sent to the target processing service. The information retrieval script is a specific script deployed on the server. Based on the script, target association information matching the target domain name information can be obtained. The association information includes the authorization information provided by the software as a service platform to the user after the user purchases the corresponding service on the software as a service platform. The authorization information includes the store account, domain name information, tenant information, etc. This information is stored in the service proxy cluster.

[0045] Specifically, based on a specific script deployed in the proxy server, namely, an information retrieval script, the target domain name information in the business processing request can be obtained, and pre-stored target association information matching the target domain name information can be obtained from the target service proxy subcluster.

[0046] S130, generating a target business processing request based on the target domain name information and the target association information and sending it to the target gateway service, so that the target gateway service sends the target business processing request to the target business processing service, so that the target processing service processes the target business processing request and obtains target response data.

[0047] The target gateway service is a gateway corresponding to the method of the present embodiment. The target business processing request is a business processing request generated after processing the target domain name information and the target association information. The target business processing service is a server that executes the target business processing request and can feed back corresponding response data.

[0048] Specifically, by processing the target domain name information and the target association information, a target business processing request is obtained. When the target business processing request is obtained, the target business processing server corresponding to the target business processing request can be determined, so that the information between each authorized user is independent of each other, and the technical effect of processing the target business processing request is achieved.

[0049] In this embodiment, the target business processing request generated based on the target domain name information and the target association information is sent to the target gateway service, including: merging the target domain name information and the target association information to obtain a target business processing request; sending the target business processing request to the target gateway service, so as to send the target business processing request to the target business processing service based on the target gateway service.

[0050] Specifically, the acquired target domain name information and target association information can be merged to obtain the target business processing request. If the server currently processing the method is A, the target business processing request can be reverse-proxy-forwarded to the target service gateway A' corresponding to server A. The target business processing service is the server that processes the target business request. At this time, the target business processing service can obtain the relevant information in the target business processing request, and the login interceptor in the software as a service pre-configured for the target business processing service can obtain the relevant information, thereby realizing the processing of the target business processing request.

[0051] According to the technical solution of the embodiment of the present invention, after receiving a business processing request, the wildcard domain name resolution module can resolve the business processing request. If it is determined that the business processing request needs to be forwarded to the service proxy cluster, the request is forwarded to the service proxy cluster to retrieve the target association information adapted to the domain name information in the business processing request from the service proxy cluster, and generate a target business processing server corresponding to the target processing service based on the target association information and the business processing request, so that the target business processing server can execute the business processing request, thereby solving the problem in the prior art that when the domain name information is changed, the domain name changed by the device needs to be restarted to take effect, resulting in inconvenience for the business processing request. Furthermore, when an independent domain name system is adopted, it needs to be maintained separately, but when initiating a business processing request, it needs to pass through the same public domain name of the back end, and there is a cross-domain when processing the access request, resulting in a technical problem of inconvenience in information processing. It is realized that through wildcard domain name resolution, the domain name information can be modified and take effect immediately, and when a business processing request corresponding to the modified domain name is received, the business processing request can be processed, thereby improving the convenience and efficiency of processing business processing requests. On the basis of the above-mentioned technical solutions, the method also includes: if the target service proxy subcluster does not include the target association information corresponding to the target domain name information, calling the domain name management service to enable the domain name management service to determine whether to record the target association information corresponding to the target domain name information; if so, caching the target association information and the target domain name information stored in the target database to the target service proxy subcluster based on the domain name management service to obtain the target association information from the target service proxy subcluster; if not, generating an error message.

[0052] The domain name management service is a service that records the generated domain name information and related information after the user completes registration. After the domain name management service completes the recording, the domain name information and related information can be stored in the target database. The target database is a persistent database.

[0053] In this embodiment, the advantage of storing the registered information in the target database is that the target database is a persistent database, and when the data stored in other locations is lost, the corresponding associated data can be retrieved from the database.

[0054] Specifically, if the target association information corresponding to the target domain name information is not obtained from the target service proxy subcluster, the domain name management service can be returned to the source. Since the domain name management can record the corresponding data, it can be determined based on the domain name management service whether the target association information matching the target domain name information is recorded. If the target association information corresponding to the target domain name information is recorded in the domain name management service, the target association information can be obtained from the target database and cached in the target service proxy subcluster so as to obtain the target association information from the target service proxy subcluster. If not, an error message can be generated and fed back to the client.

[0055] Embodiment 2

[0056] Figure 2 Another flow chart of an information processing method provided by Embodiment 2 of the present invention. Based on the above embodiments, target association information corresponding to each domain name information can be pre-configured and / or set and cached, so that when a business processing request is received, target association information matching the target domain name information of the business processing request can be obtained from the cache. Among them, technical terms that are the same as or corresponding to the above embodiments are not repeated here.

[0057] like Figure 2 As shown, the method includes:

[0058] S210: Receive domain name information and associated information corresponding to at least one authorized user sent by a domain name information generation service.

[0059] Among them, the authorized user can be the user for whom the software as a service configures corresponding permissions after purchasing the software as a service. That is, the user who purchases the software as a service can be regarded as the authorized user. When the user purchases software as a service (SaaS), the corresponding account, such as the store ID, tenant, can be opened for the user on the public service platform module of the software as a service, and the corresponding permissions can be assigned to the authorized user. The domain name information generation service is a service in SaaS for generating store domain name information. The associated information is allocated based on the software as a service, and the associated information includes the account information, tenant information and permission information of the authorized user.

[0060] For example, the system for implementing the technical solution of this embodiment can be found in Figure 3, the authorized user can purchase the corresponding service, and the SaaS public service platform can unify the authorized user data, unauthorized user data, tenant data, etc. through the target business processing service, and create update and query services based on the relevant data. That is to say, after the user purchases the corresponding service in the SaaS micro mall, the SaaS public service platform can open the corresponding account and tenant data for the user, and grant the user the corresponding authority, and the user with the authority can be regarded as the authorized user. Usually, the authorized user is the user corresponding to the store opening. The authorized user can enter the relevant information required for the store through the one-click store opening function in the management background of the SaaS micro mall. The system opens the corresponding store for the authorized user and generates the corresponding domain name information for the authorized user (store), such as shopxxx.selling.cn. It should be noted that the generated domain name can be a double domain name, such as the generated store domain name is shopxxx.jd.com.selling.cn. After the corresponding domain name information is generated, data can be recorded through the interface of the domain name resolution module and the domain name management service. The domain name resolution module can cache such domain names as configuration information; the domain name management service can record the domain name information. The recorded domain name information can be persistently stored in the target database.

[0061] S220 . According to the pre-configured correspondence between the domain name information and the service proxy sub-cluster, the domain name information and the associated information are written into the corresponding service proxy sub-cluster in the target proxy cluster.

[0062] In this embodiment, before writing the domain name information and associated information into the corresponding service proxy subcluster in the target proxy cluster, it also includes: generating domain name information based on the domain name information. The domain name management service in the service records the domain name information and the corresponding associated information, and writes the domain name information and the associated information into the target database, so that when the target associated information is not obtained from the target service proxy subcluster, the domain name management service is called to enable the domain name management service to retrieve the target associated information from the target database.

[0063] It should be noted that in order to avoid data loss, when the association information and domain name information are written to the service sub-agent cluster, the data can be stored in the database.

[0064] The corresponding relationship between the domain name information and the service proxy sub-cluster can be pre-configured, based on which corresponding relationship the current domain name information corresponds to, and then the associated information of the current domain name information is stored in the corresponding service proxy sub-cluster. The domain name information and the associated information are stored in the target database.

[0065] Specifically, the domain name management service in the domain name information generation service can record the domain name information and the associated information corresponding to the domain name information, and store the domain name information and the associated information in the target database. At the same time, based on the correspondence between the pre-configured domain name information and the service proxy sub-cluster, the associated information can be stored in the corresponding service proxy sub-cluster.

[0066] For example, see Figure 3 , the domain name information and associated information can be written to the main cache node of the proxy service, the main cache node can be a jimdb main cache node, and the main cache node can synchronize the data to the corresponding service proxy subcluster, that is, the corresponding jimdb slave cache node. Optionally, the domain name information, associated information and store ID can be written to the main cache node, so that the main cache node synchronizes the cached information to the slave cache node, that is, the corresponding service proxy subcluster.

[0067] S230: Receive a service processing request after resolution based on the wildcard domain name, and determine a target service proxy subcluster according to target domain name information in the service processing request.

[0068] It should be noted that when a user needs to browse the store or purchase corresponding items in the store, the user can register and synchronize the information to the software as a service after registration to realize the processing of user registration account, tenant management and user login status information, see Figure 3 .

[0069] Specifically, when a user triggers a control in a personalized shopping mall homepage of a certain store, a corresponding business processing request can be generated. The business processing request can be resolved to the DNS server through the public network, and the business processing request is processed based on the domain name resolution module in the server to obtain the target domain name information. If the target domain name information is pre-configured domain name information, the target service proxy subcluster storing the target domain name information can be determined.

[0070] For example, see Figure 3 , the C-end (client) user can trigger the controls in the personalized mall homepage (xxxx.selling.cn) of the mini program merchant, and then the corresponding business processing request can be generated. The business processing request will first be resolved to the DNS server through the public network, and then enter the domain name resolution and routing system. The domain name resolution module can resolve the business processing request and obtain the target domain name information of the business processing request. For example, you can configure the pan-domain name resolution for the *.selling.cn domain name, so that all domain names ending with selling.cn will be routed to the target service proxy subcluster in the service proxy cluster.

[0071] S240: Retrieve pre-configured target association information corresponding to the target domain name information from the target service proxy subcluster.

[0072] For details, see Figure 3 The service proxy cluster consists of at least one nginx server. A specific lua script, namely, an information acquisition script, is deployed in each nginx server. The execution logic of the script can be: parsing the cookie of the business processing request and obtaining the target domain name information in the target business processing request. According to the target domain name information, the target service sub-proxy cluster corresponding to the domain name information is determined. The store account information, tenant information, etc. matching the target domain name information can be read from the target service sub-proxy cluster, and the information can be written into the cookie.

[0073] It should be noted that if the corresponding data is not obtained from the cookie, the domain name management service can be called back to the source to query the information. This is because the domain name management service can record the relevant information of the authorized user.

[0074] S250, generating a target business processing request based on the target domain name information and the target association information and sending it to the target gateway service, so that the target gateway service sends the target business processing request to the target business processing service, so that the target processing service processes the target business processing request and obtains target response data.

[0075] For details, see Figure 3 After reading relevant information from the target service sub-agent cluster, the domain name information and related information can be merged to obtain the target business processing request, and the request can be forwarded to the target gateway service based on the reverse proxy. The target gateway service can send the target business processing request to the target business processing server, and optionally forward it to the Haidian system, which includes the Haidian order system, Haidian product system, Haidian store system, and Haidian promotion system.

[0076] On the basis of the above technical solution, it should also be noted that when an authorized user changes his domain name information, his domain name information and related information can be updated to the service proxy cluster.

[0077] The technical solution of the embodiment of the present invention realizes unified management of domain name information by pre-writing the domain name information and related information of the authorized user into the service proxy cluster, and when receiving a business processing request, it can forward the request to the target proxy cluster according to the target domain name information in the business processing request to retrieve the target association information that matches the target domain name information, and forward it to the target processing service after merging the target association information and the target domain name information, thereby realizing the technical effect of quickly, conveniently and uniformly processing the business processing request.

[0078] Embodiment 3

[0079] Figure 4 This is a schematic diagram of the structure of an information processing device provided by Embodiment 3 of the present invention, such as Figure 4 As shown, the device includes: an agent sub-cluster determination module 310 , a correlation information acquisition module 320 and a response data determination module 330 .

[0080] Among them, the proxy subcluster determination module 310 is used to receive the business processing request based on the wildcard domain name resolution, and determine the target service proxy subcluster according to the target domain name information in the business processing request; the association information acquisition module 320 is used to retrieve the pre-configured target association information corresponding to the target domain name information from the target service proxy subcluster; wherein the service proxy cluster is used to store the domain name information and association information generated when each authorized user registers; the response data determination module 330 is used to send the target business processing request generated based on the target domain name information and the target association information to the target gateway service, so that the target gateway service sends the target business processing request to the target business processing service, so that the target processing service processes the target business processing request and obtains the target response data.

[0081] According to the technical solution of the embodiment of the present invention, after receiving a business processing request, the wildcard domain name resolution module can resolve the business processing request. If it is determined that the business processing request needs to be forwarded to the service proxy cluster, the request is forwarded to the service proxy cluster to retrieve the target association information adapted to the domain name information in the business processing request from the service proxy cluster, and generate a target business processing server corresponding to the target processing service based on the target association information and the business processing request, so that the target business processing server can execute the business processing request, which solves the problem that when the domain name information is changed, the domain name changed by the device needs to be restarted to take effect, resulting in inconvenience for the business processing request. Furthermore, when an independent domain name system is adopted, it needs to be maintained separately, but when the business processing request is initiated through the same public domain name of the backend, there is a cross-domain when processing the access request, resulting in the technical problem of inconvenience for information processing. It is realized that through wildcard domain name resolution, the domain name information can be modified and take effect immediately, and when the business processing request corresponding to the modified domain name is received, the business processing request can be processed, which improves the technical effect of convenience and efficiency in processing business processing requests. .

[0082] On the basis of the above basic scheme, the device further comprises:

[0083] A domain name management service calling module is used to call a domain name management service if the target service proxy subcluster does not include target association information corresponding to the target domain name information, so that the domain name management service determines whether to record the target association information corresponding to the target domain name information; if so, based on the domain name management service, cache the target association information and target domain name information stored in the target database to the target service proxy subcluster to obtain the target association information from the target service proxy subcluster; if not, feedback warning information.

[0084] On the basis of the above technical solutions, the device further includes:

[0085] An associated information receiving module is used to receive domain name information and associated information corresponding to at least one authorized user sent by a domain name information generation service; the associated information is allocated based on software as a service, and the associated information includes the account information, tenant information and permission information of the authorized user; an associated information writing module is used to write the domain name information and the associated information into the corresponding service proxy subcluster in the target proxy cluster according to the correspondence between the pre-configured domain name information and the service proxy subcluster.

[0086] On the basis of the above-mentioned technical solutions, the association information writing module, before being used to write the domain name information and the association information into the corresponding service proxy subcluster in the target proxy cluster, is also used to: record the domain name information and the corresponding association information based on the domain name management service in the domain name information generation service, and write the domain name information and the association information into the target database, so as to call the domain name management service when the target association information is not obtained from the target service proxy subcluster, so that the domain name management service can retrieve the target association information from the target database.

[0087] Based on the above technical solutions, the association information writing module is also used to: when it is detected that the domain name information corresponding to the account information has changed, send the updated domain name information to the service agent cluster based on the domain name management service to update it to the corresponding service agent sub-cluster.

[0088] Based on the above technical solutions, the proxy subcluster determination module, before receiving the service processing request based on the wildcard domain name resolution and determining the target service proxy subcluster according to the target domain name information in the service processing request, is further used to:

[0089] Based on the wildcard domain name resolution module, the business processing request generated based on the user's trigger operation is resolved to obtain the target field information; when the target field information is pre-configured field information, the target business processing request is sent to the target server so that the target server determines the target proxy subcluster corresponding to the target domain name information.

[0090] Based on the above-mentioned technologies, the associated information acquisition module is also used to: determine the target service proxy subcluster corresponding to the target domain name information according to the target domain name information in the business processing request, and route to the target service proxy subcluster in the service proxy cluster based on the routing module.

[0091] Based on the above technical solutions, the service proxy sub-cluster includes a target server and an information retrieval script, and the target association information acquisition module is also used to obtain the target domain name information in the business processing request based on the information retrieval script, and to retrieve the pre-configured target association information that matches the target domain name information.

[0092] On the basis of the above technical solutions, the response data determination module includes:

[0093] A business processing request determination unit is used to merge the target domain name information and the target association information to obtain a target business processing request; a target processing service determination unit is used to send the target business processing request to a target gateway service, so as to send the target business processing request to a target business processing service based on the target gateway service.

[0094] The information processing device provided by the embodiment of the present invention can execute the information processing method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0095] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.

[0096] Embodiment 4

[0097] Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Figure 5 A block diagram of an exemplary electronic device 40 suitable for implementing exemplary embodiments of the present invention is shown. Figure 5 The electronic device 40 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0098] like Figure 5 As shown, the electronic device 40 is in the form of a general computing device. The components of the electronic device 40 may include but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 connecting different system components (including the system memory 402 and the processing unit 401).

[0099] Bus 403 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0100] The electronic device 40 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 40, including volatile and non-volatile media, removable and non-removable media.

[0101] System memory 402 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 404 and / or cache memory 405. Electronic device 40 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 406 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 403 via one or more data medium interfaces. Memory 402 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of various embodiments of the present invention.

[0102] A program / utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 407 generally perform the functions and / or methods of the embodiments described herein.

[0103] The electronic device 40 may also communicate with one or more external devices 409 (e.g., keyboards, pointing devices, displays 410, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 40, and / or may communicate with any device that enables the electronic device 40 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 411. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 412. As shown, the network adapter 412 communicates with other modules of the electronic device 40 via the bus 403. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0104] The processing unit 401 executes various functional applications and data processing by running the programs stored in the system memory 402, such as implementing the information processing method provided by the embodiment of the present invention.

[0105] Embodiment 5

[0106] Embodiment 5 of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute an information processing method when executed by a computer processor.

[0107] The method includes:

[0108] Receiving a service processing request after wildcard domain name resolution, and determining a target service proxy subcluster according to target domain name information in the service processing request;

[0109] Retrieving pre-configured target association information corresponding to the target domain name information from the target service proxy sub-cluster; wherein the service proxy cluster is used to store the domain name information and association information generated when each authorized user registers;

[0110] A target business processing request is generated based on the target domain name information and the target association information and sent to a target gateway service, so that the target gateway service sends the target business processing request to a target business processing service, so that the target processing service processes the target business processing request and obtains target response data.

[0111] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0112] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0113] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0114] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0115] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. An information processing method, characterized in that: include: Receiving a service processing request after wildcard domain name resolution, and determining a target service proxy subcluster according to target domain name information in the service processing request; Retrieving pre-configured target association information corresponding to the target domain name information from the target service proxy sub-cluster; wherein the service proxy cluster is used to store the domain name information and association information generated when each authorized user registers; A target business processing request is generated based on the target domain name information and the target association information and sent to a target gateway service, so that the target gateway service sends the target business processing request to a target business processing service, so that the target business processing service processes the target business processing request and obtains target response data.

2. The method according to claim 1, characterized in that Also includes: If the target service proxy subcluster does not include the target association information corresponding to the target domain name information, calling the domain name management service so that the domain name management service determines whether to record the target association information corresponding to the target domain name information; If so, caching the target association information and the target domain name information stored in the target database to the target service proxy subcluster based on the domain name management service, so as to obtain the target association information from the target service proxy subcluster; If not, an error message is generated.

3. The method according to claim 1, characterized in that: Also includes: Receiving domain name information and associated information corresponding to at least one authorized user sent by a domain name information generation service; The association information is allocated based on software as a service, and the association information includes the account information, tenant information and permission information of the authorized user; According to the pre-configured correspondence between the domain name information and the service proxy sub-cluster, the domain name information and the association information are written into the corresponding service proxy sub-cluster in the target proxy cluster.

4. The method according to claim 3, characterized in that Before writing the domain name information and the association information into the corresponding service proxy sub-cluster in the target proxy cluster, the method further includes: The domain name management service in the domain name information generation service records the domain name information and the corresponding association information, and writes the domain name information and the association information into the target database, so that when the target association information is not obtained from the target service proxy subcluster, the domain name management service is called to enable the domain name management service to retrieve the target association information from the target database.

5. The method according to claim 3, characterized in that: After writing the domain name information and the association information into the corresponding service proxy sub-cluster in the target proxy cluster according to the correspondence between the pre-configured domain name information and the service proxy sub-cluster, the method further includes: When it is detected that the domain name information corresponding to the account information has changed, the updated domain name information is sent to the service proxy cluster based on the domain name management service to be updated to the corresponding service proxy sub-cluster.

6. The method according to claim 1, characterized in that Before receiving the service processing request after wildcard domain name resolution and determining the target service proxy subcluster according to the target domain name information in the service processing request, the method further includes: Parse the business processing request generated based on the user's trigger operation based on the wildcard domain name resolution module to obtain the target field information; When the target field information is pre-configured field information, the target domain name information in the target service processing request is acquired to determine a target service proxy subcluster corresponding to the target domain name information.

7. The method according to claim 1, characterized in that The determining the target service proxy subcluster according to the target domain name information in the business processing request includes: According to the target domain name information in the business processing request, a target service proxy subcluster corresponding to the target domain name information is determined, and routing is performed to the target service proxy subcluster in the service proxy cluster based on a routing module.

8. The method according to claim 1, characterized in that The service proxy subcluster includes a proxy server, and the proxy server inherits an information calling script, and the calling of the pre-configured target association information corresponding to the target domain name information from the target service proxy subcluster includes: The target domain name information in the business processing request is acquired based on the information retrieval script, and pre-configured target association information matching the target domain name information is retrieved.

9. The method according to claim 1, characterized in that: The generating a target service processing request based on the target domain name information and the target association information and sending it to the target gateway service includes: Merging the target domain name information and the target association information to obtain a target service processing request; The target business processing request is sent to a target gateway service, so that based on the target gateway service, the target business processing request is sent to a target business processing service.

10. An information processing device, characterized in that: include: The proxy subcluster determination module is used to receive a service processing request after resolution based on a wildcard domain name, and determine a target service proxy subcluster according to target domain name information in the service processing request; The associated information acquisition module is used to retrieve the pre-configured target associated information corresponding to the target domain name information from the target service proxy sub-cluster; wherein the service proxy cluster is used to store the domain name information and associated information generated when each authorized user registers; A response data determination module is used to generate a target business processing request based on the target domain name information and the target association information and send it to a target gateway service, so that the target gateway service sends the target business processing request to a target business processing service, so that the target business processing service processes the target business processing request and obtains target response data.

11. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the information processing method according to any one of claims 1 to 9.

12. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to perform the information processing method according to any one of claims 1 to 9 when executed by a computer processor.

Citation Information

Patent Citations

  • Application hosting method and system

    CN102916995A

  • Domain name hosting management method and device

    CN103501358A