CN112583944A - Processing method and device for updating domain name certificate - Google Patents

Processing method and device for updating domain name certificate Download PDF

Info

Publication number
CN112583944A
CN112583944A CN201910927927.2A CN201910927927A CN112583944A CN 112583944 A CN112583944 A CN 112583944A CN 201910927927 A CN201910927927 A CN 201910927927A CN 112583944 A CN112583944 A CN 112583944A
Authority
CN
China
Prior art keywords
domain name
certificate
expiration time
target object
domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910927927.2A
Other languages
Chinese (zh)
Other versions
CN112583944B (en
Inventor
赵峰光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201910927927.2A priority Critical patent/CN112583944B/en
Publication of CN112583944A publication Critical patent/CN112583944A/en
Application granted granted Critical
Publication of CN112583944B publication Critical patent/CN112583944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Storage Device Security (AREA)

Abstract

The application discloses a processing method and device for updating a domain name certificate. The method comprises the following steps: calling a file stored with domain name information; analyzing the file so as to split a plurality of domain names from the file one by one; sequentially detecting each domain name in the plurality of domain names to obtain the certificate expiration time of each domain name; and sequentially pushing the certificate expiration time of each domain name to a target object corresponding to each domain name. By the method and the device, the problem that in the related art, as the website owner does not know the expiration time of the domain name certificate, the owner cannot update the certificate immediately is solved.

Description

Processing method and device for updating domain name certificate
Technical Field
The present application relates to the field of domain name certificates, and in particular, to a method and an apparatus for processing an updated domain name certificate.
Background
Companies often have a large number of websites inside, and the domain name of each website needs to be configured with a domain name certificate, and the domain name certificate is provided with an expiration time, and needs to be replaced when the website expires.
However, the owner of the website often does not know how long the domain name certificate expires, so that the owner cannot update the certificate immediately.
Aiming at the problem that in the related art, as a website owner does not know the expiration time of a domain name certificate, the owner cannot update the certificate immediately, an effective solution is not provided at present.
Disclosure of Invention
The application provides a processing method and a processing device for updating a domain name certificate, which are used for solving the problem that in the related art, a website owner cannot know the expiration time of the domain name certificate, so that the owner cannot update the certificate immediately.
According to one aspect of the application, a processing method for updating a domain name certificate is provided. The method comprises the following steps: calling a file stored with domain name information; analyzing the file so as to split a plurality of domain names from the file one by one; sequentially detecting each domain name in the plurality of domain names to obtain the certificate expiration time of each domain name; and sequentially pushing the certificate expiration time of each domain name to a target object corresponding to each domain name.
Optionally, the detecting and processing each domain name in the plurality of domain names in sequence to obtain the certificate expiration time of each domain name includes: and each time, acquiring a domain name from the plurality of domain names as a domain name to be detected, and executing the following detection steps: determining whether the domain name to be detected opens a web browsing port; under the condition that the webpage browsing port is opened by the domain name to be detected, detecting the domain name to be detected to obtain the certificate expiration time of the domain name to be detected; under the condition that the webpage browsing port is not opened by the domain name to be detected, end marking is carried out on the domain name to be detected; until the detection step is performed for all domain names.
Optionally, after obtaining the certificate expiration time of each domain name, the method further includes: acquiring current time; calculating the number of remaining days for the certificate of the domain name to expire according to the certificate expiration time and the current time of the domain name; sequentially pushing the certificate expiration time of each domain name to a target object corresponding to each domain name, comprising: and pushing the certificate expiration time of the domain name, the number of remaining days for the certificate expiration of the domain name and the current time to a target object corresponding to the domain name.
Optionally, the pushing the certificate expiration time of each domain name to the target object corresponding to each domain name in sequence includes: sequentially determining a target object corresponding to the domain name and a contact way of the target object in a target association table, wherein the target association table is used for recording the corresponding relation among the domain name, the target object and the contact way of the target object; and pushing the certificate expiration time of the domain name to the target object according to the contact way of the target object.
Optionally, after the certificate expiration time of each domain name is sequentially pushed to the target object corresponding to each domain name, the processing of updating the domain name certificate further includes: monitoring whether the domain name with the certificate expiration time pushed to the target object is updated with the domain name certificate at a specified time, wherein the specified time is determined by the certificate expiration time of the domain name and/or the pushing time of the certificate expiration time; if the domain name certificate of the domain name is monitored to be updated at the appointed moment, finishing the monitoring processing of the domain name; if the domain name certificate of the domain name is not updated at the appointed time, the process step of pushing the certificate expiration time of the domain name to the target object corresponding to the domain name is executed again.
According to another aspect of the present application, a processing apparatus for updating a domain name certificate is provided. The device includes: the calling unit is used for calling the file stored with the domain name information; the analysis unit is used for analyzing the file so as to divide the file into a plurality of domain names one by one; the detection unit is used for sequentially detecting each domain name in the plurality of domain names to obtain the certificate expiration time of each domain name; and the pushing unit is used for sequentially pushing the certificate expiration time of each domain name to the target object corresponding to each domain name.
Optionally, the detection unit includes: an execution subunit, configured to acquire a domain name from the multiple domain names as a domain name to be detected each time, and execute the following detection steps: determining whether the domain name to be detected opens a web browsing port; under the condition that the webpage browsing port is opened by the domain name to be detected, detecting the domain name to be detected to obtain the certificate expiration time of the domain name to be detected; under the condition that the webpage browsing port is not opened by the domain name to be detected, end marking is carried out on the domain name to be detected; until the detection step is performed for all domain names.
Optionally, the apparatus further comprises: the acquisition module is used for acquiring the current time after the certificate expiration time of each domain name is obtained; the calculation module is used for calculating the number of remaining days for the certificate of the domain name to expire according to the certificate expiration time and the current time of the domain name; the pushing unit includes: and the first pushing module is used for pushing the certificate expiration time of the domain name, the number of remaining days for the certificate expiration of the domain name and the current time to a target object corresponding to the domain name.
Optionally, the pushing unit includes: the determining module is used for sequentially determining a target object corresponding to the domain name and a contact way of the target object in a target association table, wherein the target association table is used for recording the corresponding relation among the domain name, the target object and the contact way of the target object; and the second pushing module is used for pushing the certificate expiration time of the domain name to the target object according to the contact way of the target object.
Optionally, after the certificate expiration time of each domain name is sequentially pushed to the target object corresponding to each domain name, the processing of updating the domain name certificate further includes: a monitoring unit, configured to monitor whether a domain name whose certificate expiration time is pushed to a target object is updated with a domain name certificate at a specified time, where the specified time is determined by the certificate expiration time of the domain name and/or the pushing time of the certificate expiration time; the end unit is used for ending the monitoring processing of the domain name if the domain name certificate of the domain name is monitored to be updated at the appointed moment; and the execution unit is used for executing the flow step of pushing the certificate expiration time of the domain name to the target object corresponding to the domain name again if the domain name certificate of the domain name is not updated at the specified time.
Through the application, the following steps are adopted: calling a file stored with domain name information; analyzing the file so as to split a plurality of domain names from the file one by one; sequentially detecting each domain name in the plurality of domain names to obtain the certificate expiration time of each domain name; the certificate expiration time of each domain name is sequentially pushed to the target object corresponding to each domain name, so that the problem that the website owner cannot update the certificate immediately because the website owner does not know the expiration time of the domain name certificate in the related art is solved.
The domain name is detected and processed to obtain the certificate expiration time of the domain name, and then the certificate expiration time of the domain name is sequentially pushed to the corresponding target objects, so that the technical effect of supervising the target objects to update the domain name certificates of the domain name immediately is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a processing method for updating a domain name certificate according to an embodiment of the present application; and
fig. 2 is a schematic diagram of a processing apparatus for updating a domain name certificate according to an embodiment of the present application;
fig. 3 is a schematic diagram of a processing device for updating a domain name certificate according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present application, a processing method for updating a domain name certificate is provided.
Fig. 1 is a flowchart of a processing method for updating a domain name certificate according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S102, calling a file stored with domain name information;
in an alternative example, invoking the file storing the domain name information may include: establishing data connection with a specified database, calling domain name information from the specified database, and generating a file containing the domain name information, wherein the file containing the domain name information can be a word document or an excel document.
Step S104, analyzing the file so as to divide the plurality of domain names from the file one by one.
In an optional example, parsing the file to split the domain names from the file entry by entry includes: and acquiring an analysis rule corresponding to the file, and inputting the analysis rule corresponding to the file into a script executor so that the script executor analyzes the file to obtain a plurality of domain names.
Optionally, the parsing rule of the file may be configured in advance.
And step S106, sequentially detecting each domain name in the plurality of domain names to obtain the certificate expiration time of each domain name.
In an optional example, the sequentially detecting each of the domain names to obtain the certificate expiration time of each domain name includes: and each time, acquiring a domain name from the plurality of domain names as a domain name to be detected, and executing the following detection steps: determining whether the domain name to be detected opens a web browsing port; under the condition that the webpage browsing port is opened by the domain name to be detected, detecting the domain name to be detected to obtain the certificate expiration time of the domain name to be detected; under the condition that the webpage browsing port is not opened by the domain name to be detected, end marking is carried out on the domain name to be detected; until the detection step is performed for all domain names.
It should be noted that: because part of websites are not suitable for the https protocol, the part of websites are not configured with domain name certificates; if the detection processing is performed on the website which is not configured with the domain name certificate in the part to determine the certificate expiration time, the script may be overtime.
In the above example of the present application, before the domain name to be detected is detected to obtain the certificate expiration time of the domain name to be detected, whether the domain name to be detected starts the web browsing port is detected in advance, and the end mark is directly performed on the domain name to be detected that is not opened the web browsing port, and then the detection is performed to obtain the certificate expiration time of the domain name to be detected that is opened the web browsing port, so that the situation that the script is overtime is avoided, and the detection efficiency is improved.
Step S108, the certificate expiration time of each domain name is sequentially pushed to the target object corresponding to each domain name.
In one optional example, the target object is a principal of a domain name; that is, the target object is a worker who is responsible for replacing the domain name certificate of the domain name.
In an optional example, after obtaining the certificate expiration time for each domain name, the method further comprises: acquiring current time; and calculating the number of days remaining for the certificate of the domain name to expire according to the certificate expiration time and the current time of the domain name.
Further, the pushing the certificate expiration time of each domain name to the target object corresponding to each domain name in sequence includes: and pushing the certificate expiration time of the domain name, the number of remaining days for the certificate expiration of the domain name and the current time to a target object corresponding to the domain name.
That is, after the certificate expiration time of any domain name is acquired, the remaining number of days for the certificate expiration of the domain name is calculated according to the current time, and the remaining number of days for the certificate expiration, the certificate expiration time and the current time are pushed to the target object corresponding to the domain name together, so that the target object is urged to update the domain name certificate of the domain name immediately.
In an optional example, sequentially pushing the certificate expiration time of each domain name to the target object corresponding to each domain name includes: sequentially determining a target object corresponding to the domain name and a contact way of the target object in a target association table, wherein the target association table is used for recording the corresponding relation among the domain name, the target object and the contact way of the target object; and pushing the certificate expiration time of the domain name to the target object according to the contact way of the target object.
That is, in the above example of the present application, a target association table is configured in advance, where the target association table is used to record a corresponding relationship between a domain name, a target object, and a contact manner of the target object, and if it is necessary to obtain the target object corresponding to the domain name and the contact manner of the target object in a subsequent step, the target object and the contact manner of the target object may be directly queried from the target association table, so that a situation that the target object corresponding to the domain name and the contact manner of the target object cannot be determined quickly and accurately due to information storage confusion is avoided.
In an optional example, after the certificate expiration time of each domain name is sequentially pushed to the target object corresponding to each domain name, the process of updating the domain name certificate further includes: monitoring whether the domain name with the certificate expiration time pushed to the target object is updated with the domain name certificate at a specified time, wherein the specified time is determined by the certificate expiration time of the domain name and/or the pushing time of the certificate expiration time; if the domain name certificate of the domain name is monitored to be updated at the appointed moment, finishing the monitoring processing of the domain name; if the domain name certificate of the domain name is not updated at the appointed time, the process step of pushing the certificate expiration time of the domain name to the target object corresponding to the domain name is executed again.
That is, after the expiration time of the domain name certificate is pushed to the corresponding target object, whether the domain name certificate of the domain name is updated or not is continuously monitored, and if the domain name certificate is updated at the specified time, whether the domain name certificate of the domain name is updated or not is not monitored; if the domain name certificate is not updated at the specified time, the certificate expiration time of the domain name is pushed to the corresponding target object again until the domain name certificate of the domain name is updated. And then the target object is supervised to update the domain name certificate in real time so as to improve the update rate of the domain name certificate.
Optionally, the specified time is determined by a certificate expiration time of the domain name; or, the specified time is determined by the push time of the certificate expiration time of the domain name; or the specified time is determined by the certificate expiration time of the domain name and the pushing time of the certificate expiration time.
For example: the certificate expiration time of the domain name is respectively forward calculated by … … times of 10 working days, 20 working days and 30 working days as the designated time;
for example: the pushing time of the certificate expiration time of the domain name is used for calculating the time of … … natural days, … … natural days and 30 natural days backwards, and the time is the designated time;
for example, the certificate expiration time of the domain name is calculated forward by … … days of 10 working days, 20 working days and 30 working days, respectively, as the designated time; meanwhile, the pushing time of the certificate expiration time of the domain name is obtained by backward calculating the time of … … natural days, 20 natural days and 30 natural days, which are also designated time.
According to the processing method for updating the domain name certificate, the file stored with the domain name information is called; analyzing the file so as to split a plurality of domain names from the file one by one; sequentially detecting each domain name in the plurality of domain names to obtain the certificate expiration time of each domain name; the certificate expiration time of each domain name is sequentially pushed to the target object corresponding to each domain name, so that the problem that the website owner cannot update the certificate immediately because the website owner does not know the expiration time of the domain name certificate in the related art is solved.
The domain name is detected and processed to obtain the certificate expiration time of the domain name, and then the certificate expiration time of the domain name is sequentially pushed to the corresponding target objects, so that the technical effect of supervising the target objects to update the domain name certificates of the domain name immediately is achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a processing apparatus for updating a domain name certificate, and it should be noted that the processing apparatus for updating a domain name certificate of the embodiment of the present application may be used to execute the processing method for updating a domain name certificate provided in the embodiment of the present application. The following describes a processing apparatus for updating a domain name certificate according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a processing apparatus for updating a domain name certificate according to an embodiment of the present application. As shown in fig. 2, the apparatus includes: a calling unit 21, an analyzing unit 23, a detecting unit 25 and a pushing unit 27.
A calling unit 21, configured to call a file in which domain name information is stored; the parsing unit 23 is configured to parse the file, so as to split the plurality of domain names from the file one by one; a detecting unit 25, configured to perform detection processing on each of the domain names in sequence to obtain a certificate expiration time of each domain name; the pushing unit 27 is configured to sequentially push the certificate expiration time of each domain name to the target object corresponding to each domain name.
Optionally, the detecting unit 25 includes: an execution subunit, configured to acquire a domain name from the multiple domain names as a domain name to be detected each time, and execute the following detection steps: determining whether the domain name to be detected opens a web browsing port; under the condition that the webpage browsing port is opened by the domain name to be detected, detecting the domain name to be detected to obtain the certificate expiration time of the domain name to be detected; under the condition that the webpage browsing port is not opened by the domain name to be detected, end marking is carried out on the domain name to be detected; until the detection step is performed for all domain names.
Optionally, the apparatus further comprises: the acquisition module is used for acquiring the current time after the certificate expiration time of each domain name is obtained; the calculation module is used for calculating the number of remaining days for the certificate of the domain name to expire according to the certificate expiration time and the current time of the domain name; the pushing unit 27 includes: and the first pushing module is used for pushing the certificate expiration time of the domain name, the number of remaining days for the certificate expiration of the domain name and the current time to a target object corresponding to the domain name.
Optionally, the pushing unit 27 includes: the determining module is used for sequentially determining a target object corresponding to the domain name and a contact way of the target object in a target association table, wherein the target association table is used for recording the corresponding relation among the domain name, the target object and the contact way of the target object; and the second pushing module is used for pushing the certificate expiration time of the domain name to the target object according to the contact way of the target object.
Optionally, after the certificate expiration time of each domain name is sequentially pushed to the target object corresponding to each domain name, the processing of updating the domain name certificate further includes: a monitoring unit, configured to monitor whether a domain name whose certificate expiration time is pushed to a target object is updated with a domain name certificate at a specified time, where the specified time is determined by the certificate expiration time of the domain name and/or the pushing time of the certificate expiration time; the end unit is used for ending the monitoring processing of the domain name if the domain name certificate of the domain name is monitored to be updated at the appointed moment; and the execution unit is used for executing the flow step of pushing the certificate expiration time of the domain name to the target object corresponding to the domain name again if the domain name certificate of the domain name is not updated at the specified time.
The processing apparatus for updating a domain name certificate provided in the embodiment of the present application is configured to call a file in which domain name information is stored, through a call unit 21; the parsing unit 23 is configured to parse the file, so as to split the plurality of domain names from the file one by one; a detecting unit 25, configured to perform detection processing on each of the domain names in sequence to obtain a certificate expiration time of each domain name; the pushing unit 27 is configured to sequentially push the expiration time of the certificate of each domain name to the target object corresponding to each domain name, so as to solve a problem in the related art that a website owner cannot update the certificate immediately because the owner does not know the expiration time of the domain name certificate.
The domain name is detected and processed to obtain the certificate expiration time of the domain name, and then the certificate expiration time of the domain name is sequentially pushed to the corresponding target objects, so that the technical effect of supervising the target objects to update the domain name certificates of the domain name immediately is achieved.
The processing device for updating the domain name certificate comprises a processor and a memory, wherein the calling unit 21, the analyzing unit 23, the detecting unit 25, the pushing unit 27 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the target object is urged to update the domain name certificate of the domain name immediately by adjusting the kernel parameters.
An embodiment of the present invention provides a storage medium, on which a program is stored, where the program, when executed by a processor, implements the processing method for updating a domain name certificate.
The embodiment of the invention provides a processor, which is used for running a program, wherein the processing method for updating a domain name certificate is executed when the program runs.
As shown in fig. 3, an embodiment of the present invention provides an apparatus 70, where the apparatus 70 includes at least one processor 701, and at least one memory 702 and a bus 703 connected to the processor 701; the processor 701 and the memory 702 complete mutual communication through a bus 703; the processor 701 is configured to call program instructions in the memory 702 to execute the above-described processing method for updating the domain name certificate. The device 70 herein may be a server, a PC, a PAD, a cell phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: calling a file stored with domain name information; analyzing the file so as to split a plurality of domain names from the file one by one; sequentially detecting each domain name in the plurality of domain names to obtain the certificate expiration time of each domain name; and sequentially pushing the certificate expiration time of each domain name to a target object corresponding to each domain name.
Optionally, the detecting and processing each domain name in the plurality of domain names in sequence to obtain the certificate expiration time of each domain name includes: and each time, acquiring a domain name from the plurality of domain names as a domain name to be detected, and executing the following detection steps: determining whether the domain name to be detected opens a web browsing port; under the condition that the webpage browsing port is opened by the domain name to be detected, detecting the domain name to be detected to obtain the certificate expiration time of the domain name to be detected; under the condition that the webpage browsing port is not opened by the domain name to be detected, end marking is carried out on the domain name to be detected; until the detection step is performed for all domain names.
Optionally, after obtaining the certificate expiration time of each domain name, the method further includes: acquiring current time; calculating the number of remaining days for the certificate of the domain name to expire according to the certificate expiration time and the current time of the domain name; sequentially pushing the certificate expiration time of each domain name to a target object corresponding to each domain name, comprising: and pushing the certificate expiration time of the domain name, the number of remaining days for the certificate expiration of the domain name and the current time to a target object corresponding to the domain name.
Optionally, the pushing the certificate expiration time of each domain name to the target object corresponding to each domain name in sequence includes: sequentially determining a target object corresponding to the domain name and a contact way of the target object in a target association table, wherein the target association table is used for recording the corresponding relation among the domain name, the target object and the contact way of the target object; and pushing the certificate expiration time of the domain name to the target object according to the contact way of the target object.
Optionally, after the certificate expiration time of each domain name is sequentially pushed to the target object corresponding to each domain name, the processing of updating the domain name certificate further includes: monitoring whether the domain name with the certificate expiration time pushed to the target object is updated with the domain name certificate at a specified time, wherein the specified time is determined by the certificate expiration time of the domain name and/or the pushing time of the certificate expiration time; if the domain name certificate of the domain name is monitored to be updated at the appointed moment, finishing the monitoring processing of the domain name; if the domain name certificate of the domain name is not updated at the appointed time, the process step of pushing the certificate expiration time of the domain name to the target object corresponding to the domain name is executed again.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A processing method for updating a domain name certificate is characterized by comprising the following steps:
calling a file stored with domain name information;
analyzing the file so as to split a plurality of domain names from the file one by one;
sequentially detecting each domain name in the plurality of domain names to obtain the certificate expiration time of each domain name;
and sequentially pushing the certificate expiration time of each domain name to a target object corresponding to each domain name.
2. The method of claim 1, wherein detecting each of the plurality of domain names in sequence to obtain the certificate expiration time for each domain name comprises:
and each time, acquiring a domain name from the plurality of domain names as a domain name to be detected, and executing the following detection steps:
determining whether the domain name to be detected opens a web browsing port; under the condition that the webpage browsing port is opened by the domain name to be detected, detecting the domain name to be detected to obtain the certificate expiration time of the domain name to be detected; under the condition that the webpage browsing port is not opened by the domain name to be detected, end marking is carried out on the domain name to be detected;
until the detection step is performed for all domain names.
3. The method of claim 1,
after obtaining the certificate expiration time for each domain name, the method further comprises: acquiring current time; calculating the number of remaining days for the certificate of the domain name to expire according to the certificate expiration time and the current time of the domain name;
sequentially pushing the certificate expiration time of each domain name to a target object corresponding to each domain name, comprising: and pushing the certificate expiration time of the domain name, the number of remaining days for the certificate expiration of the domain name and the current time to a target object corresponding to the domain name.
4. The method according to claim 1, wherein the pushing the certificate expiration time of each domain name to the target object corresponding to each domain name in turn comprises:
sequentially determining a target object corresponding to the domain name and a contact way of the target object in a target association table, wherein the target association table is used for recording the corresponding relation among the domain name, the target object and the contact way of the target object;
and pushing the certificate expiration time of the domain name to the target object according to the contact way of the target object.
5. The method according to claim 1, wherein after the certificate expiration time of each domain name is sequentially pushed to the target object corresponding to each domain name, the process of updating the domain name certificate further comprises:
monitoring whether the domain name with the certificate expiration time pushed to the target object is updated with the domain name certificate at a specified time, wherein the specified time is determined by the certificate expiration time of the domain name and/or the pushing time of the certificate expiration time;
if the domain name certificate of the domain name is monitored to be updated at the appointed moment, finishing the monitoring processing of the domain name;
if the domain name certificate of the domain name is not updated at the appointed time, the process step of pushing the certificate expiration time of the domain name to the target object corresponding to the domain name is executed again.
6. A processing apparatus for updating a domain name certificate, comprising:
the calling unit is used for calling the file stored with the domain name information;
the analysis unit is used for analyzing the file so as to divide the file into a plurality of domain names one by one;
the detection unit is used for sequentially detecting each domain name in the plurality of domain names to obtain the certificate expiration time of each domain name;
and the pushing unit is used for sequentially pushing the certificate expiration time of each domain name to the target object corresponding to each domain name.
7. The apparatus of claim 6, wherein the detection unit comprises:
an execution subunit, configured to acquire a domain name from the multiple domain names as a domain name to be detected each time, and execute the following detection steps:
determining whether the domain name to be detected opens a web browsing port; under the condition that the webpage browsing port is opened by the domain name to be detected, detecting the domain name to be detected to obtain the certificate expiration time of the domain name to be detected; under the condition that the webpage browsing port is not opened by the domain name to be detected, end marking is carried out on the domain name to be detected;
until the detection step is performed for all domain names.
8. The apparatus of claim 6,
the device further comprises: the acquisition module is used for acquiring the current time after the certificate expiration time of each domain name is obtained; the calculation module is used for calculating the number of remaining days for the certificate of the domain name to expire according to the certificate expiration time and the current time of the domain name;
the pushing unit includes: and the first pushing module is used for pushing the certificate expiration time of the domain name, the number of remaining days for the certificate expiration of the domain name and the current time to a target object corresponding to the domain name.
9. A storage medium characterized by comprising a stored program, wherein the program executes the processing method of updating a domain name certificate according to any one of claims 1 to 5.
10. An apparatus comprising at least one processor, and at least one memory connected to the processor, a bus; the processor and the memory complete mutual communication through a bus; the processor is used for calling program instructions in the memory to execute the processing method for updating the domain name certificate according to any one of claims 1 to 5.
CN201910927927.2A 2019-09-27 2019-09-27 Processing method and device for updating domain name certificate Active CN112583944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910927927.2A CN112583944B (en) 2019-09-27 2019-09-27 Processing method and device for updating domain name certificate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910927927.2A CN112583944B (en) 2019-09-27 2019-09-27 Processing method and device for updating domain name certificate

Publications (2)

Publication Number Publication Date
CN112583944A true CN112583944A (en) 2021-03-30
CN112583944B CN112583944B (en) 2022-11-22

Family

ID=75110347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910927927.2A Active CN112583944B (en) 2019-09-27 2019-09-27 Processing method and device for updating domain name certificate

Country Status (1)

Country Link
CN (1) CN112583944B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115801426A (en) * 2022-11-29 2023-03-14 杭州菲助科技有限公司 Method, device and application for detecting residual validity period of sub-domain name ssl certificates in batch
CN116112468A (en) * 2023-03-23 2023-05-12 深圳高灯计算机科技有限公司 SSL certificate detection method, SSL certificate detection device, SSL certificate detection computer equipment, SSL certificate storage medium and SSL certificate product
CN116723051A (en) * 2023-08-07 2023-09-08 北京安天网络安全技术有限公司 Domain name information generation method, device and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471673A (en) * 2000-11-01 2004-01-28 ˹������ķ˹��COM��˾ Domain Name acquisition and management system and method
CN101938529A (en) * 2010-09-02 2011-01-05 中国科学院计算机网络信息中心 Expired intervention method for domain name data lifetime and recursion server
CN103647676A (en) * 2013-12-30 2014-03-19 中国科学院计算机网络信息中心 Method for processing data of domain system
CN106331212A (en) * 2016-08-25 2017-01-11 北京润通丰华科技有限公司 Domain name server (DNS) cache camping-based domain name resolution method and system
US20170310636A1 (en) * 2016-04-26 2017-10-26 Go Daddy Operating Company, LLC Determining status of domain name registration
CN108270610A (en) * 2017-02-16 2018-07-10 广州市动景计算机科技有限公司 The method and apparatus of digital certificate monitoring
CN110225013A (en) * 2019-05-30 2019-09-10 世纪龙信息网络有限责任公司 The monitoring of certificate of service and more new system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1471673A (en) * 2000-11-01 2004-01-28 ˹������ķ˹��COM��˾ Domain Name acquisition and management system and method
CN101938529A (en) * 2010-09-02 2011-01-05 中国科学院计算机网络信息中心 Expired intervention method for domain name data lifetime and recursion server
CN103647676A (en) * 2013-12-30 2014-03-19 中国科学院计算机网络信息中心 Method for processing data of domain system
US20170310636A1 (en) * 2016-04-26 2017-10-26 Go Daddy Operating Company, LLC Determining status of domain name registration
CN106331212A (en) * 2016-08-25 2017-01-11 北京润通丰华科技有限公司 Domain name server (DNS) cache camping-based domain name resolution method and system
CN108270610A (en) * 2017-02-16 2018-07-10 广州市动景计算机科技有限公司 The method and apparatus of digital certificate monitoring
CN110225013A (en) * 2019-05-30 2019-09-10 世纪龙信息网络有限责任公司 The monitoring of certificate of service and more new system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115801426A (en) * 2022-11-29 2023-03-14 杭州菲助科技有限公司 Method, device and application for detecting residual validity period of sub-domain name ssl certificates in batch
CN116112468A (en) * 2023-03-23 2023-05-12 深圳高灯计算机科技有限公司 SSL certificate detection method, SSL certificate detection device, SSL certificate detection computer equipment, SSL certificate storage medium and SSL certificate product
CN116112468B (en) * 2023-03-23 2023-07-04 深圳高灯计算机科技有限公司 SSL certificate detection method, SSL certificate detection device, SSL certificate detection computer equipment, SSL certificate storage medium and SSL certificate product
CN116723051A (en) * 2023-08-07 2023-09-08 北京安天网络安全技术有限公司 Domain name information generation method, device and medium
CN116723051B (en) * 2023-08-07 2023-10-27 北京安天网络安全技术有限公司 Domain name information generation method, device and medium

Also Published As

Publication number Publication date
CN112583944B (en) 2022-11-22

Similar Documents

Publication Publication Date Title
CN106202235B (en) Data processing method and device
EP3373516B1 (en) Method and device for processing service calling information
US20180365085A1 (en) Method and apparatus for monitoring client applications
CN112583944B (en) Processing method and device for updating domain name certificate
US20190238581A1 (en) Method, apparatus and system for detecting abnormal behavior of user
CN110661659A (en) Alarm method, device and system and electronic equipment
CN110020339B (en) Webpage data acquisition method and device based on non-buried point
CN108256870B (en) Method and device for generating description information, updating and processing data based on topological structure
CN110941632A (en) Database auditing method, device and equipment
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
CN113468384B (en) Processing method, device, storage medium and processor for network information source information
CN113919683A (en) Method and device for calculating process man-hour, storage medium and processor
CN117234916A (en) Workflow application testing method and device, electronic equipment and storage medium
CN110889065B (en) Page stay time determination method, device and equipment
CN111767161A (en) Remote calling depth recognition method and device, computer equipment and readable storage medium
CN109068286B (en) Information analysis method, medium and equipment
CN116775716A (en) Data query method and device, storage medium and electronic equipment
CN110019357B (en) Database query script generation method and device
CN115757318A (en) Log query method and device, storage medium and electronic equipment
CN112596974A (en) Full link monitoring method, device, equipment and storage medium
CN109426540B (en) Element click condition detection method and device, storage medium and processor
CN109426559B (en) Command issuing method and device, storage medium and processor
CN108234196B (en) Fault detection method and device
CN113691423B (en) Drawing method and device of data flow path, storage medium and electronic equipment
CN110929184A (en) Link display method, system, storage medium and processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant