Domain name data processing method and device, electronic equipment and storage medium
By selecting a subset of domains from the domain list and outputting them based on information and rules, the problem of poor user experience caused by the simple domain display sorting strategy is solved, achieving more efficient and accurate domain output.
Patent Information
- Application Number
- CN202111669943.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2041-12-30
AI Technical Summary
Existing domain name display sorting strategies are too simplistic, resulting in a poor user experience.
Select the first part of the domain names from the domain name list, obtain the domain name information from the server, and select the second part of the domain names from them based on preset rules for output.
By using dynamic sorting strategies, we can improve the efficiency and accuracy of domain name output and enhance the user experience.
Smart Images

Figure CN114329217B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, further to cloud services, and particularly to domain name data processing methods, apparatus, electronic devices, and storage media. Background Technology
[0002] During resource display on the client side, it is often necessary to prioritize resources. If the resource list provided by the server only includes resource names, the client cannot determine the resource priority; if the resource list includes both resource names and resource data, the loading and sorting of resources will take too long. Therefore, those skilled in the art are constantly exploring various dynamic client-side sorting strategies.
[0003] One related technology offers a method for displaying domain names where the server pre-sorts the domain names based on the popularity of their suffixes, and the client retrieves the sorted list and displays them in order. However, this method has drawbacks: the sorting strategy is too simplistic and cannot be dynamically personalized based on the user, resulting in a poor user experience.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This disclosure provides a domain name data processing method, apparatus, electronic device, and storage medium to at least solve the technical problem of poor user experience caused by overly simplistic domain name display sorting strategies in the prior art.
[0006] According to one embodiment of this disclosure, a domain name data processing method is provided, comprising: selecting a first part of domain names from a domain name list, wherein the domain name list records multiple domain names and the domain name list is stored in a first storage area on a terminal device; obtaining domain name information of some or all of the domain names in the first part of domain names from a server; selecting a second part of domain names from the first part of domain names based on the domain name information and a first preset domain name output rule; and outputting the second part of domain names.
[0007] According to one embodiment of this disclosure, a domain name data processing apparatus is also provided, comprising: a first selection module, configured to select a first portion of domain names from a domain name list, wherein the domain name list records multiple domain names and the domain name list is stored in a first storage area locally on a terminal device; an acquisition module, configured to acquire domain name information of some or all of the domain names in the first portion of domain names from a server; a second selection module, configured to select a second portion of domain names from the first portion of domain names based on the domain name information and a first preset domain name output rule; and an output module, configured to output the second portion of domain names.
[0008] According to one embodiment of the present disclosure, an electronic device is also provided, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the domain name data processing method proposed in the present disclosure.
[0009] According to one embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to cause a computer to execute the domain name data processing method proposed in the present disclosure.
[0010] According to one embodiment of this disclosure, a computer program product is also provided, including a computer program that, when executed by a processor, implements the domain name data processing method proposed in this disclosure.
[0011] In the embodiments of this disclosure, a first part of the domain names is selected from the domain name list, wherein the domain name list records multiple domain names and is stored in a first storage area on the local device of the terminal device; domain name information of some or all of the domain names in the first part of the domain names is obtained from the server; a second part of the domain names is selected from the first part of the domain names based on the domain name information and a first preset domain name output rule, and then the second part of the domain names is output. This achieves the purpose of outputting domain names through a dynamic sorting strategy, realizes the technical effect of improving the efficiency and accuracy of domain name output, and solves the technical problem in related technologies where the domain name display sorting strategy is too simple, resulting in a poor user experience.
[0012] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0013] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0014] Figure 1 This is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a domain name data processing method according to an embodiment of the present disclosure;
[0015] Figure 2 This is a flowchart of a domain name data processing method provided according to an embodiment of the present disclosure.
[0016] Figure 3 This is a structural block diagram of a domain name data processing apparatus provided according to an embodiment of the present disclosure;
[0017] Figure 4This is a structural block diagram of another domain name data processing apparatus provided according to an embodiment of the present disclosure;
[0018] Figure 5 This is a structural block diagram of another domain name data processing apparatus provided according to an embodiment of the present disclosure;
[0019] Figure 6 This is a structural block diagram of another domain name data processing apparatus provided according to an embodiment of the present disclosure; Detailed Implementation
[0020] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0021] The acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0023] According to embodiments of this disclosure, a domain name data processing method is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0024] The method embodiments provided in this disclosure can be performed in a mobile terminal, computer terminal, or similar electronic device. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the disclosure described and / or claimed herein. Figure 1 This is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a domain name data processing method according to an embodiment of the present disclosure.
[0025] like Figure 1 As shown, the computer terminal 100 includes a computing unit 101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 102 or a computer program loaded from a storage unit 108 into a random access memory (RAM) 103. The RAM 103 may also store various programs and data required for the operation of the computer terminal 100. The computing unit 101, ROM 102, and RAM 103 are interconnected via a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.
[0026] Multiple components in the computer terminal 100 are connected to the I / O interface 105, including: an input unit 106, such as a keyboard and mouse; an output unit 107, such as various types of displays and speakers; a storage unit 108, such as a hard disk and optical disk; and a communication unit 109, such as a network interface card (NIC), a modem, or a wireless transceiver. The communication unit 109 allows the computer terminal 100 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0027] The computing unit 101 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 101 executes the domain name data processing method described herein. For example, in some embodiments, the domain name data processing method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 108. In some embodiments, part or all of the computer program may be loaded and / or installed on the computer terminal 100 via ROM 102 and / or communication unit 109. When the computer program is loaded into RAM 103 and executed by the computing unit 101, one or more steps of the method for locating a faulty hard disk described herein may be performed. Alternatively, in other embodiments, the computing unit 101 may be configured to execute the method for locating a faulty hard disk by any other suitable means (e.g., by means of firmware).
[0028] Various implementations of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transferring data and instructions to the storage system, the at least one input device, and the at least one output device.
[0029] It should be noted here that, in some optional embodiments, the above... Figure 1 The electronic device shown may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that... Figure 1 This is only one instance of a specific particular example, and is intended to illustrate the types of components that may exist in the aforementioned electronic devices.
[0030] Under the aforementioned operating environment, this disclosure provides, for example... Figure 2 The domain name data processing method shown can be... Figure 1The computer terminal or similar electronic device shown is used for execution. Figure 2 This is a flowchart of a domain name data processing method provided according to an embodiment of this disclosure. Figure 2 As shown, the method may include the following steps:
[0031] Step S20: Select the first part of the domain names from the domain name list, wherein the domain name list records multiple domain names and the domain name list is stored in the first storage area of the terminal device.
[0032] The aforementioned domain name list can be a list used to record multiple domain names and their information, and this domain name list can be stored in the aforementioned first storage area locally on the terminal device. The aforementioned first storage area can be a variable corresponding to the format of the domain name list.
[0033] According to preset selection rules, the first part of the domain names can be selected from the above domain name list. This first part of the domain names can include multiple domain names. In practical applications, by pre-selecting the first part of the domain names from the domain name list for subsequent domain name data processing, the problems of low output efficiency and poor user experience caused by processing all domain name data before outputting the domain names can be avoided.
[0034] Step S21: Obtain domain information of some or all of the domains in the first part of the domain from the server;
[0035] The aforementioned server can store and transmit data. Specifically, the server can store domain names and their information, and respond to domain name information retrieval instructions by performing corresponding domain name information transmission operations. The aforementioned first part of the domain names may include multiple domain names, and the server can retrieve the domain name information of some or all of the domain names in the first part of the domain names.
[0036] Step S22: Based on the domain name information and the first preset domain name output rules, select the second part of the domain names from the first part of the domain names;
[0037] The aforementioned first preset domain name output rule can be a rule for displaying domain names on terminal devices based on actual application scenarios. Based on the domain name information of multiple domain names in the aforementioned first part of domain names and the first domain name output rule, the aforementioned second part of domain names can be selected from the first part of domain names. The second part of domain names can include multiple domain names, which are used for display on terminal devices.
[0038] Step S23: Output the second part of the domain name.
[0039] Since the second part of the domain name is dynamically selected from the first part of the domain name based on the domain name information and the first preset domain name output rules, outputting the second part of the domain name and providing it to the user allows the user to quickly obtain a part of the domain name that conforms to the preset rules.
[0040] Optionally, the output method of the second part of the domain name can be: displaying the second part of the domain name on the display screen of the terminal device, playing the audio corresponding to the second part of the domain name through the audio output device of the terminal device, etc.
[0041] According to steps S20 to S23 of this disclosure, a first part of the domain names is selected from the domain name list, wherein the domain name list records multiple domain names and is stored in the first storage area of the terminal device; domain name information of some or all of the domain names in the first part of the domain names is obtained from the server; a second part of the domain names is selected from the first part of the domain names based on the domain name information and the first preset domain name output rules, and then the second part of the domain names is output. This achieves the purpose of outputting domain names through a dynamic sorting strategy, realizes the technical effect of improving output efficiency and output accuracy, and solves the technical problem in related technologies where the domain name display sorting strategy is too simple, resulting in a poor user experience.
[0042] The method described in this embodiment will be further described below.
[0043] As an optional implementation, step S21, obtaining domain name information for some or all domain names from the server, further includes the following method steps:
[0044] Step S211: In response to determining that no corresponding domain information exists for the current domain, a request message is sent to the server to obtain the corresponding domain information; in response to determining that corresponding domain information exists for the current domain, the current domain is skipped.
[0045] The first part of the domain names mentioned above can include multiple domain names. Each of these domain names may or may not have corresponding domain name information. The current domain name mentioned above can be the domain name to be dynamically sorted. If it is determined that the current domain name does not have corresponding domain name information, a request message is sent to the server to request the domain name information corresponding to the current domain name; if it is determined that the current domain name does not have corresponding domain name information, there is no need to retrieve it repeatedly, the current domain name is skipped, and the dynamic sorting of the next domain name continues.
[0046] The above method can be used to obtain the domain information corresponding to each domain in the first part of the domain names. In practical applications, by pre-selecting the first part of the domain names in the domain name list and obtaining the domain information of the first part of the domain names for output, the problems of low output efficiency and poor user experience caused by processing all domain name data before outputting the domain names can be avoided.
[0047] As an optional implementation method, the domain name data processing method further includes the following method steps:
[0048] Step S24: Update the domain name list using domain name information from some or all domain names.
[0049] After obtaining some or all of the domain name information from the first part of the domain names from the server, the domain name list can be updated using this information. That is, the domain name information sent from the server is stored in the corresponding location within the first storage area on the terminal device, and this first storage area is used to store the domain name list.
[0050] As an optional implementation method, in the domain name data processing method, the first preset domain name output rule is determined by the first screen output requirement and the priority rule, wherein the first screen output requirement is used to determine the number of domain names output on the same screen, and the priority rule is used to determine the order of the first part of the domain names.
[0051] The aforementioned initial screen output requirement can be a rule for displaying domain names on the client's initial graphical user interface. This initial screen output requirement can be used to determine the number of domain names displayed simultaneously. For example, in a domain registration graphical user interface, the initial screen displays 20 registrable domain names, and when the user expands all or flips through pages, the terminal screen can display a maximum of 20 domain names simultaneously.
[0052] The aforementioned priority rules can be used to determine the order of multiple domain names in the first part of the domain names. For example, in a domain name purchase application scenario, the priority rules for sorting domain name suffixes can be: "suffixes that users can accurately search for" take precedence over "suffixes that can be registered"; "suffixes that can be registered" take precedence over "suffixes that can be purchased at a fixed price"; and "suffixes that can be purchased at a fixed price" take precedence over "suffixes that can be purchased through a proxy".
[0053] Based on the aforementioned initial screen output requirements and priority rules, the first preset domain name output rule can be determined. Since in practical applications, the initial screen display rules for terminal devices can be determined by the client based on the device's performance, and the priority order can be determined based on user input and domain name status, this first preset domain name output rule can optimize the domain name output results and improve the user experience.
[0054] As an optional implementation, in step S22, selecting the second part of the domain names from the first part of the domain names based on the domain name information and the first preset domain name output rules, the method steps further include:
[0055] Step S221: Filter and sort the first part of the domain names based on the domain name information and priority rules to obtain the first sorting result;
[0056] Step S222: According to the first screen output requirements and the first sorting result, select the second part of the domain names from the first part of the domain names, and store the second part of the domain names in the second storage area of the terminal device.
[0057] Based on the domain information of multiple domains in the first part of the domain name list and the aforementioned priority rules, the multiple domains in the first part of the domain name list can be filtered and sorted to obtain the aforementioned first sorting result. The filtering and sorting can involve first deleting unusable domains (e.g., registered domains, domains prohibited from registration) before sorting.
[0058] The aforementioned initial screen output requirement can be a rule for displaying domain names on the client's initial graphical user interface. This initial screen output requirement can be used to determine the number of domain names displayed simultaneously. Based on the aforementioned first sorting result, the aforementioned second part of domain names can be selected from the first part of domain names according to the initial screen output requirement. The second part of domain names can include multiple domain names, which are used for display on the terminal device. The second part of domain names is stored in a second storage area locally on the terminal device. The second storage area can be a variable corresponding to the format of the aforementioned second part of domain names.
[0059] As an optional implementation, step S23, outputting the second part of the domain name, further includes the following method steps:
[0060] Step S231 determines whether the number of domain names stored in the second storage area meets the requirements for the first screen output;
[0061] Step S232: In response to the requirement that the number of domain names meets the first screen output requirement, output the second part of the domain names.
[0062] The domain names stored in the second storage area correspond to the second part of domain names selected during each domain name data processing process. The initial screen output requirement can be a rule for displaying domain names on the client's initial graphical user interface; it can be used to determine the number of domain names displayed simultaneously or the number of domain names displayed on the first screen. For example, the initial screen output requirement could be "display 10 registrable domain names on the first screen."
[0063] Determine if the number of domain names stored in the second storage area meets the requirements for the first screen output. If the number of domain names stored in the second storage area meets the requirements for the first screen output, then directly output the second part of the domain names. For example, if a query finds 10 domain names stored in the second storage area, which meets the requirement of "displaying 10 registrable domain names on the first screen", then directly display these 10 domain names to the user through the client.
[0064] As an optional implementation method, the domain name data processing method further includes the following method steps:
[0065] Step S25: Determine whether the number of domain names stored in the second storage area meets the requirements for the first screen output;
[0066] Step S26: In response to the fact that the number of domain names does not meet the requirements for the first screen output, select the first part of the domain names from the domain name list again until the number of domain names meets the requirements for the first screen output.
[0067] The domain names stored in the second storage area correspond to the second part of domain names selected during each domain name data processing process. The initial screen output requirement can be a rule for displaying domain names on the client's initial graphical user interface; it can be used to determine the number of domain names displayed simultaneously or the number of domain names displayed on the first screen. For example, the initial screen output requirement could be "display 10 registrable domain names on the first screen."
[0068] The system determines whether the number of domain names stored in the second storage area meets the initial display requirements. If the number of domain names stored in the second storage area does not meet the initial display requirements, the system selects the first part of domain names from the domain name list again and performs the domain name data processing process again until the number of domain names stored in the second storage area meets the initial display requirements. For example, if a query finds that the second storage area contains 8 domain names, which does not meet the requirement of "displaying 10 registrable domain names on the initial display," then some domain names are added to the first part of the domain names corresponding to that query as a new first part of the domain names, and the domain name data processing process is performed again.
[0069] As an optional implementation method, the domain name data processing method further includes the following method steps:
[0070] Step S27: Based on the domain name information and the second preset domain name output rules, sort all the domain names in the domain name list to obtain the second sorting result;
[0071] Step S28: Output all domain names in the domain name list according to the second sorting result.
[0072] The aforementioned domain name information can be the domain name information corresponding to each domain name in the aforementioned domain name list, and this domain name information can be obtained by requesting it from the server. The aforementioned second preset domain name output rule can be the preset domain name display rule after the client receives a user-triggered operation, wherein the user-triggered operation can be clicking the "Load More" button on the graphical user interface, or swiping the touch screen of the mobile terminal to turn pages, etc.
[0073] Based on the domain information corresponding to each domain in the aforementioned domain list and the aforementioned second preset domain output rules, all domains in the domain list can be sorted to obtain the aforementioned second sorting result. The domain information can be used to determine the priority of the domain.
[0074] Since the aforementioned second preset domain name output rule can represent a user request to obtain all domain names, outputting all domain names in the domain name list to the user according to the aforementioned second sorting result can achieve the effect of prioritizing the output of domain names with higher priority, thereby improving the user experience.
[0075] For example, in a domain registration application scenario, the method provided in this embodiment can be used. During a domain registration, the user can choose a domain name, that is, select the domain name to register from the N domain names displayed in the client's graphical user interface (equivalent to the multiple domain names recorded in the domain name list mentioned above). Specifically, the client's initial graphical user interface displays s registrable domain names (equivalent to the initial screen output requirements mentioned above), and the user can click the "Load More" button to make the client display all domain names (equivalent to the second preset domain name output rule mentioned above). Through the dynamic domain name sorting method provided in this embodiment, the s domain names with the highest relevance to the user can be quickly selected from the N domain names for display in the initial graphical user interface, thereby improving the user experience.
[0076] When performing dynamic domain name sorting, the client can declare variable A (equivalent to the first storage area mentioned above) to store all N domain names and their domain name information, and declare variable B (equivalent to the second storage area mentioned above) to store domain names that meet the user's needs.
[0077] When generating the initial graphical user interface, the client needs to prioritize finding the s domains that best meet the user's needs and their domain information from the N domains to be sorted, in order to quickly generate the initial graphical user interface and display it to the user. The steps for generating the initial graphical user interface are as follows:
[0078] The first step is to select c domains from the N domains to be sorted (equivalent to the first part of the domains mentioned above).
[0079] The second step is to iterate through the above c domain names and obtain the domain name information corresponding to each domain name. Specifically:
[0080] (1) Determine whether there is corresponding domain name information for each domain name locally on the terminal device;
[0081] (2) If it exists, skip this domain name and judge the next domain name;
[0082] (3) If it does not exist, send a request to the server and obtain the domain name information of this domain name.
[0083] In the third step, update the domain name information corresponding to the above c domain names in variable A.
[0084] In the fourth step, obtain the domain names with domain name information among the N domain names to be sorted stored in variable A. For example, among the N domain names to be sorted, except for the above c domain names, the remaining N - c domain names do not have corresponding domain name information locally on the device terminal, then c domain names are obtained in this step. Another example, among the N domain names to be sorted, except for the above c domain names, d domain names among the remaining N - c domain names have corresponding domain name information locally on the device terminal, then c + d domain names are obtained in this step. In the following steps, taking obtaining c domain names as an example.
[0085] In the fifth step, filter and sort the above c domain names. Specifically, it may include:
[0086] (1) Sort the above c domain names according to that "the domain name precisely searched by the user" takes precedence over "the domain names similar to the domain name used for precise search", and "the domain names similar to the domain name used for precise search" takes precedence over "the domain names that can be registered", to obtain the sorting result Rank1 (equivalent to the above first sorting result);
[0087] (2) Determine the unavailable domain names (including: registered domain names and prohibited domain names) and the display quantity s from the s domain names that can be registered displayed in the initial graphical user interface (equivalent to the above first - screen output requirement), and delete the unavailable domain names from the above c domain names to obtain x domain names that can be registered;
[0088] In the sixth step, it can be one of the following two situations:
[0089] (1) The first situation: After deleting the unavailable domain names from the above c domain names, x > s domain names that can be registered are obtained. Select the top s domain names with higher priorities from these x domain names that can be registered according to the sorting result Rank1 (equivalent to the above second - part domain names), and store these s domain names that can be registered in variable B;
[0090] (2) The second situation: After deleting the unavailable domain names from the above c domain names, x < s domain names that can be registered are obtained. Store these x domain names that can be registered in variable B according to the sorting result Rank1.
[0091] The seventh step can be one of the following two situations:
[0092] (1) The first situation: Since the number of domain names x = s stored in variable B satisfies the requirement of displaying s registrable domain names in the initial graphical user interface (equivalent to the above-mentioned first-screen output requirement), an initial graphical user interface is generated based on these s registrable domain names.
[0093] (2) The second situation: Since the number of domain names x < s stored in variable B does not satisfy the requirement of displaying s registrable domain names in the initial graphical user interface (equivalent to the above-mentioned first-screen output requirement), return to the first step, increase the number of selected domain names c, and repeat this process until an initial graphical user interface is generated.
[0094] Through the above process, an initial graphical user interface with a relatively high relevance to the user can be quickly generated, enabling the user to preferentially see the domain names obtained by precise search or the registrable domain names similar to the searched domain names when registering a domain name, thereby enhancing the user experience.
[0095] Optionally, in an actual application scenario, the above initial graphical user interface may further include a "Load More" button. After the client displays the above initial graphical user interface to the user, when it detects that the user clicks the "Load More" button, it requests the server to obtain the domain name information corresponding to the domain names in the above N domain names to be sorted that have not undergone the above query sorting process, and based on the domain name information corresponding to each domain name in the N domain names to be sorted, according to the principle that "the domain name precisely searched by the user" takes precedence over "the domain name similar to the domain name precisely searched by the user", "the domain name similar to the domain name precisely searched by the user" takes precedence over "the registrable domain name", and "the registrable domain name" takes precedence over "the non-registrable domain name", sorts the above N domain names to be sorted to obtain a sorting result Rank2. Then, the N domain names to be sorted are displayed to the user according to the sorting result Rank2.
[0096] Optionally, in an actual application scenario, the above action of displaying all domain names can also be triggered by the user's touch operation on the terminal device. When the user scrolls the page by sliding the touch screen, the number of domain names m to be displayed calculated dynamically according to the height of the current visible area can be used to set c in the above process of generating the initial graphical user interface for sorting and display.
[0097] Optionally, in an actual application scenario, the above initial graphical user interface may further include a data source selection area. In this data source selection area, when the user checks "Display all domain names", the result obtained from the above example is finally output; when the user checks "Display registrable domain names", the finally output result is the result obtained from the above example after removing the non-registrable data.
[0098] The domain name data processing method provided in this embodiment can achieve the purpose of outputting domain names through a dynamic sorting strategy, thereby improving the efficiency and accuracy of domain name output and solving the technical problem of poor user experience caused by overly simple domain name display sorting strategies in related technologies.
[0099] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this disclosure.
[0100] This disclosure also provides a domain name data processing apparatus for implementing the above embodiments and preferred embodiments, which will not be repeated hereafter. As used below, the term "module" can be a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0101] Figure 3 This is a structural block diagram of a domain name data processing apparatus provided according to an embodiment of the present disclosure, such as... Figure 3 As shown, the domain name data processing device 300 includes: a first selection module 301, an acquisition module 302, a second selection module 303, and an output module 304.
[0102] The first selection module 301 is used to select a first part of domain names from the domain name list, wherein the domain name list records multiple domain names and the domain name list is stored in a first storage area on the local device of the terminal device; the acquisition module 302 is used to acquire domain name information of some or all of the domain names in the first part of domain names from the server; the second selection module 303 is used to select a second part of domain names from the first part of domain names based on the domain name information and the first preset domain name output rules; the output module 304 is used to output the second part of domain names.
[0103] Optionally, the acquisition module 302 is further configured to, in response to determining that no corresponding domain information exists for the current domain, send a request message to the server to obtain the corresponding domain information; and, in response to determining that corresponding domain information exists for the current domain, skip the current domain.
[0104] Optionally, Figure 4This is a structural block diagram of another domain name data processing apparatus provided according to embodiments of the present disclosure, such as... Figure 4 As shown, the device includes Figure 3 In addition to all the modules shown, it also includes: update module 305, which is used to update the domain name list using domain name information of some or all domain names.
[0105] Optionally, in the domain name data processing device 300, the first preset domain name output rule is determined by the first screen output requirement and the priority rule, wherein the first screen output requirement is used to determine the number of domain names output on the same screen, and the priority rule is used to determine the order of the first part of the domain names.
[0106] Optionally, the second selection module 303 is further configured to filter and sort the first part of the domain names based on the domain name information and priority rules to obtain a first sorting result; select the second part of the domain names from the first part of the domain names according to the first screen output requirements and the first sorting result, and store the second part of the domain names in the second storage area of the terminal device.
[0107] Optionally, the output module 304 is also used to determine whether the number of domain names stored in the second storage area meets the requirements for the first screen output; in response to the number of domain names meeting the requirements for the first screen output, the second part of the domain names is output.
[0108] Optionally, Figure 5 This is a structural block diagram of another domain name data processing apparatus provided according to embodiments of the present disclosure, such as... Figure 5 As shown, the device includes Figure 4 In addition to all the modules shown, it also includes: a first processing module 306, used to determine whether the number of domain names stored in the second storage area meets the requirements for the first screen output; in response to the fact that the number of domain names does not meet the requirements for the first screen output, the first part of the domain names is selected again from the domain name list until the number of domain names meets the requirements for the first screen output.
[0109] Optionally, Figure 6 This is a structural block diagram of another domain name data processing apparatus provided according to embodiments of the present disclosure, such as... Figure 6 As shown, the device includes Figure 5 In addition to all the modules shown, it also includes: a second processing module 307, which is used to sort all the domain names in the domain name list based on the domain name information and the second preset domain name output rules to obtain a second sorting result; and output all the domain names in the domain name list according to the second sorting result.
[0110] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.
[0111] According to embodiments of this disclosure, this disclosure also provides an electronic device including a memory and at least one processor, the memory storing computer instructions, the processor being configured to execute the computer instructions to perform the steps in any of the above method embodiments.
[0112] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0113] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0114] Step S1: Select the first part of the domain names from the domain name list. The domain name list contains multiple domain names and is stored in the first storage area of the terminal device.
[0115] Step S2: Obtain domain information of some or all of the domains in the first part of the domain from the server;
[0116] Step S3: Based on the domain name information and the first preset domain name output rules, select the second part of the domain names from the first part of the domain names;
[0117] Step S4: Output the second part of the domain name.
[0118] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0119] According to embodiments of this disclosure, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the steps in any of the above method embodiments.
[0120] Optionally, in this embodiment, the aforementioned non-transitory computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0121] Step S1: Select the first part of the domain names from the domain name list. The domain name list contains multiple domain names and is stored in the first storage area of the terminal device.
[0122] Step S2: Obtain domain information of some or all of the domains in the first part of the domain from the server;
[0123] Step S3: Based on the domain name information and the first preset domain name output rules, select the second part of the domain names from the first part of the domain names;
[0124] Step S4: Output the second part of the domain name.
[0125] Optionally, in this embodiment, the aforementioned non-transitory computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0126] According to embodiments of this disclosure, a computer program product is also provided. Program code for implementing the domain name data processing method of this disclosure can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code can be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0127] The sequence numbers of the embodiments disclosed above are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0128] In the above embodiments of this disclosure, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0129] In the several embodiments provided in this disclosure, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0130] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0131] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0132] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0133] The above description is only a preferred embodiment of this disclosure. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principles of this disclosure, and these improvements and modifications should also be considered within the scope of protection of this disclosure.
Claims
1. A domain name data processing method, comprising: selecting a first part of domain names from a domain name list, wherein the domain name list records a plurality of domain names, and the domain name list is stored in a first storage area local to a terminal device; obtaining domain name information of part or all of the first part of domain names from a server; selecting a second part of domain names from the first part of domain names based on the domain name information and a first preset domain name output rule, wherein the first preset domain name output rule is determined by a first screen output requirement and a priority rule, the first screen output requirement is used to determine the number of domain names to be output on the same screen, and the priority rule is used to determine the sorting of the first part of domain names; outputting the second part of domain names; wherein, based on the domain name information and the first preset domain name output rule, the second part of domain names is selected from the first part of domain names, which includes: filtering and sorting the first part of domain names based on the domain name information and the priority rule to obtain a first sorting result, wherein the priority rule is used to sort the suffix of the domain name; and selecting the second part of domain names from the first part of domain names according to the first screen output requirement and the first sorting result, and storing the second part of domain names in a second storage area local to the terminal device, wherein the first screen output requirement is a rule for displaying domain names on an initial graphical user interface of a client; the domain name data processing method further comprises: determining whether the number of domain names stored in the second storage area meets the first screen output requirement; and in response to the number of domain names not meeting the first screen output requirement, selecting the first part of domain names from the domain name list again until the number of domain names meets the first screen output requirement.
2. The domain name data processing method of claim 1, wherein, obtaining domain name information of part or all of the domain names from the server includes: in response to determining that the current domain name does not exist corresponding domain name information, sending a request message to the server to obtain corresponding domain name information; and in response to determining that the current domain name exists corresponding domain name information, skipping the current domain name.
3. The domain name data processing method of claim 2, wherein, the domain name data processing method further comprises: updating the domain name list using the domain name information of part or all of the domain names.
4. The domain name data processing method of claim 1, wherein, outputting the second part of domain names includes: determining whether the number of domain names stored in the second storage area meets the first screen output requirement; in response to the number of domain names meeting the first screen output requirement, outputting the second part of domain names.
5. The domain name data processing method of claim 1, wherein, the domain name data processing method further comprises: sorting all domain names in the domain name list based on the domain name information and a second preset domain name output rule to obtain a second sorting result; outputting all domain names in the domain name list according to the second sorting result.
6. A domain name data processing apparatus, comprising: a first selecting module configured to select a first part of domain names from a domain name list, wherein the domain name list records a plurality of domain names, and the domain name list is stored in a first storage area local to a terminal device; an obtaining module configured to obtain domain name information of part or all of the first part of domain names from a server; The second selecting module is configured to select a second part of domain names from the first part of domain names based on the domain name information and a first preset domain name output rule, wherein the first preset domain name output rule is determined by a first screen output requirement and a priority rule, the first screen output requirement is used to determine a number of domain names to be output on a screen, and the priority rule is used to determine a sorting of the first part of domain names. The output module is configured to output the second part of domain names. The second selecting module is further configured to filter and sort the first part of domain names based on the domain name information and the priority rule to obtain a first sorting result, wherein the priority rule is used to sort suffixes of the domain names; select the second part of domain names from the first part of domain names according to the first screen output requirement and the first sorting result, and store the second part of domain names in a second storage area of the terminal device, wherein the first screen output requirement is a rule for displaying domain names on an initial graphical user interface of a client. The domain name data processing apparatus further comprises a first processing module configured to determine whether a number of domain names stored in the second storage area meets the first screen output requirement; and in response to the number of domain names not meeting the first screen output requirement, select the first part of domain names from the domain name list again until the number of domain names meets the first screen output requirement.
7. The domain name data processing apparatus of claim 6, wherein, The acquisition module is configured to, in response to determining that the current domain name does not have corresponding domain name information, send a request message to the server to acquire the corresponding domain name information; and in response to determining that the current domain name has corresponding domain name information, skip the current domain name.
8. The domain name data processing apparatus of claim 7, wherein, The domain name data processing apparatus further comprises: An updating module configured to update the domain name list by using the domain name information of the part or all of the domain names.
9. The domain name data processing apparatus of claim 6, wherein, The output module is configured to determine whether a number of domain names stored in the second storage area meets the first screen output requirement. In response to the number of domain names meeting the first screen output requirement, output the second part of domain names.
10. The domain name data processing apparatus of claim 6, wherein, The domain name data processing apparatus further comprises: A second processing module configured to sort all domain names in the domain name list based on the domain name information and a second preset domain name output rule to obtain a second sorting result; and output all domain names in the domain name list according to the second sorting result.
11. An electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to perform the method of any one of claims 1-5.
13. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-5.
Citation Information
Patent Citations
Server access method, device and equipment and storage medium
CN112153170A