CN116186396B - Birthday-based meteorological data query method, storage medium and server - Google Patents

Birthday-based meteorological data query method, storage medium and server Download PDF

Info

Publication number
CN116186396B
CN116186396B CN202310074991.7A CN202310074991A CN116186396B CN 116186396 B CN116186396 B CN 116186396B CN 202310074991 A CN202310074991 A CN 202310074991A CN 116186396 B CN116186396 B CN 116186396B
Authority
CN
China
Prior art keywords
weather
data
query
database
date
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.)
Active
Application number
CN202310074991.7A
Other languages
Chinese (zh)
Other versions
CN116186396A (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 Tianyi Technology Co ltd
Original Assignee
Beijing Tianyi 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 Tianyi Technology Co ltd filed Critical Beijing Tianyi Technology Co ltd
Priority to CN202310074991.7A priority Critical patent/CN116186396B/en
Publication of CN116186396A publication Critical patent/CN116186396A/en
Application granted granted Critical
Publication of CN116186396B publication Critical patent/CN116186396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Abstract

The application provides a birthday-based meteorological data query method, a program product, a storage medium and a server, wherein the method comprises the following steps: acquiring a query request, wherein the query request is used for requesting to query weather data; wherein the query request includes a query date and geographic location information; determining a queried weather database based on the query date; the weather database comprises a first weather database and a second weather database, wherein weather data in the first weather database are obtained by desensitizing historical weather data in a first time period, and weather data in the second weather database are estimated based on the historical weather data in a second time period after the desensitizing, and the second time period is in the first time period; and inquiring weather data matched with the geographical position information and the inquiring date from the determined weather database based on the geographical position information.

Description

Birthday-based meteorological data query method, storage medium and server
Technical Field
The application relates to the technical field of computers, in particular to a birthday-based meteorological data query method, a birthday-based meteorological data query device, a server and a storage medium.
Background
At present, the public uses the weather history data only in the stage of inquiring the weather elements, and the application service can be provided for the public after the desensitization treatment due to the confidentiality of the weather data, so the deep mining and interesting research and development of the weather data are lacking. The weather history data is taken as basic data of the weather data, and partial missing situations exist, so that the weather data cannot be obtained when partial date is inquired.
Disclosure of Invention
Aiming at the technical problem of missing weather history data in the prior art, the application provides a birthday-based weather data query method, a program product, a storage medium and a server.
In order to achieve the above purpose, the application is realized by the following technical scheme:
a birthday-based meteorological data query method comprises the following steps:
acquiring a query request, wherein the query request is used for requesting to query weather data; wherein the query request includes a query date and geographic location information;
determining a queried weather database based on the query date; the weather database comprises a first weather database and a second weather database, wherein weather data in the first weather database are obtained by desensitizing historical weather data in a first time period, and weather data in the second weather database are obtained by estimating the weather data in a second time period after the desensitizing, and the second time period is in the first time period;
and inquiring weather data matched with the geographical position information and the inquiring date from the determined weather database based on the geographical position information.
Optionally, the step of querying the determined weather database for weather data matching the geographical location information and the query date based on the geographical location information includes:
if the weather database determined based on the query date is the first weather database, inquiring from the first weather database to obtain weather data matched with the geographic position information and the query date;
and if the weather database determined based on the query date is the second weather database, determining a query time period corresponding to the query date according to a preset rule, and querying from the second weather database to obtain weather data matched with the geographic position information and the query time period.
Optionally, after the weather data matching the geographical location information and the query date is queried from the determined weather database based on the geographical location information, the birthday-based weather data query method further includes:
determining a page and audio corresponding to the query date based on the query date, the page style library and the audio library;
and displaying the meteorological data in an imaging mode on a page corresponding to the query date and playing audio corresponding to the query date.
Optionally, the determining the queried weather database based on the query date includes:
if the query date is within the first time period, determining that the queried weather database is the first weather database;
if the query date is before the first time period, determining that the queried weather database is the second weather database;
and if the query date is after the first time period, outputting prompt information that the weather data query cannot be performed.
Optionally, the meteorological data comprises special weather phenomenon data, extreme value data, rain and snow weather data and normal element data; the special weather phenomenon data represent weather data of special weather types accompanied by haze, sand lifting, floating and sinking, sand storm and dust wind; the extremum class data represent high-temperature weather daily value data calculated by a meteorological algorithm; the rain and snow weather data represent weather data containing rain and snow weather phenomena through data screening; the normal element data represents sun weather data.
Optionally, the weather database stores the weather data in json format.
Optionally, the weather elements in the first weather database and the second weather database are saved after the pseudonym replacement is performed, a mapping relation table of the pseudonym and the direct identifier of the weather element is constructed, and authority management is performed on the mapping relation table.
The application also provides a computer storage medium, which is characterized in that the storage medium is stored with a computer program, and the computer program is recorded by a processor to execute the steps of the weather data query method based on birthday.
The application also proposes a server comprising: a memory having a computer program stored thereon; a processor for executing the computer program in the memory to implement the steps of the birthday-based weather data query method as described above.
According to the technical scheme, the queried weather database is determined through the query date, and then weather data matched with the query date is determined according to the determined weather database and the geographic position information. The weather database includes a first weather database and a second weather database. The meteorological data in the first meteorological database are desensitized according to historical meteorological data in a first time period; and the second meteorological data in the second meteorological data base is estimated according to the desensitization processing of the historical meteorological data in the second time period. Under the condition that the historical meteorological data are missing, the queried meteorological database is determined through the query date, then the meteorological data matched with the query date are determined according to the determined meteorological database and the geographic position information, so that some users can query through the second meteorological database to obtain the meteorological data in a non-first time period so as to make up for the missing of the historical meteorological data, the interestingness and scientificity of the meteorological data query can be increased, and necessary meteorological data references can be provided for some activities.
Drawings
FIG. 1 is a schematic diagram of an implementation environment in accordance with various embodiments of the present application;
FIG. 2 is a flow chart of a birthday-based weather data query method according to the present application;
FIG. 3 is a schematic flow chart of a birthday-based weather data query method according to the present application;
FIG. 4 is a block diagram of another flow chart of the birthday-based weather data query method according to the present application;
fig. 5 is a block diagram of a server according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, a schematic structural diagram of an implementation environment according to various embodiments of the present application is shown. As shown in fig. 1, the implementation environment includes a server 100 and a client terminal 200. The client terminal may be a web client (e.g., a browser) and an application client (e.g., an applet or APP). In the embodiment, the product can be deployed locally through the integrated machine, a browser plug-in is used, and the automatic starting of the program is realized by using a startup self-starting scheme. The web front-end technology is adopted, html5 is utilized to manufacture an interactive page, js obtains historical data and product interaction logic, and css controls the page display effect. The code scanning interactive product can also be realized through a mobile terminal: adopting web front-end technology, utilizing html5 to make an interactive page, json obtaining meteorological data and preset product interaction logic, and css controlling page display effect; and meanwhile, a canvas is adopted to draw a result page queried by a user, so that the picture can be conveniently stored locally.
Server 140 is a server, a server cluster formed by a plurality of servers, or a cloud computing center. As an alternative implementation of the above embodiment, the above wireless network or wired network uses standard communication techniques and/or protocols. The network is typically the Internet, but may be any network including, but not limited to, a local area network (Local Area Network, LAN), metropolitan area network (Metropolitan Area Network, MAN), wide area network (Wide Area Network, WAN), mobile, wired or wireless network, private network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including HyperText Mark-up Language (HTML), extensible markup Language (Extensible MarkupLanguage, XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as secure sockets layer (Secure Socket Layer, SSL), transport layer security (Transport Layer Security, TLS), virtual private network (Virtual Private Network, VPN), internet protocol security (Internet ProtocolSecurity, IPsec), etc. In other embodiments, custom and/or dedicated data communication techniques may also be used in place of or in addition to the data communication techniques described above.
FIG. 2 is a flow chart illustrating a birthday-based weather data query method in accordance with an exemplary embodiment. The weather data query method based on birthdays can be applied to a server, and query results are output at a client through the weather data query of the server. For example, the client may be client 110 shown in FIG. 1 and the server may be server 100 shown in FIG. 1. As shown in FIG. 2, the birthday-based weather data query method comprises the following steps:
s100, acquiring a query request, wherein the query request is used for requesting to query weather data; wherein the query request includes a query date and geographic location information;
s200, determining a queried weather database based on the query date; the weather database comprises a first weather database and a second weather database, wherein weather data in the first weather database are obtained by desensitizing historical weather data in a first time period, and weather data in the second weather database are estimated based on the historical weather data in a second time period after the desensitizing, and the second time period is in the first time period;
and S300, inquiring weather data matched with the geographical position information and the inquiring date from the determined weather database based on the geographical position information.
According to the technical scheme, the queried weather database is determined through the query date, and then weather data matched with the query date is determined according to the determined weather database and the geographic position information. The weather database includes a first weather database and a second weather database. The meteorological data in the first meteorological database are desensitized according to historical meteorological data in a first time period; and the second meteorological data in the second meteorological data base is estimated according to the desensitization processing of the historical meteorological data in the second time period. Under the condition that the historical meteorological data are missing, the queried meteorological database is determined through the query date, then the meteorological data matched with the query date are determined according to the determined meteorological database and the geographic position information, so that some users can query through the second meteorological database to obtain the meteorological data in a non-first time period, and the missing of the historical meteorological data is made up.
For example, in the embodiment, since the relevant live observation base station is not established in China before 12 months and 31 days in 1950, the relevant live observation base station is missing in the previous historical meteorological data. The historical data in the second weather database in the embodiment of the application can be estimated by desensitizing the historical weather data from 1 st in 1951 to 1 st (or intercepting a certain time period in the time period as the original data), so as to query the weather data before 12 th in 1950 and 31 th. For example, the raw data may be historical weather data from 1981 to 2010 (or may be any time period from 1 month 1 in 1951 to date, such as from 1991 to 2020, from 6 months 1961 to 6 months 1980, and 1 month 1 in 1951 to date), the weather data obtained after processing the raw data are used to describe the basic weather states of each place, and according to weather uniformization data from 1981 to 2010 (from 1991 to 2020, from 6 months 1961 to 6 months 1980, and 1 month 1951 to date) of each place in China, the weather uniformization data reflect the average weather state of the place, and finally, the missing live data before 31 months 1950 and 12 months are estimated by using fully-compiled daily value data, month value data, or ten-day value data.
In a specific embodiment, the weather data in the first weather database may be weather data formed directly in daily units after desensitizing the historical weather data from 1 in 1951 to 1 in 1. The weather data in the second weather database is weather data formed in units of day, month, time finding and the like, which are obtained after desensitization and statistical analysis of historical weather data in 1981-2010. The first weather database corresponds to any of dates 1 to 1 in 1951. The second weather database corresponds to any date 1 a month 1 a day before 1951.
It should be noted that, the "birthday" may be a personal birthday, a political birthday, or the like. That is, the "birthday" may be any one of 1 month, 1 day to 12 months, 31 days. Different users can inquire the weather conditions of the birthday of themselves.
In the above embodiment, the desensitization processing adopts a static desensitization technology, utilizes a program built-in rule to automatically identify the meteorological data, and carries out deformation processing on the meteorological data such as content, format and the like for a plurality of times through a custom algorithm, thereby completing the safety requirement of the meteorological data, and mainly adopts the following technical methods for processing:
(1) Data reorganization and data aggregation
The method comprises the steps of splitting, reorganizing, analyzing and classifying weather history data with similar characteristics by using a statistical technology, combining a mathematical statistical means and a Python open source library technology, carrying out fine processing on the weather data by adopting methods of storage and management integration, statistical analysis and retrieval, data information mining, scientific and reasonable screening, accurate threshold design and the like, and carrying out type desensitization on the weather history data, wherein the methods are as follows: the weather data comprise special weather phenomenon data, extreme value data, rain and snow weather data and normal element data, wherein the special weather phenomenon data only represent weather data of special weather types such as haze, sand blowing, floating, sand storm, dust wind and the like; the extremum type data represent high-temperature weather daily value data calculated by the weather algorithm statistics; the rain and snow weather data represent weather data containing rain and snow weather phenomena through data screening; the constant element data represents the sunny weather counted so far in 1951. And recombining and aggregating the meteorological data, and importing the data from the production environment into the next environment for use.
In an embodiment, in the second weather database, weather data of a certain day before 1951 is estimated as weather data of the day by an estimation method based on the historical weather data of a certain period after desensitization, or weather data of a certain month and ten days before 1951 is estimated as weather data of each day of the month and ten days.
(2) Inhibition technique
In the face of massive meteorological data, only needed meteorological elements are stored in the processing process, local inhibition or record inhibition is carried out on unnecessary data fields, integrity and privacy of the meteorological data are protected, and the partial processing is not carried out through technical modules such as format transfer and the like, and is not released. The processed weather data is only the weather element data required by the project, and unnecessary weather element data is not included.
(3) De-identification technology
The de-identification technology mainly utilizes a python open source data processing package to perform de-identification operation on the names of the types of the meteorological elements in the meteorological data, namely, content desensitization is performed on the meteorological data. The technology is mainly used for performing kana replacement on the names of the meteorological elements related to the meteorological algorithm, replacing the original direct identification and changing the names into English shorthand of the meteorological elements. The technology stores the direct identification file and the pseudonym as a mapping relation table, and strictly controls access to the mapping relation table, and strictly controls access rights of a database, so that safe calling of meteorological elements in each computing environment is ensured.
(4) Lattice desensitization
In consideration of stability requirements of weather data storage, various weather data are subjected to format conversion processing by using an open source library, and historical data in 1951 so far are finally processed into json format for storage by using a csv storage format through character string interception and java background desensitization technology, so that front-end program deployment and content display are facilitated.
In the following embodiments, the first weather database corresponds to a query time period from 1 st of 1951 to 1 st of 1951, and the second weather database corresponds to a query time period from 1 st of 1951 st.
As an optional implementation manner of the foregoing embodiment, as shown in fig. 3, the step of querying, based on the geographic location information, weather data that matches the geographic location information and the query date from the determined weather database includes:
and S310, if the weather database determined based on the query date is the first weather database, inquiring from the first weather database to obtain weather data matched with the geographic position information and the query date. For example, if the geographic location information is metropolitan area Niu Ou, the determined weather database is a first weather database, and weather data of the metropolitan area cattle area on the query date is obtained by querying from the first weather database.
And S320, if the weather database determined based on the query date is the second weather database, determining a query time period corresponding to the query date according to a preset rule, and querying from the second weather database to obtain weather data matched with the geographic position information and the query time period. Taking geographic location information as an example of a Goldniu region in Chengdu city. For example, if the preset query time period is in a daily unit, the weather data of the Chengdu cattle district on the query date is queried from the second weather database. For example, if the preset query time period is in units of months, the weather data of the Chengdu cattle area in the month of the query date is queried from the second weather database. For example, if the preset query time period is in a unit of ten days, the weather data of the Chengdu cattle area in the ten days of the query date are queried from the second weather database.
As an optional implementation manner of the foregoing embodiment, in order to improve the attraction degree of the product and reflect the time of birth feature, in an embodiment of the present application, as shown in fig. 4, after inquiring from the determined weather database, based on the geographical location information, weather data matching the geographical location information and the inquiry date, the birthday inquiry method further includes:
s500, determining the page and the audio corresponding to the query date based on the query date, the page style library and the audio library. In the embodiment, corresponding pages and audios in different time periods are set in the page style library and the audio library so as to reflect the time feature at the time and increase the attraction degree of the product. For example, in the page style library, pages with the background of the Beijing Olympic and Wenchuan earthquakes as times may be set in the pages of 2008, and the audio may be the audio of the Beijing Olympic and Wenchuan earthquakes. For another example, in the page style gallery, 2000 is millennium, the page may be set with millennium as the background, and the audio may be audio about millennium. And further, when inquiring the birthday weather condition, the user can know the time environment of the birth.
And S600, displaying the meteorological data in an imaging mode on a page corresponding to the query date and playing audio corresponding to the query date. For example, when the inquiry date is about 12 days of 2008, the page showing the weather data is an image (such as a photograph, a drawing image, etc.) with the venturi earthquake as a background, and audio with the venturi earthquake as a background is played.
As an alternative implementation of the foregoing embodiment, the determining the queried weather database based on the query date includes:
and if the query date is within the first time period, determining that the queried weather database is the first weather database. For example, if the query date is 1 month 1 day 2000, then the queried weather database is determined to be the first weather database.
If the query date is before the first time period, determining that the queried weather database is the second weather database; for example, if the query date is 1930, 1, then the queried weather database is determined to be the second weather database.
And if the query date is after the first time period, outputting prompt information that the weather data query cannot be performed. For example, if the query date is 2030, 1 month and 1 day, the client terminal prompts the user of prompt information that the weather data cannot be queried, such as a voice broadcast date input error, a dialog box that the query cannot be displayed, and the like.
In an embodiment of the present application, since the weather data from the second weather database is estimated based on historical weather data, it does not fully represent the weather data on the birth date; thus, in an embodiment of the application, the weather conditions on the birth date are presented to the user by determining the weather data distribution. In a specific implementation, the inquiring from the determined weather database based on the geographic position information to obtain weather data matched with the geographic position information and the inquiring date includes:
and if the determined weather database is a second weather database, inquiring from the determined weather database to obtain a plurality of weather data matched with the geographic position information and the inquiring date and the occurrence probability of each weather data.
And displaying the occurrence probability of each meteorological data on the page of the client terminal. When the display is performed, the display can be performed in a column diagram and pie chart mode. During display, different meteorological data can be displayed in different area shapes according to the occurrence probability.
For example, in an embodiment, if the query date is 1935, 1, and the geographical location information of the query is the Chengdu cattle district. A plurality of weather data such as rain, weather, yin, etc. is finally determined and the probability of rain, weather, yin is determined. When the weather is displayed, the probability corresponding to rain, sunny and cloudy is displayed in a column diagram and pie chart mode; or the probability ordering of rain, sunny, cloudy, etc. is shown in the shapes of different areas.
In an embodiment of the present application, in order to increase the attraction and interest of the product, the method further comprises:
if the query date is within the first time period, prompting a user whether to perform comparison query or not;
receiving a comparison query instruction;
acquiring weather data distribution conditions matched with the query date and the second weather database based on the query date and the second weather database;
and displaying the meteorological data obtained based on the first meteorological database and the meteorological data distribution situation obtained based on the second meteorological database.
Through the embodiment, the user can know the weather data of the birth date of the user and also can know the weather data distribution condition of the birth date of the user, so that the user can know the distribution condition of the weather data in the historical weather data, the interestingness of the user is improved, and the product popularization and the application as well as the mining and the application of the historical weather data are facilitated. For example, the query date is 1 month 1 day 2000, and when the user acquires the meteorological data from the first meteorological database, the user is prompted whether to compare and query with the historical meteorological data; and if the comparison query is received, acquiring weather data distribution conditions of 1 month and 1 day based on the second weather data, and displaying the weather data obtained based on the first weather database and the weather data distribution conditions obtained based on the second weather database. For example, a sunny day is 1 month 1 day of 2000, a sunny day is 1 month 1 day, a sunny day, a cloudy day is 1 month 1 day, a rainy day is 1 month 1 day, and the probabilities respectively corresponding to the sunny day, the cloudy day, the rainy day are the first probability, the second probability and the third probability. The user knows the weather conditions and weather distribution on the day of their birth.
According to the technical scheme, the method can inquire the weather of the birth date of an individual, supports inquiring about the weather conditions of 3240 counties and cities in the country for nearly 100 years, calculates the inquiry result based on weather elements such as weather phenomenon, air temperature, wind power, relative humidity, precipitation and the like, gives out corresponding weather prompts, and enables the individual to find the weather of the birth date of the individual; the product also supports interactive functions such as free replacement of image-text background, customized uploading of head portrait and the like, and is convenient for social media transmission; the method is matched with graphic and text audio with the very times of characteristics, has stronger theme adaptability, and can carry out localization processing and design for many times; the method can be used for inquiring, code scanning interaction and H5 applet inquiry in various forms according to the integrated machine.
In an embodiment, the weather data is combined with weather inquiry interaction modes of the birthday or other historical moments of the user; locally deploying web application products; the meteorological data is combined with the meteorological inquiry interaction mode of the birthday or other historical moments of the user; weather history data is combined with an application technology of the integrated machine equipment and a scanning interaction mode; product design style, hand-drawn graphics, integrated machine packaging design, photographic background, and the like.
In addition, in the embodiment, the multi-element weather history data, desensitization data and evolution data of the multi-element weather history data can be supported by inquiring the date data of the city of 01/1/1951/195and the date data of the multi-element weather history data.
The application also proposes a computer program product containing instructions which, when run on a computer, cause the computer to perform the method as described above.
The application also provides a computer storage medium, wherein the storage medium is stored with a computer program, and the computer is recorded by a processor to execute the steps of the birthday inquiry method of meteorological data.
The application also proposes a server comprising: a memory having a computer program stored thereon; a processor for executing the computer program in the memory to implement the steps of the birthday inquiry method of meteorological data as described above.
Referring to fig. 5, a schematic structural diagram of a server according to an embodiment of the application is shown. The server 100 includes a Central Processing Unit (CPU) 1001, a system memory 1004 including a Random Access Memory (RAM) 1002 and a Read Only Memory (ROM) 1003, first and second weather databases 110 and 120, and a system bus 1005 connecting the first weather database 110, the second weather database 120, the system memory 1004, and the central processing unit 1001. The server 100 also includes a basic input/output system (I/O system) 1006 for aiding in the transfer of information between the various devices within the computer, and a mass storage device 1007 for storing an operating system 1313, application programs 1314, and other program modules 1315.
The basic input/output system 1006 includes a display 1008 for displaying information and an input device 1009, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 1008 and the input device 1009 are connected to the central processing unit 1001 via an input output controller 1310 which is connected to the system bus 1005. The basic input/output system 1006 may also include an input/output controller 1310 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input output controller 1310 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1007 is connected to the central processing unit 1001 through a mass storage controller (not shown) connected to the system bus 1005. The mass storage device 1007 and its associated computer-readable media provide non-volatile storage for the server 100. That is, the mass storage device 1007 may include a computer readable medium (not shown) such as a hard disk or CD-ROM drive.
The computer readable medium may include computer storage media and communication media without loss of generality. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage medium is not limited to the one described above. The system memory 1004 and mass storage devices 1007 described above may be collectively referred to as memory.
The server 100 may also operate via a network, such as the internet, connected to a remote computer on the network, in accordance with various embodiments of the present application. I.e., the server 100 may be connected to the network 1312 via a network interface unit 1311 coupled to the system bus 1005, or alternatively, the network interface unit 1311 may be used to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs stored in the memory for performing the query methods of the above embodiments. Although embodiments of the present application have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the application, the scope of which is defined in the appended claims and their equivalents.

Claims (9)

1. A birthday-based meteorological data query method is characterized by comprising the following steps:
acquiring a query request, wherein the query request is used for requesting to query weather data; wherein the query request includes a query date and geographic location information;
determining a queried weather database based on the query date; the weather database comprises a first weather database and a second weather database, wherein weather data in the first weather database are obtained by desensitizing historical weather data in a first time period, and weather data in the second weather database are obtained by estimating the weather data in a second time period after the desensitizing, and the second time period is in the first time period;
and inquiring weather data matched with the geographical position information and the inquiring date from the determined weather database based on the geographical position information.
2. The method of claim 1, wherein the step of querying from the determined weather database weather data matching the geographical location information and the query date based on the geographical location information comprises:
if the weather database determined based on the query date is the first weather database, inquiring from the first weather database to obtain weather data matched with the geographic position information and the query date;
and if the weather database determined based on the query date is the second weather database, determining a query time period corresponding to the query date according to a preset rule, and querying from the second weather database to obtain weather data matched with the geographic position information and the query time period.
3. The method for querying weather data according to claim 1, wherein after the weather data matching the geographical location information and the query date is queried from the determined weather database based on the geographical location information, the method for querying weather data further comprises:
determining a page and audio corresponding to the query date based on the query date, the page style library and the audio library;
and displaying the meteorological data in an imaging mode on a page corresponding to the query date and playing audio corresponding to the query date.
4. The method of claim 1, wherein determining a queried weather database based on the query date comprises:
if the query date is within the first time period, determining that the queried weather database is the first weather database;
if the query date is before the first time period, determining that the queried weather database is the second weather database;
and if the query date is after the first time period, outputting prompt information that the weather data query cannot be performed.
5. The weather data query method as claimed in claim 1, wherein the weather data includes special weather phenomenon type data, extremum type data, sleet weather type data and constant element data; the special weather phenomenon data represent weather data of special weather types accompanied by haze, sand lifting, floating and sinking, sand storm and dust wind; the extremum class data represent high-temperature weather daily value data calculated by a meteorological algorithm; the rain and snow weather data represent weather data containing rain and snow weather phenomena through data screening; the normal element data represents sun weather data.
6. The method of claim 1, wherein the weather database stores the weather data in json format.
7. The weather data query method of claim 1, wherein weather elements in the first weather database and the second weather database are saved after pseudonym replacement, a mapping relation table of pseudonyms and direct identifications of the weather elements is constructed, and authority management is performed on the mapping relation table.
8. A computer storage medium having stored thereon a computer program to be loaded by a processor for performing the steps of the birthday-based weather data query method as claimed in any one of claims 1 to 7.
9. A server, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the birthday-based weather data query method as claimed in any one of claims 1 to 7.
CN202310074991.7A 2023-01-14 2023-01-14 Birthday-based meteorological data query method, storage medium and server Active CN116186396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310074991.7A CN116186396B (en) 2023-01-14 2023-01-14 Birthday-based meteorological data query method, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310074991.7A CN116186396B (en) 2023-01-14 2023-01-14 Birthday-based meteorological data query method, storage medium and server

Publications (2)

Publication Number Publication Date
CN116186396A CN116186396A (en) 2023-05-30
CN116186396B true CN116186396B (en) 2023-08-29

Family

ID=86432185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310074991.7A Active CN116186396B (en) 2023-01-14 2023-01-14 Birthday-based meteorological data query method, storage medium and server

Country Status (1)

Country Link
CN (1) CN116186396B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598503A (en) * 2014-05-14 2015-05-06 腾讯科技(深圳)有限公司 Geographic information data inquiry method, device and system
JP2017173333A (en) * 2017-05-02 2017-09-28 アキュウェザー, インク.Accuweather, Inc. Customizable meteorological analysis system
KR20180134108A (en) * 2017-06-08 2018-12-18 (주) 씨이랩 System and method for data based immediate climate prediction
CN110879817A (en) * 2019-11-15 2020-03-13 上海眼控科技股份有限公司 Meteorological data processing method, meteorological data processing device, computer equipment and storage medium
CN111090794A (en) * 2019-11-07 2020-05-01 远景智能国际私人投资有限公司 Meteorological data query method, device and storage medium
CN114328520A (en) * 2021-12-23 2022-04-12 江苏银承网络科技股份有限公司 Order query method and device, storage medium and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9881265B2 (en) * 2015-01-30 2018-01-30 Oracle International Corporation Method and system for implementing historical trending for business records

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598503A (en) * 2014-05-14 2015-05-06 腾讯科技(深圳)有限公司 Geographic information data inquiry method, device and system
JP2017173333A (en) * 2017-05-02 2017-09-28 アキュウェザー, インク.Accuweather, Inc. Customizable meteorological analysis system
KR20180134108A (en) * 2017-06-08 2018-12-18 (주) 씨이랩 System and method for data based immediate climate prediction
CN111090794A (en) * 2019-11-07 2020-05-01 远景智能国际私人投资有限公司 Meteorological data query method, device and storage medium
CN110879817A (en) * 2019-11-15 2020-03-13 上海眼控科技股份有限公司 Meteorological data processing method, meteorological data processing device, computer equipment and storage medium
CN114328520A (en) * 2021-12-23 2022-04-12 江苏银承网络科技股份有限公司 Order query method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN116186396A (en) 2023-05-30

Similar Documents

Publication Publication Date Title
US11138476B2 (en) Organizing images associated with a user
CN106886588B (en) Method and system for displaying weather information on a timeline
US5870741A (en) Information management device
US11861516B2 (en) Methods and system for associating locations with annotations
Tompkins et al. The climate-system historical forecast project: providing open access to seasonal forecast ensembles from centers around the globe
EP3309739A1 (en) Information processing device, information processing method, and program
CN112541852B (en) Urban people stream monitoring method and device, electronic equipment and storage medium
CN111090794B (en) Meteorological data query method, device and storage medium
US20140164415A1 (en) Systems and Methods for Matching Similar Geographic Objects
US20170039264A1 (en) Area modeling by geographic photo label analysis
Zhao et al. The impacts of extra-tropical ENSO precursors on tropical Pacific decadal-scale variability
US20180144494A1 (en) Information processing device, information processing method, and program
CN116186396B (en) Birthday-based meteorological data query method, storage medium and server
WO2019085475A1 (en) Project recommendation method, electronic device, and computer readable storage medium
CN111782649A (en) Data acquisition format updating method and device, computer equipment and storage medium
CN112148672A (en) Rapid reservoir building method and system for land survey
WO2019153599A1 (en) Weather data processing method, server and computer-readable storage medium
He et al. Design and implementation of a POI collection and management system based on public map service
CN109917456A (en) Earthquake information rapid extracting method and system
CN112287330B (en) Authority configuration method and device for application program, computer equipment and storage medium
CN113379912B (en) Map service issuing method, device, terminal equipment and readable storage medium
US20210019847A1 (en) System and method for reporting historical severe weather activities for a property
Timbal et al. Changes in the risk of cool-season tornadoes over southern Australia due to model projections of anthropogenic warming
JP2001236361A (en) Structuring method for database and database system
JP4166074B2 (en) Mobile information management apparatus and information management system

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