CN110737879A - Website copyright time management method and device, storage medium and equipment - Google Patents

Website copyright time management method and device, storage medium and equipment Download PDF

Info

Publication number
CN110737879A
CN110737879A CN201911011011.9A CN201911011011A CN110737879A CN 110737879 A CN110737879 A CN 110737879A CN 201911011011 A CN201911011011 A CN 201911011011A CN 110737879 A CN110737879 A CN 110737879A
Authority
CN
China
Prior art keywords
website
time
copyright time
configuration information
website copyright
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.)
Pending
Application number
CN201911011011.9A
Other languages
Chinese (zh)
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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201911011011.9A priority Critical patent/CN110737879A/en
Publication of CN110737879A publication Critical patent/CN110737879A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The method comprises the steps of obtaining website copyright time configuration information, wherein the website copyright time configuration information at least comprises website identification of a website and current website copyright time of the website, executing prompt operation when the website copyright time of the website exceeds the validity period, wherein the prompt operation is used for indicating the website copyright time of the website to be reconfigured, and sending the updated website copyright time to a website server of the website after the website copyright time of the website is updated.

Description

Website copyright time management method and device, storage medium and equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a management method, an apparatus, a storage medium, and a device for managing kinds of website copyright time.
Background
The Copyright of the website is legal Copyright information which is filed according to filing requirements, and the standard format of the legal Copyright information is usually Copyright + Copyright validity period (such as year) + author, wherein the Copyright validity period is also called the Copyright time of the website, wherein the Copyright time of the website is which is a necessary condition for checking whether the website is legal, and if the Copyright time of the website is invalid or not correctly marked, the website is at risk of closing and the like.
In the related technology, management of the website copyright time completely depends on manual work, taking the website copyright time as the year as an example, when a website development engineer writes a website, the website copyright time is usually fixed and written by codes, and when the natural year changes, the website development engineer updates the website copyright time by code editing.
Because the website copyright time is completely and manually updated, the flexibility is not only lacked, but also the problem of forgetting is easily caused because the time span is large (taking the natural year as a unit), namely, a website development engineer forgets to update the website copyright time after the natural year changes, so that the website copyright information cannot be updated timely and accurate management cannot be performed.
Disclosure of Invention
The present disclosure provides kinds of website copyright information management methods, devices, storage media and devices, so as to at least solve the problem that the website copyright information update is not timely enough and accurate management cannot be performed in the related art.
According to aspect of the disclosed embodiment, there is provided methods for managing copyright time of websites, including:
acquiring website copyright time configuration information, wherein the website copyright time configuration information at least comprises a website identification of a website and the current website copyright time of the website;
when detecting that the website copyright time of the website exceeds the validity period, executing a prompt operation, wherein the prompt operation is used for indicating that the website copyright time of the website is reconfigured;
and after the website copyright time of the website is updated, sending the updated website copyright time to a website server of the website.
In possible implementations, the method further includes:
acquiring a service configuration name corresponding to the website copyright time configuration information;
and storing the corresponding relation between the website copyright time configuration information of the website and the service configuration name.
In possible implementation manners, the obtaining the website copyright time configuration information includes:
displaying a service configuration interface;
and acquiring the website copyright time configuration information input in the service configuration page.
In possible implementation manners, the obtaining a service configuration name corresponding to the website copyright time configuration information includes:
and acquiring a service configuration name which is input in the service configuration page and corresponds to the website copyright time configuration information.
In possible implementation manners, after storing the correspondence between the website copyright time configuration information of the website and the service configuration name, the method further includes:
receiving a website copyright time query request sent by the website server, wherein the website copyright time query request is sent by the website server after receiving a website access request initiated by a user terminal;
inquiring the currently stored website copyright time of the website according to the service configuration name transmitted in the website copyright time inquiry request and the stored corresponding relation;
and returning the inquired website copyright time to the website server so that the website server sends the website copyright information of the website to the user terminal for displaying, wherein the website copyright information comprises the inquired website copyright time.
In possible implementation manners, the website copyright time configuration information further includes a reference geographic area to which the website belongs, and after the website copyright time configuration information is obtained, the method further includes:
receiving a network address sent by a user terminal;
acquiring a target geographical area corresponding to the network address of the user terminal in the corresponding relation between the network address and the geographical area, and acquiring a time zone conversion value based on the reference geographical area and the target geographical area;
and acquiring the current reference time of the reference geographic area, determining the real-time of the target geographic area according to the current reference time and the time zone conversion value, and returning the real-time to the website server so that the website server sends the real-time to the user terminal for display.
In possible implementations, after obtaining the website copyright time configuration information, the method further includes:
receiving system language information used by the user terminal and sent by the user terminal and browser language information used by a browser accessing the website on the user terminal;
and correcting the target geographic area according to the system language information and the browser language information.
According to a second aspect of the embodiments of the present disclosure, there is provided an kinds of website copyright time management apparatus, including:
the acquisition unit is configured to acquire website copyright time configuration information, wherein the website copyright time configuration information at least comprises a website identification of a website and the current website copyright time of the website;
the prompting unit is configured to execute a prompting operation when detecting that the website copyright time of the website exceeds the validity period, wherein the prompting operation is used for indicating that the website copyright time of the website is reconfigured;
and the sending unit is configured to send the updated website copyright time to a website server of the website after the website copyright time of the website is updated.
In possible implementations, the apparatus further includes:
the acquisition unit is further configured to acquire a service configuration name corresponding to the website copyright time configuration information;
a storage unit configured to store a correspondence between website copyright time configuration information of the website and the service configuration name.
In possible implementations, the apparatus further includes:
the display unit is used for displaying a service configuration interface;
the acquisition unit is further configured to acquire the website copyright time configuration information input in the service configuration page.
In possible implementation manners, the obtaining unit is further configured to obtain a service configuration name corresponding to the website copyright time configuration information, which is input in the service configuration page.
In possible implementations, the apparatus further includes:
the receiving unit is configured to receive a website copyright time query request sent by the website server, wherein the website copyright time query request is sent by the website server after receiving a website access request initiated by a user terminal;
the query unit is configured to query the currently stored website copyright time of the website according to the service configuration name and the stored corresponding relation transmitted in the website copyright time query request;
the sending unit is further configured to return the queried website copyright time to the website server, so that the website server sends the website copyright information of the website to the user terminal for display, wherein the website copyright information includes the queried website copyright time.
In possible implementation manners, the website copyright time configuration information further includes a reference geographic area to which the website belongs, and the apparatus further includes:
a receiving unit configured to receive a network address transmitted by a user terminal;
a time calculation unit configured to acquire a target geographical area corresponding to the network address of the user terminal in a correspondence relationship between the network address and the geographical area, and acquire a time zone conversion value based on the reference geographical area and the target geographical area; acquiring the current reference time of the reference geographic area, and determining the real-time of the target geographic area according to the current reference time and the time zone conversion value;
the sending unit is further configured to return the real-time to the website server, so that the website server sends the real-time to the user terminal for display.
In possible implementation manners, the receiving unit is further configured to receive system language information, sent by the user terminal, used by the user terminal, and browser language information, sent by a browser on the user terminal and used by a browser accessing the website;
the time calculation unit is further configured to modify the target geographic area according to the system language information and the browser language information.
According to a third aspect of the embodiments of the present disclosure, there are provided electronic devices, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method for managing web site copyright time as described in any of of the above.
According to a fourth aspect of the embodiments of the present disclosure, there are provided storage media, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method for managing website copyright time as described in any of of the aforementioned aspect.
According to a fifth aspect of the embodiments of the present disclosure, computer program products are provided, wherein when instructions of the computer program products are executed by a processor of an electronic device, the electronic device is capable of executing the method for managing the copyright time of the website according to of the aforementioned aspect.
The technical scheme provided by the embodiment of the disclosure at least has the following beneficial effects:
the website copyright time management method and the website copyright time management device can achieve configurability, namely the website copyright time configuration information is supported by operation and maintenance personnel, for example, website copyright time configuration information input by the operation and maintenance personnel can be obtained, wherein the website copyright time configuration information at least comprises website identification of a website and current website copyright time of the website, when the website copyright time of the website is detected to exceed the validity period, prompt operation can be automatically executed, the prompt operation is used for indicating the operation and maintenance personnel to reconfigure the website copyright time of the website, namely, the configured website copyright information can be automatically updated, manual memory is not needed, for example, the operation and maintenance personnel can be automatically prompted after natural year changes, the operation and maintenance personnel can be prompted to update the configured website copyright time, steps are carried out, after the website copyright time is updated, the updated website copyright time can be sent to a website server of the website, so that the website copyright time of a website page is displayed on the website, and the website copyright time management can be accurately managed.
It is to be understood that both the foregoing -general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description , serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic diagram of an implementation environment related to a management method of website copyright time according to an exemplary embodiment.
Fig. 2 is a diagram illustrating the display effect of website copyright times according to an exemplary embodiment of .
Fig. 3 is a flowchart illustrating a management method of website copyright time according to an exemplary embodiment of .
Fig. 4 is a flowchart illustrating a management method of website copyright time according to an exemplary embodiment of .
Fig. 5 is a flowchart illustrating a management method of website copyright time according to an exemplary embodiment of .
Fig. 6 is a flowchart illustrating an implementation of a method for managing the copyright time of websites according to an exemplary embodiment of .
Fig. 7 is a flowchart illustrating a management method of website copyright time according to an exemplary embodiment of .
Fig. 8 is a diagram illustrating the display effect of another website copyright times according to an exemplary embodiment of .
Fig. 9 is a block diagram illustrating a management apparatus of kinds of website copyright time according to an exemplary embodiment of .
Fig. 10 is a block diagram of the electronic devices shown in accordance with an exemplary embodiment of .
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The user information to which the present disclosure relates may be information authorized by the user or sufficiently authorized by each party.
Before explaining the embodiments of the present disclosure in detail, terms related to the embodiments of the present disclosure are explained.
Website copyright: refers to the exclusive rights that a web site author or web site owner has on the web site he or she authored.
Website Copyright information in possible implementations, the standard format of the website Copyright information should be Copyright + [ date ] + [ author/owner ]. in addition, some website Copyright notices may add suffixes "All Rights Reserved" after the name of the author or owner, usually directly translated to Copyright ownership, to change the format of the website Copyright information to the form of "copyright2016xxx.
For the format of the website copyright information, [ dates ] refers to the website copyright time, namely the website validity period, and can also be called website record aging, and the date is usually updated by using natural years as an update period, namely , which needs to be updated every year in time to ensure the validity of the website.
In possible implementations, [ dates ] may only show the latest year, such as 2019 now, just 2019, and [ dates ] may also show that it does not start from a certain start date until now, such as 1998-2019, which is not specifically limited by the disclosed embodiments.
As examples, [ dates ] may be specific to a year, a month, a day or an hour, and this is not particularly limited in the embodiments of the present disclosure.
The following describes an implementation environment related to a method for managing website copyright time according to an embodiment of the present disclosure.
Referring to fig. 1, the implementation environment includes a user terminal 101, a web server 102, and an electronic device 103.
The user terminal 101 is provided with a browser, a user can initiate a website access request to the website server 102 through the browser, the website server 102 is responsible for returning request data to the user terminal 101 based on the website access request initiated by the user, and the user terminal 101 presents a website page for the user according to the data returned by the network server 102.
As an example, the copyright information of the website is usually displayed at the bottom of the page as shown in FIG. 2, and is used to announce that the website is owned by the website author or the website owner who has exclusive rights to the website.
In the embodiment of the present disclosure, the electronic device 103 is responsible for managing website copyright information of a website, that is, the electronic device 103 is configured to execute the method for managing website copyright time provided by the embodiment of the present disclosure, in brief, the embodiment of the present disclosure realizes the configurability of the website copyright time, that is, the website copyright time can be configured by an operation and maintenance person dedicated to through a configuration service provided by the electronic device 103.
In possible implementation manners, the electronic device 103 may be implemented by combining Vue, Axios, Node, and Zookeeper, where Zookeeper is a configuration platform and is responsible for carrying configuration of website copyright time, Vue is a front-end Javascript frame and is responsible for building a visualization interface of Zookeeper so as to facilitate website copyright time configuration by operation and maintenance staff through the visualization interface, Node is responsible for providing query service of website copyright time for the website server 102, and Axios is responsible for requesting query service for the website server 102.
To sum up, the management method for the website copyright time provided by the embodiment of the disclosure has better flexibility, realizes configurability, does not need to rely on a website development engineer to update completely manually, can update the website copyright information automatically, does not need to remember artificially, and can prompt operation and maintenance personnel automatically after the change of natural years, for example, to prompt the operation and maintenance personnel to update the website copyright time, i.e., the embodiment of the disclosure can update the website copyright information in time, and realizes accurate management of the website copyright time.
The following describes a detailed description of a method for managing the copyright time of a website according to an embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a management method of website copyright time according to an exemplary embodiment of , where the management method of website copyright time is used in an electronic device, as shown in fig. 3, and includes the following steps.
In step 301, website copyright time configuration information is obtained, where the website copyright time configuration information at least includes a website identifier of a website and a current website copyright time of the website.
In step 302, when it is detected that the website copyright time of the website exceeds the validity period, a prompt operation is performed, and the prompt operation is used for instructing to reconfigure the website copyright time of the website.
In step 303, after the website copyright time of the website is updated, the updated website copyright time is sent to the website server of the website.
The method provided by the embodiment of the disclosure enables the website copyright time to be configurable, namely, the embodiment of the disclosure supports operation and maintenance personnel to configure the website copyright time, for example, website copyright time configuration information input by the operation and maintenance personnel can be obtained, wherein the website copyright time configuration information at least comprises website identification of a website and current website copyright time, when the website copyright time of the website is detected to exceed the validity period, a prompt operation is automatically executed, the prompt operation is used for indicating the operation and maintenance personnel to reconfigure the website copyright time of the website, namely, the embodiment of the disclosure can automatically update the configured website copyright information, no artificial memory is needed, for example, the operation and maintenance personnel can automatically prompt the operation and maintenance personnel to update the configured website copyright time after the natural year changes, steps are carried out, the updated website copyright time can be sent to a website server of the website after the website copyright time is updated, so that the latest website copyright time displayed on a website page can be accurately managed in time.
In possible implementations, the method further includes:
acquiring a service configuration name corresponding to the website copyright time configuration information;
and storing the corresponding relation between the website copyright time configuration information of the website and the service configuration name.
In possible implementation manners, the obtaining the website copyright time configuration information includes:
displaying a service configuration interface;
and acquiring the website copyright time configuration information input in the service configuration page.
In possible implementation manners, the obtaining a service configuration name corresponding to the website copyright time configuration information includes:
and acquiring a service configuration name which is input in the service configuration page and corresponds to the website copyright time configuration information.
In possible implementation manners, after storing the correspondence between the website copyright time configuration information of the website and the service configuration name, the method further includes:
receiving a website copyright time query request sent by the website server, wherein the website copyright time query request is sent by the website server after receiving a website access request initiated by a user terminal;
inquiring the currently stored website copyright time of the website according to the service configuration name transmitted in the website copyright time inquiry request and the stored corresponding relation;
and returning the inquired website copyright time to the website server so that the website server sends the website copyright information of the website to the user terminal for displaying, wherein the website copyright information comprises the inquired website copyright time.
In possible implementation manners, the website copyright time configuration information further includes a reference geographic area to which the website belongs, and after the website copyright time configuration information is obtained, the method further includes:
receiving a network address sent by a user terminal;
acquiring a target geographical area corresponding to the network address of the user terminal in the corresponding relation between the network address and the geographical area, and acquiring a time zone conversion value based on the reference geographical area and the target geographical area;
and acquiring the current reference time of the reference geographic area, determining the real-time of the target geographic area according to the current reference time and the time zone conversion value, and returning the real-time to the website server so that the website server sends the real-time to the user terminal for display.
In possible implementations, after obtaining the website copyright time configuration information, the method further includes:
receiving system language information used by the user terminal and sent by the user terminal and browser language information used by a browser accessing the website on the user terminal;
and correcting the target geographic area according to the system language information and the browser language information.
All the above-mentioned optional technical solutions can be adopted to form any combination of the optional embodiments of the present disclosure, and are not described in detail in herein.
Fig. 4 is a flowchart illustrating a management method of website copyright time according to an exemplary embodiment of , where the management method of website copyright time is used in an electronic device, as shown in fig. 4, and includes the following steps.
In step 401, the electronic device displays a service configuration interface; and acquiring website copyright time configuration information and a service configuration name corresponding to the website copyright time configuration information, which are input by operation and maintenance personnel on a service configuration page.
In the embodiment of the disclosure, in order to facilitate the operation and maintenance personnel to configure the website copyright time, a service configuration page can be provided, that is, a visual interface is provided for the operation and maintenance personnel.
In possible implementation manners, the service configuration page may include a plurality of configuration items for the operation and maintenance staff to input website copyright time configuration information, such as website identification of the website, current website copyright time (current website record time), reference geographic area of website attribution, prompt manner setting, and the like, which may be configured on the service configuration page, where the information configured on the service configuration page forms website copyright time configuration information of the website.
The reference geographical area to which the website belongs is usually the same as , namely referring to the home location of the website, for example, the reference geographical area is beijing china, in addition, the geographical area information can be replaced by time zone information, for example, beijing china belongs to the eighty region, and the time zone information to which the website belongs is directly set to the eighty region, which is not specifically limited in the embodiment of the disclosure.
The method comprises the steps of setting a prompt mode for operation and maintenance personnel to configure a prompt mode for the operation and maintenance personnel when the website record aging is out, namely, automatically prompting the operation and maintenance personnel according to the preset prompt mode when the website record aging is out so as to prompt the operation and maintenance personnel to update the website copyright time in time, and synchronously pushing the updated website copyright time to a website server so as to correspondingly update the website server and accurately manage the website copyright time.
In the embodiment of the present disclosure, to facilitate data communication between the website server and the electronic device, that is, to facilitate the website server to query the latest website copyright time from the electronic device, service configuration names are further configured for the website copyright time configuration information of the website, that is, a corresponding relationship between the website copyright time configuration information and the service configuration names is established.
In step 402, the electronic device stores website copyright time configuration information of a website and a service configuration name corresponding to the website copyright time configuration information, where the website copyright time configuration information and the service configuration name have a corresponding relationship.
In possible implementation manners, the website copyright time configuration information and the service configuration name of the website may be stored in a database of the Zookeeper, where the database may also store a record file of the website copyright and the like in addition to the website copyright time configuration information and the service configuration name of the website, and this is not particularly limited in this disclosure.
In step 403, when detecting that the website copyright time of the currently saved website exceeds the validity period, the electronic device executes a prompt operation, wherein the prompt operation is used for instructing to reconfigure the website copyright time of the website.
In addition, the embodiment of the present disclosure may automatically monitor whether the website copyright time exceeds the validity period, and automatically triggers a prompt operation when the website copyright time exceeds the validity period, where the prompt operation is used to instruct the operation and maintenance personnel to reconfigure the website copyright time of the website, that is, instruct the operation and maintenance personnel to update the failed website copyright time in time.
Taking the set prompting mode as an alarm mail as an example, after the website copyright time exceeds the valid period, the electronic device automatically sends the alarm mail to the operation and maintenance personnel to prompt the operation and maintenance personnel to update the website copyright time in time.
In step 404, after the website copyright time of the website is updated, the electronic device sends the updated website copyright time to the website server of the website.
In the embodiment of the disclosure, in order to enable the website to display correct halftone copyright information, after the update of the website copyright time of the website is completed, the electronic device may push the updated website copyright time to the website server of the website in real time, so that the website server updates the website copyright time in time. The electronic device and the website server may perform data communication through websocket technology, which is not specifically limited in this disclosure.
The method provided by the embodiment of the disclosure has at least the following beneficial effects:
the website copyright time can be configured according to the embodiment of the disclosure, that is, the embodiment of the disclosure supports operation and maintenance personnel of a special to configure the website copyright time, for example, website copyright time configuration information and a service configuration name corresponding to the website copyright time configuration information input by the operation and maintenance personnel can be obtained, the website copyright time configuration information and the service configuration name of the website can be stored, when the website copyright time of the currently stored website exceeds the validity period, prompt operation can be automatically executed, the prompt operation is used for instructing the operation and maintenance personnel to reconfigure the website copyright time of the website, that is, the embodiment of the disclosure can automatically update the configured website copyright information, manual memory is not needed, for example, the operation and maintenance personnel can be automatically prompted after the natural year changes, so as to prompt the operation and maintenance personnel to update the configured website copyright time, , after the website copyright time is updated, the updated website copyright time can be sent to a website server of the website, so that the latest website copyright time is displayed on a website page.
In summary, the management method for the website copyright time provided by the embodiment of the disclosure has better flexibility, realizes configurability, does not need to rely on a website development engineer to update completely manually, can update the website copyright information automatically, does not need to memorize artificially, for example, after the change of natural years, can automatically prompt operation and maintenance personnel to prompt the operation and maintenance personnel to update the website copyright time, can update the website copyright information in time, and realizes accurate management of the website copyright time.
In another embodiments, in order to ensure that the website can correctly display its own website copyright time, after the user initiates an access request to the website each time, the website server may initiate queries on the website copyright time, that is, it is ensured that the website can correctly present the latest website copyright time on the user terminal side, and accurate management of the website copyright time is achieved.
In step 501, the electronic device receives a website copyright time query request sent by a website server.
In possible implementation manners, the website copyright time query request is sent by the website server after receiving a website access request initiated by the user terminal, that is, when the user accesses the website through a browser installed on the user terminal, the website server initiates a query on the website copyright time to the electronic device after receiving the website access request from the user.
In step 502, the electronic device queries the currently stored website copyright time of the website from the stored website copyright time configuration information and the service configuration name according to the service configuration name transmitted in the website copyright time query request.
In possible implementation manners, the website copyright time query request transmits a service configuration name corresponding to the website, and the website copyright time configuration information and the service configuration name are stored in the database of the Zookeeper, so that the transmitted service configuration name is searched in the database of the Zookeeper, and if the database of the Zookeeper stores the website copyright time configuration information corresponding to the transmitted service configuration name, the website copyright time of the website can be obtained.
In step 503, the electronic device returns the queried copyright time of the website to the website server.
If the corresponding website copyright time configuration information is inquired, the inquired website copyright time is returned to the website server, so that the website server sends the website copyright information of the website to the user terminal to be displayed on a website page, wherein the website copyright information comprises the inquired website copyright time. Namely, the website can present the latest website copyright information to the user, and the website copyright information can be updated in time. The website copyright information may be presented at the bottom of the website page, which is not specifically limited in this disclosure.
In possible implementations, taking the electronic device implemented by Vue, Axios, Node, Zookeeper as an example, the process shown in fig. 5 can be further subdivided into the execution process shown in fig. 6 by .
1. The user initiates access to the website, and the website server initiates a website copyright time query request to Axios.
2. After receiving a website copyright time query request initiated by a website server, Axios initiates a website copyright time query request to Node.
For the above two steps, when the user initiates access to the website, the website server will request the back-end service (Node) through Axios.
3. And after receiving the query request of the website copyright time, the Node acquires the transmitted service configuration name and establishes connection with the Zookeeper.
4. And the Zookeeper receives the service configuration name sent by the Node based on the established connection, searches in a database according to the service configuration name, and returns the current website copyright time to the website server through the Node and the Axios if the website copyright time configuration information corresponding to the service configuration name is searched.
It should be noted that the Axios may also be replaced by a catch, and the Node may be replaced by php, java, go, and other languages, which are not specifically limited in this disclosure.
In addition, when the showing unit of the time is as fine as the month or day or hour except the year, the website can present the current time corresponding to the user in different time zones for the users in different country regions to visit the website conveniently, referring to fig. 7, the disclosed embodiment further comprises the following steps.
In step 701, the electronic device receives a network address sent by a user terminal, system language information used by the user terminal, and browser language information used by a browser accessing a website on the user terminal.
That is, when a user accesses a website through a browser, the browser may automatically transmit a network address of the user, system language information used by a user terminal, and browser language information used by the browser accessing the website on the user terminal to the electronic device, in possible implementations, the electronic device receives the information transmitted by the user terminal through a web server, as examples, the web server may transmit the information to the electronic device through the aforementioned website copyright time query request, which is not specifically limited in the embodiment of the present disclosure.
In step 702, in the correspondence between the network address and the geographic area, the electronic device obtains a target geographic area corresponding to the network address of the user terminal, obtains a time zone conversion value based on the reference geographic area and the target geographic area, and corrects the target geographic area according to the system language information and the browser language information.
For example, if the network address corresponds to tokyo, may determine that the determined target geographic area is accurate if the system language information and the browser language information are both japanese, whereas if the network address corresponds to tokyo but the system language information and the browser language information are both korean, the obtained target geographic area may need to be corrected.
In another possible implementations, the geographic area where the user is located may be determined based on the network address, the system language information, and the browser language information, respectively, and the target geographic area where the user is located is determined in the determination results of the three indexes by a majority winning mechanism, or based on the determination result of the index with a high priority, which is not specifically limited in the embodiments of the present disclosure.
In step 703, the current reference time of the reference geographic area is obtained, the real-time of the target geographic area is determined according to the current reference time and the time zone conversion value, and the real-time is returned to the website server, so that the website server sends the real-time to the user terminal for display.
Taking the reference geographic area as beijing and the target geographic area as tokyo as an example, the converted value of the time zone is 1, and based on the greenwich mean time, assuming that the current time of beijing is 8:00:00, the real-time of tokyo is 8+ 1: 9:00: 00.
In another possible implementation manners, the real-time may be directly calculated by greenwich mean time, for example, after it is determined that the target geographic area where the user is currently located is tokyo, since the greenwich mean is located in the dongyun area where tokyo is located, the time zone conversion value is 9-0 ═ 9, and assuming that the current time of the greenwich mean is 0:00:00, the real-time of the greenwich mean time is 0+ 9:00: 00.
Additionally, the electronic device may return the website copyright time and the real-time to the website server in the form of a timestamp, and the website server may perform formatted presentation on a website page presented by the user terminal according to the need of the website server after taking the timestamp, such as presentation to a year or a month or a day or an hour, and the like, wherein fig. 8 illustrates a real-time presentation as fine as an hour.
Fig. 9 is a block diagram illustrating a management apparatus for kinds of web site copyright time according to an exemplary embodiment of , referring to fig. 9, the apparatus includes an acquisition unit 901, a presentation unit 902, and a transmission unit 903.
An obtaining unit 901, configured to obtain website copyright time configuration information, where the website copyright time configuration information at least includes a website identifier of a website and a current website copyright time of the website;
a prompting unit 902 configured to execute a prompting operation when detecting that the website copyright time of the website exceeds the validity period, wherein the prompting operation is used for instructing to reconfigure the website copyright time of the website;
a sending unit 903, configured to send the updated website copyright time to a website server of the website after the website copyright time of the website is updated.
The device provided by the embodiment of the disclosure can configure the website copyright time, that is, the embodiment of the disclosure supports operation and maintenance personnel to configure the website copyright time, for example, website copyright time configuration information input by the operation and maintenance personnel can be obtained, wherein the website copyright time configuration information at least comprises a website identifier of a website and the current website copyright time of the website, when the website copyright time of the website exceeds the validity period, a prompt operation is automatically executed, and the prompt operation is used for instructing the operation and maintenance personnel to reconfigure the website copyright time of the website, that is, the embodiment of the disclosure can automatically update the configured website copyright information without artificial memory, for example, the operation and maintenance personnel can automatically prompt the operation and maintenance personnel to update the configured website copyright time after the natural year changes, steps are carried out, the updated website copyright time can be sent to a website server of the website after the website copyright time is updated, so that the latest website copyright time displayed on a website page can be accurately managed in time.
In possible implementations, the apparatus further includes:
the acquisition unit is further configured to acquire a service configuration name corresponding to the website copyright time configuration information;
a storage unit configured to store a correspondence between website copyright time configuration information of the website and the service configuration name.
In possible implementations, the apparatus further includes:
the display unit is used for displaying a service configuration interface;
an obtaining unit, further configured to obtain the website copyright time configuration information input in the service configuration page.
In , the obtaining unit is further configured to obtain a service configuration name corresponding to the website copyright time configuration information, which is input in the service configuration page.
In possible implementations, the apparatus further includes:
the receiving unit is configured to receive a website copyright time query request sent by the website server, wherein the website copyright time query request is sent by the website server after receiving a website access request initiated by a user terminal;
the query unit is configured to query the currently stored website copyright time of the website according to the service configuration name and the stored corresponding relation transmitted in the website copyright time query request;
and the sending unit is also configured to return the inquired website copyright time to the website server so as to enable the website server to send the website copyright information of the website to the user terminal for displaying, wherein the website copyright information comprises the inquired website copyright time.
In possible implementation manners, the website copyright time configuration information further includes a reference geographic area to which the website belongs, and the receiving unit is further configured to receive a network address sent by the user terminal;
a time calculation unit configured to acquire a target geographical area corresponding to the network address of the user terminal in a correspondence relationship between the network address and the geographical area, and acquire a time zone conversion value based on the reference geographical area and the target geographical area; acquiring the current reference time of the reference geographic area, and determining the real-time of the target geographic area according to the current reference time and the time zone conversion value;
the sending unit is further configured to return the real-time to the website server so that the website server sends the real-time to the user terminal for display.
In possible implementation manners, the receiving unit is further configured to receive system language information, which is sent by the user terminal and used by the user terminal, and browser language information, which is used by a browser accessing the website on the user terminal;
a time calculation unit further configured to modify the target geographic area according to the system language information and the browser language information.
All the above-mentioned optional technical solutions can be adopted to form any combination of the optional embodiments of the present disclosure, and are not described in detail in herein.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 is a schematic structural diagram of electronic devices provided in this embodiment, where the electronic device 1000 may generate a relatively large difference due to different configurations or performances, and may include or or more processors (CPUs) 1001 and or or more memories 1002, where at least instructions are stored in the memory 1002, and the at least instructions are loaded and executed by the processors 1001 to implement the website copyright information management method provided in each method embodiment described above.
In an exemplary embodiment, storage media comprising instructions, such as memory 804 comprising instructions executable by processor 820 of apparatus 800 to perform the above-described method of managing web site copyright time, are also provided.
This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the -like principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1, kinds of website copyright time management method, characterized by comprising:
acquiring website copyright time configuration information, wherein the website copyright time configuration information at least comprises a website identification of a website and the current website copyright time of the website;
when detecting that the website copyright time of the website exceeds the validity period, executing a prompt operation, wherein the prompt operation is used for indicating that the website copyright time of the website is reconfigured;
and after the website copyright time of the website is updated, sending the updated website copyright time to a website server of the website.
2. The method for managing copyright time of web sites of claim 1, further comprising:
acquiring a service configuration name corresponding to the website copyright time configuration information;
and storing the corresponding relation between the website copyright time configuration information of the website and the service configuration name.
3. The method for managing website copyright time according to claim 1 or 2, wherein the acquiring website copyright time configuration information comprises:
displaying a service configuration interface;
and acquiring the website copyright time configuration information input in the service configuration page.
4. The method for managing website copyright time according to claim 3, wherein the acquiring the service configuration name corresponding to the website copyright time configuration information comprises:
and acquiring a service configuration name which is input in the service configuration page and corresponds to the website copyright time configuration information.
5. The method for managing website copyright time according to claim 2, wherein after storing the correspondence between the website copyright time configuration information and the service configuration name of the website, the method further comprises:
receiving a website copyright time query request sent by the website server, wherein the website copyright time query request is sent by the website server after receiving a website access request initiated by a user terminal;
inquiring the currently stored website copyright time of the website according to the service configuration name transmitted in the website copyright time inquiry request and the stored corresponding relation;
and returning the inquired website copyright time to the website server so that the website server sends the website copyright information of the website to the user terminal for displaying, wherein the website copyright information comprises the inquired website copyright time.
6. The method for managing website copyright time according to claim 1, wherein the website copyright time configuration information further includes a reference geographical area to which the website belongs, and after acquiring the website copyright time configuration information, the method further includes:
receiving a network address sent by a user terminal;
acquiring a target geographical area corresponding to the network address of the user terminal in the corresponding relation between the network address and the geographical area, and acquiring a time zone conversion value based on the reference geographical area and the target geographical area;
and acquiring the current reference time of the reference geographic area, determining the real-time of the target geographic area according to the current reference time and the time zone conversion value, and returning the real-time to the website server so that the website server sends the real-time to the user terminal for display.
7. The method for managing website copyright time according to claim 6, wherein after acquiring the website copyright time configuration information, the method further comprises:
receiving system language information used by the user terminal and sent by the user terminal and browser language information used by a browser accessing the website on the user terminal;
and correcting the target geographic area according to the system language information and the browser language information.
8, kinds of website copyright time management device, characterized by comprising:
the acquisition unit is configured to acquire website copyright time configuration information, wherein the website copyright time configuration information at least comprises a website identification of a website and the current website copyright time of the website;
the prompting unit is configured to execute a prompting operation when detecting that the website copyright time of the website exceeds the validity period, wherein the prompting operation is used for indicating that the website copyright time of the website is reconfigured;
and the sending unit is configured to send the updated website copyright time to a website server of the website after the website copyright time of the website is updated.
An electronic device of the type , comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of managing web site copyright time of any of claims 1-7 and .
storage media, when instructions in the storage media are executed by a processor of an electronic device, enabling the electronic device to perform the method for managing a website copyright time according to any of claims 1 to 7.
CN201911011011.9A 2019-10-23 2019-10-23 Website copyright time management method and device, storage medium and equipment Pending CN110737879A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911011011.9A CN110737879A (en) 2019-10-23 2019-10-23 Website copyright time management method and device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911011011.9A CN110737879A (en) 2019-10-23 2019-10-23 Website copyright time management method and device, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN110737879A true CN110737879A (en) 2020-01-31

Family

ID=69271009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911011011.9A Pending CN110737879A (en) 2019-10-23 2019-10-23 Website copyright time management method and device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN110737879A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115424A (en) * 2020-09-21 2020-12-22 北京字节跳动网络技术有限公司 Method, device, system, equipment and medium for acquiring copyright content
CN112118466A (en) * 2020-09-21 2020-12-22 北京字节跳动网络技术有限公司 Copyright protection method, device, system, equipment and medium for multimedia information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060100011A (en) * 2005-03-15 2006-09-20 주식회사 비즈모델라인 Webpage authentication e-document, medium for storing webpage authentication e-document and recording medium for program created webpage authentication e-document
CN106489145A (en) * 2015-12-28 2017-03-08 华为技术有限公司 The access method of web site, device and Web site system
CN108173930A (en) * 2017-12-26 2018-06-15 郑州云海信息技术有限公司 A kind of page time-out configuration warning device and method
CN108270610A (en) * 2017-02-16 2018-07-10 广州市动景计算机科技有限公司 The method and apparatus of digital certificate monitoring
CN109032646A (en) * 2018-08-28 2018-12-18 杭州迪普科技股份有限公司 A kind of methods, devices and systems updating application
CN110324347A (en) * 2019-07-08 2019-10-11 秒针信息技术有限公司 A kind of information integrating method, device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060100011A (en) * 2005-03-15 2006-09-20 주식회사 비즈모델라인 Webpage authentication e-document, medium for storing webpage authentication e-document and recording medium for program created webpage authentication e-document
CN106489145A (en) * 2015-12-28 2017-03-08 华为技术有限公司 The access method of web site, device and Web site system
CN108270610A (en) * 2017-02-16 2018-07-10 广州市动景计算机科技有限公司 The method and apparatus of digital certificate monitoring
CN108173930A (en) * 2017-12-26 2018-06-15 郑州云海信息技术有限公司 A kind of page time-out configuration warning device and method
CN109032646A (en) * 2018-08-28 2018-12-18 杭州迪普科技股份有限公司 A kind of methods, devices and systems updating application
CN110324347A (en) * 2019-07-08 2019-10-11 秒针信息技术有限公司 A kind of information integrating method, device and electronic equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ERIC KEAMER: "《HTML 创建网页的基础入门语言》", 31 August 2001 *
吴志祥等: "《PHP动态网页设计与网站架设》", 30 September 2015 *
王连印等: "《大数据在质检领域的应用》", 30 April 2018 *
黑马程序员: "《NODE.JS核心技术教程》", 30 April 2017 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115424A (en) * 2020-09-21 2020-12-22 北京字节跳动网络技术有限公司 Method, device, system, equipment and medium for acquiring copyright content
CN112118466A (en) * 2020-09-21 2020-12-22 北京字节跳动网络技术有限公司 Copyright protection method, device, system, equipment and medium for multimedia information

Similar Documents

Publication Publication Date Title
US20160196494A1 (en) Location analysis for analytics
JP2005519413A (en) System and method for providing comprehensive healthcare data storage means
CN103763122A (en) Fault information processing method and service system
CN104427627A (en) Test data obtaining method, client and server
CN110737879A (en) Website copyright time management method and device, storage medium and equipment
CN109635067A (en) A kind of latitude and longitude information correcting method, device, equipment and storage medium
CN108319550A (en) A kind of test system and test method
CN110706800A (en) Automatic management method and device for equipment maintenance, computer equipment and storage medium
JP2010068719A (en) System for monitoring green space, and delivery method for monitoring green space
CN112532489A (en) Internet of things equipment identification method and system and storage medium
KR20000024414A (en) System and Method for Providing Geographical Information through Internet
JP2020135165A (en) Taxation information management device, taxation information management method, and program
CN113889247A (en) Medical code communication-based user data acquisition method and medical system
JP5321302B2 (en) Database access program, data acquisition device, and database access method
CN103729177A (en) Information providing system and method for providing information
CN111178839A (en) Environmental protection tax declaration monitoring management method, device and system
US20150177015A1 (en) Information management system and information management program storage medium
US20150286734A1 (en) Computer system and method for integrating structured data representation between users and foreign national/international trademark offices
CN102508926A (en) Catalog data parsing method and system
CN109685218B (en) Communication segment information management system
US20060276967A1 (en) Method and apparatus for collecting and distributing beach water quality alerts
CN110300193A (en) A kind of method and apparatus obtaining entity domain name
US20160036766A1 (en) Method and system for synchronizing program masks
CN105306606A (en) Domain name analysis method and system
CN107870854B (en) Method and device for testing data accuracy of chart library

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200131

RJ01 Rejection of invention patent application after publication