CN110990416A - Real-time weather information updating method, device electronic equipment and medium - Google Patents

Real-time weather information updating method, device electronic equipment and medium Download PDF

Info

Publication number
CN110990416A
CN110990416A CN201911185785.3A CN201911185785A CN110990416A CN 110990416 A CN110990416 A CN 110990416A CN 201911185785 A CN201911185785 A CN 201911185785A CN 110990416 A CN110990416 A CN 110990416A
Authority
CN
China
Prior art keywords
weather
information
real
client
time
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
CN201911185785.3A
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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and 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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201911185785.3A priority Critical patent/CN110990416A/en
Publication of CN110990416A publication Critical patent/CN110990416A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Abstract

The application provides a real-time meteorological information updating method and device, electronic equipment and a computer readable medium. Wherein, a method comprises: receiving environmental sound information sent by a first client; determining weather identification elements contained in the environmental sound information by performing audio identification on the environmental sound information; determining the meteorological features of the position where the first client is located according to the meteorological identification elements; and updating the real-time weather information in the set range near the first client according to the weather characteristics. The method can ensure that the real-time meteorological information has higher accuracy.

Description

Real-time weather information updating method, device electronic equipment and medium
Technical Field
The application relates to the technical field of meteorological information, in particular to a real-time meteorological information updating method and device, electronic equipment and a computer readable medium.
Background
Weather has great influence on daily travel, outdoor activities, dressing and other behaviors of people, and is one of daily information which is concerned by people. With the rapid development of the internet and the popularization of mobile terminals such as mobile phones, people can check weather information more and more conveniently through the mobile terminals anytime and anywhere.
Referring to fig. 1, a schematic diagram of a display effect of weather information is shown, as shown in the figure, a user can check the weather information on a mobile phone at any time through a weather forecast control installed on a desktop of the mobile phone, where the weather information includes forecast weather information and real-time weather information, the forecast weather information is a forecast weather profile of the whole day, and the real-time weather information is an actual weather condition detected by a weather monitoring point. In addition, in some weather applications, a function of displaying forecasted weather information and real-time weather information is also provided.
The above real-time weather information provided by the prior art has at least the following disadvantages: in practical application, the weather monitoring points are fewer and scattered, and the real-time weather information displayed in partial areas is easily misaligned. For example, one city is often provided with one to three weather monitoring points, the prior art issues actual weather conditions detected by the one to three weather monitoring points as real-time weather information of the whole city, because weather has regional characteristics, for example, different areas of the city respectively present various weather phenomena such as thunderstorm, cloudy and sunny at the same time, if the weather monitoring points are sunny, the real-time weather information issued by the whole city is sunny, and obviously, for the areas where the thunderstorm and cloudy are located, the real-time weather information is inaccurate.
Disclosure of Invention
The application aims to provide a real-time weather information updating method, an electronic device and a computer readable medium.
The first aspect of the present application provides a real-time weather information updating method, which is used for a server and includes:
receiving environmental sound information sent by a first client;
determining weather identification elements contained in the environmental sound information by performing audio identification on the environmental sound information;
determining the meteorological features of the position where the first client is located according to the meteorological identification elements;
and updating the real-time weather information in the set range near the first client according to the weather characteristics.
The second aspect of the present application provides a real-time weather information updating apparatus, which is used for a server, and includes:
the sound information receiving module is used for receiving the environment sound information sent by the first client;
the audio identification module is used for carrying out audio identification on the environmental sound information to determine weather identification elements contained in the environmental sound information;
the weather feature determining module is used for determining weather features of the position where the first client is located according to the weather identification elements;
and the real-time weather updating module is used for updating the real-time weather information in the set range near the first client according to the weather characteristics.
The third aspect of the present application provides a real-time weather information updating method, used for a first client, including:
collecting environmental sound information;
sending the environmental sound information to a server, so that the server identifies the meteorological features of the position where the first client is located according to the environmental sound information and updates the real-time meteorological information in the set range near the first client according to the meteorological features;
receiving updated real-time meteorological information sent by the server;
and updating the currently presented real-time meteorological information according to the real-time meteorological information.
The fourth aspect of the present application provides a real-time weather information updating apparatus, which is used for a first client, and includes:
the sound information acquisition module is used for acquiring environmental sound information;
the sound information sending module is used for sending the environmental sound information to a server so that the server can identify the meteorological characteristics of the position where the first client is located according to the environmental sound information and update the real-time meteorological information in the set range nearby the first client according to the meteorological characteristics;
the real-time meteorological information receiving module is used for receiving the updated real-time meteorological information sent by the server;
and the real-time meteorological information updating module is used for updating the currently presented real-time meteorological information according to the real-time meteorological information.
The fifth aspect of the present application provides a real-time weather information updating method, which is used for a first client, and includes:
collecting environmental sound information;
determining weather identification elements contained in the environmental sound information by performing audio identification on the environmental sound information;
determining the meteorological features of the position where the first client is located according to the meteorological identification elements;
and sending a real-time weather information updating request to a server to request the server to update the real-time weather information in a set range near the first client according to the weather characteristics.
The sixth aspect of the present application provides a real-time weather information updating apparatus, which is used for a first client, and includes:
the sound information acquisition module is used for acquiring environmental sound information;
the audio identification module is used for carrying out audio identification on the environmental sound information to determine weather identification elements contained in the environmental sound information;
the weather feature determining module is used for determining weather features of the position where the first client is located according to the weather identification elements;
and the weather updating request module is used for updating the currently presented real-time weather information according to the weather characteristics and sending a real-time weather information updating request to the server so as to request the server to update the real-time weather information in the set range near the first client according to the weather characteristics.
A seventh aspect of the present application provides a real-time weather information updating method, used for a server, including:
receiving a real-time weather information updating request sent by a first client;
and responding to the real-time meteorological information updating request, and updating the real-time meteorological information in the set range near the first client according to the meteorological features uploaded by the first client, wherein the meteorological features are identified and obtained by the first client according to the collected environmental sound information.
The eighth aspect of the present application provides a real-time weather information updating device, which is used for a server, and comprises:
the updating request receiving module is used for receiving a real-time weather information updating request sent by a first client;
and the real-time weather updating module is used for responding to the real-time weather information updating request and updating the real-time weather information in the set range near the first client according to the weather characteristics uploaded by the first client, wherein the weather characteristics are identified and obtained by the first client according to the collected environmental sound information.
A ninth aspect of the present application provides an electronic apparatus, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing when executing the computer program to implement the method of the first, third, fifth or seventh aspect of the application.
A tenth aspect of the present application provides a computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of the first, third, fifth or seventh aspect of the present application.
According to the real-time weather information updating method provided by the first aspect of the application, the environment sound information sent by the first client is received, the audio identification is carried out on the environment sound information, the weather identification element contained in the environment sound information is determined, then the weather characteristic of the position where the first client is located is determined according to the weather identification element, and then the real-time weather information in the set range nearby the first client is updated according to the weather characteristic. Compared with the prior art, the method does not depend on the actual weather condition detected by the weather monitoring point to update the real-time weather information, and does not update the real-time weather information monitored by a single point as the real-time weather information of the whole city, but can determine the weather characteristics according to the environmental sound information collected by the client used by the user, and update the real-time weather information in the set range near the client according to the weather characteristics; and the environmental sound information provided by each client is only used for updating the real-time weather information in the nearby set range, so that the real-time weather information searched by each client can be identified and determined according to the environmental sound information provided by nearby users, and the real-time weather information is ensured to have higher accuracy.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a diagram illustrating a weather information display effect;
FIG. 2 illustrates a flow chart of a real-time weather information update method provided by some embodiments of the present application;
FIG. 3 illustrates a schematic diagram of a real-time weather information updating apparatus provided by some embodiments of the present application;
FIG. 4 illustrates a flow chart of another real-time weather information update method provided by some embodiments of the present application;
FIG. 5 illustrates a schematic diagram of another real-time weather information updating apparatus provided by some embodiments of the present application;
FIG. 6 illustrates a flow chart of yet another method for real-time weather information updating provided by some embodiments of the present application;
FIG. 7 is a schematic diagram of yet another real-time weather information updating apparatus provided by some embodiments of the present application;
FIG. 8 illustrates a flow chart of yet another method for real-time weather information updating provided by some embodiments of the present application;
FIG. 9 is a schematic diagram of yet another real-time weather information updating apparatus provided by some embodiments of the present application;
FIG. 10 illustrates a timing diagram of a real-time weather information update method provided by some embodiments of the present application;
FIG. 11 illustrates a timing diagram of another real-time weather information update method provided by some embodiments of the present application;
FIG. 12 illustrates a schematic diagram of an electronic device provided by some embodiments of the present application;
FIG. 13 illustrates a schematic diagram of a computer-readable storage medium provided by some embodiments of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
In addition, the terms "first" and "second", etc. are used to distinguish different objects, rather than to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a real-time weather information updating method and device, an electronic device and a computer readable medium, which are exemplarily described below with reference to the accompanying drawings.
Referring to FIG. 2, which shows a flowchart of a real-time weather information updating method provided by some embodiments of the present application, the real-time weather information updating method can be applied to a server, and the following description of the embodiment can be understood with reference to the timing diagram shown in FIG. 10, as shown in FIG. 2, the real-time weather information updating method can include the following steps:
step S101: and receiving the environmental sound information sent by the first client.
In some embodiments, a weather application (the application is abbreviated as an application program) may be installed in the first client, and when the weather application is opened by a user, the weather application sends a weather information query request to the server, and the server responds to the weather information query request and sends the latest forecasted weather information and real-time weather information to the first client, and the first client displays the forecasted weather information and the real-time weather information. Next, the first client may actively display a sound collection request, where the sound collection request is used to ask whether the user allows to invoke a microphone to collect the environmental sound information to detect whether the real-time weather information is correct, and if it is detected that the user agrees with the sound collection request, the collection of the environmental sound information is triggered, and the collection duration may include, but is not limited to, 5 seconds, 10 seconds, 30 seconds, and the like, which is not limited in the embodiment of the present application. And after the collection is finished, the first client sends the collected environmental sound information to the server.
Step S102: and determining weather identification elements contained in the environmental sound information by performing audio identification on the environmental sound information.
After receiving the environmental sound information, the server can identify the environmental sound information by using an audio identification technology to identify a weather identification element contained in the environmental sound information, wherein the weather identification element can include, but is not limited to, at least one of weather sounds, animal cry, and weather comment sentences in human voice.
For example, the weather sounds may be wind sounds, rain sounds, thunder sounds, etc., and the current weather characteristics may be determined by the weather sounds, such as wind blowing, rain falling, thunder hitting, etc.
For another example, the sound energy of the animal reflects the meteorological features to a certain extent, for example, cicada buzzing indicates that the weather is high temperature at present, frog buzzing indicates that the rain stops when it rains, and the like.
For another example, people often talk about weather conditions in daily life, and therefore, by performing audio recognition on environmental sound information, if human voice is recognized, conversation contents can be further obtained through a voice-to-text technology, weather comment sentences in the conversation contents, such as "snow outside", "good rain and sand storm, window closing speed" and the like, are matched through technologies such as keyword matching, and the current weather characteristics can also be determined through the weather comment sentences.
It should be noted that, in this step, meteorological sounds, animal voices, human voices and the like may be identified through sound features such as timbre, tone, audio and the like, and any audio identification technology provided in the prior art may be adopted to implement the specific implementation, which is not limited in the embodiment of the present application.
Step S103: and determining the weather characteristics of the position where the first client is located according to the weather identification elements.
Since each weather identification element can reflect the corresponding weather feature, after the weather identification element is identified, the weather feature of the location where the first client is located can be further determined, wherein the weather feature refers to the current weather feature.
For example, a wind sound is identified, and the corresponding meteorological feature is blowing wind; identifying the rain sound, wherein the corresponding meteorological feature is raining; identifying rain and thunder, wherein the corresponding meteorological characteristic is thunderstorm; identifying a frog call when raining, wherein the corresponding meteorological characteristic is rainy days and sunny days; the weather comment sentence "snow outside", the corresponding weather feature is snowing, is recognized.
Those skilled in the art can predetermine the corresponding relationship between various weather identification elements and weather features, and the corresponding relationship can be realized by simple mapping information or a weather feature identification model determined by model training. For example, various weather features are associated with various weather identification elements as tags to generate mapping information, and then the current weather feature can be identified from the mapping information. For another example, a weather feature recognition model may be determined through model training for weather recognition elements such as weather sounds, animal vocals, and human voices, and the weather feature recognition model may be implemented by using a neural network model, and then the weather recognition elements determined in step S102 are input into the trained weather feature recognition model, and corresponding weather features are output by using the weather feature recognition model.
In addition, for the voice, after being converted into the weather comment sentence, the current weather feature can be determined through keyword matching, and the embodiment of the application is not limited. The above embodiments can achieve the purpose of the embodiments of the present application, and all of them should be within the scope of protection of the present application.
Step S104: and updating the real-time weather information in the set range near the first client according to the weather characteristics.
In consideration of the fact that weather is regional, the weather features identified according to the environmental sound information provided by the first client are the same in a certain regional range, and the real-time weather information in the set range near the first client can be updated according to the weather features.
Specifically, in the embodiment of the present application, the updating may have various implementation manners, for example, the weather features may be compared with the currently issued real-time weather information, if the weather features are matched with the currently issued real-time weather information, the updating is not required, and if the weather features are not matched with the currently issued real-time weather information, the weather features are used to replace part of or all of the currently issued real-time weather information, so as to update the real-time weather information; for another example, the weather features may be directly used to replace part or all of the currently released real-time weather information without comparison, and the real-time weather information may also be updated; for another example, the weather features may be directly added to the currently released real-time weather information, and the weather features obtained by identification are combined with the currently released real-time weather information, so as to provide richer and comprehensive real-time weather information for the user, and the update of the real-time weather information may also be implemented, wherein the updated real-time weather information may include two parts, namely official release information and real-time monitoring information, the official release information part is used for recording the real-time weather information released by the weather station, and the real-time monitoring information part is used for recording the weather features determined in step S103, so as to facilitate the user to distinguish and identify.
The setting range can be flexibly set according to actual requirements, for example, 1 km for a square circle, 3 km for a square circle, 10 km for a square circle, and the like, and the embodiment of the present application is not limited.
In some embodiments, the setting range may be determined according to the number of the first clients reporting the environmental sound information, and if the number is small, the setting range corresponding to each real-time weather information may be large; if the number of the real-time weather information is large, the more the real-time weather information at different positions is obtained, the higher the density of the real-time weather information is, and in this case, the setting range corresponding to each real-time weather information can be narrowed, so that the accuracy of the real-time weather information is improved, namely, the setting range can be in a negative correlation relation with the number of the first clients uploading the environmental sound information.
In other embodiments, the setting range may also be determined according to the detected weather characteristics, and it is easily understood that the influence ranges corresponding to different weather characteristics are different, for example, the influence range of a sudden thunderstorm occurring in a sunny state is generally smaller, and therefore, the corresponding setting range may be smaller; the influence range of the high-temperature weather reflected by the cicada buzzing is larger, and the corresponding set range can be larger; the embodiments of the present application are not described in detail, and those skilled in the art can flexibly set the setting ranges corresponding to various meteorological features according to the actual situation, which all should be within the protection range of the present application.
It should be noted that, in the step S104, only the real-time weather information locally stored by the server may be updated, and then the real-time weather information is sent to the second client after receiving the real-time weather information query request sent by the second client near the first client; or while updating the locally stored real-time weather information, sending a real-time weather information updating instruction to all the clients in the set range which are checking the weather information so as to update the real-time weather information of each client; all of which are intended to be within the scope of the present application.
In some modifications of the embodiments of the present application, step S104 refers to updating the real-time weather information locally stored by the server, and the method may further include:
sending the updated real-time weather information to the first client so that the first client updates the currently presented real-time weather information according to the real-time weather information; and/or the presence of a gas in the gas,
and sending the updated real-time weather information to a second client within a set range near the first client.
The updated real-time weather information is sent to the second client, which may be actively sent after being updated, or sent according to a request after receiving a real-time weather information query request sent by the second client, which is not limited in the embodiment of the present application.
By the embodiment, the real-time weather information of the first client and/or the second client can be updated in real time in addition to the real-time weather information of the server, so that the first client and/or the second client can present more accurate real-time weather information. In addition, in consideration that a plurality of clients may have environmental sound information uploaded thereto within the setting range, and weather features identified according to different environmental sound information may be the same or different, in order to avoid misjudgment, in some modified embodiments, the step S104 may include:
determining a meteorological feature set, wherein the meteorological feature set comprises meteorological features determined according to the environmental sound information uploaded by the first client and meteorological features determined according to the environmental sound information uploaded by other clients within a set range near the first client;
and updating the real-time meteorological information in the set range near the first client according to the meteorological features of which the proportion exceeds a preset proportion threshold value in the meteorological feature set.
The method for determining weather characteristics according to the environmental sound information uploaded by other clients may be implemented by referring to the foregoing steps S101 to S103.
The preset duty ratio threshold value can be flexibly set or adjusted according to actual requirements, and the embodiment of the application is not limited.
The higher the meteorological feature proportion is, the higher the accuracy of the meteorological feature is, so that according to the embodiment, the real-time meteorological information in the set range near the first client can be updated by adopting the meteorological feature with higher accuracy, and the accuracy of the updated real-time meteorological information is further improved.
Considering that weather is diverse, the weather features in the weather feature set can be determined according to the environmental sound information received within a specified time period in the past, wherein the specified time period can be 15 minutes, 30 minutes, 60 minutes and the like, and a person skilled in the art can flexibly set or adjust the weather features according to actual needs, so as to ensure high real-time performance and accuracy of the weather features.
The real-time weather information updating method provided by the embodiment of the application can at least obtain the following beneficial effects: compared with the prior art, the method does not depend on the actual weather condition detected by the weather monitoring point to update the real-time weather information, and does not update the real-time weather information monitored by a single point as the real-time weather information of the whole city, but can determine weather characteristics according to the environmental sound information collected by the client used by the user, and update the real-time weather information in the set range near the client according to the weather characteristics; and the environmental sound information provided by each client is only used for updating the real-time weather information in the nearby set range, so that the real-time weather information searched by each client can be identified and determined according to the environmental sound information provided by the nearby clients, and the real-time weather information is ensured to have higher accuracy.
In addition, in the prior art, the interval of real-time weather information issued by the weather station is generally 2 to 3 hours, and the weather of partial areas is variable, especially in the rainy season, so that the real-time weather information issued by the weather station often has the problems of lag and misalignment, and the real-time performance is poor. According to the method provided by the embodiment of the application, under the condition that more clients provide environmental sound information to the server, the server can identify and obtain more meteorological features, so that the real-time meteorological information can be updated in time when weather change is found, and the more the clients are, the higher the timeliness of updating the real-time meteorological information is, therefore, the embodiment of the application can also solve the problems of lag, misalignment and poor real-time performance of the real-time meteorological information in the prior art.
In some modifications of the embodiments of the present application, before the updating the real-time weather information in the range set near the first client according to the weather characteristics, the method may further include:
determining real-time weather information which is released currently at the position where the first client is located;
wherein, the updating the real-time weather information within the range set near the first client according to the weather characteristics comprises:
and if the weather characteristics are not matched with the real-time weather information, updating the real-time weather information in the set range near the first client according to the weather characteristics.
The published real-time weather information may be real-time weather information published by a weather station, or real-time weather information obtained by identifying and updating environmental sound information previously sent by other clients nearby, and the embodiment of the present application is not limited.
For example, if rain sound is detected, it indicates that it is raining currently, and if the current released real-time weather information is clear, the two are not matched, and the real-time weather information needs to be updated; if the current released real-time weather information is light rain, the real-time weather information and the light rain are matched, and updating is not needed.
In this embodiment, it may be determined whether the weather characteristic matches the real-time weather information currently published at the location of the first client, and if so, the weather characteristic is not updated, and if not, the weather characteristic is updated, so as to avoid performing useless updating.
In view of the fact that the weather features are only identified by the environmental sound information, it is inevitable that the weather features are misjudged, and therefore, in some variations of the embodiments of the present application, the determining the weather features of the location where the first client is located according to the weather identification element may include:
and determining the meteorological features of the position where the first client is located according to the meteorological identification element by combining at least one of current solar terms information, local weather characteristics and historical weather information.
For example, if the weather identification element is a sound of raindrops or hail hitting on a wooden board, but it is unclear what weather is, it may be determined by further combining current solar term information, local weather characteristics, historical weather information, and the like, for example, if the current solar term is big summer heat, and the hail has not been taken in the local during the big summer period in history, it may be determined that the weather feature is rain rather than hail.
For another example, if the weather identification element obtained by identification is a weather comment sentence "as soon as wind blows, the outside appears to be snowing" and wind noise, but according to the current solar term information, it is judged that the current summer heat is big and the current land has not yet fallen snow historically, and the probability of snowfall is almost zero, so that it can be determined that the weather feature is windy rather than snowy weather.
Through the embodiment, the identification accuracy of the meteorological features can be further improved, and misjudgment is avoided.
In another modified embodiment of the present application, after identifying the weather feature, before updating the real-time weather information within the range set near the first client according to the weather feature, the method may further include:
sending a confirmation request for the meteorological features to the first client;
wherein, the updating the real-time weather information within the range set near the first client according to the weather characteristics comprises:
and if a confirmation response which is returned by the first client and aims at the confirmation request is received, updating the real-time weather information in the set range near the first client according to the weather characteristics.
In this embodiment, the weather features obtained by identification may be sent to a first client for confirmation by a user, the first client displays a confirmation request for the weather features, and may display touch icons such as "correct identification", "wrong identification", and the like, if the user confirms that the weather features are correct, the user may click the "correct identification" icon to indicate confirmation of the confirmation request, the first client detects the operation of clicking the "correct identification" icon, and then may generate a confirmation response for the confirmation request and send the confirmation response to a server, and after receiving the confirmation response, the server may trigger step S104; if the user thinks the weather characteristic identification is wrong, the user can click the 'identification error' icon to show that the confirmation request is denied, the first client detects the operation of clicking the 'identification error' icon, then a negative response aiming at the confirmation request can be generated and sent to the server, and the server does not update the real-time weather information after receiving the negative response.
Through the implementation mode, the weather characteristics are identified by the server side in a man-machine interaction mode and then are submitted to the user for confirmation, and the real-time weather information is triggered and updated after the user confirms.
Similar to the above embodiment, in another modified embodiment of the present application, the determining the weather characteristic of the location where the first client is located according to the weather identification element may include:
determining a plurality of alternative weather features of the position where the first client is located according to the weather identification elements;
the updating the real-time weather information within the range set near the first client according to the weather characteristics may include:
sending a selection request for the plurality of alternative weather features to the first client;
receiving a selection response returned by the first client, and determining weather characteristics selected by a user according to the selection response;
and updating the real-time weather information in the set range near the first client according to the weather characteristics selected by the user.
In this embodiment, the server may determine a plurality of candidate weather features according to the identified weather identification elements, and then deliver the weather features to the user for selection, and update the real-time weather information in the setting range near the first client according to the weather features selected by the user. Similar to the foregoing embodiment, in this embodiment, the server identifies a plurality of candidate weather features and then submits the candidate weather features to the user for selection and confirmation in a human-computer interaction manner, and the user selects and triggers the update of the real-time weather information according to the weather features selected by the user. In addition, because the embodiment provides a plurality of candidate meteorological features for the user to select, compared with the embodiment of determining by sending only one meteorological feature, the embodiment has higher fault tolerance rate.
In some modifications of the embodiments of the present application, before receiving the environmental sound information sent by the first client, the method may further include:
judging whether a first client is located outdoors according to positioning information and/or network connection information of the first client;
and if the first client is located outdoors, sending a sound acquisition instruction to the first client to indicate the first client to acquire the environmental sound information.
In view of the fact that if the first client is located indoors, the collected environmental sound information is difficult to accurately reflect outdoor meteorological features, and therefore, according to the embodiment, the first client can be instructed to collect the environmental sound information only when the first client is located outdoors, so that the current meteorological features can be identified more accurately according to the received environmental sound information, misjudgment is avoided, and identification accuracy is improved.
The positioning information may refer to satellite positioning information, and the positioning information of the first client may be compared with map data to determine whether the first client is located outdoors. In addition, considering that the first client has a high probability of accessing the internet through the wireless lan when indoors and accesses the internet through the mobile communication network when outdoors in most cases, it is also possible to determine whether the first client is currently outdoors based on the network connection information of the first client. In addition, the two manners may also be implemented in combination, and whether the first client is located outdoors is comprehensively determined according to the positioning information and the network connection information, which is not limited in the embodiment of the present application.
In addition, in some variations of the embodiments of the present application, the method may further include:
judging whether the weather is changed in the set range or not according to the real-time weather information before and after updating;
and if the weather is changed slowly, sending weather change prompt information to the concerned location or the user whose position is located in the set range.
For example, in a weather application, a user may set a place of interest or a user of interest, where the place of interest may include, but is not limited to, a home, a company, a parent home, a child home kindergarten, a girlfriend company, and the like, and the user of interest may include, but is not limited to, a parent, a child, a girlfriend, a friend, and the like.
After the real-time weather information is updated, if weather deterioration is detected to occur in the set range, the server side can inquire the concerned place in the set range in the background database, and then send weather deterioration prompting information to the user concerning the concerned place, and the user can not directly observe outdoor weather conditions by considering that many office places and production places are closed, so that the user can be effectively reminded to deal with the deteriorated weather in time by sending the weather deterioration prompting information to the user.
In some modified embodiments, the sending the weather modification prompt message to the user whose location of the attention point or the attention user is located within the setting range if the weather modification occurs may include:
and if the weather is changed slowly, sending weather change prompt information to a user whose concerned location is in the set range and whose current position is not in the set range.
For example, the distance between the home of the user a and the company is far, the user a can pay attention to the place where the home and the company are located, when the user a works in the company, if the server detects that weather deterioration occurs in a set range near the first client, for example, thunderstorm and rain fall suddenly in a fine day, the home of the user a is in the set range, and the current position of the user a is not in the set range, the weather deterioration prompt information can be sent to the user a, and after receiving the weather deterioration prompt information, the user a can close an electric window in the home through internet of things in a remote control mode, so that adverse effects of the deteriorated weather on the user are avoided.
In other modified embodiments, after updating the real-time weather information, if it is detected that weather deterioration occurs within the setting range, the server may query, in the background database, a user concerned with the weather deterioration whose current position is within the setting range, and then send weather deterioration prompt information to the user concerned with the weather deterioration. For example, the user a pays attention to the girlfriend B, if the server detects that weather change occurs in a set range near the first client, for example, the weather change is changed from sunny to heavy rain, and the girlfriend B is currently in the set range, the weather change prompt information related to the user (girlfriend B) concerned can be sent to the user a, and after receiving the weather change prompt information, the user a can actively take over the girlfriend B to go home without being informed by the girlfriend B, or arrange to send an umbrella to the girlfriend B. Therefore, the embodiment is helpful for helping the user to realize active care for the concerned user in severe weather.
The method for sending the weather modification prompt message may be sending through a short message, or sending in an application (including but not limited to a weather application, an instant messaging application, and the like), and the embodiment of the present application is not limited.
In the embodiment corresponding to fig. 2, a real-time weather information updating method is provided, and correspondingly, the present application also provides a real-time weather information updating apparatus. The real-time weather information updating device provided by the embodiment of the application can implement the real-time weather information updating method, and the real-time weather information updating device can be implemented in a software, hardware or software and hardware combined mode. For example, the real-time weather information updating apparatus may include integrated or separate functional modules or units to perform the corresponding steps of the above-described methods. Please refer to fig. 3, which illustrates a schematic diagram of a real-time weather information updating apparatus according to some embodiments of the present application. Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for relevant points. The device embodiments described below are merely illustrative.
As shown in fig. 3, the real-time weather information updating apparatus 10, for a server, may include:
the sound information receiving module 101 is configured to receive environmental sound information sent by a first client;
the audio identification module 102 is configured to perform audio identification on the environmental sound information, and determine a weather identification element included in the environmental sound information;
the weather feature determination module 103 is configured to determine a weather feature of the location where the first client is located according to the weather identification element;
and the real-time weather updating module 104 is configured to update the real-time weather information within the set range near the first client according to the weather features.
In some variations of the embodiments of the present application, the weather identification element includes at least one of weather commentary in weather sounds, animal cry, and human voice.
In some variations of the embodiments of the present application, the apparatus 10 further includes:
the published information determining module is used for determining the real-time weather information published at the position where the first client is located;
the real-time weather update module 104 includes:
and the weather information updating unit is used for updating the real-time weather information in the set range near the first client according to the weather characteristics if the weather characteristics are not matched with the real-time weather information.
In some variations of the embodiments of the present application, the meteorological feature determining module 103 includes:
and the comprehensive determining unit is used for determining the meteorological features of the position where the first client is located according to the meteorological identification elements and by combining at least one of the current solar terms information, the local weather characteristics and the historical weather information.
In some variations of the embodiments of the present application, the apparatus 10 further includes:
a confirmation request sending module, configured to send a confirmation request for the weather feature to the first client;
the real-time weather update module 104 includes:
and the updating unit after confirmation is used for updating the real-time weather information in the set range near the first client according to the weather characteristics if a confirmation response which is returned by the first client and aims at the confirmation request is received.
In some variations of the embodiments of the present application, the root meteorological feature determining module 103 includes:
the alternative characteristic determining unit is used for determining a plurality of alternative meteorological characteristics of the position where the first client is located according to the meteorological identification element;
the real-time weather update module 104 includes:
a selection request sending unit, configured to send a selection request for the multiple candidate meteorological features to the first client;
the selection response receiving unit is used for receiving the selection response returned by the first client and determining the meteorological features selected by the user according to the selection response;
and the updating unit is triggered after selection and used for updating the real-time weather information in the set range near the first client according to the weather characteristics selected by the user.
In some variations of the embodiments of the present application, the apparatus 10 further includes:
the first updating information sending module is used for sending the updated real-time meteorological information to the first client so that the first client updates the currently presented real-time meteorological information according to the real-time meteorological information; and/or the presence of a gas in the gas,
and the second updating information sending module is used for sending the updated real-time weather information to a second client within a set range near the first client.
In some variations of the embodiments of the present application, the real-time weather updating module 104 may include:
the meteorological feature set determining unit is used for determining a meteorological feature set, wherein the meteorological feature set comprises meteorological features determined according to the environmental sound information uploaded by the first client and meteorological features determined according to the environmental sound information uploaded by other clients within a set range near the first client;
and the high-occupancy-ratio meteorological information updating unit is used for updating the real-time meteorological information in the set range near the first client according to the meteorological features of which the occupancy ratio exceeds a preset occupancy ratio threshold value in the meteorological feature set.
In some variations of the embodiments of the present application, the apparatus 10 further includes:
the outdoor judgment module is used for judging whether the first client side is outdoors according to the positioning information and/or the network connection information of the first client side;
and the sound acquisition instruction sending module is used for sending a sound acquisition instruction to the first client to indicate the first client to acquire the environmental sound information if the first client is located outdoors.
In some variations of the embodiments of the present application, the apparatus 10 further includes:
the weather deterioration judging module is used for judging whether weather deterioration occurs in the set range according to the real-time weather information before and after updating;
and the deterioration prompt information sending module is used for sending weather deterioration prompt information to the concerned location or the user whose position is located in the set range if the weather deterioration occurs.
The real-time weather information updating apparatus 10 provided in the embodiment of the present application has the same beneficial effects as the real-time weather information updating method provided in the foregoing embodiment of the present application.
Please refer to fig. 4, which illustrates a flowchart of another real-time weather information updating method according to some embodiments of the present application, where the real-time weather information updating method may be used in a first client and implemented in cooperation with the real-time weather information updating method illustrated in fig. 2, and the following description of the embodiment may be understood with reference to the description of the above embodiment corresponding to fig. 2 and the timing diagram illustrated in fig. 10, and a part of the description is not repeated, as illustrated in fig. 4, where the real-time weather information updating method is used in the first client, and may include the following steps:
step S201: and collecting environmental sound information.
Step S202: and sending the environmental sound information to a server, so that the server identifies the meteorological features of the position where the first client is located according to the environmental sound information and updates the real-time meteorological information in the set range near the first client according to the meteorological features.
Step S203: and receiving the updated real-time weather information sent by the server.
Step S204: and updating the currently presented real-time meteorological information according to the real-time meteorological information.
The real-time weather information updating method provided by the embodiment of the application at least has the following beneficial effects: by collecting environmental sound information and sending the environmental sound information to a server, the server can identify the meteorological characteristics of the position of the first client according to the environmental sound information and update the real-time meteorological information in the set range near the first client according to the meteorological characteristics, so that users near the first client can be ensured to find more accurate real-time meteorological information; in addition, after receiving the updated real-time weather information sent by the server, the user of the first client can be ensured to view the accurate real-time weather information in time by updating the currently presented real-time weather information according to the real-time weather information.
In some modified embodiments of the embodiment of the present application, before receiving the updated real-time weather information sent by the server, the method may further include:
receiving and displaying a confirmation request aiming at the meteorological features sent by a server;
generating a confirmation response according to the confirmation operation input by the user to the confirmation request;
and sending the confirmation response to a server so that the server triggers and updates the real-time weather information in the set range near the first client according to the confirmation response.
Through the implementation mode, the weather characteristics are identified by the server side in a man-machine interaction mode and then are submitted to the user for confirmation, and the real-time weather information is triggered and updated after the user confirms.
In some modified embodiments of the embodiment of the present application, before receiving the updated real-time weather information sent by the server, the method may further include:
receiving and displaying a selection request aiming at a plurality of alternative meteorological features sent by a server;
generating a selection response according to the selection operation input by the user to the selection request;
and sending the selection response to a server so that the server updates the real-time weather information in the set range near the first client according to the weather characteristics selected by the user according to the selection response trigger.
Similar to the foregoing embodiment, in this embodiment, the server identifies a plurality of candidate weather features and then submits the candidate weather features to the user for selection and confirmation in a human-computer interaction manner, and the user selects and triggers the update of the real-time weather information according to the weather features selected by the user. In addition, because the embodiment provides a plurality of candidate meteorological features for the user to select, compared with the embodiment of determining by sending only one meteorological feature, the embodiment has higher fault tolerance rate.
In some variations of the embodiments of the present application, before the collecting the environmental sound information, the method may further include:
sending positioning information and/or network connection information of the first client to a server, so that the server judges whether the first client is outdoors according to the positioning information and/or the network connection information and sends a sound acquisition instruction to the first client when the first client is outdoors;
receiving a sound acquisition instruction sent by the server;
and triggering the step of collecting the environmental sound information according to the sound collection instruction.
Through the embodiment, the environmental sound information can be collected only when the first client side is located outdoors, so that the current meteorological features can be identified more accurately according to the received environmental sound information, misjudgment is avoided, and the identification accuracy is improved.
In some variations of the embodiments of the present application, before the collecting the environmental sound information, the method may further include:
displaying a sound collection request;
and triggering the step of collecting the environmental sound information in response to an operation input by the user and indicating approval of the sound collection request.
In consideration of the fact that randomly collecting sound information may cause the disclosure of user privacy and bring insecurity to a user, in the implementation mode of the step, before the environment sound information needs to be collected, the sound collection request is firstly displayed, and the user agrees to collect the sound information and then collects the environment sound information, so that the sound information is collected under the condition of user authorization, and the safety of the user privacy is ensured.
In the embodiment corresponding to fig. 4, a real-time weather information updating method is provided, and correspondingly, the present application also provides a real-time weather information updating apparatus. The real-time weather information updating device provided by the embodiment of the application can implement the real-time weather information updating method, and the real-time weather information updating device can be implemented in a software, hardware or software and hardware combined mode. For example, the real-time weather information updating apparatus may include integrated or separate functional modules or units to perform the corresponding steps of the above-described methods. Please refer to fig. 5, which illustrates a schematic diagram of a real-time weather information updating apparatus according to some embodiments of the present application. Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for relevant points. The device embodiments described below are merely illustrative.
As shown in fig. 5, the real-time weather information updating apparatus 20, for a first client, may include:
a sound information collecting module 201, configured to collect environmental sound information;
the sound information sending module 202 is configured to send the environmental sound information to a server, so that the server identifies weather characteristics of the location where the first client is located according to the environmental sound information, and updates real-time weather information within a set range near the first client according to the weather characteristics;
the real-time weather information receiving module 203 is configured to receive the updated real-time weather information sent by the server;
and the real-time weather information updating module 204 is configured to update the currently presented real-time weather information according to the real-time weather information.
In some variations of the embodiments of the present application, the apparatus 20 further includes:
the confirmation request receiving module is used for receiving and displaying a confirmation request aiming at the meteorological features sent by the server;
the confirmation response generation module is used for generating a confirmation response according to the confirmation operation input by the user to the confirmation request;
and the confirmation response sending module is used for sending the confirmation response to the server so that the server triggers and updates the real-time weather information in the set range near the first client according to the confirmation response.
In some variations of the embodiments of the present application, the apparatus 20 further includes:
the selection request receiving module is used for receiving and displaying a selection request aiming at a plurality of candidate meteorological features sent by the server;
the selection response generation module is used for generating a selection response according to the selection operation input by the user on the selection request;
and the selection response sending module is used for sending the selection response to the server so that the server updates the real-time weather information in the set range near the first client according to the weather characteristics selected by the user according to the selection response trigger.
In some variations of the embodiments of the present application, the apparatus 20 further includes:
the positioning information sending module is used for sending positioning information and/or network connection information of the first client to a server so that the server judges whether the first client is located outdoors according to the positioning information and/or the network connection information and sends a sound acquisition instruction to the first client when the first client is located outdoors;
the acquisition instruction receiving module is used for receiving a sound acquisition instruction sent by the server;
and the acquisition instruction triggering module is used for triggering the step of acquiring the environmental sound information according to the sound acquisition instruction.
In some variations of the embodiments of the present application, the apparatus 20 further includes:
the acquisition request display module is used for displaying a sound acquisition request;
and the acquisition request confirmation module is used for responding to the operation which is input by the user and indicates that the voice acquisition request is approved, and triggering the step of acquiring the environmental voice information.
The real-time weather information updating apparatus 20 provided in the embodiment of the present application has the same beneficial effects as the real-time weather information updating method provided in the foregoing embodiment of the present application.
The above-mentioned embodiments corresponding to fig. 2 and fig. 4 cooperate with each other to provide a real-time weather information updating method, wherein the step of identifying weather features according to the environmental sound information is performed at the server, and in other modified embodiments, the step of identifying weather features according to the environmental sound information may also be performed at the client, which may also achieve the object of the embodiments of the present application, and the following description is made with reference to fig. 6 and fig. 8, where the following description of the embodiments corresponding to fig. 6 and fig. 8 may refer to the timing diagram shown in fig. 11 for understanding, for simplicity, some steps and embodiments may refer to the description of the embodiments corresponding to fig. 2 and fig. 4 for understanding, and are not repeated herein.
Referring to fig. 6, a flow chart of a real-time weather information updating method provided by some embodiments of the present application is shown, wherein the real-time weather information updating method, for a first client, may include the following steps:
step S301: and collecting environmental sound information.
Step S302: and determining weather identification elements contained in the environmental sound information by performing audio identification on the environmental sound information.
Step S303: and determining the weather characteristics of the position where the first client is located according to the weather identification elements.
Step S304: and sending a real-time weather information updating request to a server to request the server to update the real-time weather information in a set range near the first client according to the weather characteristics.
The real-time weather information updating method provided by the embodiment of the application can at least obtain the following beneficial effects: the method comprises the steps that a first client side acquires environmental sound information, performs audio identification on the environmental sound information, determines weather identification elements contained in the environmental sound information, then determines weather characteristics of the position where the first client side is located according to the weather identification elements, and updates currently presented real-time weather information according to the weather characteristics, so that the first client side can be ensured to provide accurate real-time weather information for a user; in addition, the real-time weather information updating request is sent to the server side to request the server side to update the real-time weather information in the set range near the first client side according to the weather characteristics, so that other client sides near the first client side can be ensured to inquire the accurate real-time weather information.
In addition, by executing the method, each client can play a role of a weather monitoring point to provide the latest real-time weather information for the server, and as the number of mobile terminals in practical application is large, the number of clients capable of sending real-time weather information updating requests to the server is also large, so that the server can obtain more positions of real-time weather information for issuing; and the real-time weather information updating request provided by each client is only used for requesting to update the real-time weather information in the nearby set range, so that the real-time weather information checked by each client can be ensured to be identified and determined according to the environmental sound information provided by the nearby client, and the real-time weather information is ensured to have higher accuracy.
In addition, in the prior art, the interval of real-time weather information issued by the weather station is generally 2 to 3 hours, and the weather of partial areas is variable, especially in the rainy season, so that the real-time weather information issued by the weather station often has the problems of lag and misalignment, and the real-time performance is poor. According to the method provided by the embodiment of the application, under the condition that more clients send real-time weather information updating requests to the server, the server can obtain more weather characteristics, so that the real-time weather information can be updated in time when weather changes are found, and the more the clients are, the higher the timeliness of updating the real-time weather information is, therefore, the method provided by the embodiment of the application can also solve the problems of lag, misalignment and poor real-time performance of the real-time weather information in the prior art.
In some variations of the embodiments of the present application, the weather identification element may include at least one of weather commentary in weather sounds, animal voices, and human voices.
In some modified embodiments of the embodiment of the present application, before the updating the currently presented real-time weather information according to the weather characteristics and sending the real-time weather information update request to the server, the method may further include:
judging whether the meteorological features are matched with the currently presented real-time meteorological information;
and if not, triggering to update the currently presented real-time meteorological information, and sending a real-time meteorological information updating request to the server.
In this embodiment, it may be determined whether the weather characteristics match the real-time weather information currently presented by the first client, if so, the weather information is not updated, and if not, the weather information is updated and a real-time weather information update request is sent to the server, thereby avoiding doing useless work.
In some variations of the embodiments of the present application, the determining, according to the weather identification element, the weather feature of the location where the first client is located may include:
and determining the meteorological features of the position where the first client is located according to the meteorological identification element by combining at least one of current solar terms information, local weather characteristics and historical weather information.
Through the embodiment, the identification accuracy of the meteorological features can be further improved, and misjudgment is avoided.
In some modified embodiments of the embodiment of the present application, before the updating the currently presented real-time weather information according to the weather characteristics and sending the real-time weather information update request to the server, the method may further include:
displaying a confirmation request for the meteorological features;
and triggering and updating the currently presented real-time meteorological information according to the confirmation operation input by the user to the confirmation request, and sending a real-time meteorological information updating request to the server.
Through the implementation mode, the weather information is identified and then confirmed by the user, the real-time weather information is triggered and updated and the real-time weather information updating request is sent to the server side after the weather characteristics are identified through a man-machine interaction mode, and due to the fact that the process of confirming by the user is introduced, the real-time weather information can be updated according to correct weather characteristics, misjudgment is avoided, and the accuracy of the real-time weather information is guaranteed.
In some variations of the embodiments of the present application, the determining, according to the weather identification element, the weather feature of the location where the first client is located may include:
determining a plurality of alternative weather features of the position where the first client is located according to the weather identification elements;
the updating the currently presented real-time weather information according to the weather characteristics and sending a real-time weather information updating request to the server may include:
displaying a selection request for the plurality of candidate meteorological features;
determining the meteorological features selected by the user according to the selection operation input by the user on the multiple candidate meteorological features;
and updating the currently presented real-time meteorological information according to the meteorological features selected by the user, and sending a real-time meteorological information updating request to the server.
Similar to the foregoing embodiment, according to the present embodiment, after a plurality of candidate weather features are identified, the candidate weather features are first submitted to the user for selection and confirmation in a human-computer interaction manner, and after the user selects and confirms, the real-time weather information is updated according to the weather features selected by the user and a real-time weather information update request is sent to the server, so that the process of submitting the weather features selected and confirmed by the user is introduced, thereby ensuring that the real-time weather information is updated according to the correct weather features, avoiding misjudgment, and ensuring the accuracy of the real-time weather information. In addition, because the embodiment provides a plurality of candidate meteorological features for the user to select, compared with the embodiment of determining by sending only one meteorological feature, the embodiment has higher fault tolerance rate.
In some variations of the embodiments of the present application, before the collecting the environmental sound information, the method may further include:
judging whether a first client is located outdoors according to positioning information and/or network connection information of the first client;
and if the first client is located outdoors, triggering the step of collecting the environmental sound information.
Through the embodiment, the first client can collect the environmental sound information only when the first client is located outdoors, so that the current meteorological features can be more accurately identified according to the collected environmental sound information, misjudgment is avoided, and the identification accuracy is improved.
In some variations of the embodiments of the present application, before the collecting the environmental sound information, the method may further include:
displaying a sound collection request;
and triggering the step of collecting the environmental sound information in response to an operation input by the user and indicating approval of the sound collection request.
In consideration of the fact that randomly collecting sound information may cause the disclosure of user privacy and bring insecurity to a user, in the implementation mode of the step, before the environment sound information needs to be collected, the sound collection request is firstly displayed, and the user agrees to collect the sound information and then collects the environment sound information, so that the sound information is collected under the condition of user authorization, and the safety of the user privacy is ensured.
In the embodiment corresponding to fig. 6, a real-time weather information updating method is provided, and correspondingly, the present application also provides a real-time weather information updating apparatus. The real-time weather information updating device provided by the embodiment of the application can implement the real-time weather information updating method, and the real-time weather information updating device can be implemented in a software, hardware or software and hardware combined mode. For example, the real-time weather information updating apparatus may include integrated or separate functional modules or units to perform the corresponding steps of the above-described methods. Please refer to fig. 7, which illustrates a schematic diagram of a real-time weather information updating apparatus according to some embodiments of the present application. Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for relevant points. The device embodiments described below are merely illustrative.
As shown in fig. 7, the real-time weather information updating apparatus 30, for a first client, may include:
the sound information acquisition module 301 is used for acquiring environmental sound information;
an audio recognition module 302, configured to perform audio recognition on the environmental sound information, and determine a weather recognition element included in the environmental sound information;
a weather feature determining module 303, configured to determine, according to the weather identification element, a weather feature of the location where the first client is located;
a weather update request module 304, configured to update the currently presented real-time weather information according to the weather features, and send a real-time weather information update request to the server, so as to request the server to update the real-time weather information within the setting range near the first client according to the weather features.
In some variations of the embodiments of the present application, the weather identification element includes at least one of weather commentary in weather sounds, animal cry, and human voice.
In some variations of the embodiments of the present application, the apparatus 30 further includes:
the matching judgment module is used for judging whether the meteorological features are matched with the currently presented real-time meteorological information or not;
and the unmatched trigger module is used for triggering and updating the currently presented real-time meteorological information if the real-time meteorological information is not matched with the real-time meteorological information, and sending a real-time meteorological information updating request to the server.
In some variations of the embodiments of the present application, the meteorological feature determining module 303 includes:
and the comprehensive determining unit is used for determining the meteorological features of the position where the first client is located according to the meteorological identification elements and by combining at least one of the current solar terms information, the local weather characteristics and the historical weather information.
In some variations of the embodiments of the present application, the apparatus 30 further includes:
the confirmation request display module is used for displaying a confirmation request aiming at the meteorological features;
and the confirmation operation triggering module is used for triggering and updating the currently presented real-time meteorological information according to the confirmation operation input by the user to the confirmation request and sending a real-time meteorological information updating request to the server.
In some variations of the embodiments of the present application, the meteorological feature determining module 303 includes:
the alternative characteristic determining unit is used for determining a plurality of alternative meteorological characteristics of the position where the first client is located according to the meteorological identification element;
the weather update request module 304 includes:
a selection request display module for displaying selection requests for the plurality of candidate meteorological features;
the selected characteristic determining module is used for determining the meteorological characteristics selected by the user according to the selection operation input by the user on the multiple candidate meteorological characteristics;
and the selection characteristic updating module is used for updating the currently presented real-time meteorological information according to the meteorological characteristics selected by the user and sending a real-time meteorological information updating request to the server.
In some variations of the embodiments of the present application, the apparatus 30 further includes:
the outdoor judgment module is used for judging whether the first client side is outdoors according to the positioning information and/or the network connection information of the first client side;
and the outdoor triggering module is used for triggering the step of collecting the environmental sound information if the first client is outdoors.
In some variations of the embodiments of the present application, the apparatus 30 further includes:
the acquisition request display module is used for displaying a sound acquisition request;
and the acquisition request confirmation module is used for responding to the operation which is input by the user and indicates that the voice acquisition request is approved, and triggering the step of acquiring the environmental voice information.
The real-time weather information updating apparatus 30 provided in the embodiment of the present application has the same beneficial effects as the real-time weather information updating method provided in the foregoing embodiment of the present application based on the same inventive concept.
Please refer to fig. 8, which illustrates a flowchart of another real-time weather information updating method provided in some embodiments of the present application, where the real-time weather information updating method may be implemented in a server and is implemented in cooperation with the real-time weather information updating method illustrated in fig. 6, and the following description of the embodiment may be understood with reference to the description of the above embodiment corresponding to fig. 6 and the timing diagram illustrated in fig. 11, and a part of the description is not repeated, as illustrated in fig. 8, where the real-time weather information updating method, which is used in the server, may include the following steps:
step S401: and receiving a real-time weather information updating request sent by a first client.
Step S402: and responding to the real-time meteorological information updating request, and updating the real-time meteorological information in the set range near the first client according to the meteorological features uploaded by the first client, wherein the meteorological features are identified and obtained by the first client according to the collected environmental sound information.
The real-time weather information updating method provided by the embodiment of the application at least has the following beneficial effects: the real-time weather information updating request sent by the first client is received, the real-time weather information updating request is responded, the real-time weather information in the set range nearby the first client is updated according to the weather characteristics uploaded by the first client, and the weather characteristics are identified and obtained by the first client according to the collected environmental sound information, so that the accuracy is high, and accurate real-time weather information can be provided for other clients nearby the first client.
In addition, each client can play a role of a weather monitoring point to provide the latest real-time weather information for the server, and the number of mobile terminals in practical application is large, so that the number of clients capable of sending real-time weather information updating requests to the server is large, and the server can obtain the real-time weather information at more positions for issuing; and the real-time weather information updating request provided by each client is only used for requesting to update the real-time weather information in the nearby set range, so that the real-time weather information checked by each client can be ensured to be identified and determined according to the environmental sound information provided by the nearby client, and the real-time weather information is ensured to have higher accuracy.
In some variations of the embodiments of the present application, the method may further include:
and sending the updated real-time weather information to a second client within a set range near the first client.
By the embodiment, the real-time meteorological information of the second client near the first client can be updated in real time, so that the second client can present more accurate real-time meteorological information.
In some variations of the embodiments of the present application, the method may further include:
judging whether the weather is changed in the set range or not according to the real-time weather information before and after updating;
and if the weather is changed slowly, sending weather change prompt information to the concerned location or the user whose position is located in the set range.
Through the implementation mode, the user can be effectively reminded of dealing with the changing weather in time, and the active care of the user under the severe weather can be realized.
In addition, in some modification embodiments, in order to avoid misjudgment, in consideration that there may be a plurality of clients uploading weather features in the setting range, and weather features identified by different clients may be the same or different, the updating the real-time weather information in the setting range near the first client according to the weather features uploaded by the first client may include:
determining a meteorological feature set, wherein the meteorological feature set comprises meteorological features uploaded by the first client and meteorological features uploaded by other clients within a set range near the first client;
and updating the real-time meteorological information in the set range near the first client according to the meteorological features of which the proportion exceeds a preset proportion threshold value in the meteorological feature set.
The preset duty ratio threshold value can be flexibly set or adjusted according to actual requirements, and the embodiment of the application is not limited.
The higher the meteorological feature proportion is, the higher the accuracy of the meteorological feature is, so that according to the embodiment, the real-time meteorological information in the set range near the first client can be updated by adopting the meteorological feature with higher accuracy, and the accuracy of the updated real-time meteorological information is further improved.
Considering that weather is diverse, the meteorological features in the meteorological feature set can be received within a specified time period in the past, and the specified time period can be 15 minutes, 30 minutes, 60 minutes and the like, and a person skilled in the art can flexibly set or adjust the meteorological features according to actual needs, so as to ensure that the meteorological features have high real-time performance and accuracy.
In the embodiment corresponding to fig. 8, a real-time weather information updating method is provided, and correspondingly, the present application also provides a real-time weather information updating apparatus. The real-time weather information updating device provided by the embodiment of the application can implement the real-time weather information updating method, and the real-time weather information updating device can be implemented in a software, hardware or software and hardware combined mode. For example, the real-time weather information updating apparatus may include integrated or separate functional modules or units to perform the corresponding steps of the above-described methods. Please refer to fig. 9, which illustrates a schematic diagram of a real-time weather information updating apparatus according to some embodiments of the present application. Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for relevant points. The device embodiments described below are merely illustrative.
As shown in fig. 9, the real-time weather information updating apparatus 40, for the server, may include:
an update request receiving module 401, configured to receive a real-time weather information update request sent by a first client;
a real-time weather updating module 402, configured to update, in response to the real-time weather information updating request, the real-time weather information within a set range near the first client according to the weather features uploaded by the first client, where the weather features are identified by the first client according to the collected environmental sound information.
In some modifications of the embodiments of the present application, the apparatus 40 may further include:
and the weather information sending module is used for sending the updated real-time weather information to a second client within a set range near the first client.
In some modifications of the embodiments of the present application, the apparatus 40 may further include:
the weather deterioration detection module is used for judging whether weather deterioration occurs in the set range according to the real-time weather information before and after updating;
and the deterioration information sending module is used for sending weather deterioration prompt information to the concerned location or the user whose position is located in the set range if the weather deterioration occurs.
In some variations of the embodiments of the present application, the real-time weather updating module 402 may include:
the meteorological feature set determining unit is used for determining a meteorological feature set, wherein the meteorological feature set comprises meteorological features uploaded by the first client and meteorological features uploaded by other clients within a set range near the first client;
and the high-occupancy-ratio meteorological information updating unit is used for updating the real-time meteorological information in the set range near the first client according to the meteorological features of which the occupancy ratio exceeds a preset occupancy ratio threshold value in the meteorological feature set.
The real-time weather information updating apparatus 40 provided in the embodiment of the present application and the real-time weather information updating method provided in the foregoing embodiment of the present application have the same advantages and are based on the same inventive concept.
To better illustrate the examples of the present application, the following description is given with reference to specific examples as follows:
please refer to fig. 10, which illustrates a timing diagram of a real-time weather information updating method according to some embodiments of the present application, where the real-time weather information updating method illustrated in fig. 10 can be understood by referring to the above embodiment descriptions corresponding to fig. 2 and fig. 4, and a part of the contents are not repeated, and the description of the embodiment corresponding to fig. 2 and fig. 4 can also be understood by referring to fig. 10.
As shown in fig. 10, the real-time weather information updating method may include the following steps:
step S501: and the first client sends the positioning information and/or the network connection information to the server.
Step S502: the server judges whether the first client is outdoors according to the positioning information and/or the network connection information, and if so, triggers step S503; if not, stopping.
Step S503: and the server side sends a sound acquisition instruction to the first client side.
Step S504: the first client collects the environmental sound information according to the sound collection instruction.
Step S505: the first client sends the environmental sound information to the server.
Step S506: the server side identifies meteorological features according to the environmental sound information, and updates the real-time meteorological information which is locally stored by the server side and is in the set range near the first client side.
Step S507: and the server side sends the updated real-time weather information to the first client side.
Step S508: and the first client updates the currently presented real-time weather information.
Step S509: and the second client sends a real-time weather information query request to the server.
Step S510: the server side judges whether the second client side is in a set range near the first client side, if so, step S511 is triggered; and if not, sending the real-time weather information issued by the weather station to the second client.
Step S511: and the server side sends the updated real-time weather information to the second client side.
By the embodiment, at least the following beneficial effects can be obtained: the method does not depend on the real-time weather information which is detected by the weather monitoring point to update the real-time weather information, and does not update the real-time weather information which is monitored by a single point as the real-time weather information of the whole city in a cutting way, but can determine the weather characteristics according to the environmental sound information which is collected by the client used by the user, and update the real-time weather information in the set range near the client according to the weather characteristics, because the number of mobile terminals is large in practical application, the number of the clients which can send the environmental sound information to the server is also large, and because each client can realize the function similar to the weather monitoring point through the cooperation with the server, the server can obtain the real-time weather information of more positions to issue; and the environmental sound information provided by each client is only used for updating the real-time weather information in the nearby set range, so that the real-time weather information searched by each client can be identified and determined according to the environmental sound information provided by the nearby clients, and the real-time weather information is ensured to have higher accuracy.
Please refer to fig. 11, which illustrates a timing diagram of a real-time weather information updating method according to some embodiments of the present application, where the real-time weather information updating method illustrated in fig. 11 can be understood by referring to the above-mentioned embodiment descriptions corresponding to fig. 6 and fig. 8, and a part of the contents are not repeated, and the description of the embodiment corresponding to fig. 6 and fig. 8 can also be understood by referring to fig. 11.
As shown in fig. 11, the real-time weather information updating method may include the following steps:
step S601: the first client judges whether the first client is outdoors according to the positioning information and/or the network connection information, if so, step S602 is triggered; if not, stopping.
Step S602: the first client collects environmental sound information.
Step S603: the first client identifies meteorological features according to the environmental sound information.
Step S604: the first client updates the currently presented real-time weather information according to the identified weather features.
Step S605: and the first client sends a real-time weather information updating request to the server according to the identified weather characteristics.
Step S606: and the server side responds to the real-time meteorological information updating request and updates the real-time meteorological information in the set range nearby the first client side according to the meteorological features identified by the first client side.
Step S607: and the second client sends a real-time weather information query request to the server.
Step S608: the server side judges whether the second client side is in a set range near the first client side, if so, step S609 is triggered; and if not, sending the real-time weather information issued by the weather station to the second client.
Step S609: and the server side sends the updated real-time weather information to the second client side.
By the embodiment, at least the following beneficial effects can be obtained: through the embodiment, each client can play a role of a weather monitoring point to provide the latest real-time weather information for the server, and as the number of mobile terminals in practical application is large, the number of clients capable of sending real-time weather information updating requests to the server is also large, so that the server can obtain the real-time weather information at more positions for issuing; and the real-time weather information updating request provided by each client is only used for requesting to update the real-time weather information in the nearby set range, so that the real-time weather information checked by each client can be ensured to be identified and determined according to the environmental sound information provided by the nearby client, and the real-time weather information is ensured to have higher accuracy.
The embodiment of the present application further provides an electronic device corresponding to the real-time weather information updating method provided by the foregoing embodiment, where the electronic device may be any electronic device with a voice acquisition function, including but not limited to a mobile phone, a notebook computer, a tablet computer, a smart watch, and the like, so as to execute the real-time weather information updating method for the first client; the electronic device may also be a server, including but not limited to an independent server, a server cluster, and the like, to execute the real-time weather information updating method for the server.
Referring to fig. 12, a schematic diagram of an electronic device provided in some embodiments of the present application is shown. As shown in fig. 12, the electronic device 50 includes: the system comprises a processor 500, a memory 501, a bus 502 and a communication interface 503, wherein the processor 500, the communication interface 503 and the memory 501 are connected through the bus 502; the memory 501 stores a computer program that can be executed on the processor 500, and the processor 500 executes the real-time weather information updating method provided by any of the foregoing embodiments when executing the computer program.
The Memory 501 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 503 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 502 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 501 is used for storing a program, and the processor 500 executes the program after receiving an execution instruction, and the real-time weather information updating method disclosed in any of the embodiments of the present application may be applied to the processor 500, or implemented by the processor 500.
The processor 500 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 500. The Processor 500 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 501, and the processor 500 reads the information in the memory 501, and completes the steps of the method in combination with the hardware thereof.
The electronic device provided by the embodiment of the application and the real-time weather information updating method provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
Referring to fig. 13, a computer-readable storage medium is shown as an optical disc 60, on which a computer program (i.e., a program product) is stored, where the computer program is executed by a processor to perform the real-time weather information updating method provided in any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above-mentioned embodiment of the present application and the real-time weather information updating method provided by the embodiment of the present application have the same beneficial effects as the method adopted, operated or implemented by the application program stored in the computer-readable storage medium.
It should be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present disclosure, and the present disclosure should be construed as being covered by the claims and the specification.

Claims (33)

1. A real-time weather information updating method is used for a server side and is characterized by comprising the following steps:
receiving environmental sound information sent by a first client;
determining weather identification elements contained in the environmental sound information by performing audio identification on the environmental sound information;
determining the meteorological features of the position where the first client is located according to the meteorological identification elements;
and updating the real-time weather information in the set range near the first client according to the weather characteristics.
2. The method of claim 1, wherein the weather identification element comprises at least one of weather commentary in weather sounds, animal screams, and human voices.
3. The method of claim 1, wherein prior to updating the real-time weather information within the range defined by the first client based on the weather signature, further comprising:
determining real-time weather information which is released currently at the position where the first client is located;
wherein, the updating the real-time weather information within the range set near the first client according to the weather characteristics comprises:
and if the weather characteristics are not matched with the real-time weather information, updating the real-time weather information in the set range near the first client according to the weather characteristics.
4. The method of claim 1, wherein determining the weather signature of the location of the first client from the weather identification element comprises:
and determining the meteorological features of the position where the first client is located according to the meteorological identification element by combining at least one of current solar terms information, local weather characteristics and historical weather information.
5. The method of claim 1, wherein prior to updating the real-time weather information within the range defined by the first client based on the weather signature, further comprising:
sending a confirmation request for the meteorological features to the first client;
wherein, the updating the real-time weather information within the range set near the first client according to the weather characteristics comprises:
and if a confirmation response which is returned by the first client and aims at the confirmation request is received, updating the real-time weather information in the set range near the first client according to the weather characteristics.
6. The method of claim 1, wherein determining the weather signature of the location of the first client from the weather identification element comprises:
determining a plurality of alternative weather features of the position where the first client is located according to the weather identification elements;
the updating of the real-time weather information within the set range near the first client according to the weather characteristics includes:
sending a selection request for the plurality of alternative weather features to the first client;
receiving a selection response returned by the first client, and determining weather characteristics selected by a user according to the selection response;
and updating the real-time weather information in the set range near the first client according to the weather characteristics selected by the user.
7. The method of claim 1, further comprising:
sending the updated real-time weather information to the first client so that the first client updates the currently presented real-time weather information according to the real-time weather information; and/or the presence of a gas in the gas,
and sending the updated real-time weather information to a second client within a set range near the first client.
8. The method of claim 1, wherein said updating real-time weather information within a set range about said first client based on said weather signature comprises:
determining a meteorological feature set, wherein the meteorological feature set comprises meteorological features determined according to the environmental sound information uploaded by the first client and meteorological features determined according to the environmental sound information uploaded by other clients within a set range near the first client;
and updating the real-time meteorological information in the set range near the first client according to the meteorological features of which the proportion exceeds a preset proportion threshold value in the meteorological feature set.
9. The method of claim 1, wherein before receiving the ambient sound information sent by the first client, the method further comprises:
judging whether a first client is located outdoors according to positioning information and/or network connection information of the first client;
and if the first client is located outdoors, sending a sound acquisition instruction to the first client to indicate the first client to acquire the environmental sound information.
10. The method of claim 1, further comprising:
judging whether the weather is changed in the set range or not according to the real-time weather information before and after updating;
and if the weather is changed slowly, sending weather change prompt information to the concerned location or the user whose position is located in the set range.
11. A real-time weather information updating device is used for a server side and is characterized by comprising:
the sound information receiving module is used for receiving the environment sound information sent by the first client;
the audio identification module is used for carrying out audio identification on the environmental sound information to determine weather identification elements contained in the environmental sound information;
the weather feature determining module is used for determining weather features of the position where the first client is located according to the weather identification elements;
and the real-time weather updating module is used for updating the real-time weather information in the set range near the first client according to the weather characteristics.
12. A real-time weather information updating method is used for a first client side, and is characterized by comprising the following steps:
collecting environmental sound information;
sending the environmental sound information to a server, so that the server identifies the meteorological features of the position where the first client is located according to the environmental sound information and updates the real-time meteorological information in the set range near the first client according to the meteorological features;
receiving updated real-time meteorological information sent by the server;
and updating the currently presented real-time meteorological information according to the real-time meteorological information.
13. The method according to claim 12, wherein before receiving the updated real-time weather information transmitted by the server, the method further comprises:
receiving and displaying a confirmation request aiming at the meteorological features sent by a server;
generating a confirmation response according to the confirmation operation input by the user to the confirmation request;
and sending the confirmation response to a server so that the server triggers and updates the real-time weather information in the set range near the first client according to the confirmation response.
14. The method according to claim 12, wherein before receiving the updated real-time weather information transmitted by the server, the method further comprises:
receiving and displaying a selection request aiming at a plurality of alternative meteorological features sent by a server;
generating a selection response according to the selection operation input by the user to the selection request;
and sending the selection response to a server so that the server updates the real-time weather information in the set range near the first client according to the weather characteristics selected by the user according to the selection response trigger.
15. The method of claim 12, wherein prior to collecting the ambient sound information, further comprising:
sending positioning information and/or network connection information of the first client to a server, so that the server judges whether the first client is outdoors according to the positioning information and/or the network connection information and sends a sound acquisition instruction to the first client when the first client is outdoors;
receiving a sound acquisition instruction sent by the server;
and triggering the step of collecting the environmental sound information according to the sound collection instruction.
16. The method of claim 12, wherein prior to collecting the ambient sound information, further comprising:
displaying a sound collection request;
and triggering the step of collecting the environmental sound information in response to an operation input by the user and indicating approval of the sound collection request.
17. A real-time weather information updating device for a first client, comprising:
the sound information acquisition module is used for acquiring environmental sound information;
the sound information sending module is used for sending the environmental sound information to a server so that the server can identify the meteorological characteristics of the position where the first client is located according to the environmental sound information and update the real-time meteorological information in the set range nearby the first client according to the meteorological characteristics;
the real-time meteorological information receiving module is used for receiving the updated real-time meteorological information sent by the server;
and the real-time meteorological information updating module is used for updating the currently presented real-time meteorological information according to the real-time meteorological information.
18. A real-time weather information updating method is used for a first client side, and is characterized by comprising the following steps:
collecting environmental sound information;
determining weather identification elements contained in the environmental sound information by performing audio identification on the environmental sound information;
determining the meteorological features of the position where the first client is located according to the meteorological identification elements;
and sending a real-time weather information updating request to a server to request the server to update the real-time weather information in a set range near the first client according to the weather characteristics.
19. The method of claim 18, wherein the weather identification element comprises at least one of weather commentary in weather sounds, animal screams, and human voices.
20. The method of claim 18, wherein said updating the currently presented real-time weather information based on said weather features and prior to sending a real-time weather information update request to the server, further comprises:
judging whether the meteorological features are matched with the currently presented real-time meteorological information;
and if not, triggering to update the currently presented real-time meteorological information, and sending a real-time meteorological information updating request to the server.
21. The method of claim 18, wherein said determining the weather signature of the location of the first client from the weather identification element comprises:
and determining the meteorological features of the position where the first client is located according to the meteorological identification element by combining at least one of current solar terms information, local weather characteristics and historical weather information.
22. The method of claim 18, wherein said updating the currently presented real-time weather information based on said weather features and prior to sending a real-time weather information update request to the server, further comprises:
displaying a confirmation request for the meteorological features;
and triggering and updating the currently presented real-time meteorological information according to the confirmation operation input by the user to the confirmation request, and sending a real-time meteorological information updating request to the server.
23. The method of claim 18, wherein said determining the weather signature of the location of the first client from the weather identification element comprises:
determining a plurality of alternative weather features of the position where the first client is located according to the weather identification elements;
the updating of the currently presented real-time weather information according to the weather characteristics and the sending of a real-time weather information updating request to the server side include:
displaying a selection request for the plurality of candidate meteorological features;
determining the meteorological features selected by the user according to the selection operation input by the user on the multiple candidate meteorological features;
and updating the currently presented real-time meteorological information according to the meteorological features selected by the user, and sending a real-time meteorological information updating request to the server.
24. The method of claim 18, wherein prior to collecting the ambient sound information, further comprising:
judging whether a first client is located outdoors according to positioning information and/or network connection information of the first client;
and if the first client is located outdoors, triggering the step of collecting the environmental sound information.
25. The method of claim 18, wherein prior to collecting the ambient sound information, further comprising:
displaying a sound collection request;
and triggering the step of collecting the environmental sound information in response to an operation input by the user and indicating approval of the sound collection request.
26. A real-time weather information updating device for a first client, comprising:
the sound information acquisition module is used for acquiring environmental sound information;
the audio identification module is used for carrying out audio identification on the environmental sound information to determine weather identification elements contained in the environmental sound information;
the weather feature determining module is used for determining weather features of the position where the first client is located according to the weather identification elements;
and the weather updating request module is used for updating the currently presented real-time weather information according to the weather characteristics and sending a real-time weather information updating request to the server so as to request the server to update the real-time weather information in the set range near the first client according to the weather characteristics.
27. A real-time weather information updating method is used for a server side and is characterized by comprising the following steps:
receiving a real-time weather information updating request sent by a first client;
and responding to the real-time meteorological information updating request, and updating the real-time meteorological information in the set range near the first client according to the meteorological features uploaded by the first client, wherein the meteorological features are identified and obtained by the first client according to the collected environmental sound information.
28. The method of claim 27, further comprising:
and sending the updated real-time weather information to a second client within a set range near the first client.
29. The method of claim 27, further comprising:
judging whether the weather is changed in the set range or not according to the real-time weather information before and after updating;
and if the weather is changed slowly, sending weather change prompt information to the concerned location or the user whose position is located in the set range.
30. The method of claim 27, wherein said updating the real-time weather information within a range defined by the first client based on the weather characteristics uploaded by the first client comprises:
determining a meteorological feature set, wherein the meteorological feature set comprises meteorological features uploaded by the first client and meteorological features uploaded by other clients within a set range near the first client;
and updating the real-time meteorological information in the set range near the first client according to the meteorological features of which the proportion exceeds a preset proportion threshold value in the meteorological feature set.
31. A real-time weather information updating device is used for a server side and is characterized by comprising:
the updating request receiving module is used for receiving a real-time weather information updating request sent by a first client;
and the real-time weather updating module is used for responding to the real-time weather information updating request and updating the real-time weather information in the set range near the first client according to the weather characteristics uploaded by the first client, wherein the weather characteristics are identified and obtained by the first client according to the collected environmental sound information.
32. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor executes the computer program to implement the method according to any of claims 1 to 10, 12 to 16, 18 to 25, 27 to 30.
33. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the method of any one of claims 1 to 10, 12 to 16, 18 to 25, 27 to 30.
CN201911185785.3A 2019-11-27 2019-11-27 Real-time weather information updating method, device electronic equipment and medium Pending CN110990416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911185785.3A CN110990416A (en) 2019-11-27 2019-11-27 Real-time weather information updating method, device electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911185785.3A CN110990416A (en) 2019-11-27 2019-11-27 Real-time weather information updating method, device electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN110990416A true CN110990416A (en) 2020-04-10

Family

ID=70087512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911185785.3A Pending CN110990416A (en) 2019-11-27 2019-11-27 Real-time weather information updating method, device electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN110990416A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112398939A (en) * 2020-11-09 2021-02-23 温州市气象局 Partitioned meteorological intelligent early warning platform based on communication signaling
CN112560673A (en) * 2020-12-15 2021-03-26 北京天泽智云科技有限公司 Thunder detection method and system based on image recognition
CN112799155A (en) * 2020-12-28 2021-05-14 董浩 Environment monitoring method based on big data
CN113311508A (en) * 2021-04-15 2021-08-27 泸州市气象局 Method for recognizing weather process by using voice
CN114821978A (en) * 2022-06-27 2022-07-29 杭州觅睿科技股份有限公司 Method, device and medium for eliminating false alarm

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223389A (en) * 2011-03-09 2011-10-19 深圳市凯立德科技股份有限公司 Real-time information pushing method, server and terminal
TW201326875A (en) * 2011-12-26 2013-07-01 Inventec Corp Mobile device, meteorology counting system, and meteorology counting method
CN104375210A (en) * 2013-08-16 2015-02-25 腾讯科技(深圳)有限公司 Weather prediction method, device and system
CN104601807A (en) * 2014-12-30 2015-05-06 西安乾易企业管理咨询有限公司 Mobile terminal type intelligent reminding method for sudden changes of weather
CN106097225A (en) * 2016-06-17 2016-11-09 北京华风创新网络技术有限公司 Weather information timely dissemination method and system based on mobile terminal
CN107390245A (en) * 2017-07-13 2017-11-24 广东小天才科技有限公司 A kind of localization method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223389A (en) * 2011-03-09 2011-10-19 深圳市凯立德科技股份有限公司 Real-time information pushing method, server and terminal
TW201326875A (en) * 2011-12-26 2013-07-01 Inventec Corp Mobile device, meteorology counting system, and meteorology counting method
CN104375210A (en) * 2013-08-16 2015-02-25 腾讯科技(深圳)有限公司 Weather prediction method, device and system
CN104601807A (en) * 2014-12-30 2015-05-06 西安乾易企业管理咨询有限公司 Mobile terminal type intelligent reminding method for sudden changes of weather
CN106097225A (en) * 2016-06-17 2016-11-09 北京华风创新网络技术有限公司 Weather information timely dissemination method and system based on mobile terminal
CN107390245A (en) * 2017-07-13 2017-11-24 广东小天才科技有限公司 A kind of localization method, device, equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112398939A (en) * 2020-11-09 2021-02-23 温州市气象局 Partitioned meteorological intelligent early warning platform based on communication signaling
CN112560673A (en) * 2020-12-15 2021-03-26 北京天泽智云科技有限公司 Thunder detection method and system based on image recognition
CN112799155A (en) * 2020-12-28 2021-05-14 董浩 Environment monitoring method based on big data
CN112799155B (en) * 2020-12-28 2022-08-26 北京中科信控大数据有限公司 Environment monitoring method based on big data
CN113311508A (en) * 2021-04-15 2021-08-27 泸州市气象局 Method for recognizing weather process by using voice
CN114821978A (en) * 2022-06-27 2022-07-29 杭州觅睿科技股份有限公司 Method, device and medium for eliminating false alarm
CN114821978B (en) * 2022-06-27 2022-11-15 杭州觅睿科技股份有限公司 Method, device and medium for eliminating false alarm

Similar Documents

Publication Publication Date Title
CN110990416A (en) Real-time weather information updating method, device electronic equipment and medium
US11681074B2 (en) Method and system for refining weather forecasts using point observations
EP2981853B1 (en) Method and system for refining weather forecasts using point observations
CA2432487C (en) System and method for providing personalized storm warnings
CN105354196B (en) Information-pushing method and information push-delivery apparatus
US20220397701A1 (en) Automated global weather notification system
KR102121361B1 (en) Method and device for identifying the type of geographic location where the user is located
US20050049789A1 (en) System and method for providing personalized storm warnings
US20100238179A1 (en) Presentation of Personalized Weather Information by an Animated Presenter
CN111212383A (en) Method, device, server and medium for determining number of regional permanent population
WO2020000860A1 (en) Rainfall assessment method and apparatus, electronic device and computer non-volatile readable storage medium
CN106772685A (en) Similar typhoon matching algorithm and software support system based on Web GIS
Dewi et al. Integrating real-time weather forecasts data using OpenWeatherMap and Twitter
WO2014101596A1 (en) Method and server for updating service information
CN109347723A (en) A kind of information cuing method and device
CN111815103A (en) Method and equipment for determining outdoor risk assessment information
CN106792530B (en) Target pseudo base station positioning method and system
CN115293461B (en) Building heating carbon emission prediction method and system
Tatović et al. Device for the remote measurement of meteorological data based on Arduino platform
CN116739191B (en) Hot spot grid identification method and device, storage medium and electronic equipment
CN114819756B (en) Wind turbine generator set intelligent site selection method, device and equipment based on classification model
Vignesh et al. Deep Reinforcement Learning Based Weather Monitoring Systemusing Arduino for Smart Environment
CN117334021A (en) Earphone box anti-lost method, wireless earphone and computer readable storage medium
CN113163007A (en) Networking display method of equipment in Internet of things
CN116227899A (en) Cell house energy consumption prediction method and device, electronic equipment and readable storage medium

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