Cloud network service information acquisition method and device, computer equipment and storage medium
Obtaining the cloud network service identifier and updating the situation through the DNS server, solving the service pressure and user satisfaction problems of the cloud network service provider, and achieving efficient service information synchronization and resource management.
Patent Information
- Application Number
- CN202411936861.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-01
AI Technical Summary
The cloud network service provider faces update pressure and a large number of user service pressures, resulting in poor service quality and user satisfaction.
Provide a method for obtaining cloud service information, responding to the user's service subscription request through the DNS server, obtaining the cloud service identity, and obtaining the update status of the target service based on the identity. In the case of update, the updated service information is sent to the user.
It effectively shares the service pressure on the provision side, improves service quality and user satisfaction, and reduces resource waste.
Smart Images

Figure CN119743517A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud network service technology, and specifically to a method, device, computer equipment and storage medium for obtaining cloud network service information. Background Art
[0002] The emergence of cloud computing technology provides a new service model, which provides users with extensive network access, fast elastic scaling, and on-demand autonomous services. It has great market application prospects. Based on cloud computing technology and network technology, users can be provided with more abundant cloud network services, such as cloud services, network services, and cloud network service technologies.
[0003] As the types and functions of cloud network services increase, the provider side also faces greater load pressure, that is, it has to face the pressure of updating cloud network services and the service pressure of a large number of users, resulting in poor cloud network service quality and user satisfaction. Summary of the invention
[0004] Based on this, it is necessary to provide a cloud network service information acquisition method, device, computer equipment and storage medium that can flexibly configure suppression threshold parameters to address the above technical problems.
[0005] In a first aspect, the present application provides a method for obtaining cloud network service information, which is applied to a DNS server, and the method includes:
[0006] Responding to a service subscription request sent by a user terminal, obtaining a cloud network service identifier;
[0007] According to the cloud network service identifier, obtain the update status of the target service pointed to by the cloud network service identifier;
[0008] When the update status is updated, the service information of the updated target service is sent to the user end.
[0009] In one embodiment, obtaining, according to the cloud network service identifier, an update status of a target service pointed to by the cloud network service identifier includes:
[0010] According to the cloud network service identifier, obtain the service information of the target service pointed to by the cloud network service identifier;
[0011] After sending the service information of the target service to the user end, the update status of the target service pointed to by the cloud network service identifier is obtained.
[0012] In one embodiment, obtaining the update status of the target service pointed to by the cloud network service identifier includes:
[0013] Receive a service update message carrying a candidate service identifier sent by a provider;
[0014] According to the matching status of the candidate service identifier and the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is determined.
[0015] In one embodiment, when the update status is updated, sending the updated service information of the target service to the user terminal includes:
[0016] When the update status is updated, obtaining the updated resource record information of the target service from the service update message;
[0017] Determine the updated service information of the target service according to the resource record information;
[0018] The updated service information of the target service is sent to the user end.
[0019] In one of the embodiments, the resource record information includes first resource record information and second resource record information;
[0020] The first resource record information includes instance information, service resource information and domain name information of the updated target service; the second resource record information includes parameter information of the updated target service.
[0021] In one embodiment, in response to a service subscription request sent by a user terminal, obtaining a cloud network service identifier includes:
[0022] Responding to a service subscription request sent by a user terminal, obtaining service description information;
[0023] Determine the cloud network service identifier based on the user's historical subscription records and service description information.
[0024] In a second aspect, the present application provides a cloud network service information acquisition device, which is configured on a DNS server, and the device includes:
[0025] A first acquisition module, configured to obtain a cloud network service identifier in response to a service subscription request sent by a user terminal;
[0026] The second acquisition module is used to obtain the update status of the target service pointed to by the cloud network service identifier according to the cloud network service identifier;
[0027] The sending module is used to send the service information of the updated target service to the user end when the update status is updated.
[0028] In a third aspect, the present application further provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:
[0029] Responding to a service subscription request sent by a user terminal, obtaining a cloud network service identifier;
[0030] According to the cloud network service identifier, obtain the update status of the target service pointed to by the cloud network service identifier;
[0031] When the update status is updated, the service information of the updated target service is sent to the user end.
[0032] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0033] Responding to a service subscription request sent by a user terminal, obtaining a cloud network service identifier;
[0034] According to the cloud network service identifier, obtain the update status of the target service pointed to by the cloud network service identifier;
[0035] When the update status is updated, the service information of the updated target service is sent to the user end.
[0036] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0037] Responding to a service subscription request sent by a user terminal, obtaining a cloud network service identifier;
[0038] According to the cloud network service identifier, obtain the update status of the target service pointed to by the cloud network service identifier;
[0039] When the update status is updated, the service information of the updated target service is sent to the user end.
[0040] The above-mentioned cloud network service information acquisition method, device, computer equipment and storage medium obtain the cloud network service identifier in response to the service subscription request sent by the user end. According to the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is obtained. When the update status is updated, the service information of the updated target service is sent to the user end. After receiving the service subscription request sent by the user end, the DNS server of the present application obtains the cloud network service identifier. And according to the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is obtained. Only when the update status is updated, the service information of the updated target service is sent to the user end. The present application can effectively share the service pressure of the provider end based on the DNS server, and can effectively improve the service quality, thereby improving user satisfaction. In addition, the present application also provides users with a subscription service for the cloud network service based on the DNS server. After the target service is updated, the updated service information of the target service is only sent to the user end that has subscribed to the target service, which also reduces resource waste. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 An application environment diagram of a cloud network service information acquisition method provided in this embodiment;
[0042] Figure 2 A flowchart of the first cloud network service information acquisition method provided in this embodiment;
[0043] Figure 3 A schematic diagram of a process for obtaining the update status of the target service pointed to by the cloud network service identifier provided in this embodiment;
[0044] Figure 4 A schematic diagram of a process for determining the update status of a target service pointed to by a cloud network service identifier provided in this embodiment;
[0045] Figure 5 A schematic diagram of a process for determining service information of an updated target service provided in this embodiment;
[0046] Figure 6 A flowchart of a third method for obtaining cloud network service information provided in this embodiment;
[0047] Figure 7 A structural block diagram of a cloud network service information acquisition device provided in this embodiment;
[0048] Figure 8 This is a diagram of the internal structure of the computer device provided in this embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] The cloud network service information acquisition method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in FIG. 1 , the DNS server 104 obtains the cloud network service identifier in response to the service subscription request sent by the user terminal 102. The DNS server 104 obtains the update status of the target service pointed to by the cloud network service identifier according to the cloud network service identifier. If the update status is updated, the DNS server 104 sends the service information of the updated target service to the user terminal 102.
[0051] Among them, the DNS (Domain Name System) server is also called the DNS authoritative domain name server. In this application, the DNS server mainly plays the role of the cloud network service information publisher, which can reduce the service pressure on the provider side.
[0052] The user end refers to the terminal device of the party in need, that is, the user's terminal device, for example, it can be a smart terminal device such as a mobile phone or a computer.
[0053] In one embodiment, Figure 2 is a flow chart of a method for obtaining cloud network service information according to an embodiment of the present application, and the method is applied to Figure 1 Taking the OLT device in the example as an example, the method includes the following steps:
[0054] S201, in response to a service subscription request sent by a user terminal, obtain a cloud network service identifier.
[0055] The user end refers to the terminal device of the party in need, that is, the user's terminal device, such as a mobile phone, computer and other smart terminal devices. The service subscription request refers to a request message for ordering the target service. The target service refers to the cloud network service requested by the user end, which can be a network service, cloud service or cloud network service. The cloud network service identifier refers to the service identifier of the target service requested by the user end, which can be the domain name, IP address, name or other unique identifier of the target service.
[0056] As an optional implementation of the embodiment of the present application, in response to a service subscription request sent by the user end, the service subscription request is parsed to obtain a cloud network service identifier, wherein the service subscription request carries a cloud network service identifier (eg, domain name, service name, etc.).
[0057] As another optional implementation of the embodiment of the present application, in response to the service subscription request sent by the user end, the service description information is obtained. According to the historical subscription record and service description information of the user end, the cloud network service identifier is determined. This embodiment is mainly used in the case where the service subscription request does not carry the cloud network service identifier. In response to the service subscription request sent by the user end, the service subscription request is parsed to obtain the service description information. According to the historical subscription record and service description information of the user end, the cloud network service identifier is determined.
[0058] As another optional implementation of the embodiment of the present application, the user terminal establishes a DSO (Digital Storage Oscilloscope) session with the DNS server, and after the DSO session is successfully established, the cloud network service identifier is obtained in response to the service subscription request sent by the user terminal.
[0059] In this embodiment, an optional implementation method for determining the cloud network service identifier based on the user's historical subscription records and service description information is to input the user's historical subscription records and service description information into an intelligent analysis tool, and the intelligent analysis tool determines the target service. Then, the cloud network service identifier of the target service is obtained. Among them, the intelligent analysis tool can use but is not limited to a neural network model.
[0060] In this embodiment, another optional implementation method of determining the cloud network service identifier based on the user's historical subscription record and service description information is to determine the candidate service from all cloud network services based on the service description information and the service function information of all cloud network services. Then, based on the user's historical subscription record, determine the target service from the candidate services, and then determine the cloud network service identifier of the target service. For example, select a recently subscribed candidate service from the candidate services as the target service based on the user's historical subscription record.
[0061] S202, according to the cloud network service identifier, obtain the update status of the target service pointed to by the cloud network service identifier.
[0062] The update status refers to the update status of the target service, specifically refers to the version update of the target service.
[0063] As an optional implementation of the embodiment of the present application, the target service is determined according to the cloud network service identifier, and a query request is sent to the provider to obtain the update status of the target service pointed to by the cloud network service identifier.
[0064] Another optional implementation of the embodiment of the present application is to send an update subscription request for the target service to the provider, so that the provider, based on the update subscription request, feeds back to the DNS server the update status of the target service pointed to by the cloud network service identifier.
[0065] The provider refers to the service provider of the target service. In this embodiment, the provider may be a server or a service platform of the service provider.
[0066] S203: When the update status is that the target service has been updated, the service information of the updated target service is sent to the user end.
[0067] The service information refers to the service information of the target service, including but not limited to service instance information and related parameter information.
[0068] Optionally, in this embodiment, when the update status is updated, an information acquisition request is sent to the provider, so that the provider sends the updated service information of the target service to the DNS server based on the information acquisition request. The DNS server sends the updated service information of the target service to the user.
[0069] The above-mentioned cloud network service information acquisition method obtains the cloud network service identifier in response to the service subscription request sent by the user end. According to the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is obtained. When the update status is updated, the service information of the updated target service is sent to the user end. After receiving the service subscription request sent by the user end, the DNS server of the present application obtains the cloud network service identifier. And according to the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is obtained. Only when the update status is updated, the service information of the updated target service is sent to the user end. The present application can effectively share the service pressure of the provider end based on the DNS server, and can effectively improve the service quality, thereby improving user satisfaction. In addition, the present application also provides users with a subscription service for the cloud network service based on the DNS server. After the target service is updated, the updated service information of the target service is only sent to the user end that has subscribed to the target service, which also reduces resource waste.
[0070] In one embodiment, in order to enable the user end to use the target service normally, such as Figure 3 As shown, an optional implementation method of obtaining the update status of the target service pointed to by the cloud network service identifier in S202 according to the cloud network service identifier includes:
[0071] S301, according to the cloud network service identifier, obtain service information of the target service pointed to by the cloud network service identifier.
[0072] As an optional implementation of the embodiment of the present application, according to the cloud network service identifier, the service information of the target service pointed to by the cloud network service identifier is obtained locally, wherein the service information of the target service is stored in the DNS server.
[0073] Another optional implementation of the embodiment of the present application is to send an information acquisition request to the provider according to the cloud network service identifier, so that the provider feeds back the service information of the target service to the DNS server based on the information acquisition request.
[0074] S302, after sending the service information of the target service to the user end, obtain the update status of the target service pointed to by the cloud network service identifier.
[0075] In this embodiment, the service information of the target service pointed to by the cloud network service identifier is obtained according to the cloud network service identifier. After sending the service information of the target service to the user end, the update status of the target service pointed to by the cloud network service identifier is obtained. In this embodiment, after the user end initiates a service subscription request, the service information of the target service is first sent to the user end so that the user end can use the target service normally. On this basis, the update status of the target service pointed to by the cloud network service identifier is obtained to realize timely feedback of the updated service information of the target service to the user end.
[0076] In one embodiment, in order to more efficiently obtain the update status of the cloud network service, such as Figure 4 As shown, an optional implementation of obtaining the update status of the target service pointed to by the cloud network service identifier in S202 includes:
[0077] S401: Receive a service update message carrying a candidate service identifier sent by a provider.
[0078] The service update message refers to the update message sent by the provider after the candidate service is updated. The candidate service identifier refers to the service identifier of the candidate cloud network service.
[0079] Optionally, in this embodiment, after updating the candidate cloud network service, the provider directly sends a service update message carrying the candidate service identifier to the DNS server. Specifically, after updating the candidate cloud network service, the provider directly sends a service update message carrying the candidate service identifier to the DNS server based on the DNSUpdate protocol. After receiving the service update message, the DNS server sends a response message to the provider.
[0080] S402: Determine the update status of the target service pointed to by the cloud network service identifier according to the matching status of the candidate service identifier and the cloud network service identifier.
[0081] As an optional implementation of the embodiment of the present application, when the candidate service identifier and the cloud network service identifier are matched successfully, the update status of the target service pointed to by the cloud network service identifier is updated.
[0082] As another optional implementation of the embodiment of the present application, when the match between the candidate service identifier and the cloud network service identifier fails, the update status of the target service pointed to by the cloud network service identifier is not updated.
[0083] In this embodiment, a service update message carrying a candidate service identifier is received from the provider. According to the matching of the candidate service identifier and the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is determined. In other words, after updating the candidate service, the provider will directly send a service update message corresponding to the candidate service to the DNS server, so that the DNS server can obtain the service update information of each candidate service in a timely manner, thereby improving the efficiency of the DNS server in obtaining service update messages. The efficiency and accuracy of the DNS server in determining the update status of the target service are increased. In this embodiment, the provider is only responsible for sending the service information of all cloud network services to the DNS server, and after the cloud network service is updated, the updated service information of the cloud network service is sent to the DNS server, and the DNS server sends the updated service information of the cloud network service to the user end that has subscribed to the cloud network service, which not only effectively shares the service pressure of the provider, but also improves the synchronization efficiency of the updated service information of the cloud network service to the user end, thereby improving user satisfaction.
[0084] Based on the above embodiments, Figure 5 As shown, an optional implementation of S203 includes:
[0085] S501: When the update status is updated, obtain updated resource record information of the target service from the service update message.
[0086] The resource record information refers to the updated resource information of the target service.
[0087] Optionally, the resource record information includes but is not limited to the first resource record information including the instance information, service resource information and domain name information of the updated target service. The second resource record information includes the parameter information of the updated target service.
[0088] Optionally, in this embodiment, the first resource record information is SRV (Subscriber Stratum Radio-Interface Virtualization, user layer radio frequency interface virtualization technology) resource record information, that is, resource record information encapsulated in SRV format. Specifically, the format of the first resource record information is "<Instance>.<Service>.<Domain>"
[0089] The instance is the instance information, which mainly carries other parameter information and the host name of the actual execution service program. The underscore is used as a separator in the middle. The format is: hostname_ <parameters>Service is service resource information, and its format is Service._Protocol. Service indicates the name of the cloud network service, which is usually Cloud, Network, Telecloud, etc. Protocol indicates the transmission protocol used by the cloud network service. If TCP is used, it is marked as _TCP, and if it is not TCP, it is named as _UDP. Domain name is domain name information, which is consistent with the traditional DNS specification (RFC1035).
[0090] Optionally, the second resource record information is TXT (Text File, text file) resource record information, that is, resource record information in TXT format. TXT resource record information is in the form of key-value pairs ( <key> = <value>) (refer to RFC6763) to record parameter information of the target service.
[0091] in, <key>Keywords that represent published information, such as "IPv4 address", "IPv6 address", "SID", "Latency", etc. <value>Indicates the value corresponding to the keyword, such as "192.10.0.1", "FE80::", "2001:D8:ABCD::1", "5s", etc.
[0092] In this embodiment, lightweight representation of service information is achieved, the burden of sending service information is reduced, and the efficiency of information sending is improved.
[0093] S502: Determine updated service information of the target service according to the resource record information.
[0094] As an optional implementation of the embodiment of the present application, the resource record information is used as the service information of the updated target service.
[0095] Another optional implementation of the embodiment of the present application is to parse and extract the resource record information to obtain the updated service information of the target service.
[0096] S503: Send the updated service information of the target service to the user terminal.
[0097] In this embodiment, when the update status is updated, the resource record information of the updated target service is obtained from the service update message. According to the resource record information, the service information of the updated target service is determined. The service information of the updated target service is sent to the user end. Among them, the resource record information includes the first resource record information and the second resource record information; among them, the first resource record information includes the instance information, service resource information and domain name information of the updated target service; the second resource record information includes the parameter information of the updated target service. Not only the lightweight representation of the service information of the target service is achieved, but also the efficient synchronization of the service information of the updated target service is improved.
[0098] In one embodiment, if Figure 6 As shown, another optional implementation of a cloud network service information acquisition method includes:
[0099] S601, in response to a service subscription request sent by a user terminal, obtaining service description information.
[0100] S602, determining the cloud network service identifier according to the historical subscription record and service description information of the user terminal.
[0101] S603: According to the cloud network service identifier, obtain service information of the target service pointed to by the cloud network service identifier.
[0102] S604: Send service information of the target service to the user terminal.
[0103] S605: Receive a service update message carrying a candidate service identifier sent by the provider.
[0104] S606: Determine the update status of the target service pointed to by the cloud network service identifier according to the matching status of the candidate service identifier and the cloud network service identifier.
[0105] S607, when the update status is updated, obtain the updated resource record information of the target service from the service update message. The resource record information includes first resource record information and second resource record information; the first resource record information includes instance information, service resource information and domain name information of the updated target service; the second resource record information includes parameter information of the updated target service.
[0106] S608: Determine the updated service information of the target service according to the resource record information.
[0107] S609: Send the updated service information of the target service to the user end.
[0108] In this embodiment, in response to a service subscription request sent by a user terminal, a cloud network service identifier is obtained. Based on the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is obtained. When the update status is updated, the service information of the updated target service is sent to the user terminal. After receiving the service subscription request sent by the user terminal, the DNS server of the present application obtains the cloud network service identifier. And based on the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is obtained. Only when the update status is updated, the service information of the updated target service is sent to the user terminal. The present application can effectively share the service pressure of the provider based on the DNS server, effectively improve the service quality, and thus improve user satisfaction. In addition, the present application also provides users with a subscription service for the cloud network service based on the DNS server. After the target service is updated, the service information of the updated target service is only sent to the user terminal that has subscribed to the target service, which also reduces resource waste.
[0109] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0110] Based on the same inventive concept, the embodiment of the present application also provides a cloud network service information acquisition device for implementing the cloud network service information acquisition method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more cloud network service information acquisition device embodiments provided below can refer to the limitations of the cloud network service information acquisition method above, and will not be repeated here.
[0111] In one embodiment, by Figure 7 FIG. 1 shows a structural block diagram of a cloud network service information acquisition device in an embodiment. Figure 7 As shown, a cloud network service information acquisition device 1 is provided, the device comprising: a first acquisition module 10, a second acquisition module 20 and a sending module 30, wherein:
[0112] The first acquisition module 10 is used to obtain a cloud network service identifier in response to a service subscription request sent by a user terminal;
[0113] The second acquisition module 20 is used to obtain the update status of the target service pointed to by the cloud network service identifier according to the cloud network service identifier;
[0114] The sending module 30 is used to send the updated service information of the target service to the user end when the update status is updated.
[0115] The above-mentioned cloud network service information acquisition device obtains the cloud network service identifier in response to the service subscription request sent by the user end. According to the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is obtained. When the update status is updated, the service information of the updated target service is sent to the user end. After receiving the service subscription request sent by the user end, the DNS server of the present application obtains the cloud network service identifier. And according to the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is obtained. Only when the update status is updated, the service information of the updated target service is sent to the user end. The present application can effectively share the service pressure of the provider end based on the DNS server, and can effectively improve the service quality, thereby improving user satisfaction. In addition, the present application also provides users with a subscription service for the cloud network service based on the DNS server. After the target service is updated, the updated service information of the target service is only sent to the user end that has subscribed to the target service, which also reduces resource waste.
[0116] In one embodiment, the Figure 7 The second acquisition module 20 is further specifically used for:
[0117] According to the cloud network service identifier, obtain the service information of the target service pointed to by the cloud network service identifier;
[0118] After sending the service information of the target service to the user end, the update status of the target service pointed to by the cloud network service identifier is obtained.
[0119] In one embodiment, the Figure 7 The second acquisition module 20 is further specifically used for:
[0120] Receive a service update message carrying a candidate service identifier sent by a provider;
[0121] According to the matching status of the candidate service identifier and the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is determined.
[0122] In one embodiment, the Figure 7 The sending module 30 is also specifically used for:
[0123] When the update status is updated, obtaining the updated resource record information of the target service from the service update message;
[0124] Determine the updated service information of the target service according to the resource record information;
[0125] The updated service information of the target service is sent to the user end.
[0126] In one of the embodiments, the resource record information includes first resource record information and second resource record information;
[0127] The first resource record information includes instance information, service resource information and domain name information of the updated target service; the second resource record information includes parameter information of the updated target service.
[0128] In one embodiment, the Figure 7 The first acquisition module 10 is further specifically used for:
[0129] Responding to a service subscription request sent by a user terminal, obtaining service description information;
[0130] Determine the cloud network service identifier based on the user's historical subscription records and service description information.
[0131] Each module in the above-mentioned cloud network service information acquisition device can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0132] In one embodiment, a computer device is provided. The computer device may be a platform side, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory and a network interface connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store information related to cloud network services. The network interface of the computer device is used to communicate with an external user side through a network connection. When the computer program is executed by the processor, a method for obtaining cloud network service information is implemented.
[0133] Those skilled in the art will understand that Figure 8 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. Specifically, the computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0134] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0135] Responding to a service subscription request sent by a user terminal, obtaining a cloud network service identifier;
[0136] According to the cloud network service identifier, obtain the update status of the target service pointed to by the cloud network service identifier;
[0137] When the update status is updated, the service information of the updated target service is sent to the user end.
[0138] In one embodiment, when the processor executes the computer program, the following steps are further implemented: according to the cloud network service identifier, obtaining the update status of the target service pointed to by the cloud network service identifier, including:
[0139] According to the cloud network service identifier, obtain the service information of the target service pointed to by the cloud network service identifier;
[0140] After sending the service information of the target service to the user end, the update status of the target service pointed to by the cloud network service identifier is obtained.
[0141] In one embodiment, when the processor executes the computer program, the following steps are further implemented: obtaining the update status of the target service pointed to by the cloud network service identifier, including:
[0142] Receive a service update message carrying a candidate service identifier sent by a provider;
[0143] According to the matching status of the candidate service identifier and the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is determined.
[0144] In one embodiment, when the processor executes the computer program, the following steps are further implemented: when the update status is updated, sending the updated service information of the target service to the user end, including:
[0145] When the update status is updated, obtaining the updated resource record information of the target service from the service update message;
[0146] Determine the updated service information of the target service according to the resource record information;
[0147] The updated service information of the target service is sent to the user end.
[0148] In one embodiment, when the processor executes the computer program, the following steps are further implemented: the resource record information includes first resource record information and second resource record information;
[0149] The first resource record information includes instance information, service resource information and domain name information of the updated target service; the second resource record information includes parameter information of the updated target service.
[0150] In one embodiment, when the processor executes the computer program, the following steps are further implemented: in response to a service subscription request sent by the user end, obtaining a cloud network service identifier includes:
[0151] Responding to a service subscription request sent by a user terminal, obtaining service description information;
[0152] Determine the cloud network service identifier based on the user's historical subscription records and service description information.
[0153] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0154] Responding to a service subscription request sent by a user terminal, obtaining a cloud network service identifier;
[0155] According to the cloud network service identifier, obtain the update status of the target service pointed to by the cloud network service identifier;
[0156] When the update status is updated, the service information of the updated target service is sent to the user end.
[0157] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: according to the cloud network service identifier, obtaining the update status of the target service pointed to by the cloud network service identifier, including:
[0158] According to the cloud network service identifier, obtain the service information of the target service pointed to by the cloud network service identifier;
[0159] After sending the service information of the target service to the user end, the update status of the target service pointed to by the cloud network service identifier is obtained.
[0160] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining the update status of the target service pointed to by the cloud network service identifier, including:
[0161] Receive a service update message carrying a candidate service identifier sent by a provider;
[0162] According to the matching status of the candidate service identifier and the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is determined.
[0163] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the update status is updated, sending the updated service information of the target service to the user end, including:
[0164] When the update status is updated, obtaining the updated resource record information of the target service from the service update message;
[0165] Determine the updated service information of the target service according to the resource record information;
[0166] The updated service information of the target service is sent to the user end.
[0167] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: the resource record information includes first resource record information and second resource record information;
[0168] The first resource record information includes instance information, service resource information and domain name information of the updated target service; the second resource record information includes parameter information of the updated target service.
[0169] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: in response to a service subscription request sent by the user end, obtaining a cloud network service identifier includes:
[0170] Responding to a service subscription request sent by a user terminal, obtaining service description information;
[0171] Determine the cloud network service identifier based on the user's historical subscription records and service description information.
[0172] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0173] Responding to a service subscription request sent by a user terminal, obtaining a cloud network service identifier;
[0174] According to the cloud network service identifier, obtain the update status of the target service pointed to by the cloud network service identifier;
[0175] When the update status is updated, the service information of the updated target service is sent to the user end.
[0176] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: according to the cloud network service identifier, obtaining the update status of the target service pointed to by the cloud network service identifier, including:
[0177] According to the cloud network service identifier, obtain the service information of the target service pointed to by the cloud network service identifier;
[0178] After sending the service information of the target service to the user end, the update status of the target service pointed to by the cloud network service identifier is obtained.
[0179] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining the update status of the target service pointed to by the cloud network service identifier, including:
[0180] Receive a service update message carrying a candidate service identifier sent by a provider;
[0181] According to the matching status of the candidate service identifier and the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is determined.
[0182] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the update status is updated, sending the updated service information of the target service to the user end, including:
[0183] When the update status is updated, obtaining the updated resource record information of the target service from the service update message;
[0184] Determine the updated service information of the target service according to the resource record information;
[0185] The updated service information of the target service is sent to the user end.
[0186] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: the resource record information includes first resource record information and second resource record information;
[0187] The first resource record information includes instance information, service resource information and domain name information of the updated target service; the second resource record information includes parameter information of the updated target service.
[0188] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: in response to a service subscription request sent by the user end, obtaining a cloud network service identifier includes:
[0189] Responding to a service subscription request sent by a user terminal, obtaining service description information;
[0190] Determine the cloud network service identifier based on the user's historical subscription records and service description information.
[0191] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0192] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0193] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.< / value> < / key> < / value> < / key> < / parameters>
Claims
1. A method for obtaining cloud network service information, characterized in that: Applied to a domain name system DNS server, the method comprises: Responding to a service subscription request sent by a user terminal, obtaining a cloud network service identifier; According to the cloud network service identifier, obtaining the update status of the target service pointed to by the cloud network service identifier; When the update status is updated, the service information of the updated target service is sent to the user terminal.
2. The method according to claim 1, characterized in that The obtaining, according to the cloud network service identifier, an update status of a target service pointed to by the cloud network service identifier includes: According to the cloud network service identifier, obtain service information of the target service pointed to by the cloud network service identifier; After sending the service information of the target service to the user terminal, the update status of the target service pointed to by the cloud network service identifier is obtained.
3. The method according to claim 1 or 2, characterized in that: The obtaining the update status of the target service pointed to by the cloud network service identifier includes: Receive a service update message carrying a candidate service identifier sent by a provider; According to the matching status of the candidate service identifier and the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier is determined.
4. The method according to claim 3, characterized in that: When the update status is updated, sending the updated service information of the target service to the user terminal includes: When the update status is updated, obtaining the updated resource record information of the target service from the service update message; Determining updated service information of the target service according to the resource record information; The updated service information of the target service is sent to the user terminal.
5. The method according to claim 4, characterized in that The resource record information includes first resource record information and second resource record information; The first resource record information includes instance information, service resource information and domain name information of the updated target service; the second resource record information includes parameter information of the updated target service.
6. The method according to claim 1, characterized in that The step of obtaining a cloud network service identifier in response to a service subscription request sent by a user terminal includes: Responding to a service subscription request sent by a user terminal, obtaining service description information; Determine the cloud network service identifier according to the historical subscription record of the user terminal and the service description information.
7. A cloud network service information acquisition device, characterized in that: Configured in a DNS server, the device comprises: A first acquisition module, configured to obtain a cloud network service identifier in response to a service subscription request sent by a user terminal; A second acquisition module is used to acquire, according to the cloud network service identifier, the update status of the target service pointed to by the cloud network service identifier; The sending module is used to send the service information of the updated target service to the user terminal when the update status is updated.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method for actively pushing update to client by DNS server
CN110855466A
Service subscription method and device, service providing network element and storage medium
CN116321110A
Message pushing method and system, medium and electronic equipment
CN117155998A
Communication method and apparatus for service awareness network, and communication device
WO2024230226A1