TWI601969B - Method and apparatus for forecasting environmental status in a designated area - Google Patents

Method and apparatus for forecasting environmental status in a designated area Download PDF

Info

Publication number
TWI601969B
TWI601969B TW104125719A TW104125719A TWI601969B TW I601969 B TWI601969 B TW I601969B TW 104125719 A TW104125719 A TW 104125719A TW 104125719 A TW104125719 A TW 104125719A TW I601969 B TWI601969 B TW I601969B
Authority
TW
Taiwan
Prior art keywords
environmental state
sub
user
point
zero
Prior art date
Application number
TW104125719A
Other languages
Chinese (zh)
Other versions
TW201614263A (en
Inventor
袁行远
李娟�
龚颖坤
苑明理
Original Assignee
北京彩徹區明科技有限公司
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 北京彩徹區明科技有限公司 filed Critical 北京彩徹區明科技有限公司
Publication of TW201614263A publication Critical patent/TW201614263A/en
Application granted granted Critical
Publication of TWI601969B publication Critical patent/TWI601969B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Description

定點環境狀態預報方法和裝置Fixed environment state prediction method and device

本發明涉及天氣預報技術,尤其涉及一種定點環境狀態預報方法和裝置。The invention relates to weather forecasting technology, in particular to a method and a device for predicting a fixed-point environment state.

互聯網和衛星定位技術的出現,使得基於個人位置的服務成為了可能,互聯網天氣預報擺脫了電視節目的束縛,人們可以隨時隨地查看天氣了,但預報的時效性和地點精確性的問題依然沒有得到很好的解決,由此催生了定點降雨預報技術。The emergence of Internet and satellite positioning technology has made it possible to provide personal location-based services. Internet weather forecasts have been freed from the shackles of TV programs. People can view the weather anytime and anywhere, but the timeliness and location accuracy of forecasts are still not available. A good solution, which led to the development of fixed-point rainfall forecasting technology.

定點天氣預報通過手機上的全球定位系統(Global Positioning System,簡稱GPS)獲知用戶的位置,計算出該地點一定時間內的天氣情況,用圖示來表示天氣,並通過氣象圖把該位置周圍的天氣情況表示出來。現有的定點天氣預報技術只能提供用戶周圍天氣情況,例如是否有雨、是否有霾等,依然無法滿足用戶對於預報精確度和描述的可讀性方面的要求,用戶很難直觀的從中獲取想要的資訊。The fixed-point weather forecast knows the user's location through the Global Positioning System (GPS) on the mobile phone, calculates the weather conditions of the location for a certain period of time, uses the icon to indicate the weather, and uses the weather map to map the location around the location. The weather conditions are indicated. The existing fixed-point weather forecasting technology can only provide weather conditions around the user, such as whether there is rain, whether there is any flaws, etc., and still can not meet the user's requirements for the accuracy of the forecast and the readability of the description. It is difficult for the user to intuitively obtain the desired information. The information you want.

關於天氣和環境的諺語和歌謠源遠流傳,但是直到18世紀現代氣象學建立,才有了科學的天氣預報。直到今天,主流的天氣預報仍然是通過天氣會商的形式,以人工天氣預報員,綜合多種數值模式發佈一個城市一定時間內的天氣情況。可是,一個城市面積廣大,東邊日出西邊雨的情況時有發生,而且,人工發佈需要判斷和流程,發佈時效性不夠高,有時趕不上天氣的變化,人工天氣預報的描述很難做到精準。The slang and songs about the weather and the environment are well-known, but it was not until the establishment of modern meteorology in the 18th century that scientific weather forecasts were available. Until today, the mainstream weather forecast is still in the form of weather consultations, with artificial weather forecasters, a variety of numerical models to publish a city weather conditions for a certain period of time. However, the size of a city is large, and the rain on the west side of the east side occurs from time to time. Moreover, manual release requires judgment and process, and the release timeliness is not high enough, sometimes it cannot keep up with the weather changes. The description of artificial weather forecast is difficult to be accurate. .

本發明第一方面提供一種定點環境狀態預報方法,包括:獲取用戶的地理位置資訊,獲取所述地理位置預設時間範圍內的環境狀態預報資料,根據所述環境狀態預報資料生成所述地理位置在所述預設時間範圍內的環境狀態預報曲線,獲取所述環境狀態預報曲線上的環境狀態變化點,根據所述環境狀態變化點生成所述預設時間範圍內的環境狀態預報語句,將所述環境狀態預報語句推送給所述用戶。通過向用戶推送以自然語言描述的預設時間範圍內的環境狀態預報資訊,用戶可以直觀的看出預設時間範圍內環境狀態發生變化的具體時間。A first aspect of the present invention provides a method for predicting a fixed-point environment state, comprising: acquiring geographic location information of a user, acquiring environmental state forecast data within a preset time range of the geographic location, and generating the geographic location according to the environmental state forecast data. An environmental state prediction curve in the preset time range, acquiring an environmental state change point on the environmental state prediction curve, and generating an environmental state forecast statement in the preset time range according to the environmental state change point, The environmental status prediction statement is pushed to the user. By pushing the environment state prediction information within the preset time range described by the natural language to the user, the user can intuitively see the specific time when the environmental state changes within the preset time range.

本發明第二方面提供一種定點環境狀態預報方法,包括:獲取用戶的地理位置資訊;獲取所述地理位置預設區域的環境狀態量化值矩陣,所述環境狀態量化值矩陣與所述預設區域內每一子區域的環境狀態量化值對應;確定所述用戶在所述預設區域中所處的子區域,以及所述用戶在所述環境狀態量化值矩陣中對應的點;確定所述預設區域中環境狀態量化值大於零的子區域;確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係;將所述預設區域中環境狀態量化值大於零的子區域的環境狀態和預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,組合為環境狀態預報語句;將所述環境狀態預報語句推送給所述用戶。通過向用戶推送以自然語言描述的預設區域範圍內的環境狀態預報資訊,用戶可以直觀的看出預設區域範圍內用戶關心的環境狀態分佈的具體位置。A second aspect of the present invention provides a method for predicting a fixed-point environment state, comprising: acquiring geographic location information of a user; acquiring an environmental state quantization value matrix of the geographic location preset region, the environmental state quantization value matrix and the preset region Corresponding to the environmental state quantized value of each sub-region; determining a sub-region in which the user is located in the preset region, and a point corresponding to the user in the matrix of environmental state quantization values; determining the pre- a sub-region in which an environmental state quantized value is greater than zero in the region; determining an azimuth relationship between the sub-region in which the environmental state quantized value is greater than zero and the sub-region in which the user is located; and the preset region The environmental state of the sub-area in which the environmental state quantized value is greater than zero and the azimuth relationship between the sub-area in which the environmental state quantized value is greater than zero and the sub-area in which the user is located are combined into an environmental state forecast statement; The environmental status prediction statement is pushed to the user. By pushing the environment state prediction information within the preset area described by the natural language to the user, the user can intuitively see the specific location of the environmental state distribution that the user cares about within the preset area.

本發明第三方面提供一種定點環境狀態預報裝置,包括:獲取模組,用於獲取用戶的地理位置資訊和所述地理位置預設時間範圍內的環境狀態預報資料;處理模組,用於根據所述環境狀態預報資料生成所述地理位置在所述預設時間範圍內的環境狀態預報曲線,獲取所述環境狀態預報曲線上的環境狀態變化點,根據所述環境狀態變化點生成所述預設時間範圍內的環境狀態預報語句;發送模組,用於將所述環境狀態預報語句推送給所述用戶。A third aspect of the present invention provides a fixed-point environment state prediction apparatus, including: an acquisition module, configured to acquire geographic location information of a user and environmental state prediction data within a preset time range of the geographic location; and a processing module, configured to The environmental state prediction data generates an environmental state prediction curve of the geographic location within the preset time range, acquires an environmental state change point on the environmental state prediction curve, and generates the pre-preparation according to the environmental state change point The environment state forecast statement in the time range is set; the sending module is configured to push the environment state forecast statement to the user.

本發明第四方面提供一種定點環境狀態預報裝置,包括:獲取模組,用於獲取用戶的地理位置資訊和所述地理位置預設區域的環境狀態量化值矩陣,所述環境狀態量化值矩陣與所述預設區域內每一子區域的環境狀態量化值對應;處理模組,用於確定所述用戶在所述預設區域中所處的子區域,以及所述用戶在所述環境狀態量化值矩陣中對應的點;確定所述預設區域中環境狀態量化值大於零的子區域;確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係;將所述預設區域中環境狀態量化值大於零的子區域的環境狀態和預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,組合為環境狀態預報語句;發送模組,用於將所述環境狀態預報語句推送給所述用戶。A fourth aspect of the present invention provides a device for predicting a fixed-point environment state, comprising: an obtaining module, configured to acquire a geographic location information of a user and a matrix of environmental state quantized values of the geographic location preset region, and the matrix of the environmental state quantized value Corresponding to the environmental state quantized value of each sub-area in the preset area; the processing module is configured to determine a sub-area in which the user is located in the preset area, and the user quantizes in the environmental state a corresponding point in the value matrix; determining a sub-area in which the environmental state quantization value is greater than zero in the preset area; determining a sub-area in which the environmental state quantization value is greater than zero and the sub-area in which the user is located An orientation relationship between the sub-areas in which the environmental state quantized value in the preset area is greater than zero and the sub-area in which the environmental state quantized value in the preset area is greater than zero and the sub-area in which the user is located The orientation relationship is combined into an environmental state prediction statement; and the sending module is configured to push the environmental state prediction statement to the user.

基於上述,本發明提供的定點環境狀態預報方法和裝置,自動生成用戶所在位置的環境狀態情況的自然語言描述,通過向用戶推送以自然語言描述的環境狀態預報資訊,用戶可以直觀的看出預設時間範圍內環境狀態發生變化的具體時間和/或預設區域範圍內用戶關心的環境狀態分佈的具體位置。相對於現有技術,提高了預報的精確度以及描述的可讀性,用戶可以直觀的從中獲取想要的資訊。Based on the above, the fixed-point environment state prediction method and apparatus provided by the present invention automatically generates a natural language description of the environmental state of the location of the user, and by pushing the environment state prediction information described by the natural language to the user, the user can intuitively see the The specific time at which the environmental state changes within the time range and/or the specific location of the environmental state distribution that the user cares about within the preset region. Compared with the prior art, the accuracy of the forecast and the readability of the description are improved, and the user can intuitively obtain the desired information from it.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合附圖作詳細說明如下。The above described features and advantages of the invention will be apparent from the description and appended claims appended claims

本發明實施例提供的定點環境狀態預報方法具體可以應用於通過客戶終端進行環境狀態預報的過程,可以通過定點環境狀態預報裝置來實現,該定點環境狀態預報裝置可以集成在客戶終端中,也可以單獨設置,該定點環境狀態預報裝置可以通過軟體和/或硬體的方式來實現。客戶終端具體可以是電腦、智慧手機、平板電腦、機上盒、車載導航等設備。The fixed-point environment state prediction method provided by the embodiment of the present invention can be specifically applied to the process of performing environmental state prediction through a client terminal, which can be implemented by a fixed-point environment state prediction device, which can be integrated in a client terminal or Separately, the fixed-point environmental condition prediction device can be implemented by software and/or hardware. The client terminal may specifically be a computer, a smart phone, a tablet computer, a set-top box, a car navigation device, and the like.

圖1為本發明一實施例提供的定點環境狀態預報方法流程圖。如圖1所示,本實施例提供的定點環境狀態預報方法包括:FIG. 1 is a flowchart of a method for predicting a fixed-point environment state according to an embodiment of the present invention. As shown in FIG. 1 , the method for predicting a fixed-point environment state provided by this embodiment includes:

步驟10,獲取用戶的地理位置資訊;Step 10: acquiring geographic location information of the user;

具體的,通過定位客戶終端獲取用戶的地理位置資訊。需要說明的是,本實施例中獲取用戶的地理位置資訊的方式包括但不限於GPS衛星定位、網路定位、移動通訊技術定位及場景識別定位等。根據客戶終端的類型來選擇相應的定位方式。Specifically, the location information of the user is obtained by locating the client terminal. It should be noted that the manner of obtaining the geographic location information of the user in this embodiment includes, but is not limited to, GPS satellite positioning, network positioning, mobile communication technology positioning, and scene recognition positioning. The corresponding positioning method is selected according to the type of the client terminal.

步驟20,獲取所述地理位置預設時間範圍內的環境狀態預報資料;Step 20: Obtain environmental state forecast data in the preset time range of the geographic location;

具體的,環境狀態預報資料具體為降水預報資料、溫度預報資料、空氣品質預報資料、風向與風速預報資料。定點環境預報裝置可以通過訪問互聯網等方式獲取所述地理位置預設時間範圍內的環境狀態預報資料。Specifically, the environmental status forecast data is specifically precipitation forecast data, temperature forecast data, air quality forecast data, wind direction and wind speed forecast data. The fixed-point environment forecasting device can obtain the environmental state forecast data within the preset time range of the geographical location by accessing the Internet or the like.

步驟30,根據所述環境狀態預報資料生成所述地理位置在所述預設時間範圍內的環境狀態預報曲線;Step 30: Generate an environmental state prediction curve of the geographic location within the preset time range according to the environmental state forecast data.

其中,降水預報曲線表示所述地理位置在所述預設時間範圍內降水量隨時間變化的情況。Wherein, the precipitation forecast curve indicates a situation in which the precipitation amount changes with time in the preset time range.

步驟40,獲取所述環境狀態預報曲線上的環境狀態變化點;Step 40: Obtain an environmental state change point on the environmental state prediction curve;

舉例來說,環境狀態變化點可以是降水量從零變化到大於零或從大於零變化到零的點,降水量由大開始變小或由小開始變大的點,或者溫度又高開始下降或由低開始上升的點等類似的狀態變化點。For example, the environmental state change point may be a point at which the precipitation changes from zero to greater than zero or from greater than zero to zero, and the precipitation decreases from a large start to a small or small start, or the temperature begins to decrease. Or a similar state change point, such as a point that rises from a low point.

步驟50,根據所述環境狀態變化點生成所述預設時間範圍內的環境狀態預報語句;Step 50: Generate an environmental state prediction statement in the preset time range according to the environmental state change point;

具體的,可以提取環境狀態變化點中包含的時間、環境狀態變化趨勢等資訊,將這些資訊進行組合,生成環境狀態預報語句。Specifically, information such as time included in the environmental state change point, environmental state change trend, and the like may be extracted, and the information is combined to generate an environmental state forecast statement.

步驟60,將所述環境狀態預報語句推送給所述用戶。Step 60: Push the environmental status prediction statement to the user.

具體的,定點環境狀態預報裝置可以將環境狀態預報語句發送至用戶的客戶終端,在客戶終端的顯示介面進行顯示,也可以發送文字消息給用戶,還可以通過語音播報的方式將生成的環境狀態預報語句播報給用戶,也可以在客戶終端的顯示介面顯示所述環境狀態預報語句的同時進行語音播報,本實施例對此不作任何限定。Specifically, the fixed-point environment state prediction device may send the environmental state prediction statement to the user terminal of the user, display the display interface of the client terminal, or send a text message to the user, and may also generate the generated environmental state by means of voice broadcast. The prediction statement is broadcast to the user, and the voice status report can be performed while displaying the environmental status prediction statement on the display interface of the client terminal. This embodiment does not limit this.

本實施例提供的定點環境狀態預報方法,自動生成用戶所在位置的環境狀態情況的自然語言描述,通過向用戶推送以自然語言描述的環境狀態預報資訊,用戶可以直觀的看出預設時間範圍內環境狀態發生變化的具體時間。相對於現有技術,提高了預報的精確度以及描述的可讀性,用戶可以直觀的從中獲取想要的資訊。The fixed-point environment state prediction method provided by the embodiment automatically generates a natural language description of the environment state of the user's location, and by pushing the environment state prediction information described by the natural language to the user, the user can intuitively see the preset time range. The specific time when the environmental status changes. Compared with the prior art, the accuracy of the forecast and the readability of the description are improved, and the user can intuitively obtain the desired information from it.

本發明具體以定點降水預報方法為例進行進一步說明。這些實施例是用來說明,而並非用來限制本發明。The invention is further described by taking a fixed-point precipitation forecasting method as an example. These examples are for illustrative purposes and are not intended to limit the invention.

圖2為本發明一實施例提供的定點降水預報方法流程圖。如圖2所示,本實施例提供的定點降水預報方法包括:FIG. 2 is a flowchart of a method for predicting a fixed point precipitation according to an embodiment of the present invention. As shown in FIG. 2, the fixed-point precipitation forecasting method provided in this embodiment includes:

步驟11,獲取用戶的地理位置資訊;Step 11, obtaining geographic location information of the user;

步驟12,獲取所述地理位置預設時間範圍內的降水預報資料。Step 12: Obtain precipitation forecast data within the preset time range of the geographic location.

具體的,定點降水預報裝置可以通過訪問互聯網獲取所述地理位置預設時間範圍內的降水預報資料,例如通過訪問谷歌的天氣預報應用程式設計發展介面(Application Programming Interface,簡稱API)、氣象臺的天氣預報API及其他的天氣預報介面得到天氣資料,當然,本實施例獲取降水預報資料的方式並不以此為限。所述預設時間範圍可以是系統固定設置的,也可以是用戶通過客戶終端輸入查詢請求設置的,所述預設時間範圍具體可以以小時、天、周或月等為單位,以當前時間點為時間起點。Specifically, the fixed-point precipitation forecasting device can obtain precipitation forecast data within the preset time range of the geographical location by accessing the Internet, for example, by accessing Google's weather forecasting application design development interface (API), weather weather of the weather station. The forecast API and other weather forecast interfaces obtain weather data. Of course, the method for obtaining precipitation forecast data in this embodiment is not limited thereto. The preset time range may be fixedly set by the system, or may be set by the user inputting a query request through the client terminal, and the preset time range may be specifically in hours, days, weeks, or months, and the current time point. For the beginning of time.

步驟13,根據所述降水預報資料生成所述地理位置在所述預設時間範圍內的降水預報曲線。Step 13: Generate a precipitation forecast curve of the geographic location within the preset time range according to the precipitation forecast data.

其中,降水預報曲線表示所述地理位置在所述預設時間範圍內降水量隨時間變化的情況。Wherein, the precipitation forecast curve indicates a situation in which the precipitation amount changes with time in the preset time range.

步驟14,獲取所述降水預報曲線上的降水狀態變化點。In step 14, the precipitation state change point on the precipitation forecast curve is obtained.

具體的,降水狀態變化點可以是降水量從零變化到大於零或從大於零變化到零的點,降水量由大開始變小或由小開始變大的點。Specifically, the precipitation state change point may be a point at which the precipitation changes from zero to more than zero or from more than zero to zero, and the amount of precipitation becomes smaller from a large start or becomes larger from a small one.

換句話說,如果把降水預報曲線看作是在所述預設時間範圍內降水量隨時間變化的函數圖像,則降水狀態變化點就是該函數圖像上的拐點。In other words, if the precipitation forecast curve is regarded as a function image of the amount of precipitation over time in the preset time range, the precipitation state change point is the inflection point on the function image.

步驟15,根據所述降水狀態變化點生成所述預設時間範圍內的降水預報語句。Step 15: Generate a precipitation forecast statement within the preset time range according to the precipitation state change point.

具體的,可以提取降水狀態變化點中包含的時間、降水量變化趨勢等資訊,將這些資訊進行組合,生成降水預報語句。Specifically, information such as the time included in the change point of the precipitation state, the trend of the precipitation change, and the like can be extracted, and the information is combined to generate a precipitation forecast statement.

步驟16,將所述降水預報語句推送給所述用戶。In step 16, the precipitation prediction statement is pushed to the user.

具體的,可以根據降水預報語句的不同,選擇具體的推送方式。例如,若所述降水預報曲線上無降水狀態變化點,也就是預設時間範圍內沒有降水狀態變化的情況下,在客戶終端的顯示介面顯示降水預報語句;若所述降水預報曲線上有降水狀態變化點,也就是預設時間範圍內有降水狀態變化的情況下,在客戶終端的顯示介面顯示降水預報語句,同時將降水預報語句播報給用戶。Specifically, the specific push mode can be selected according to the difference of the precipitation forecast statement. For example, if there is no precipitation state change point on the precipitation forecast curve, that is, if there is no precipitation state change within the preset time range, the precipitation interface is displayed on the display interface of the client terminal; if there is precipitation on the precipitation forecast curve The state change point, that is, the precipitation state change in the preset time range, displays the precipitation forecast statement on the display interface of the client terminal, and broadcasts the precipitation forecast statement to the user.

另外,還可以將生成的所述地理位置在所述預設時間範圍內的降水預報曲線也發送至用戶的客戶終端,在客戶終端的顯示介面進行顯示,以便供用戶參考。In addition, the generated precipitation prediction curve of the geographical location within the preset time range may also be sent to the user terminal of the user, and displayed on the display interface of the client terminal for reference by the user.

本實施例提供的定點降水預報方法,由於根據相應的降水預報曲線獲取的降水狀態變化點中包含有對應的時間、降水量變化趨勢等資訊,將這些資訊進行組合,生成以自然語言描述的降水預報語句,用戶可以直觀的看出預設時間範圍內降水狀態發生變化的具體時間。提高了預報的精確度以及描述的可讀性,用戶可以直觀的從中獲取想要的資訊。The fixed-point precipitation forecasting method provided by the embodiment combines the information to generate precipitation in a natural language because the precipitation state change point obtained according to the corresponding precipitation forecast curve includes information such as corresponding time and precipitation change trend. The forecast statement allows the user to visually see the specific time when the precipitation state changes within the preset time range. The accuracy of the forecast and the readability of the description are improved, and the user can intuitively obtain the desired information.

本實施例提供的定點降水預報方法在圖2所示實施例的基礎上,還可以包括如下步驟:The fixed-point precipitation prediction method provided in this embodiment may further include the following steps on the basis of the embodiment shown in FIG. 2:

接收所述用戶發送的降水預報請求消息。Receiving a precipitation forecast request message sent by the user.

具體的,當用戶想要獲得所在地理位置某一時間範圍的降水預報資訊時,可以通過客戶終端發送降水預報請求消息給定點降水預報裝置。定點降水預報裝置在接收所述用戶發送的降水預報請求消息後,獲取用戶的地理位置資訊和所述地理位置預設時間範圍內的降水預報資料,最終生成降水預報語句,將降水預報語句發送給用戶。Specifically, when the user wants to obtain the precipitation forecast information of a certain time range of the geographical location, the user terminal may send a precipitation forecast request message to the fixed point precipitation forecasting device. After receiving the precipitation forecast request message sent by the user, the fixed-point precipitation forecasting device acquires the geographical location information of the user and the precipitation forecast data within the preset time range of the geographical location, and finally generates a precipitation forecast statement, and sends the precipitation forecast statement to the user.

可選的,用戶在發送降水預報請求消息時可以請求定點降水預報裝置預報未來某一時間範圍內的降水預報。也就是說,用戶可以自行設定預設時間範圍。Optionally, when sending the precipitation forecast request message, the user may request the fixed-point precipitation forecasting device to predict the precipitation forecast in a certain time range in the future. In other words, the user can set the preset time range.

進一步的,在本實施例中,步驟13,根據所述降水預報資料生成所述地理位置在所述預設時間範圍內的降水預報曲線,具體可以包括如下步驟:Further, in this embodiment, in step 13, the precipitation prediction curve of the geographic location in the preset time range is generated according to the precipitation forecasting data, which may specifically include the following steps:

將所述降水預報資料通過插值方法生成所述地理位置在所述預設時間範圍內的降水預報資料集合;And generating, by the interpolation method, the precipitation forecast data set of the geographical location within the preset time range;

假設預測降雨量是一系列點(x,.y),其中x和y都是實數,y表示降雨量大小,x表示時間。可以假設單位降雨量單位是毫米/小時,時間單位是分鐘。那麼(5,.15)表示,5分鐘以後的降雨量是15毫米/小時。我們如果有兩個預測降雨量,分別可以用座標(x0 ,.y0 )、(xl ,.yl )表示,可以通過插值方法得到x0 時間和x1 時間之間的降雨量。本實施例以線性插值為例進行示意性說明。Suppose that the predicted rainfall is a series of points (x, .y), where x and y are both real numbers, y is the size of the rainfall, and x is the time. It can be assumed that the unit of unit rainfall is mm/hr and the unit of time is minutes. Then (5,.15) indicates that the rainfall after 5 minutes is 15 mm/hour. If we have two predicted rainfalls, they can be represented by coordinates (x 0 ,.y 0 ), (x l ,.y l ), and the rainfall between x 0 time and x 1 time can be obtained by interpolation. This embodiment is schematically illustrated by a linear interpolation example.

圖3為本發明一實施例線性插值方法示意圖,請參照圖3,假設我們已知座標(x0 ,.y0 )、(xl ,.yl ),要得到(x0 ,.x1 )區間內某位置x在直線上的值。根據圖3所示,可以得出:3 is a schematic diagram of a linear interpolation method according to an embodiment of the present invention. Referring to FIG. 3, it is assumed that coordinates (x 0 , .y 0 ), (x l , .y l ) are known, and (x 0 , .x 1 is obtained. The value of a position x on a straight line in the interval. According to Figure 3, it can be concluded that:

由於x值己知,所以可以從公式得到y的值:Since the value of x is known, the value of y can be obtained from the formula:

需要說明的是,所述降水預報資料集合在時間上的精度為預設值,可以理解降水預報資料集合在時間上的精度為每分鐘的降水量預報、每五分鐘的降水量預報等。顯然,上述示例以分鐘作為時間單位只是為了示意性的說明,而非用來限定本發明。可以理解,假設預設時間範圍設置為未來兩周,相應的可以選擇小時或天作為時間單位,相應的降雨量單位可以是毫米/小時或毫米/天。本實施例採用的插值方法可以是線性插值演算法、三次樣條插值演算法、艾爾米特插值演算法等常規的差值方法,本實施例對此不作限定。It should be noted that the accuracy of the precipitation forecast data set in time is a preset value, and it can be understood that the accuracy of the precipitation forecast data set in time is the forecast of precipitation per minute, the forecast of precipitation every five minutes, and the like. It is apparent that the above examples are in minutes as a time unit for illustrative purposes only and are not intended to limit the invention. It can be understood that, assuming that the preset time range is set to be two weeks in the future, the corresponding hour or day can be selected as the time unit, and the corresponding rainfall unit can be mm/hr or mm/day. The interpolation method used in this embodiment may be a conventional difference method such as a linear interpolation algorithm, a cubic spline interpolation algorithm, and an Hermitian interpolation algorithm, which is not limited in this embodiment.

根據所述降水預報資料集合生成所述降水預報曲線。And generating the precipitation forecast curve according to the set of precipitation forecast data.

很顯然,所獲取的所述地理位置預設時間範圍內的降水預報資料時間間隔比較大,無法滿足作詳細降水預報對於時間精度的要求。一般情況,通過氣象臺的天氣預報API獲取所述地理位置未來三小時的降水預報資料是每隔半小時對應的降水量預報資料。通過插值方法處理後可以得到每隔五分鐘對應的降水量預報資料。可以理解,當時間精度預設為一分鐘或十分鐘,相應的,通過插值方法處理後就可以得到每隔一分鐘或十分鐘對應的降水量預報資料。每隔五分鐘(或一分鐘/十分鐘)的所述地理位置未來三小時的降水預報資料構成降水預報資料集合。如此一來,就可以根據所述降水預報資料集合生成所述降水預報曲線。Obviously, the time interval of precipitation forecast data within the preset time range of the obtained geographical location is relatively large, and the time precision requirement for detailed precipitation forecast cannot be satisfied. In general, the precipitation forecast data of the geographic location for the next three hours through the weather forecast API of the meteorological observatory is the forecast data of the precipitation corresponding every half hour. After the interpolation method, the precipitation forecast data corresponding to every five minutes can be obtained. It can be understood that when the time precision is preset to one minute or ten minutes, correspondingly, the precipitation forecast data corresponding to one minute or ten minutes can be obtained by the interpolation method. The precipitation forecast data for the next three hours of the geographic location every five minutes (or one minute/ten minute) constitutes a set of precipitation forecast data. In this way, the precipitation forecast curve can be generated according to the set of precipitation forecast data.

在實際應用中,可以採用線性插值、三次樣條插值、艾爾米特插值等插值演算法。在本實施例中,優選的,採用三次樣條插值演算法處理生成降水預報曲線。可以理解,採用三次樣條插值演算法處理生成的降水預報曲線相對於線性插值演算法處理生成的降水預報曲線會更加平滑,通過三次樣條插值演算法處理得到的降水預報資料集合準確性更好。In practical applications, interpolation algorithms such as linear interpolation, cubic spline interpolation, and Hermitian interpolation can be used. In this embodiment, preferably, a cubic spline interpolation algorithm is used to process the generated precipitation prediction curve. It can be understood that the precipitation prediction curve generated by the cubic spline interpolation algorithm is smoother than the precipitation prediction curve generated by the linear interpolation algorithm, and the accuracy of the precipitation prediction data set processed by the cubic spline interpolation algorithm is better. .

進一步的,在本實施例中,步驟14,獲取所述降水預報曲線上的降水狀態變化點,具體可以包括如下步驟:Further, in this embodiment, in step 14, the precipitation state change point on the precipitation prediction curve is obtained, which may specifically include the following steps:

獲取所述降水預報資料集合中,降水量的一階差分絕對值小於一階差分臨界值、二階差分絕對值大於二階差分臨界值的變化點;Obtaining, in the set of precipitation forecast data, a first-order difference absolute value of the precipitation is less than a first-order differential threshold, and a second-order difference absolute value is greater than a second-order differential threshold value;

具體的,可以預先設定一階差分臨界值和二階差分臨界值,且一階差分臨界值和二階差分臨界值均為正數。獲取降水預報資料集合中的降水量序列對應的一階差分序列和二階差分序列,通過依次比較一階差分絕對值與一階差分臨界值、二階差分絕對值與二階差分臨界值的大小關係,找出一階差分絕對值小於一階差分臨界值、二階差分絕對值大於二階差分臨界值的變化點。Specifically, the first-order differential threshold and the second-order differential threshold may be preset, and the first-order differential threshold and the second-order differential threshold are both positive numbers. Obtaining the first-order difference sequence and the second-order difference sequence corresponding to the precipitation sequence in the precipitation forecast data set, and sequentially comparing the magnitude relationship between the first-order difference absolute value and the first-order difference threshold value, the second-order difference absolute value and the second-order difference threshold value The first order difference absolute value is smaller than the first order difference threshold value, and the second order difference absolute value is greater than the second order difference threshold value.

將所述變化點中,與前一個變化點的時間間隔大於預設時間閾值、與前一個變化點的降水量間隔大於預設降水量閾值的變化點作為所述降水狀態變化點。Among the change points, the time interval from the previous change point is greater than the preset time threshold, and the change point of the precipitation interval from the previous change point is greater than the preset precipitation amount threshold as the precipitation state change point.

具體的,可以預先設定最小時間間隔作為時間閥值和最小降雨量間隔作為降水量閾值。根據一階差分絕對值小於一階差分臨界值、二階差分絕對值大於二階差分臨界值找出上述變化點,可以選取距離當前時間點最近的變化點作為第一個降水狀態變化點,然後依次計算其後的變化點與前一個變化點之間的時間間隔和降水量間隔,找出與前一個變化點的時間間隔大於預設時間閾值、與前一個變化點的降水量間隔大於預設降水量閾值的變化點作為其它的降水狀態變化點。Specifically, the minimum time interval may be preset as the time threshold and the minimum rainfall interval as the precipitation threshold. According to the first-order difference absolute value is less than the first-order differential threshold value, and the second-order difference absolute value is greater than the second-order difference threshold value to find the above change point, the change point closest to the current time point can be selected as the first precipitation state change point, and then sequentially calculated. The time interval between the subsequent change point and the previous change point and the precipitation interval, find that the time interval from the previous change point is greater than the preset time threshold, and the precipitation interval from the previous change point is greater than the preset precipitation The change point of the threshold is used as a point of change of other precipitation states.

如果把降水預報曲線看作是在所述預設時間範圍內降水量隨時間變化的函數圖像,則降水狀態變化點就是該函數圖像上的拐點。還可以把所述降水預報資料集合看作是在所述預設時間範圍內降水量隨時間變化的函數,顯然這是一個離散函數,可以採用離散函數拐點演算法來獲取所述降水預報資料集合中的狀態變化點。If the precipitation forecast curve is regarded as a function image of the amount of precipitation over time in the preset time range, the precipitation state change point is the inflection point on the function image. The precipitation forecast data set can also be regarded as a function of the precipitation change with time in the preset time range. Obviously, this is a discrete function, and the discrete function inflection point algorithm can be used to obtain the precipitation forecast data set. The state change point in .

在本實施例中,均採用數學上的定義,也可以採用其他方法進行定義,找出所述降水預報曲線上降水量趨勢發生變化的點。In this embodiment, mathematical definitions are used, and other methods may be used to define the points at which the precipitation trend on the precipitation prediction curve changes.

進一步的,在本實施例中,步驟15,根據所述降水狀態變化點生成所述預設時間範圍內的降水預報語句,具體可以包括如下步驟:Further, in this embodiment, in step 15, the precipitation prediction statement in the preset time range is generated according to the precipitation state change point, which may specifically include the following steps:

若所述降水預報曲線上無降水狀態變化點,將所述預設時間範圍與當前降水量組合為所述降水預報語句;If there is no precipitation state change point on the precipitation forecast curve, combining the preset time range with the current precipitation amount as the precipitation forecast statement;

若所述降水預報曲線上存在降水狀態變化點,則依次判斷當前時間點和所述降水狀態變化點中相鄰兩點之間的降水量變化趨勢,將當前時間點和所述降水狀態變化點中相鄰兩點之間的降水量變化趨勢以及所述降水狀態變化點對應的時間依次組合為所述降水預報語句。If there is a precipitation state change point on the precipitation forecast curve, the precipitation change trend between the current time point and the adjacent two points in the precipitation state change point is sequentially determined, and the current time point and the precipitation state change point are determined. The trend of the precipitation change between the adjacent two points and the time corresponding to the change point of the precipitation state are sequentially combined into the precipitation forecast statement.

具體的,若所述降水預報曲線上無降水狀態變化點,根據當前降水量和預設的時間範圍,將當前降水量和預設的時間範圍組合為降水預報語句,例如,當預設時間範圍為三小時,當前降水量大於零,可以生成降水預報語句為「未來三小時一直有雨」,也可以描述為「雨還會持續三小時」等類似的語句。也就是,可以在定點降水預報裝置中設置相應的當前降水量和預設的時間範圍的組合方式來生成降水預報語句。進一步的,還可以考慮一些其他的因素,可以在所述降水預報語句中加入一些人性化的提示語句。例如,「未來三小時一直有雨,出門記得攜帶雨具!」、「未來兩小時一直下雪,請注意防凍!」等,例如考慮到時間因素,比如到了夜間(23點到早上6點之間),降水預報語句可以是「未來三小時不會下雨,還在加班嗎,注意休息哦!」等。降水預報語句的具體描述不以本實施例為限。Specifically, if there is no precipitation state change point on the precipitation forecast curve, the current precipitation amount and the preset time range are combined into a precipitation forecast statement according to the current precipitation amount and a preset time range, for example, when the preset time range is For three hours, the current precipitation is greater than zero, and the precipitation forecast statement can be generated as "there is rain for the next three hours", or it can be described as "the rain will last for three hours" and the like. That is, a combination of the current current precipitation amount and the preset time range may be set in the fixed-point precipitation forecasting device to generate a precipitation forecast statement. Further, some other factors may also be considered, and some humanized prompt statements may be added to the precipitation forecast statement. For example, "There will be rain in the next three hours, go out and remember to bring rain gear!", "It will snow in the next two hours, please pay attention to antifreeze!", etc., for example, taking into account time factors, such as at night (between 23 and 6 am) ), the precipitation forecast statement can be "I won't rain in the next three hours, still working overtime, pay attention to rest!" The specific description of the precipitation forecast statement is not limited to this embodiment.

若所述降水預報曲線上存在降水狀態變化點,可以提取降水狀態變化點中包含的時間、降水量變化趨勢等資訊。將這些資訊進行組合,生成降水預報語句。具體的,需要先判斷當前時間點和所述降水狀態變化點中相鄰兩點之間的降水量變化趨勢,然後提取判斷結果,將對應的時間資訊和判斷結果依次組合為所述降水預報語句。If there is a precipitation state change point on the precipitation forecast curve, information such as the time included in the precipitation state change point and the change trend of the precipitation amount may be extracted. Combine this information to generate precipitation forecast statements. Specifically, it is necessary to first determine a trend of precipitation change between two points in the current time point and the change point of the precipitation state, and then extract the judgment result, and sequentially combine the corresponding time information and the judgment result into the precipitation forecast statement. .

為了進一步說明本實施例提供的定點降水預報方法,下面通過一個舉例進行說明。此例僅用來對本實施例提供的定點降水預報方法作示意性的說明,而非限定性的。In order to further illustrate the fixed-point precipitation prediction method provided by the embodiment, an example will be described below. This example is only used to illustrate the fixed point precipitation forecasting method provided by this embodiment, and is not limiting.

假設通過步驟11~14,獲取所述地理位置在所述預設時間範圍內的降水預報曲線和所述降水預報曲線上的降水狀態變化點為A(t1 ,.v1 )、B(t2 ,.0),其中A、B兩點的座標分別對應的是該點的時間和降水量, 當前時間點為O(0,.v0 ),其中0 <v0 <v1 。首先判斷當前時間點O(0,.v0 )與狀態變化點A(t1 ,.v1 )之間的降水量變化趨勢為降水量由小開始變大;然後判斷狀態變化點A(t1 ,.v1 )與狀態變化點B(t2 ,.0)之間的降水量變化趨勢為降水量從大變小直至雨停。提取降水狀態變化點A、B對應的時間資訊分別為t1 分鐘和t2 分鐘,將判斷結果和降水狀態變化點A、B對應的時間依次組合為降水預報語句,可以描述為「現在雨在變大,t1 分鐘後雨開始變小,直到t2 分鐘後雨停」。It is assumed that, by steps 11-14, the precipitation prediction curve of the geographical location within the preset time range and the precipitation state change point on the precipitation prediction curve are A(t 1 , .v 1 ), B(t 2 , .0), where the coordinates of the two points A and B correspond to the time and precipitation of the point, and the current time point is O(0,.v 0 ), where 0 <v 0 <v 1 . Firstly, the trend of precipitation between the current time point O(0,.v 0 ) and the state change point A(t 1 ,.v 1 ) is changed as the precipitation starts to increase from small to small; then the state change point A is judged. The change trend of precipitation between 1 , .v 1 ) and state change point B (t 2 , .0) is that the precipitation decreases from large to small until the rain stops. The time information corresponding to the precipitation change point A and B is t 1 minute and t 2 minute respectively, and the judgment result and the time corresponding to the precipitation state change points A and B are sequentially combined into a precipitation forecast statement, which can be described as “now raining It becomes bigger, and after 1 minute, the rain starts to get smaller, until the rain stops after t 2 minutes.

進一步的,在本實施例中,定點降水預報方法還包括如下步驟:Further, in this embodiment, the fixed point precipitation forecasting method further includes the following steps:

生成降水量與降水等級的映射關係;將所述降水預報語句中的降水量使用對應的降水等級表示。A mapping relationship between the precipitation amount and the precipitation level is generated; and the precipitation amount in the precipitation prediction statement is represented by a corresponding precipitation level.

具體的,構造降水量大小的等級:0—無雨,降水量小於0.25毫米/小時;1—小雨,降水量在0.25~1.0毫米/小時之間;2—中雨,降水量在1.0~4.0毫米/小時之間;3—大雨,降水量在4.0~16.0毫米/小時之間;4—暴雨,降水量大於16.0毫米/小時。Specifically, the level of precipitation is: 0—no rain, less than 0.25 mm/hour of precipitation; 1—light rain, precipitation between 0.25 and 1.0 mm/hr; 2—rainfall, precipitation between 1.0 and 4.0 Between mm/hr; 3—heavy rain, precipitation between 4.0 and 16.0 mm/hr; 4—storm, precipitation greater than 16.0 mm/hr.

構造降水量與降水等級的映射關係,將降水量映射到對應的降水量大小的等級區間,將所述降水預報語句中的降水量使用對應的降水等級表示。當預設時間範圍內(例如是三小時)的降水預報曲線上無降水狀態變化點時,將當前降水量映射到對應的降水量大小的等級區間,例如當前降水量大小為15毫米/小時,映射到降水量大小的等級區間對應的是大雨,則所述降水預報語句可以描述為「未來三小時一直有大雨」。降水預報語句的具體描述不以本實施例為限。The mapping relationship between the precipitation amount and the precipitation level is constructed, the precipitation amount is mapped to the level interval of the corresponding precipitation amount, and the precipitation amount in the precipitation prediction statement is represented by the corresponding precipitation level. When there is no precipitation state change point on the precipitation forecast curve within the preset time range (for example, three hours), the current precipitation amount is mapped to the corresponding precipitation level range, for example, the current precipitation amount is 15 mm/hour. The grade interval mapped to the magnitude of the precipitation corresponds to heavy rain, and the precipitation forecast statement can be described as "there is heavy rain for the next three hours." The specific description of the precipitation forecast statement is not limited to this embodiment.

相應的,當預設時間範圍內的降水預報曲線上有降水狀態變化點時,這裡可以繼續通過上述示例進行說明。當前時間點O(0,.v0 )的降雨量映射到降水量大小的等級區間,例如v0 =15毫米/小時,對應的是大雨,降雨狀態變化點A(t1 ,.v1 )的降雨量映射到降雨量大小的等級區間,例如v1 =17毫米/小時,對應的是暴雨,降雨狀態變化點B(t2 ,.0)的降雨量映射到降水量大小的等級區間對應的是無雨,則所述降水預報語句可以描述為「現在是大雨轉暴雨,t1 分鐘後暴雨開始變小,直到t2 分鐘後雨停」。降水預報語句的具體描述不以本實施例為限。Correspondingly, when there is a precipitation state change point on the precipitation forecast curve within the preset time range, the above example can be continued. The rainfall at the current time point O(0,.v 0 ) is mapped to the level interval of the precipitation amount, for example, v 0 = 15 mm / hour, corresponding to heavy rain, the change point of the rainfall state A (t 1 , .v 1 ) The rainfall is mapped to the interval of the rainfall size, for example, v 1 =17 mm / h, corresponding to the heavy rain, the rainfall state change point B (t 2 , .0) of the rainfall maps to the level of the precipitation If there is no rain, the precipitation forecast statement can be described as "now it is heavy rain and heavy rain, after 1 minute, the rainstorm begins to become smaller, until the rain stops after t 2 minutes." The specific description of the precipitation forecast statement is not limited to this embodiment.

值得一提的是,上述降水預報語句具體可以是降水量變化趨勢資訊、對應的時間資訊以及降水等級的各種組合方式的一種,對於具體的組合方式或組合順序不作任何限定。It is worth mentioning that the above-mentioned precipitation forecast statement may specifically be one of various combinations of precipitation change trend information, corresponding time information, and precipitation level, and there is no limitation on the specific combination manner or combination order.

本實施例提供的定點降水預報方法,通過插值方法對所述地理位置在所述預設時間範圍內的降水預報資料進行預處理,得到所述地理位置在所述預設時間範圍內的降水預報資料集合,即得到了時間精度更高的降水預報資料,根據降水預報資料集合生成對應的降水預報曲線,由於根據相應的降水預報曲線獲取的降水狀態變化點中包含有對應的時間、降水量變化趨勢等資訊,將這些資訊進行組合,生成以自然語言描述的降水預報語句,用戶可以直觀的看出預設時間範圍內降水狀態發生變化的具體時間。進一步的,通過構造降水量與降水等級的映射關係,將所述降水預報語句中的降水量使用對應的降水等級表示,用戶可以直觀的看出預設時間範圍內具體的降水量變化趨勢。以自然語言的形式提供給用戶降水開始時間、降水量大小變化情況的描述,用戶可以直觀的從中獲取想要的資訊。The fixed-point precipitation forecasting method provided by the embodiment preprocesses the precipitation forecast data of the geographic location within the preset time range by using an interpolation method, and obtains a precipitation forecast of the geographic location within the preset time range. The data set, that is, the precipitation forecast data with higher time precision is obtained, and the corresponding precipitation forecast curve is generated according to the precipitation forecast data set, because the change of the precipitation state obtained according to the corresponding precipitation forecast curve includes the corresponding time and precipitation change. Trends and other information, combine these information to generate precipitation forecast statements in natural language, users can visually see the specific time when the precipitation state changes within the preset time range. Further, by constructing a mapping relationship between the precipitation amount and the precipitation level, the precipitation amount in the precipitation prediction statement is represented by a corresponding precipitation level, and the user can visually see the specific precipitation variation trend within the preset time range. In the form of natural language, the user is provided with a description of the start time of the precipitation and the change of the amount of precipitation, and the user can intuitively obtain the desired information.

下面通過一具體的例子對上述實施例提供的定點降水預報方法作進一步詳細說明。The fixed-point precipitation prediction method provided by the above embodiment is further described in detail below through a specific example.

假設獲取用戶所在地理位置未來一小時的降水預報資料為:(0,.15)、(10,.16)、(20,.10)、(30,.5)、(40,.1)、(50,.0)、(60,.0)。Assume that the precipitation forecast data for the next hour of the user's geographic location is: (0,.15), (10,.16), (20,.10), (30,.5), (40,.1), (50, .0), (60, .0).

預設時間精度為一分鐘,通過插值方法得到降水預報資料集合:[15.00, 15.77, 16.36, 16.77, 17.03, 17.14, 17.12, 16.98, 16.74, 16.41, 16.00, 15.53, 15.00, 14.43, 13.83, 13.20, 12.55, 11.90, 11.25, 10.61, 10.00, 9.42, 8.86, 8.33, 7.82, 7.32, 6.85, 6.38, 5.92, 5.46, 5.00, 4.54, 4.08, 3.63, 3.19, 2.76, 2.35, 1.96, 1.61, 1.29, 1.00, 0.76, 0.55, 0.38, 0.25, 0.14, 0.07, 0.02, -0.01, -0.01, 0.00, 0.03, 0.06, 0.10, 0.13, 0.16, 0.18, 0.18, 0.15, 0.09]。The preset time precision is one minute, and the precipitation forecast data set is obtained by interpolation method: [15.00, 15.77, 16.36, 16.77, 17.03, 17.14, 17.12, 16.98, 16.74, 16.41, 16.00, 15.53, 15.00, 14.43, 13.83, 13.20, 12.55, 11.90, 11.25, 10.61, 10.00, 9.42, 8.86, 8.33, 7.82, 7.32, 6.85, 6.38, 5.92, 5.46, 5.00, 4.54, 4.08, 3.63, 3.19, 2.76, 2.35, 1.96, 1.61, 1.29, 1.00, 0.76, 0.55, 0.38, 0.25, 0.14, 0.07, 0.02, -0.01, -0.01, 0.00, 0.03, 0.06, 0.10, 0.13, 0.16, 0.18, 0.18, 0.15, 0.09].

根據上述降水預報資料集合生成未來一小時的降水預報曲線如圖4所示,圖4為本發明一實施例的降水預報曲線示意圖。According to the above precipitation forecast data set, a precipitation forecast curve for the next hour is generated as shown in FIG. 4, and FIG. 4 is a schematic diagram of a precipitation forecast curve according to an embodiment of the present invention.

計算降水預報資料集合對應的一階差分序列為:[0.77, 0.59, 0.41, 0.26, 0.11, -0.02, -0.14, -0.24, -0.33, -0.41, -0.47, -0.53, -0.57, -0.60, -0.63, -0.65, -0.65, -0.65, -0.64, -0.61, -0.58, -0.56, -0.53, -0.51, -0.50, -0.47, -0.47, -0.46, -0.46, -0.46, -0.46, -0.46, -0.45, -0.44, -0.43, -0.41, -0.39, -0.35, -0.32, -0.29, -0.24, -0.21, -0.17, -0.13, -0.11, -0.07, -0.05, -0.03, 0.00, 0.01, 0.03, 0.03, 0.04, 0.03, 0.03, 0.02, 0.00, -0.03, -0.06]。Calculate the first-order difference sequence corresponding to the precipitation forecast data set: [0.77, 0.59, 0.41, 0.26, 0.11, -0.02, -0.14, -0.24, -0.33, -0.41, -0.47, -0.53, -0.57, -0.60 , -0.63, -0.65, -0.65, -0.65, -0.64, -0.61, -0.58, -0.56, -0.53, -0.51, -0.50, -0.47, -0.47, -0.46, -0.46, -0.46, - 0.46, -0.46, -0.45, -0.44, -0.43, -0.41, -0.39, -0.35, -0.32, -0.29, -0.24, -0.21, -0.17, -0.13, -0.11, -0.07, -0.05, -0.03, 0.00, 0.01, 0.03, 0.03, 0.04, 0.03, 0.03, 0.02, 0.00, -0.03, -0.06].

計算降水預報資料集合對應的二階差分序列為:[-0.18, -0.18, -0.15, -0.15, -0.13, -0.12, -0.10, -0.09, -0.08, -0.06, -0.06, -0.04, -0.03, -0.03, -0.02, -0.00, 0.00, 0.01, 0.03, 0.03, 0.02, 0.03, 0.02, 0.01, 0.03, 0.00, 0.01, 0.00, 0.00, 0.00, 0.00, 0.01, 0.01, 0.01, 0.02, 0.02, 0.04, 0.03, 0.03, 0.05, 0.03, 0.04, 0.04, 0.02, 0.04, 0.02, 0.02, 0.03, 0.01, 0.02, 0.00, 0.01, -0.01, 0.00, -0.01, -0.02, -0.03, -0.03]。Calculate the second-order difference sequence corresponding to the precipitation forecast data set: [-0.18, -0.18, -0.15, -0.15, -0.13, -0.12, -0.10, -0.09, -0.08, -0.06, -0.06, -0.04, - 0.03, -0.03, -0.02, -0.00, 0.00, 0.01, 0.03, 0.03, 0.02, 0.03, 0.02, 0.01, 0.03, 0.00, 0.01, 0.00, 0.00, 0.00, 0.00, 0.01, 0.01, 0.01, 0.02, 0.02 , 0.04, 0.03, 0.03, 0.05, 0.03, 0.04, 0.04, 0.02, 0.04, 0.02, 0.02, 0.03, 0.01, 0.02, 0.00, 0.01, -0.01, 0.00, -0.01, -0.02, -0.03, -0.03] .

設一階差分臨界值為0.1,二階差分臨界值為0.02,得到一階差分絕對值小於一階差分臨界值、二階差分絕對值大於二階差分臨界值的變化點分別為:(5,.17.03)、(45,.0.25)、(46,.0.14)、(58,.0.18)。Let the first-order differential threshold be 0.1 and the second-order differential threshold be 0.02. The first-order difference absolute value is smaller than the first-order differential threshold, and the second-order difference absolute value is greater than the second-order differential threshold. The change points are: (5,.17.03) , (45, .0.25), (46,.0.14), (58,.0.18).

設最小間隔時間為5分鐘,最小降雨量間隔為1毫米/小時,則最後得到的降水狀態變化點為:(5,.17.03)、(45,.0.25)。With a minimum interval of 5 minutes and a minimum rainfall interval of 1 mm/hr, the final precipitation change points are: (5, .17.03), (45, .0.25).

構造降水量大小的等級:0—無雨,降水量小於0.25毫米/小時;1—小雨,降水量在0.25~1.0毫米/小時之間;2—中雨,降水量在1.0~4.0毫米/小時之間;3—大雨,降水量在4.0~16.0毫米/小時之間;4—暴雨,降水量大於16.0毫米/小時。則上述降水狀態變化點對應的降水量等級分別為暴雨和無雨。The grade of the amount of precipitation is 0: no rain, the precipitation is less than 0.25 mm / hour; 1 - light rain, precipitation is between 0.25 ~ 1.0 mm / hour; 2 - moderate rain, precipitation is 1.0 ~ 4.0 mm / hour 3; heavy rain, precipitation between 4.0 ~ 16.0 mm / h; 4 - heavy rain, precipitation is greater than 16.0 mm / h. Then, the precipitation level corresponding to the change point of the precipitation state is rainstorm and no rain, respectively.

當前時間點對應的降水量資訊為(0,.15.00),對應的降水量等級為大雨。依次判斷出當前時間點與降水狀態變化點中相鄰兩點之間的降水量變化趨勢為大雨轉暴雨、暴雨變小,直到雨停。The precipitation information corresponding to the current time point is (0, .15.00), and the corresponding precipitation level is heavy rain. It is determined in turn that the change trend of the precipitation between the current time point and the adjacent two points in the precipitation state change point is that the heavy rain turns to heavy rain and the heavy rain becomes small until the rain stops.

最終生成的降水預報語句可以這樣描述「現在是大雨轉暴雨,5分鐘後暴雨開始變小,直到45分鐘後雨停」。The resulting precipitation forecast statement can describe "it is now heavy rain and heavy rain, and after 5 minutes, the rain begins to get smaller until the rain stops after 45 minutes."

可以理解,在本發明未示出的實施例中,當獲取的環境狀態為溫度預報資料、空氣品質預報資料、風向與風速預報資料時,其處理過程與降水預報資料處理過程是類似的。It can be understood that, in the embodiment not shown in the present invention, when the acquired environmental state is temperature forecast data, air quality forecast data, wind direction and wind speed forecast data, the processing process is similar to the precipitation forecast data processing process.

圖5為本發明又一實施例提供的定點環境狀態預報方法流程圖。如圖5所示,本實施例提供的定點環境狀態預報方法包括:FIG. 5 is a flowchart of a method for predicting a fixed-point environment state according to another embodiment of the present invention. As shown in FIG. 5, the method for predicting a fixed-point environment state provided by this embodiment includes:

步驟21,獲取用戶的地理位置資訊;Step 21: Obtain geographic location information of the user;

具體的,通過定位客戶終端獲取用戶的地理位置資訊的方式可以參考上述實施例,在此不再贅述。For example, the method for obtaining the location information of the user by the client terminal can be referred to the foregoing embodiment, and details are not described herein again.

步驟22,獲取所述地理位置預設區域的環境狀態量化值矩陣,所述環境狀態量化值矩陣與所述預設區域內每一子區域的環境狀態量化值對應;Step 22: Obtain an environment state quantization value matrix of the geographic location preset area, where the environmental state quantization value matrix corresponds to an environmental state quantization value of each sub-area in the preset area;

具體的,定點環境狀態預報裝置可以通過訪問互聯網等方式,獲取所述地理位置預設區域的環境狀態預報資料,然後對環境狀態預報資料進行量化處理,從而得到環境狀態量化值矩陣。其中,環境狀態量化值具體可以是降水量、溫度、空氣中細顆粒物含量Specifically, the fixed-point environment state forecasting device may acquire the environmental state forecast data of the geographical location preset area by accessing the Internet or the like, and then quantize the environmental state forecast data to obtain the environmental state quantized value matrix. The quantitative value of the environmental state may specifically be precipitation, temperature, and fine particulate matter in the air.

步驟23,確定所述用戶在所述預設區域中所處的子區域,以及所述用戶在所述環境狀態量化值矩陣中對應的點;Step 23: determining a sub-area in which the user is located in the preset area, and a point corresponding to the user in the matrix of the environmental state quantization value;

步驟24,確定所述預設區域中環境狀態量化值大於零的子區域;Step 24, determining a sub-area in which the environmental state quantization value in the preset area is greater than zero;

步驟25,確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係;Step 25: Determine an orientation relationship between a sub-area in which the environmental state quantization value is greater than zero and a sub-area in which the user is located in the preset area;

步驟26,將所述預設區域中環境狀態量化值大於零的子區域的環境狀態和預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,組合為環境狀態預報語句;Step 26: The environmental state of the sub-area in which the environmental state quantized value is greater than zero in the preset area and the sub-area in which the environmental state quantized value in the preset area is greater than zero and the sub-area in which the user is located , combined into an environmental state forecast statement;

步驟27,將所述環境狀態預報語句推送給所述用戶。In step 27, the environmental state prediction statement is pushed to the user.

具體的,將環境狀態預報語句發送至用戶的客戶終端,在客戶終端的顯示介面進行顯示,也可以發送文字消息給用戶,還可以通過語音播報的方式將生成的環境狀態預報語句播報給用戶,也可以在客戶終端的顯示介面顯示所述環境狀態預報語句的同時進行語音播報,本實施例對此不作任何限定。Specifically, the environment state prediction statement is sent to the user terminal of the user, displayed on the display interface of the client terminal, and the text message may be sent to the user, and the generated environmental state prediction statement may be broadcast to the user by means of voice broadcast. The voice broadcast can be performed at the same time as the environment state prediction statement is displayed on the display interface of the client terminal, which is not limited in this embodiment.

本實施例提供的環境狀態預報方法,最終生成以自然語言描述的預設區域範圍內的環境狀態預報語句,通過向用戶推送以自然語言描述的環境狀態預報資訊,用戶可以直觀的看出預設區域範圍內用戶關心的環境狀態分佈的具體位置。提高了預報的精確度以及描述的可讀性,用戶可以直觀的從中獲取想要的資訊。The environmental state prediction method provided by the embodiment finally generates an environmental state prediction statement within a preset area range described by a natural language, and the user can intuitively see the preset by pushing the environmental state prediction information described by the natural language to the user. The specific location of the environment state distribution that the user cares about in the region. The accuracy of the forecast and the readability of the description are improved, and the user can intuitively obtain the desired information.

本發明具體以定點降水預報方法為例進行進一步說明。這些實施例是用來說明,而並非用來限制本發明。The invention is further described by taking a fixed-point precipitation forecasting method as an example. These examples are for illustrative purposes and are not intended to limit the invention.

圖6為本發明又一實施例提供的定點降水預報方法流程圖。如圖6所示,本實施例提供的定點降水預報方法包括:FIG. 6 is a flowchart of a method for predicting a fixed point precipitation according to another embodiment of the present invention. As shown in FIG. 6, the fixed-point precipitation forecasting method provided in this embodiment includes:

步驟31,獲取用戶的地理位置資訊。Step 31: Obtain geographic location information of the user.

步驟32,獲取所述地理位置預設區域的降水量矩陣;Step 32: Obtain a precipitation matrix of the geographic location preset area.

具體的,定點降水預報裝置可以通過訪問互聯網獲取所述地理位置預設區域內的降水預報資料,例如,通過訪問谷歌的天氣預報API、氣象臺的天氣預報API及其他的天氣預報介面得到天氣資料,當然,本實施例獲取降水預報資料的方式並不以此為限。將預設區域劃分為多個大小相同的子區域,子區域的大小可以預先設定。根據所述地理位置預設區域內的降水預報資料對應於每一個子區域的降水量,生成預設區域的降水量矩陣,其中,該降水量矩陣與所述預設區域內每一子區域的降水量對應。定點降水預報裝置也可以通過現有技術獲取所述降水量矩陣。Specifically, the fixed-point precipitation forecasting device may obtain precipitation forecast data in the preset location of the geographical location by accessing the Internet, for example, obtaining weather data by accessing Google's weather forecast API, the weather forecast API of the weather station, and other weather forecast interfaces. Of course, the manner in which the present embodiment obtains precipitation forecast data is not limited thereto. The preset area is divided into a plurality of sub-areas of the same size, and the size of the sub-areas can be preset. Generating a precipitation matrix of the preset region according to the precipitation forecast data in the preset location of the geographic location corresponding to the precipitation amount of each sub-region, wherein the precipitation matrix and each sub-region of the preset region The amount of precipitation corresponds. The fixed-point precipitation forecasting device can also obtain the precipitation matrix by the prior art.

其中,上述預設區域包含用戶所在地理位置,優選的,可以根據行政劃分確定用戶所在地理位置所處的省、市、區縣,然後選擇省、市、區縣其中一種設置為預設區域。The preset area includes the geographic location of the user. Preferably, the province, the city, the district and the county where the user is located may be determined according to the administrative division, and then one of the provinces, cities, districts and counties is selected as the preset area.

步驟33,確定所述用戶在所述預設區域中所處的子區域,以及所述用戶在所述降水量矩陣中對應的點。Step 33: Determine a sub-region where the user is located in the preset area, and a point corresponding to the user in the precipitation matrix.

具體的,可以根據預設區域邊緣對應的經緯度以及用戶所在位置對應的經緯度來確定所述用戶在所述預設區域中所處的子區域,為了更清晰地描述該步驟,假設獲取到用戶所在位置對應的經緯度為[x1 ,.y1 ],預設區域邊緣對應的經緯度為[x2 ,.x3 ]×[y2 ,.y3 ],獲取預設區域的降水量矩陣A的大小為m×n,那麼用戶所在位置在所述降水量矩陣中對應的點Oij 的座標可以表示為:Specifically, the sub-area in which the user is located in the preset area may be determined according to the latitude and longitude corresponding to the edge of the preset area and the latitude and longitude corresponding to the location of the user. In order to describe the step more clearly, it is assumed that the user is located. The latitude and longitude corresponding to the position is [x 1 , .y 1 ], and the latitude and longitude corresponding to the edge of the preset area is [x 2 , .x 3 ]×[y 2 ,.y 3 ], and the precipitation matrix A of the preset region is obtained. The size is m×n, then the coordinates of the corresponding point O ij in the precipitation matrix of the user can be expressed as:

;

找出所述用戶在所述降水量矩陣中對應的點,就可以根據降水量矩陣與所述預設區域內每一子區域的對應關係確定所述用戶在所述預設區域中所處的子區域。And finding a point corresponding to the user in the precipitation matrix, and determining, according to a correspondence between the precipitation matrix and each sub-region in the preset region, determining, by the user, in the preset region. Sub-area.

步驟34,確定所述預設區域中降水量大於零的子區域。Step 34: Determine a sub-area in which the amount of precipitation in the preset area is greater than zero.

一種優選的方式,可以通過找出所述降水量矩陣中對應的降水量大於零的點,再根據降水量矩陣與所述預設區域內每一子區域的對應關係確定所述預設區域中降水量大於零的子區域。In a preferred manner, the corresponding precipitation in the precipitation matrix is found to be greater than zero, and the corresponding relationship between the precipitation matrix and each sub-region in the preset region is determined. A sub-area with a precipitation greater than zero.

步驟35,確定所述預設區域中降水量大於零的子區域和所述用戶所處的子區域之間的方位關係。Step 35: Determine an orientation relationship between a sub-area in which the amount of precipitation in the preset area is greater than zero and a sub-area in which the user is located.

其中,所述方位關係具體可以是東、南、西、北、東南、西南、東北和西北這八種方位關係。具體的,可以以用戶所在的子區域為中心點,將預設區域劃分為正東、正西、正南、正北、東南、西南、東北和西北八個象限,根據降水量大於零的子區域所處的象限來確定所述預設區域中降水量大於零的子區域和所述用戶所處的子區域之間的方位關係。The orientation relationship may specifically be eight orientations of east, south, west, north, southeast, southwest, northeast, and northwest. Specifically, the preset area can be divided into eight quadrants of Zhengdong, Zhengxi, Zhengnan, Zhengbei, Southeast, Southwest, Northeast, and Northwest with the sub-region where the user is located as the center point, according to the child whose precipitation is greater than zero. The quadrant in which the region is located determines an orientation relationship between the sub-region in which the precipitation amount is greater than zero in the preset region and the sub-region in which the user is located.

步驟36,將所述預設區域中降水量大於零的子區域的降水量和預設區域中降水量大於零的子區域和所述用戶所處的子區域之間的方位關係,組合為降水預報語句。Step 36: Combine the precipitation amount of the sub-area whose precipitation amount is greater than zero in the preset area and the orientation relationship between the sub-area where the precipitation amount is greater than zero in the preset area and the sub-area where the user is located, and combine the precipitation relationship into the precipitation. Forecast statement.

具體的,可以設置降水預報語句組合範本來組合所述降水量資訊和方位關係資訊。一種優選的實施方式,可以將降水預報語句組合範本設置為:「您+方位關係資訊+降水量資訊」。可以理解的是,當多個方位上同時存在降水量大於零的子區域時,可以將方位關係組合起來,也可以分開描述。例如,在預設區域中,用戶所處的子區域的東南和西北方向都存在降水量大於零的子區域,所述降水預報語句可以描述為「您東南和西北方向有雨」,也可以描述為「你東南方向有雨,您西北方向有雨」。降水預報語句的具體描述不以本實施例為限。Specifically, a precipitation forecast statement combination template may be set to combine the precipitation information and the orientation relationship information. In a preferred embodiment, the precipitation forecast statement combination template can be set as: "you + orientation relationship information + precipitation information". It can be understood that when there are sub-regions whose precipitation amount is greater than zero in multiple orientations, the orientation relationships may be combined or separately described. For example, in the preset area, there are sub-areas with precipitation greater than zero in the southeast and northwest directions of the sub-area where the user is located. The precipitation forecast statement can be described as "you have rain in the southeast and northwest directions", and can also describe "You have rain in the southeast and you have rain in the northwest." The specific description of the precipitation forecast statement is not limited to this embodiment.

可選的,當預設區域中不存在降水量大於零的子區域時,生成固定的降水預報語句,例如,可以為「您周圍沒有降水」。當然,降水預報語句的具體描述不以本實施例為限。Optionally, when there is no sub-area with a precipitation greater than zero in the preset area, a fixed precipitation prediction statement is generated, for example, “No precipitation around you”. Of course, the specific description of the precipitation forecast statement is not limited to this embodiment.

步驟37,將所述降水預報語句推送給所述用戶。Step 37: Push the precipitation forecast statement to the user.

具體的,可以根據降水預報語句的不同,選擇具體的推送方式。例如,在預設區域中無降水的情況下,在客戶終端的顯示介面顯示降水預報語句;在預設區域中有降水的情況下,在客戶終端的顯示介面顯示降水預報語句,同時將降水預報語句播報給用戶。Specifically, the specific push mode can be selected according to the difference of the precipitation forecast statement. For example, in the case where there is no precipitation in the preset area, the precipitation prediction statement is displayed on the display interface of the client terminal; in the case where there is precipitation in the preset area, the precipitation prediction statement is displayed on the display interface of the client terminal, and the precipitation prediction is also performed. The statement is broadcast to the user.

另外,還可以根據所述預設區域的降水量矩陣,生成所述預設區域內的降水分佈圖,並根據用戶的地理位置資訊,標注出用戶在該降水分佈圖中所處的位置,將該降水分佈圖發送至用戶的客戶終端,在客戶終端的顯示介面進行顯示,以便供用戶參考。In addition, the precipitation distribution map in the preset area may be generated according to the precipitation amount matrix of the preset area, and the location of the user in the precipitation distribution map is marked according to the geographic location information of the user, and The precipitation profile is sent to the user terminal of the user and displayed on the display interface of the client terminal for reference by the user.

本實施例提供的定點降水預報方法,最終生成以自然語言描述的預設區域範圍內的降水預報語句,通過向用戶推送以自然語言描述的降水預報資訊,用戶可以直觀的看出預設區域範圍內降水分佈的具體位置。提高了預報的精確度以及描述的可讀性,用戶可以直觀的從中獲取想要的資訊。The fixed-point precipitation forecasting method provided by the embodiment finally generates a precipitation forecast statement in a preset area range described by a natural language, and the user can intuitively see the preset area range by pushing the precipitation forecast information described by the natural language to the user. The specific location of the internal precipitation distribution. The accuracy of the forecast and the readability of the description are improved, and the user can intuitively obtain the desired information.

可選的,本實施例提供的定點降水預報方法在圖6所示實施例的基礎上,步驟35,確定所述預設區域中降水量大於零的子區域和所述用戶所處的子區域之間的方位關係,具體可以包括如下步驟:Optionally, the fixed-point precipitation forecasting method provided in this embodiment is based on the embodiment shown in FIG. 6. In step 35, determining a sub-area in which the precipitation amount is greater than zero in the preset area and a sub-area in which the user is located The orientation relationship between the two may include the following steps:

計算所述預設區域中降水量大於零的子區域和所述用戶所處的子區域之間的距離;Calculating a distance between the sub-area in which the precipitation amount is greater than zero in the preset area and the sub-area in which the user is located;

確定所述預設區域中降水量大於零的子區域中,距離所述用戶最近的子區域和所述用戶所處的子區域之間的方位關係。Determining an orientation relationship between a sub-region closest to the user and a sub-region in which the user is located in the sub-region in which the precipitation amount is greater than zero in the preset region.

根據步驟34,確定所述預設區域中降水量大於零的子區域,當預設區域中降水量大於零的子區域不止一個時,優選的,將距離用戶最近的子區域和用戶所處的子區域之間的方位關係及其降水量資訊預報給用戶。According to step 34, a sub-area in which the precipitation amount is greater than zero in the preset area is determined. When there is more than one sub-area in the preset area where the amount of precipitation is greater than zero, preferably, the sub-area closest to the user and the user are located. The orientation relationship between sub-areas and their precipitation information are predicted to the user.

具體的,可以根據預設區域的降水量矩陣與每一子區域的降水量的對應關係,計算降水量大於零的子區域在降水量矩陣中對應的點與用戶在降水量矩陣中對應的點之間的歐氏距離,通過比較確定距離用戶最近的子區域在降水量矩陣中對應的點,從而確定距離所述用戶最近的子區域。判斷距離用戶最近的子區域和用戶所處的子區域之間的方位關係的具體過程與圖4所示實施例相同,此處不再贅述。Specifically, according to the corresponding relationship between the precipitation matrix of the preset region and the precipitation amount of each sub-region, the corresponding point in the precipitation matrix and the corresponding point in the precipitation matrix of the sub-region with the precipitation greater than zero may be calculated. The Euclidean distance between the two is determined by comparing the points corresponding to the sub-region closest to the user in the precipitation matrix, thereby determining the sub-region closest to the user. The specific process of determining the azimuth relationship between the sub-area closest to the user and the sub-area in which the user is located is the same as that in the embodiment shown in FIG. 4, and details are not described herein again.

進一步的,還可以將距離用戶最近的子區域和用戶所處的子區域之間的距離資訊也組合在降水預報語句中預報給用戶。Further, the distance information between the sub-area closest to the user and the sub-area where the user is located may also be combined and predicted in the precipitation forecast statement to the user.

進一步的,本實施例提供的定點降水預報方法在圖4所示實施例的基礎上,步驟35,確定所述預設區域中降水量大於零的子區域和所述用戶所處的子區域之間的方位關係,具體還可以包括如下步驟:Further, the fixed-point precipitation prediction method provided in this embodiment is based on the embodiment shown in FIG. 4, and in step 35, determining a sub-area in which the precipitation amount is greater than zero in the preset area and a sub-area in which the user is located The orientation relationship between the two may further include the following steps:

確定所述降水量矩陣中降水量大於零的點;Determining a point in the precipitation matrix that the precipitation is greater than zero;

確定所述降水量大於零的點在所述降水量矩陣中與所述用戶對應的點的連線構成的第一向量;Determining, by the first line of the line connecting the point corresponding to the user in the precipitation amount matrix, the first vector formed by the point where the precipitation amount is greater than zero;

根據所述第一向量所在象限確定所述預設區域中降水量大於零的子區域和所述用戶所處的子區域之間的方位關係。And determining, according to the quadrant of the first vector, an orientation relationship between the sub-area in which the precipitation amount is greater than zero and the sub-area in which the user is located.

具體的,可以通過下面的例子進行示意性的說明。假設降水量矩陣中降水量大於零的點為P(a,.b),可以理解,點P位於降水量矩陣中第a行,第b列。假設用戶所在位置在所述降水量矩陣中對應的點O(i,.j),位於降水量矩陣中第i行,第j列,則點P與點O的連線構成的第一向量可以表示為,根據第一向量所在象限確定所述預設區域中降水量大於零的子區域和所述用戶所處的子區域之間的方位關係。其中橫軸正方向表示正東,橫軸負方向表示正西,縱軸正方向表示正北,縱軸負方向表示正南,正東與正北之間的區間表示東北方向,正東與正南之間的區間表示東南方向,正西與正北之間的區間表示西北方向,正西與正南之間的區間表示西南方向。Specifically, it can be schematically illustrated by the following examples. Assume that the point where the precipitation in the precipitation matrix is greater than zero is P(a,.b). It can be understood that the point P is located in the ath row and the bth column of the precipitation matrix. Assuming that the user's location is in the corresponding point O(i,.j) in the precipitation matrix, in the i-th row and the j-th column in the precipitation matrix, the first vector formed by the connection of the point P and the point O may Expressed as And determining, according to a quadrant of the first vector, an orientation relationship between the sub-area in which the precipitation amount is greater than zero and the sub-area in which the user is located. The positive direction of the horizontal axis represents the true east, the negative direction of the horizontal axis represents the positive west, the positive direction of the vertical axis represents the true north, the negative direction of the vertical axis represents the positive south, and the interval between the east and the north represents the northeast direction, and the east and the positive The interval between the south indicates the southeast direction, the interval between the west and the north indicates the northwest direction, and the interval between the west and the south indicates the southwest direction.

進一步的,本實施例提供的定點降水預報方法在圖6所示實施例的基礎上,還包括如下步驟:Further, the fixed-point precipitation prediction method provided in this embodiment further includes the following steps on the basis of the embodiment shown in FIG. 6:

獲取所述地理位置預設區域的風向場矩陣。Obtaining a wind direction field matrix of the geographic location preset area.

在本實施例中,風向場矩陣也可以通過獲取降水量矩陣相同的方法,根據預設區域的天氣預報資料,提取該預設區域的風向和風速資訊,再根據風向場矩陣與預設區域內每一子區域的對應關係,生成風向場矩陣,則該風向場矩陣與預設區域內每一子區域的風向及風速對應。例如獲得風向場矩陣表示為B(i, j, k)=wind_speed,其中i, j表示子區域在風向場矩陣中對應的座標,k的取值為0或1,k=0表示東西方向,k=1表示南北方向。風向場單位為米/秒。定點降水預報裝置也可以通過現有技術獲取所述風向場矩陣。可以理解,風向場矩陣中的點與降水量矩陣中的點是一一對應的。In this embodiment, the wind direction matrix may also obtain the wind direction and wind speed information of the preset area according to the weather forecast data of the preset area by acquiring the same amount of precipitation matrix, and then according to the wind direction matrix and the preset area. A wind direction field matrix is generated corresponding to each sub-area, and the wind direction field matrix corresponds to a wind direction and a wind speed of each sub-area in the preset area. For example, the wind direction field matrix is represented as B(i, j, k)=wind_speed, where i, j represents the corresponding coordinate of the sub-region in the wind direction matrix, k is 0 or 1, and k=0 is the east-west direction. k=1 indicates the north-south direction. The wind direction field is in meters per second. The fixed point precipitation forecasting device can also obtain the wind direction field matrix by the prior art. It can be understood that the points in the wind direction matrix are in one-to-one correspondence with the points in the precipitation matrix.

相應的,還可以確定所述預設區域中降水量大於零且風向朝向所述用戶的子區域;確定所述預設區域中降水量大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係;將所述預設區域中降水量大於零且風向朝向所述用戶的子區域的降水量、所述預設區域中降水量大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係,組合為所述降水預報語句,降水預報語句例如可以描述為「您西北方有雨正在接近中」,然後推送給用戶。降水預報語句的具體描述不以本實施例為限。Correspondingly, it is further determined that the amount of precipitation in the preset area is greater than zero and the wind direction is toward the sub-area of the user; determining that the amount of precipitation in the preset area is greater than zero and the wind direction is toward the sub-area of the user and the user An orientation relationship between the sub-regions in which the sub-regions are located; a precipitation amount in the preset region that is greater than zero and a wind direction toward the sub-region of the user, a precipitation amount in the predetermined region is greater than zero, and a wind direction toward the The orientation relationship between the sub-area of the user and the sub-area in which the user is located is combined into the precipitation forecast statement, and the precipitation forecast statement can be described as, for example, "you are raining in the northwest," and then pushed to the user. The specific description of the precipitation forecast statement is not limited to this embodiment.

具體的,可以通過以下步驟來確定所述預設區域中降水量大於零且風向朝向所述用戶的子區域。Specifically, the following steps may be used to determine that the amount of precipitation in the preset area is greater than zero and the wind direction is toward the sub-area of the user.

所述降水量矩陣中降水量大於零的點;a point in the precipitation matrix in which the amount of precipitation is greater than zero;

確定所述降水量大於零的點在所述降水量矩陣中與所述用戶對應的點的連線構成的第一向量,以及所述降水量大於零的點在所述風向場矩陣中對應的風向和風速構成的第二向量;Determining, by the first line of the line connecting the point corresponding to the user in the precipitation amount matrix, a first vector formed by the line of the precipitation amount greater than zero, and the point where the precipitation amount is greater than zero in the wind direction field matrix a second vector of wind direction and wind speed;

確定第一向量與第二向量的內積大於零的點對應的子區域為所述預設區域中降水量大於零且風向朝向所述用戶的子區域。The sub-region corresponding to the point at which the inner product of the first vector and the second vector is greater than zero is determined to be a sub-region in which the amount of precipitation in the preset region is greater than zero and the wind direction is toward the user.

確定第一向量與第二向量的內積大於零的點對應的子區域為所述預設區域中降水量大於零且風向朝向所述用戶的子區域。The sub-region corresponding to the point at which the inner product of the first vector and the second vector is greater than zero is determined to be a sub-region in which the amount of precipitation in the preset region is greater than zero and the wind direction is toward the user.

其中,確定所述降水量大於零的點在所述降水量矩陣中與所述用戶對應的點的連線構成的第一向量的實施方式可以參見上述實施例,此處不再贅述。For the implementation of the first vector that is determined by the connection of the point where the amount of precipitation is greater than zero, the line connecting the point corresponding to the user in the precipitation amount matrix, refer to the foregoing embodiment, and details are not described herein again.

在本實施例中,將降水量大於零的點在所述風向場矩陣中對應的風向和風速構成第二向量,這裡可以通過一個例子進行說明。例如降水量矩陣中降水量大於零的點P在所述風向場矩陣中對應的風向和風速為,自東向西的風速為10米/秒,自南向北的風速為5米/秒,則將降水量大於零的點在所述風向場矩陣中對應的風向和風速構成的第二向量,即氣流運動向量可以表示為In this embodiment, the point where the amount of precipitation is greater than zero forms a second vector in the wind direction and the corresponding wind speed in the wind direction matrix, which can be illustrated by an example. For example, the point P in which the precipitation amount in the precipitation matrix is greater than zero corresponds to the wind direction and the wind speed in the wind direction matrix, the wind speed from east to west is 10 m/s, and the wind speed from south to north is 5 m/s. a second vector formed by the corresponding wind direction and wind speed at a point where the precipitation amount is greater than zero, that is, the air flow motion vector can be expressed as .

如果,通過上述得到的第一向量和第二向量之間的夾角在[-90, 90]之間,則確定第二向量對應的點所對應的子區域為預設區域中降水量大於零且風向朝向所述用戶的子區域。在本實施例中,可以通過數學的方法進行描述,所述第一向量和第二向量之間的夾角在[-90, 90]之間,可以通過第一向量與第二向量的內積是否大於零進行判斷。If the angle between the first vector and the second vector obtained by the above is between [-90, 90], it is determined that the sub-region corresponding to the point corresponding to the second vector is that the precipitation in the preset region is greater than zero and The wind direction is towards the sub-area of the user. In this embodiment, it can be described by a mathematical method. The angle between the first vector and the second vector is between [-90, 90], and the inner product of the first vector and the second vector can be Judging greater than zero.

進一步的,在本實施例中,將所述預設區域中降水量大於零且風向朝向所述用戶的子區域的降水量、所述預設區域中降水量大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係,組合為所述降水預報語句之前,還可以包括以下步驟:Further, in this embodiment, the amount of precipitation in the preset area is greater than zero and the wind direction is toward the sub-area of the user, the amount of precipitation in the preset area is greater than zero, and the wind direction is toward the user. The orientation relationship between the sub-area and the sub-area in which the user is located may be included in the following steps before being combined into the precipitation prediction statement:

計算所述預設區域中降水量大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離。A distance between the sub-area in the preset area where the amount of precipitation is greater than zero and the wind direction is toward the user and the sub-area in which the user is located is calculated.

相應的,將所述預設區域中降水量大於零且風向朝向所述用戶的子區域的降水量、所述預設區域中降水量大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係、所述預設區域中降水量大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離,組合為所述降水預報語句,生成的降水預報語句例如可以描述為「您西北方s公里有雨正在接近中」,然後推送給用戶。降水預報語句的具體描述不以本實施例為限。Correspondingly, the amount of precipitation in the preset area is greater than zero and the wind direction is toward the sub-area of the user, the amount of precipitation in the preset area is greater than zero, and the wind direction is toward the sub-area of the user and the user. The orientation relationship between the sub-regions in which the sub-regions are located, the distance between the sub-regions in the predetermined region and the sub-regions in which the wind direction is toward the user, and the sub-region in which the user is located are combined into the precipitation forecast. The statement, the generated precipitation forecast statement can be described, for example, as "you are approaching the rain in the northwest s km" and then push it to the user. The specific description of the precipitation forecast statement is not limited to this embodiment.

具體的,可以根據降水量矩陣與預設區域內每一子區域的對應關係,計算降水量矩陣單位長度所對應的公里數。假設預設區域邊緣對應的經緯度為[x2,.x3]×[y2,.y3],獲取預設區域的降水量矩陣A的大小為m×n,則降水量矩陣單位長度所對應的公里數為:Specifically, the number of kilometers corresponding to the unit length of the precipitation matrix may be calculated according to the correspondence between the precipitation matrix and each sub-region in the preset region. Assume that the latitude and longitude corresponding to the edge of the preset area is [x2,.x3]×[y2,.y3], and the size of the precipitation matrix A of the preset area is m×n, then the number of kilometers corresponding to the unit length of the precipitation matrix for:

其中Cearth 是地球周長。Among them, C earth is the circumference of the earth.

然後計算在降水量矩陣中降水量大於零且風向朝向所述用戶的子區域對應的點與用戶所在子區域對應的點之間的歐氏距離r。則預設區域中降水量大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離s就可以通過計算得出。The Euclidean distance r between the point corresponding to the sub-region of the user's sub-region in the precipitation matrix greater than zero and the wind direction toward the sub-region in which the user is located is then calculated. Then, the distance s between the sub-area in the preset area and the sub-area in which the wind direction is toward the user and the sub-area in which the user is located can pass Calculated.

可選的,還可以選擇預設區域中降水量大於零且風向朝向所述用戶的子區域及其相鄰的子區域中最大降水量作為降水預報語句中對應的降水量資訊。Optionally, the precipitation in the preset area may be selected to be greater than zero and the wind direction is toward the sub-area of the user and the maximum precipitation in the adjacent sub-area as the corresponding precipitation information in the precipitation prediction statement.

進一步的,在本實施例中,定點降水預報方法還包括如下步驟:Further, in this embodiment, the fixed point precipitation forecasting method further includes the following steps:

生成降水量與降水等級的映射關係;將所述降水預報語句中的降水量使用對應的降水等級表示。A mapping relationship between the precipitation amount and the precipitation level is generated; and the precipitation amount in the precipitation prediction statement is represented by a corresponding precipitation level.

在本實施例中,生成降水量與降水等級的映射關係,將所述降水預報語句中的降水量使用對應的降水等級表示,具體的實施方式與本發明前述實施例中的生成降水量與降水等級的映射關係,將所述降水預報語句中的降水量使用對應的降水等級表示相類似,此處不再贅述。生成的降水預報語句例如可以描述為「您西北方有暴雨」、「您西北方s公里有暴雨」、「您西北方s公里有暴雨正在接近中」等。也就是說,上述降水預報語句是對應的方位關係資訊、對應的距離資訊以及降水等級等資訊的各種組合方式的一種,對於具體的組合方式或組合順序不作任何限定,降水預報語句的具體描述也不以本實施例為限。In this embodiment, a mapping relationship between the precipitation amount and the precipitation level is generated, and the precipitation amount in the precipitation prediction statement is represented by a corresponding precipitation level, and the specific embodiment and the generated precipitation amount and precipitation in the foregoing embodiment of the present invention. The mapping relationship of the levels is similar to that of the precipitation in the precipitation forecast statement using the corresponding precipitation level, and is not described here. The generated precipitation forecast statement can be described, for example, as "you have heavy rain in the northwest", "you have heavy rain in the northwest of the s-kilometer", and "there is heavy rain in the northwest of the s-kilometer is approaching". That is to say, the above-mentioned precipitation forecast statement is one of various combinations of information such as corresponding orientation information, corresponding distance information, and precipitation level, and the specific combination mode or combination order is not limited, and the specific description of the precipitation forecast statement is also It is not limited to this embodiment.

本實施例提供的定點降水預報方法,最終生成以自然語言描述的預設區域範圍內的降水預報語句,用戶通過描述的降水預報資訊,不僅可瞭解到降水帶的分佈方位,還可以瞭解到降水帶與用戶之間的距離、降水帶是否正在接近用戶以及降水帶的降水量等級等。相對於現有技術用不同的顏色表示降雨量,用箭頭表示降雨帶的移動方向的圖形描述。本發明提供的自然語言描述方式,提高了預報的精確度以及描述的可讀性,用戶可以直觀的從中獲取想要的資訊。The fixed-point precipitation forecasting method provided by the embodiment finally generates a precipitation forecast statement in a preset region range described by a natural language, and the user can not only know the distribution orientation of the precipitation zone but also understand the precipitation by describing the precipitation forecast information. The distance between the belt and the user, whether the precipitation belt is approaching the user, and the precipitation level of the precipitation belt. The rainfall is represented by different colors with respect to the prior art, and a graphical depiction of the direction of movement of the rainband is indicated by arrows. The natural language description mode provided by the invention improves the accuracy of the forecast and the readability of the description, and the user can intuitively obtain the desired information from the user.

下面通過一具體的例子對圖6所述實施例提供的定點降水預報方法作進一步詳細說明。The fixed-point precipitation prediction method provided by the embodiment shown in FIG. 6 is further described in detail below by a specific example.

假設獲取用戶的地理位置資訊為E120.25和N23.25,用戶所在地理位置預設區域邊緣對應的經緯度為[E120.0,.E120.5]×[N23.0,.N23.5]。Assume that the geographic location information of the user is E120.25 and N23.25, and the latitude and longitude corresponding to the edge of the preset location of the user's geographic location is [E120.0, .E120.5]×[N23.0, .N23.5].

假設獲取用戶所在地理位置預設區域的降水量矩陣A為:Assume that the precipitation matrix A of the preset location of the user's geographic location is obtained as:

假設獲取用戶所在地理位置預設區域的風向場矩陣B為:B(2, 9, 0)=10、B(2, 9, 1)=-10、B(3, 9, 0)=10、B(3, 9, 1)=10、B(i, j, k)=0,其中i,j代表剩下所有的點。Assume that the wind direction field matrix B of the preset location of the geographic location of the user is: B(2, 9, 0)=10, B(2, 9, 1)=-10, B(3, 9, 0)=10, B(3, 9, 1)=10, B(i, j, k)=0, where i,j represents all the remaining points.

顯然,降水量矩陣A的大小為10×10,即m=n=10。所以用戶所在位置在降雨量矩陣中的座標和降雨量矩陣單位長度所對應的公里數通過公式計算得出:Obviously, the magnitude of the precipitation matrix A is 10×10, that is, m=n=10. Therefore, the coordinates of the user's location in the rainfall matrix and the number of kilometers corresponding to the length of the rainfall matrix are calculated by the formula:

也就是,用戶在降水量矩陣中的座標為(5, 5),降雨量矩陣單位長度所對應的公里數為5.69公里。That is, the coordinates of the user in the precipitation matrix are (5, 5), and the number of kilometers corresponding to the unit length of the rainfall matrix is 5.69 kilometers.

確定降水量矩陣中降雨量大於零的子區域對應的點有(2, 9)、(3, 9)、(4, 9)、(3, 8)、(4, 8)。The points corresponding to the sub-areas whose rainfall is greater than zero in the precipitation matrix are determined to be (2, 9), (3, 9), (4, 9), (3, 8), (4, 8).

確定所述預設區域中降水量大於零且風向朝向所述用戶的子區域。首先,找出降雨量大於零的子區域中風速不為零的子區域對應的點為(2, 9)、(3, 9)。Determining that the amount of precipitation in the preset area is greater than zero and the wind direction is toward a sub-area of the user. First, find the points corresponding to the sub-areas where the wind speed is not zero in the sub-area where the rainfall is greater than zero (2, 9), (3, 9).

具體的,點(2, 9)對應的用戶位置連線向量,即第一向量為(3, -4),點(2, 9)對應的子區域的氣流運動向量,即第二向量為(10, -10)。經過計算點(2, 9)對應的第一向量和第二向量的內積為70,因此確定點(2, 9)對應的子區域為預設區域中降水量大於零且風向朝向所述用戶的子區域。Specifically, the user position connection vector corresponding to the point (2, 9), that is, the first vector is (3, -4), and the airflow motion vector of the sub-region corresponding to the point (2, 9), that is, the second vector is ( 10, -10). The inner product of the first vector and the second vector corresponding to the calculation point (2, 9) is 70, so that the sub-region corresponding to the determination point (2, 9) is that the precipitation in the preset region is greater than zero and the wind direction is toward the user. Sub-area.

具體的,點(3, 9)對應的用戶位置連線向量,即第一向量為(2, -4),點(3, 9)對應的子區域的氣流運動向量,即第二向量可分別表示為(10, 10)。經過計算點(3, 9)對應的第一向量和第二向量的內積為-20,因此確定點(3, 9)對應的子區域不是預設區域中降水量大於零且風向朝向所述用戶的子區域。Specifically, the user position connection vector corresponding to the point (3, 9), that is, the first vector is (2, -4), and the airflow motion vector of the sub-region corresponding to the point (3, 9), that is, the second vector can be respectively Expressed as (10, 10). After the calculation point (3, 9) corresponds to the inner product of the first vector and the second vector is -20, it is determined that the sub-region corresponding to the point (3, 9) is not the precipitation in the preset region is greater than zero and the wind direction is toward the The sub-area of the user.

由此可以確定點(2, 9)對應的子區域為預設區域中降水量大於零且風向朝向所述用戶的子區域。It can be determined that the sub-region corresponding to the point (2, 9) is a sub-region in which the precipitation in the preset region is greater than zero and the wind direction is toward the user.

計算點(2, 9)與用戶位置在降水量矩陣中對應點的歐氏距離r=5,根據公式可算出預設區域中降水量大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離大約為28公里。Calculate the Euclidean distance r=5 between the point (2, 9) and the corresponding position of the user position in the precipitation matrix, according to the formula It can be calculated that the distance between the sub-area in the preset area where the amount of precipitation is greater than zero and the direction of the wind toward the user and the sub-area in which the user is located is approximately 28 kilometers.

點(2, 9)對應的用戶位置連線向量,即第一向量為(3, -4),可見其第一向量所在的象限為正西與正北之間的區域,判斷點(2, 9)對應的子區域與用戶所在子區域的方位關係為西北方。The user position line vector corresponding to the point (2, 9), that is, the first vector is (3, -4), and the quadrant where the first vector is located is the area between the true west and the true north, and the judgment point (2, 9) The orientation relationship between the corresponding sub-area and the sub-area where the user is located is northwest.

點(2, 9)對應的子區域及其相鄰的子區域中最大降水量為16毫米/小時,對應的降水量等級為暴雨。The maximum precipitation in the sub-region corresponding to point (2, 9) and its adjacent sub-region is 16 mm / h, and the corresponding precipitation level is heavy rain.

最終生成的降水預報語句可以描述為「您西北方28公里有暴雨正在接近中」。The resulting precipitation forecast statement can be described as "the rainstorm is approaching 28 kilometers northwest."

可以理解,在本發明未示出的實施例中,當獲取的環境狀態量化值矩陣為溫度、空氣中細顆粒物含量時,其處理過程與獲取降水量矩陣的處理過程是類似的。It can be understood that, in the embodiment not shown in the present invention, when the acquired matrix of environmental state quantized values is temperature, the content of fine particles in the air, the processing thereof is similar to the process of acquiring the precipitation matrix.

圖7為本發明一實施例提供的定點環境狀態預報裝置示意圖。如圖7所示,本實施例提供的定點環境狀態預報裝置100可以實現本發明圖1所示實施例提供的定點環境狀態預報方法和圖2所示實施例提供的定點降水預報方法的各個步驟,此處不再贅述。FIG. 7 is a schematic diagram of a fixed-point environment state prediction apparatus according to an embodiment of the present invention. As shown in FIG. 7, the fixed-point environment state prediction apparatus 100 provided in this embodiment can implement the steps of the fixed-point environment state prediction method provided by the embodiment shown in FIG. 1 and the fixed-point precipitation prediction method provided by the embodiment shown in FIG. , will not repeat them here.

本實施例提供的定點環境狀態預報裝置100具體包括,獲取模組101、處理模組102和發送模組103。獲取模組101用於獲取用戶的地理位置資訊和所述地理位置預設時間範圍內的環境狀態預報資料。處理模組102用於根據所述環境狀態預報資料生成所述地理位置在所述預設時間範圍內的環境狀態預報曲線,獲取所述環境狀態預報曲線上的環境狀態變化點,根據所述環境狀態變化點生成所述預設時間範圍內的環境狀態預報語句。發送模組103用於將所述環境狀態預報語句推送給所述用戶。The fixed-point environment state prediction apparatus 100 provided in this embodiment specifically includes an acquisition module 101, a processing module 102, and a transmission module 103. The obtaining module 101 is configured to obtain geographic location information of the user and environmental state forecasting data within the preset time range of the geographic location. The processing module 102 is configured to generate an environmental state prediction curve of the geographic location within the preset time range according to the environmental state prediction data, and obtain an environmental state change point on the environmental state prediction curve, according to the environment. The state change point generates an environmental state prediction statement within the preset time range. The sending module 103 is configured to push the environmental status prediction statement to the user.

本實施例提供的定點環境狀態預報裝置,通過獲取模組獲取用戶的地理位置資訊和所述地理位置預設時間範圍內的環境狀態預報資料,以使處理模組根據所述環境狀態預報資料生成所述地理位置在所述預設時間範圍內的環境狀態預報曲線,獲取所述環境狀態預報曲線上的環境狀態變化點,根據所述環境狀態變化點生成所述預設時間範圍內的環境狀態預報語句,再通過發送模組將所述環境狀態預報語句推送給用戶。由於定點環境狀態預報裝置可以根據相應的環境狀態預報曲線獲取的環境狀態變化點中包含有對應的時間、環境狀態變化趨勢等資訊,將這些資訊進行組合,生成以自然語言描述的環境狀態預報語句,用戶可以直觀的看出預設時間範圍內環境狀態發生變化的具體時間,以比較直觀的方式提供給用戶想要的資訊。The fixed-point environment state prediction device provided by the embodiment obtains the geographic location information of the user and the environmental state prediction data in the preset time range of the geographic location by the acquiring module, so that the processing module generates the forecast data according to the environmental state. An environmental state prediction curve of the geographic location within the preset time range, acquiring an environmental state change point on the environmental state prediction curve, and generating an environmental state within the preset time range according to the environmental state change point The forecast statement is further pushed to the user by the sending module. The fixed-point environmental state forecasting device can combine the information according to the corresponding environmental state change curve to include the corresponding time and environmental state change trend, and generate the environmental state forecast statement described in the natural language. The user can intuitively see the specific time when the environmental status changes within the preset time range, and provide the information desired by the user in a relatively intuitive manner.

其中,所述獲取模組101獲取的環境狀態預報資料包括:降水預報資料、溫度預報資料、空氣品質預報資料、風向與風速預報資料。The environmental status prediction data acquired by the acquisition module 101 includes: precipitation forecast data, temperature forecast data, air quality forecast data, wind direction and wind speed forecast data.

圖8為本發明又一實施例提供的定點環境狀態預報裝置示意圖。如圖8所示,本實施例提供的定點環境狀態預報裝置100在圖7所示實施例的基礎上,定點環境狀態預報裝置100還可以設置接收模組104,接收模組104用於接收所述用戶發送的環境狀態預報請求消息。通過設置接收模組接收用戶發送的環境狀態預報請求消息,用戶可以隨時隨地獲取所處地理位置的環境狀態預報資訊,用戶也可以自行設定預設時間範圍,更方便用戶使用。FIG. 8 is a schematic diagram of a fixed-point environment state prediction apparatus according to still another embodiment of the present invention. As shown in FIG. 8, the fixed-point environment state prediction device 100 provided in this embodiment is based on the embodiment shown in FIG. 7. The fixed-point environment state prediction device 100 can also be provided with a receiving module 104 for receiving the receiving module. The environmental status prediction request message sent by the user. By setting the receiving module to receive the environmental status forecast request message sent by the user, the user can obtain the environmental status forecast information of the geographical location at any time and anywhere, and the user can also set the preset time range to be more convenient for the user to use.

在實際應用中,處理模組102具體用於將所述環境狀態預報資料通過線性插值方法生成所述地理位置在所述預設時間範圍內的環境狀態預報資料集合,其中,所述環境狀態預報資料集合在時間上的精度為預設值;根據所述環境狀態預報資料集合生成所述環境狀態預報曲線。In an actual application, the processing module 102 is specifically configured to generate, by using a linear interpolation method, the environmental state forecast data set of the geographic location within the preset time range, where the environmental state forecast is The accuracy of the data set in time is a preset value; and the environmental state prediction curve is generated according to the environmental state forecast data set.

在實際應用中,處理模組102具體還用於查詢所述環境狀態預報資料集合中,環境狀態量化值的一階差分絕對值小於一階差分臨界值、二階差分絕對值大於二階差分臨界值的變化點,將所述變化點中,與前一個變化點的時間間隔大於預設時間閾值、與前一個變化點的環境狀態量化值間隔大於預設環境狀態量化值閾值的變化點設置為所述環境狀態變化點。In practical applications, the processing module 102 is further configured to query the environmental state forecast data set, wherein the first-order difference absolute value of the environmental state quantization value is smaller than the first-order differential threshold value, and the second-order difference absolute value is greater than the second-order differential threshold value. a change point, wherein the change point between the change point and the previous change point is greater than the preset time threshold, and the change from the environmental state quantized value of the previous change point is greater than the preset environmental state quantized value threshold The change in environmental status.

在實際應用中,處理模組102具體還用於當所述環境狀態預報曲線上無環境狀態變化點時,將所述預設時間範圍與當前環境狀態組合為環境狀態預報語句。當所述環境狀態預報曲線上存在環境狀態變化點時,則依次判斷當前時間點和所述環境狀態變化點中相鄰兩點之間的環境狀態變化趨勢,將當前時間點和所述環境狀態變化點中相鄰兩點之間的環境狀態變化趨勢以及所述環境狀態變化點對應的時間依次組合為環境狀態預報語句。In an actual application, the processing module 102 is further configured to combine the preset time range and the current environmental state into an environmental state prediction statement when there is no environmental state change point on the environmental state prediction curve. When there is an environmental state change point on the environmental state prediction curve, the environmental state change trend between the current time point and the adjacent two points in the environmental state change point is sequentially determined, and the current time point and the environmental state are The change trend of the environmental state between two adjacent points in the change point and the time corresponding to the change point of the environmental state are sequentially combined into an environmental state forecast statement.

進一步的,處理模組102還可以用於生成環境狀態量化值與環境狀態等級的映射關係,將所述環境狀態預報語句中的環境狀態使用對應的環境狀態等級表示。Further, the processing module 102 may be further configured to generate a mapping relationship between the environmental state quantization value and the environmental state level, and use the corresponding environmental state level to represent the environmental state in the environmental state prediction statement.

本實施例提供的定點環境狀態預報裝置,通過處理模組對所述地理位置在所述預設時間範圍內的環境狀態預報資料進行預處理,得到所述地理位置在所述預設時間範圍內的環境狀態預報資料集合,即得到了時間精度更高的環境狀態預報資料,根據環境狀態預報資料集合生成對應的環境狀態預報曲線,根據相應的環境狀態預報曲線獲取環境狀態變化點,再將環境狀態變化點中包含的時間和環境狀態變化趨勢等資訊進行組合,生成以自然語言描述的環境狀態預報語句,同時處理模組還生成環境狀態與環境狀態等級的映射關係,將所述環境狀態預報語句中的環境狀態使用對應的環境狀態等級表示,最後通過發送模組提供給用戶的環境狀態預報語句,可以直觀的顯示預設時間範圍內環境狀態發生變化的具體時間和/或具體趨勢,提供給用戶想要的資訊。The fixed-point environment state forecasting device provided by the embodiment preprocesses the environmental state forecast data of the geographic location within the preset time range by using a processing module, and obtains that the geographic location is within the preset time range. The environmental state forecast data set, that is, the environmental state forecast data with higher time precision is obtained, and the corresponding environmental state forecast curve is generated according to the environmental state forecast data set, and the environmental state change point is obtained according to the corresponding environmental state forecast curve, and then the environment is The information contained in the state change point and the environmental state change trend are combined to generate an environmental state prediction statement described in a natural language, and the processing module also generates a mapping relationship between the environmental state and the environmental state level, and predicts the environmental state. The environment state in the statement is represented by the corresponding environment state level. Finally, the environment state prediction statement provided to the user by the sending module can intuitively display the specific time and/or specific trend of the environmental state change in the preset time range, and provide Give the user the information they want.

圖9為本發明再一實施例提供的定點環境狀態預報裝置示意圖。如圖9所示,本實施例提供的定點環境狀態預報裝置200可以實現本發明圖5所示實施例提供的定點環境狀態預報方法和圖6所示實施例提供的定點降水預報方法的各個步驟,此處不再贅述。FIG. 9 is a schematic diagram of a fixed-point environment state prediction apparatus according to still another embodiment of the present invention. As shown in FIG. 9, the fixed-point environment state forecasting apparatus 200 provided in this embodiment can implement the steps of the fixed-point environment state forecasting method provided by the embodiment shown in FIG. 5 and the fixed-point precipitation forecasting method provided by the embodiment shown in FIG. , will not repeat them here.

本實施例提供的定點環境狀態預報裝置200具體包括,獲取模組201、處理模組202和發送模組203。獲取模組201用於獲取用戶的地理位置資訊和所述地理位置預設區域的環境狀態量化值矩陣,所述環境狀態量化值矩陣與所述預設區域內每一子區域的環境狀態量化值對應。處理模組202用於確定所述用戶在所述預設區域中所處的子區域,以及所述用戶在所述環境狀態量化值矩陣中對應的點;確定所述預設區域中環境狀態量化值大於零的子區域;確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係;將所述預設區域中環境狀態量化值大於零的子區域的環境狀態和預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,組合為環境狀態預報語句。發送模組203用於將所述環境狀態預報語句推送給所述用戶。The fixed-point environment state prediction apparatus 200 provided in this embodiment specifically includes an acquisition module 201, a processing module 202, and a transmission module 203. The obtaining module 201 is configured to obtain the geographic location information of the user and the environmental state quantization value matrix of the geographic location preset area, the environmental state quantization value matrix and the environmental state quantization value of each sub-area in the preset area correspond. The processing module 202 is configured to determine a sub-region where the user is located in the preset area, and a point corresponding to the user in the matrix of the environmental state quantization value; and determine an environment state quantization in the preset region a sub-region having a value greater than zero; determining an orientation relationship between the sub-region in which the environmental state quantization value is greater than zero and the sub-region in which the user is located; and the environmental state quantization value in the preset region is greater than The environmental state of the zero sub-area and the orientation relationship between the sub-area in which the environmental state quantization value is greater than zero and the sub-area in which the user is located are combined into an environmental state prediction statement. The sending module 203 is configured to push the environmental status prediction statement to the user.

可選的,處理模組202還用於計算所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的距離,根據計算結果確定所述預設區域中環境狀態量化值大於零的子區域中,距離所述用戶最近的子區域和所述用戶所處的子區域之間的方位關係。進一步的,處理模組202還可以將距離用戶最近的子區域和用戶所處的子區域之間的距離資訊也組合在環境狀態預報語句中預報給用戶。Optionally, the processing module 202 is further configured to calculate a distance between the sub-area in which the environmental state quantization value is greater than zero in the preset area and the sub-area in which the user is located, and determine the preset area according to the calculation result. The orientation relationship between the sub-region closest to the user and the sub-region in which the user is located in the sub-region where the environmental state quantized value is greater than zero. Further, the processing module 202 may also combine the distance information between the sub-area closest to the user and the sub-area where the user is located in the environmental state prediction statement to predict the user.

其中,獲取模組201獲取的環境狀態量化值矩陣包括:降水量矩陣、溫度矩陣、空氣中細顆粒物含量矩陣。The matrix of the environmental state quantization values acquired by the acquisition module 201 includes: a precipitation matrix, a temperature matrix, and a matrix of fine particle content in the air.

本實施例提供的定點環境狀態預報裝置,通過獲取模組獲取用戶的地理位置資訊和所述地理位置預設區域的環境狀態量化值矩陣,處理模組根據環境狀態量化值矩陣得到預設區域中環境狀態量大於零的子區域及其與用戶所處的子區域之間的方位關係,將所述預設區域中環境狀態量化值大於零的子區域的環境狀態和預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係組合成以自然語言描述的預設區域範圍內的環境狀態預報語句,通過發送模組向用戶推送以自然語言描述的環境狀態預報資訊,提供給用戶直觀的預設區域範圍內環境狀態分佈情況,用戶可以直觀的從中獲取想要的資訊。The fixed-point environment state prediction device provided by the embodiment obtains the geographic location information of the user and the environmental state quantization value matrix of the geographic location preset region by using the acquisition module, and the processing module obtains the preset region according to the environmental state quantization value matrix. The sub-area whose environmental state quantity is greater than zero and its orientation relationship with the sub-area where the user is located, and the environmental state of the sub-area whose environmental state quantized value is greater than zero in the preset area and the environmental state in the preset area are quantized The orientation relationship between the sub-region having a value greater than zero and the sub-region in which the user is located is combined into an environmental state prediction statement within a preset region range described in a natural language, and the user is pushed by the sending module to describe in a natural language. The environmental status forecast information provides the user with an intuitive distribution of the environmental status within the preset area, and the user can intuitively obtain the desired information.

本實施例提供的定點環境狀態預報裝置200在圖9所示實施例的基礎上,處理模組202具體用於確定所述環境狀態量化值矩陣中環境狀態量化值大於零的點;確定所述環境狀態量化值大於零的點在所述環境狀態量化值矩陣中與所述用戶對應的點的連線構成的第一向量;根據所述第一向量所在象限確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係。The fixed-point environment state prediction apparatus 200 provided in this embodiment is based on the embodiment shown in FIG. 9. The processing module 202 is specifically configured to determine a point in the environmental state quantization value matrix that the environmental state quantization value is greater than zero; a first vector formed by a line connecting the point corresponding to the user in the environmental state quantized value matrix at a point where the environmental state quantized value is greater than zero; determining an environmental state in the preset area according to the quadrant of the first vector An orientation relationship between a sub-region having a quantized value greater than zero and a sub-region in which the user is located.

在實際應用中,獲取模組201還用於,獲取所述地理位置預設區域的風向場矩陣,所述風向場矩陣與所述預設區域內每一子區域的風向及風速對應。In an actual application, the obtaining module 201 is further configured to acquire a wind direction field matrix of the geographic location preset area, where the wind direction field matrix corresponds to a wind direction and a wind speed of each sub-area in the preset area.

相應的,處理模組202還用於,確定所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域;確定所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係;將所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域的環境狀態、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係,組合為所述環境狀態預報語句。Correspondingly, the processing module 202 is further configured to: determine that the environmental state quantization value in the preset area is greater than zero and the wind direction is toward the sub-area of the user; and determine that the environmental state quantization value in the preset area is greater than zero and the wind direction is oriented An orientation relationship between the sub-region of the user and the sub-region in which the user is located; an environmental state in which the environmental state quantization value in the preset region is greater than zero and the wind direction is toward the sub-region of the user, the pre-predetermined The orientation relationship between the sub-regions in which the environmental state quantized value in the region is greater than zero and the wind direction is toward the user and the sub-region in which the user is located is combined into the environmental state prediction statement.

在實際應用中,處理模組202具體還用於,確定所述環境狀態量化值矩陣中環境狀態量化值大於零的點;確定所述環境狀態量大於零的點在所述環境狀態量化值矩陣中與所述用戶對應的點的連線構成的第一向量,以及所述環境狀態量化值大於零的點在所述風向場矩陣中對應的風向和風速構成的第二向量;確定第一向量與第二向量的內積大於零的點對應的子區域為所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域。In a practical application, the processing module 202 is further configured to: determine a point in the matrix of the environmental state quantized value matrix that the environmental state quantized value is greater than zero; and determine a point at which the environmental state quantity is greater than zero in the environmental state quantized value matrix a first vector formed by a line connecting the points corresponding to the user, and a second vector formed by the corresponding wind direction and wind speed of the point where the environmental state quantized value is greater than zero; determining the first vector The sub-region corresponding to the point where the inner product of the second vector is greater than zero is the sub-region in which the environmental state quantization value in the preset region is greater than zero and the wind direction is toward the user.

進一步的,處理模組202還用於,計算所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離。相應的,處理模組202還用於,將所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域的環境狀態、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離,組合為所述環境狀態預報語句。Further, the processing module 202 is further configured to calculate a distance between the sub-region where the environmental state quantization value in the preset region is greater than zero and the wind direction is toward the user and the sub-region where the user is located. Correspondingly, the processing module 202 is further configured to: the environmental state quantized value in the preset area is greater than zero and the wind direction is toward an environmental state of the sub-area of the user, and the environmental state quantized value in the preset area is greater than zero and The wind direction is oriented toward an orientation relationship between the sub-area of the user and the sub-area where the user is located, the environmental state quantization value in the preset area is greater than zero, and the wind direction is toward the sub-area of the user and the user is located The distance between the sub-regions is combined into the environmental state prediction statement.

進一步的,處理模組202還用於生成環境狀態量化值與環境狀態等級的映射關係,將所述環境狀態預報語句中的環境狀態使用對應的環境狀態等級表示。本實施例提供的定點環境狀態預報裝置,通過獲取模組獲取用戶的地理位置資訊和所述地理位置預設區域的環境狀態量化值矩陣以及風向場矩陣,處理模組根據環境狀態量化值矩陣和風向場矩陣得到預設區域中環境狀態量化值大於零的子區域及其與用戶所處的子區域之間的方位關係資訊、距離資訊,並判斷預設區域中環境狀態量化值大於零的子區域是否正在接近用戶,將預設區域中環境狀態量化值大於零的子區域的環境狀態,和預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係資訊、距離資訊以及是否向用戶接近等資訊,組合成以自然語言描述的預設區域範圍內的環境狀態預報語句,通過發送模組向用戶推送以自然語言描述的環境狀態預報資訊,提供給用戶直觀的預設區域範圍內用戶關心的環境狀態的分佈方位,用戶關心的環境狀態與用戶之間的距離、用戶關心的環境狀態是否正在接近用戶以及用戶關心的環境狀態的環境狀態等級等資訊,用戶可以直觀的從中獲取想要的資訊。Further, the processing module 202 is further configured to generate a mapping relationship between the environmental state quantization value and the environmental state level, and use the corresponding environmental state level to represent the environmental state in the environmental state prediction statement. The fixed-point environment state prediction device provided by the embodiment obtains the geographic location information of the user, the environmental state quantization value matrix of the geographical location preset area, and the wind direction field matrix, and the processing module quantizes the value matrix according to the environmental state. The wind direction field matrix obtains the sub-area whose environmental state quantized value is greater than zero in the preset area and the orientation information and distance information between the sub-area and the sub-area where the user is located, and judges that the environmental state quantized value in the preset area is greater than zero. Whether the area is approaching the user, the environment state of the sub-area whose environmental state quantized value is greater than zero in the preset area, and the sub-area where the environmental state quantized value in the preset area is greater than zero and the sub-area where the user is located The orientation information, the distance information, and whether the information is approached to the user, combined into an environmental state prediction statement within a preset area described by the natural language, and the environment state prediction information described by the natural language is pushed to the user through the sending module, and provided Give the user an intuitive orientation of the environment state of the user's concern in the preset area, Whether from environmental status of the user concerned about the state of the environment between the user and the user is concerned about the state of the environment closer to the user and the user's environment, care about state level and other information, the user can intuitively derive information you want.

本領域普通技術人員可以理解:實現上述各方法實施例的全部或部分步驟可以通過程式指令相關的硬體來完成。前述的程式可以儲存於一電腦可讀取儲存媒體中。該程式在執行時,執行包括上述各方法實施例的步驟;而前述的儲存媒體包括:ROM、RAM、磁碟或者光碟等各種可以儲存程式碼的媒體。One of ordinary skill in the art will appreciate that all or part of the steps of implementing the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. When the program is executed, the steps of the foregoing method embodiments are performed; and the foregoing storage medium includes: various media that can store code, such as a ROM, a RAM, a disk, or a CD.

最後應說明的是:以上各實施例僅用以說明本發明的技術方案,而非對其限制;儘管參照前述各實施例對本發明進行了詳細的說明,本領域的普通技術人員應當理解:其依然可以對前述各實施例所記載的技術方案進行修改,或者對其中部分或者全部技術特徵進行等同替換;而這些修改或者替換,並不使相應技術方案的本質脫離本發明各實施例技術方案的範圍。Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

10~16、20~27、30~37、40、50、60‧‧‧步驟
100、200‧‧‧定點環境狀態預報裝置
101、201‧‧‧獲取模組
102、202‧‧‧處理模組
103、203‧‧‧發送模組
104‧‧‧接收模組
x、x0、x1‧‧‧時間
y、y0、y1‧‧‧降雨量大小
(x,.y)‧‧‧一系列點
(x0,.y0)、(xl,.yl)‧‧‧座標
10 to 16, 20 to 27, 30 to 37, 40, 50, 60 ‧ ‧ steps
100, 200‧‧‧ fixed-point environmental status forecasting device
101, 201‧‧‧ acquisition module
102, 202‧‧‧ processing module
103, 203‧‧‧ transmit module
104‧‧‧ receiving module
x, x0, x1‧‧‧ time
y, y0, y1‧‧‧ rainfall size
(x,.y) ‧ ‧ a series of points
(x0,.y0), (xl,.yl)‧‧‧ coordinates

為了更清楚地說明本發明實施例的技術方案,下面將對實施例描述中所需要使用的附圖作一簡單地說明,顯而易見地,下面描述中的附圖是本發明的一些實施例,對於本領域普通技術人員來講,在不付出進步性勞動的前提下,還可以根據這些附圖獲得其他的附圖。 圖1 為本發明一實施例提供的定點環境狀態預報方法流程圖。 圖2 為本發明一實施例提供的定點降水預報方法流程圖。 圖3 為本發明一實施例線性插值方法示意圖。 圖4 為本發明一實施例的降水預報曲線示意圖。 圖5 為本發明又一實施例提供的定點環境狀態預報方法流程圖。 圖6 為本發明又一實施例提供的定點降水預報方法流程圖。 圖7 為本發明一實施例提供的定點降水預報裝置示意圖。 圖8 為本發明又一實施例提供的定點降水預報裝置示意圖。 圖9 為本發明再一實施例提供的定點降水預報裝置示意圖。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying progressive labor. FIG. 1 is a flowchart of a method for predicting a fixed-point environment state according to an embodiment of the present invention. FIG. 2 is a flowchart of a method for predicting a fixed point precipitation according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a linear interpolation method according to an embodiment of the present invention. 4 is a schematic diagram of a precipitation prediction curve according to an embodiment of the present invention. FIG. 5 is a flowchart of a method for predicting a fixed-point environment state according to another embodiment of the present invention. FIG. 6 is a flowchart of a method for predicting a fixed point precipitation according to another embodiment of the present invention. FIG. 7 is a schematic diagram of a fixed-point precipitation forecasting device according to an embodiment of the present invention. FIG. 8 is a schematic diagram of a fixed point precipitation forecasting device according to another embodiment of the present invention. FIG. 9 is a schematic diagram of a fixed-point precipitation forecasting device according to still another embodiment of the present invention.

10、20、30、40、50、60‧‧‧步驟 10, 20, 30, 40, 50, 60 ‧ ‧ steps

Claims (28)

一種定點環境狀態預報方法,包括:獲取用戶的地理位置資訊;獲取所述地理位置預設時間範圍內的環境狀態預報資料;根據所述環境狀態預報資料生成所述地理位置在所述預設時間範圍內的環境狀態預報曲線;獲取所述環境狀態預報曲線上的環境狀態變化點;根據所述環境狀態變化點生成所述預設時間範圍內的環境狀態預報語句;以及將所述環境狀態預報語句推送給所述用戶;其中,根據所述環境狀態預報資料生成所述地理位置在所述預設時間範圍內的環境狀態預報曲線,包括:將所述環境狀態預報資料通過三次樣條插值方法生成所述地理位置在所述預設時間範圍內的環境狀態預報資料集合,所述環境狀態預報資料集合在時間上的精度為預設值;以及根據所述環境狀態預報資料集合生成所述環境狀態預報曲線。 A method for predicting a fixed-point environment state includes: acquiring geographic location information of a user; acquiring environmental state forecast data within a preset time range of the geographic location; generating the geographic location according to the environmental state forecast data at the preset time An environmental state prediction curve within the range; acquiring an environmental state change point on the environmental state prediction curve; generating an environmental state prediction statement within the preset time range according to the environmental state change point; and predicting the environmental state The statement is pushed to the user; wherein the environmental state prediction curve of the geographic location within the preset time range is generated according to the environmental state forecast data, including: passing the environmental state forecast data through a cubic spline interpolation method Generating an environmental state forecast data set of the geographic location within the preset time range, the accuracy of the environmental state forecast data set in time is a preset value; and generating the environment according to the environmental state forecast data set State forecast curve. 如申請專利範圍第1項所述的定點環境狀態預報方法,其中所述獲取用戶的地理位置資訊之前,更包括:接收所述用戶發送的環境狀態預報請求消息。 The method for predicting a fixed-point environment state according to claim 1, wherein the obtaining the geographic location information of the user further comprises: receiving an environmental status prediction request message sent by the user. 如申請專利範圍第1項所述的定點環境狀態預報方法,其中所述獲取所述環境狀態預報曲線上的環境狀態變化點,包括:獲取所述環境狀態預報資料集合中,環境狀態量化值的一階差分絕對值小於一階差分臨界值、二階差分絕對值大於二階差分 臨界值的變化點;以及將所述變化點中,與前一個變化點的時間間隔大於預設時間閾值、與前一個變化點的環境狀態量化值間隔大於預設環境狀態量化值閾值的變化點作為所述環境狀態變化點。 The method for predicting a fixed-point environmental state according to claim 1, wherein the obtaining the environmental state change point on the environmental state prediction curve comprises: acquiring the environmental state quantitative data value in the environmental state forecast data set. The first-order difference absolute value is smaller than the first-order difference threshold, and the second-order difference absolute value is greater than the second-order difference a change point of the threshold value; and a change point between the change point and the previous change point time interval being greater than the preset time threshold value, and the environmental state quantized value interval of the previous change point being greater than the preset environmental state quantized value threshold value As the point of change of the environmental state. 如申請專利範圍第1項至第3項中任一項所述的定點環境狀態預報方法,其中所述根據所述環境狀態變化點生成所述預設時間範圍內的環境狀態預報語句,包括:若所述環境狀態預報曲線上無環境狀態變化點,將所述預設時間範圍與當前環境狀態組合為所述環境狀態預報語句;以及若所述環境狀態預報曲線上存在環境狀態變化點,則依次判斷當前時間點和所述環境狀態變化點中相鄰兩點之間的環境狀態變化趨勢,將當前時間點和所述環境狀態變化點中相鄰兩點之間的環境狀態變化趨勢以及所述環境狀態變化點對應的時間依次組合為所述環境狀態預報語句。 The method for predicting a fixed-point environment state according to any one of the preceding claims, wherein the generating an environmental state forecast statement in the preset time range according to the environmental state change point includes: If there is no environmental state change point on the environmental state prediction curve, combining the preset time range with the current environmental state as the environmental state prediction statement; and if there is an environmental state change point on the environmental state prediction curve, And sequentially determining an environmental state change trend between the current time point and the adjacent two points in the environmental state change point, and changing an environmental state change trend between the current time point and the adjacent two points in the environmental state change point The time corresponding to the environmental state change point is sequentially combined into the environmental state prediction statement. 如申請專利範圍第4項所述的定點環境狀態預報方法,更包括:生成環境狀態量化值與環境狀態等級的映射關係;以及將所述環境狀態預報語句中的環境狀態使用對應的環境狀態等級表示。 The method for predicting a fixed-point environment state according to claim 4, further comprising: generating a mapping relationship between the environmental state quantization value and the environmental state level; and using the corresponding environmental state level for the environmental state in the environmental state prediction statement. Said. 如申請專利範圍第1項所述的定點環境狀態預報方法,其中所述環境狀態預報資料包括:降水預報資料、溫度預報資料、空氣品質預報資料、風向與風速預報資料。 For example, the method for forecasting a fixed-point environmental state according to claim 1 of the patent scope includes: precipitation forecast data, temperature forecast data, air quality forecast data, wind direction and wind speed forecast data. 一種定點環境狀態預報方法,包括:獲取用戶的地理位置資訊; 獲取所述地理位置預設區域的環境狀態量化值矩陣,所述環境狀態量化值矩陣與所述預設區域內每一子區域的環境狀態量化值對應;確定所述用戶在所述預設區域中所處的子區域,以及所述用戶在所述環境狀態量化值矩陣中對應的點;確定所述預設區域中環境狀態量化值大於零的子區域;確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係;將所述預設區域中環境狀態量化值大於零的子區域的環境狀態和預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,組合為環境狀態預報語句;以及將所述環境狀態預報語句推送給所述用戶。 A method for predicting a fixed-point environmental state includes: obtaining geographic location information of a user; Obtaining an environment state quantization value matrix of the geographic location preset area, where the environmental state quantization value matrix corresponds to an environmental state quantization value of each sub-area in the preset area; determining that the user is in the preset area a sub-region in which the user is located, and a corresponding point in the matrix of the environmental state quantization values; determining a sub-region in which the environmental state quantization value is greater than zero in the preset region; determining an environmental state in the preset region An orientation relationship between a sub-region having a quantized value greater than zero and a sub-region in which the user is located; an environmental state of the sub-region in which the environmental state quantized value is greater than zero in the preset region and an environmental state quantized value in the preset region An orientation relationship between a sub-region greater than zero and a sub-region in which the user is located is combined into an environmental state prediction statement; and the environmental state prediction statement is pushed to the user. 如申請專利範圍第7項所述的定點環境狀態預報方法,其中所述確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,包括:計算所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的距離;以及確定所述預設區域中環境狀態量化值大於零的子區域中,距離所述用戶最近的子區域和所述用戶所處的子區域之間的方位關係。 The method for predicting a fixed-point environment state according to claim 7, wherein the determining a positional relationship between a sub-area in which the environmental state quantized value is greater than zero and a sub-area in which the user is located in the preset area, The method includes: calculating a distance between a sub-area in which the environmental state quantized value is greater than zero in the preset area and a sub-area in which the user is located; and determining a sub-area in which the environmental state quantized value in the preset area is greater than zero An orientation relationship between the sub-region closest to the user and the sub-region in which the user is located. 如申請專利範圍第7項所述的定點環境狀態預報方法,其中確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,包括:確定所述環境狀態量化值矩陣中環境狀態量化值大於零的 點;確定所述環境狀態量化值大於零的點在所述環境狀態量化值矩陣中與所述用戶對應的點的連線構成的第一向量;以及根據所述第一向量所在象限確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係。 The method for predicting a fixed-point environment state according to claim 7, wherein determining an orientation relationship between the sub-region in which the environmental state quantization value is greater than zero and the sub-region in which the user is located in the preset region includes: Determining that the environmental state quantization value in the environmental state quantization value matrix is greater than zero Determining a first vector formed by a line connecting the point corresponding to the user in the environmental state quantization value matrix at a point where the environmental state quantized value is greater than zero; and determining the location according to the quadrant of the first vector An orientation relationship between a sub-area in which the environmental state quantization value is greater than zero and the sub-area in which the user is located in the preset area. 如申請專利範圍第7項至第9項中任一項所述的定點環境狀態預報方法,更包括:獲取所述地理位置預設區域的風向場矩陣,所述風向場矩陣與所述預設區域內每一子區域的風向及風速對應;所述確定所述預設區域中環境狀態量化值大於零的子區域,包括:確定所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域;所述確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,包括:確定所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係;所述將所述預設區域中環境狀態量化值大於零的子區域的環境狀態和預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,組合為環境狀態預報語句,包括:將所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域的環境狀態、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係,組合為所述環境狀態預報語句。 The method for predicting a fixed-point environment state according to any one of the preceding claims, further comprising: obtaining a wind direction field matrix of the geographic location preset area, the wind direction field matrix and the preset The wind direction of each sub-area in the area corresponds to the wind speed; the determining the sub-area in which the environmental state quantized value is greater than zero in the preset area includes: determining that the environmental state quantized value in the preset area is greater than zero and the wind direction is oriented Determining an orientation relationship between the sub-area in which the environmental state quantization value is greater than zero and the sub-area in which the user is located, including: determining an environmental state in the preset area The quantized value is greater than zero and the wind direction is oriented toward an orientation relationship between the sub-region of the user and the sub-region in which the user is located; the environmental state of the sub-region in which the environmental state quantized value in the preset region is greater than zero and The orientation relationship between the sub-area in which the environmental state quantization value is greater than zero and the sub-area in which the user is located in the preset area is combined into an environmental state prediction statement, including: the preset area The environmental state quantized value is greater than zero and the wind direction is toward an environmental state of the sub-region of the user, the environmental state quantized value in the preset region is greater than zero, and the wind direction is toward the sub-region of the user and the sub-region in which the user is located The orientation relationship between the two is combined into the environmental state prediction statement. 如申請專利範圍第10項所述的定點環境狀態預報方法,其中確定所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域,包括:確定所述環境狀態量化值矩陣中環境狀態量化值大於零的點,其中所述環境狀態量化值矩陣中環境狀態量化值大於零的點不包括所述用戶對應的點;確定所述環境狀態量化值大於零的點在所述環境狀態量化值矩陣中與所述用戶對應的點的連線構成的第一向量,以及所述環境狀態量化值大於零的點在所述風向場矩陣中對應的風向和風速構成的第二向量;以及確定第一向量與第二向量的內積大於零的點對應的子區域為所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域。 The fixed-point environment state prediction method according to claim 10, wherein determining that the environmental state quantization value in the preset region is greater than zero and the wind direction is toward the sub-region of the user comprises: determining the environmental state quantization value matrix a point in which the environmental state quantized value is greater than zero, wherein a point in the environmental state quantized value matrix whose environmental state quantized value is greater than zero does not include a point corresponding to the user; and a point at which the environmental state quantized value is greater than zero is determined a first vector formed by a line connecting points corresponding to the user in the matrix of environmental state quantized values, and a second vector formed by a corresponding wind direction and wind speed of the point where the environmental state quantized value is greater than zero And determining, by the sub-region corresponding to the point that the inner product of the first vector and the second vector is greater than zero, the sub-region in which the environmental state quantization value in the preset region is greater than zero and the wind direction is toward the user. 如申請專利範圍第10項所述的定點環境狀態預報方法,其中所述將所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域的環境狀態、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係,組合為所述環境狀態預報語句之前,更包括:計算所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離;所述將所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域的環境狀態、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係,組合為所述環境狀態預報語句,包括: 將所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域的環境狀態、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離,組合為所述環境狀態預報語句。 The method for predicting a fixed-point environment state according to claim 10, wherein the environmental state in the preset area is greater than zero and the wind direction is toward an environmental state of the sub-area of the user, the preset area. The medium-state state quantized value is greater than zero and the wind direction is oriented toward the orientation relationship between the sub-region of the user and the sub-region in which the user is located. Before being combined into the environmental state prediction statement, the method further includes: calculating the preset region The medium state state quantized value is greater than zero and the wind direction is toward a distance between the sub-region of the user and the sub-region in which the user is located; the environmental state quantized value in the preset region is greater than zero and the wind direction is toward the An environmental state of a sub-area of the user, an orientation state in which the environmental state quantized value in the preset area is greater than zero, and the wind direction is toward the sub-area of the user and the sub-area in which the user is located, combined into the environmental state Forecast statements, including: And an environmental state in which the environmental state quantized value in the preset area is greater than zero and the wind direction is toward the sub-area of the user, the environmental state quantized value in the preset area is greater than zero, the wind direction is toward the sub-area of the user, and the An orientation relationship between sub-regions in which the user is located, a distance between the sub-regions in which the environmental state is greater than zero, and the wind direction is toward the sub-region of the user and the sub-region in which the user is located, The environmental state forecast statement. 如申請專利範圍第7項所述的定點環境狀態預報方法,更包括:生成環境狀態量化值與環境狀態等級的映射關係;以及將所述環境狀態預報語句中的環境狀態使用對應的環境狀態等級表示。 The method for predicting a fixed-point environment state according to claim 7 further includes: generating a mapping relationship between the environmental state quantization value and the environmental state level; and using the corresponding environmental state level for the environmental state in the environmental state prediction statement. Said. 如申請專利範圍第7項所述的定點環境狀態預報方法,其中所述環境狀態量化值矩陣包括:降水量矩陣、溫度矩陣、空氣中細顆粒物含量矩陣。 The fixed-point environmental state prediction method according to claim 7, wherein the environmental state quantized value matrix comprises: a precipitation matrix, a temperature matrix, and a fine particle content matrix in the air. 一種定點環境狀態預報裝置,包括:獲取模組,用於獲取用戶的地理位置資訊和所述地理位置預設時間範圍內的環境狀態預報資料;處理模組,用於根據所述環境狀態預報資料生成所述地理位置在所述預設時間範圍內的環境狀態預報曲線,獲取所述環境狀態預報曲線上的環境狀態變化點,根據所述環境狀態變化點生成所述預設時間範圍內的環境狀態預報語句;以及發送模組,用於將所述環境狀態預報語句推送給所述用戶;其中:所述處理模組,具體用於將所述環境狀態預報資料通過三次樣條插值方法生成所述地理位置在所述預設時間範圍內的 環境狀態預報資料集合,所述環境狀態預報資料集合在時間上的精度為預設值;根據所述環境狀態預報資料集合生成所述環境狀態預報曲線。 A fixed-point environment state prediction device includes: an acquisition module, configured to acquire geographic location information of a user and environmental state prediction data within a preset time range of the geographic location; and a processing module configured to predict data according to the environmental state Generating an environmental state prediction curve of the geographic location within the preset time range, acquiring an environmental state change point on the environmental state prediction curve, and generating an environment within the preset time range according to the environmental state change point a state prediction statement; and a sending module, configured to: push the environmental state forecast statement to the user; wherein: the processing module is configured to generate the environment state forecast data by a cubic spline interpolation method The geographical location is within the preset time range The environmental state forecast data set, the accuracy of the environmental state forecast data set in time is a preset value; and the environmental state forecast curve is generated according to the environmental state forecast data set. 如申請專利範圍第15項所述的定點環境狀態預報裝置,更包括:接收模組,用於接收所述用戶發送的環境狀態預報請求消息。 The device for predicting a fixed-point environment state according to claim 15 further comprising: a receiving module, configured to receive an environmental state forecast request message sent by the user. 如申請專利範圍第15項所述的定點環境狀態預報裝置,其中:所述處理模組,具體用於查詢所述環境狀態預報資料集合中,環境狀態量化值的一階差分絕對值小於一階差分臨界值、二階差分絕對值大於二階差分臨界值的變化點;將所述變化點中,與前一個變化點的時間間隔大於預設時間閾值、與前一個變化點的環境狀態量化值間隔大於預設環境狀態量化值閾值的變化點設置為所述環境狀態變化點。 The fixed-point environmental state prediction device according to claim 15, wherein: the processing module is specifically configured to query the environmental state forecast data set, and the first-order difference absolute value of the environmental state quantization value is smaller than the first-order The differential threshold and the second-order difference absolute value are greater than the change point of the second-order differential threshold; wherein the time interval between the change point and the previous change point is greater than a preset time threshold, and the environmental state quantized value of the previous change point is greater than The change point of the preset environmental state quantization value threshold is set as the environmental state change point. 如申請專利範圍第15項至第17項中任一項所述的定點環境狀態預報裝置,其中:所述處理模組,具體用於若所述環境狀態預報曲線上無環境狀態變化點,將所述預設時間範圍與當前環境狀態組合為環境狀態預報語句;若所述環境狀態預報曲線上存在環境狀態變化點,則依次判斷當前時間點和所述環境狀態變化點中相鄰兩點之間的環境狀態變化趨勢,將當前時間點和所述環境狀態變化點中相鄰兩點之間的環境狀態變化趨勢以及所述環境狀態變化點對應的時間依次組合為環境狀態預報語句。 The fixed-point environmental state prediction device according to any one of the items 15 to 17, wherein the processing module is specifically configured to: if there is no environmental state change point on the environmental state prediction curve, The preset time range is combined with the current environmental state as an environmental state prediction statement; if there is an environmental state change point on the environmental state prediction curve, the two points in the current time point and the environmental state change point are sequentially determined. The change trend of the environmental state between the current time point and the environmental state change trend between the two adjacent points in the environmental state change point and the time corresponding to the environmental state change point are sequentially combined into an environmental state forecast statement. 如申請專利範圍第18項所述的定點環境狀態預報裝置,其中:所述處理模組,更用於生成環境狀態量化值與環境狀態等級的映射關係,將所述環境狀態預報語句中的環境狀態使用 對應的環境狀態等級表示。 The device for predicting a fixed-point environment state according to claim 18, wherein: the processing module is further configured to generate a mapping relationship between an environmental state quantization value and an environmental state level, and the environment in the environmental state prediction statement State use The corresponding environmental status level is indicated. 如申請專利範圍第15項所述的定點環境狀態預報裝置,其中所述獲取模組獲取的環境狀態預報資料包括:降水預報資料、溫度預報資料、空氣品質預報資料、風向與風速預報資料。 The fixed-point environmental state prediction device according to claim 15, wherein the environmental state prediction data acquired by the acquisition module comprises: precipitation forecast data, temperature forecast data, air quality forecast data, wind direction and wind speed forecast data. 一種定點環境狀態預報裝置,包括:獲取模組,用於獲取用戶的地理位置資訊和所述地理位置預設區域的環境狀態量化值矩陣,所述環境狀態量化值矩陣與所述預設區域內每一子區域的環境狀態量化值對應;處理模組,用於確定所述用戶在所述預設區域中所處的子區域,以及所述用戶在所述環境狀態量化值矩陣中對應的點;確定所述預設區域中環境狀態量化值大於零的子區域;確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係;將所述預設區域中環境狀態量化值大於零的子區域的環境狀態和預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係,組合為環境狀態預報語句;以及發送模組,用於將所述環境狀態預報語句推送給所述用戶。 A fixed-point environment state prediction device includes: an acquisition module, configured to acquire geographic location information of a user and an environmental state quantization value matrix of the geographic location preset area, the environmental state quantization value matrix and the preset area Corresponding to the environmental state quantized value of each sub-region; the processing module, configured to determine a sub-region in which the user is located in the preset region, and a corresponding point in the matrix of the environmental state quantization value of the user Determining a sub-area in which the environmental state quantized value is greater than zero in the preset area; determining an azimuth relationship between the sub-area in which the environmental state quantized value is greater than zero and the sub-area in which the user is located; The environment state of the sub-area in which the environmental state quantized value is greater than zero in the preset area and the azimuth relationship between the sub-area in which the environmental state quantized value in the preset area is greater than zero and the sub-area in which the user is located are combined into an environment a status prediction statement; and a sending module, configured to push the environmental status prediction statement to the user. 如申請專利範圍第21項所述的定點環境狀態預報裝置,其中:所述處理模組,具體用於計算所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的距離;確定所述預設區域中環境狀態量化值大於零的子區域中,距離所述用戶最近的子區域和所述用戶所處的子區域之間的方位關係。 The device for predicting a fixed-point environment state according to claim 21, wherein the processing module is specifically configured to calculate a sub-area in which the environmental state quantization value is greater than zero in the preset area, and where the user is located. a distance between the sub-regions; determining an orientation relationship between the sub-regions closest to the user and the sub-regions in which the user is located in the sub-regions in which the environmental state quantization value is greater than zero in the preset region. 如申請專利範圍第21項所述的定點環境狀態預報裝置,其中:所述處理模組,具體用於確定所述環境狀態量化值矩 陣中環境狀態量化值大於零的點;確定所述環境狀態量化值大於零的點在所述環境狀態量化值矩陣中與所述用戶對應的點的連線構成的第一向量;根據所述第一向量所在象限確定所述預設區域中環境狀態量化值大於零的子區域和所述用戶所處的子區域之間的方位關係。 The fixed-point environmental state prediction device according to claim 21, wherein: the processing module is specifically configured to determine the environmental state quantization value moment a point in the array where the environmental state quantized value is greater than zero; determining a first vector formed by a line connecting the points corresponding to the user in the environmental state quantized value matrix at a point where the environmental state quantized value is greater than zero; A quadrant in which the vector is located determines an orientation relationship between the sub-region in which the environmental state quantization value is greater than zero and the sub-region in which the user is located. 如申請專利範圍第21項至第23項中任一項所述的定點環境狀態預報裝置,其中:所述獲取模組,更用於獲取所述地理位置預設區域的風向場矩陣,所述風向場矩陣與所述預設區域內每一子區域的風向及風速對應;所述處理模組,更用於確定所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域;確定所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係;將所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域的環境狀態、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係,組合為所述環境狀態預報語句。 The device for predicting a fixed-point environment state according to any one of claims 21 to 23, wherein: the acquiring module is further configured to acquire a wind direction field matrix of the geographic location preset area, The wind direction field matrix corresponds to the wind direction and the wind speed of each sub-area in the preset area; the processing module is further configured to determine that the environmental state quantization value in the preset area is greater than zero and the wind direction is toward the user's child. a region; determining an orientation relationship between the environment state quantized value in the preset region greater than zero and the wind direction toward the sub-region of the user and the sub-region in which the user is located; and the environmental state quantized value in the preset region An environmental state greater than zero and a wind direction toward a sub-region of the user, an environmental state quantized value in the preset region being greater than zero, and an orientation relationship between a wind direction toward a sub-region of the user and a sub-region in which the user is located , combined into the environmental state forecast statement. 如申請專利範圍第24項所述的定點環境狀態預報裝置,其中:所述處理模組,具體用於確定所述環境狀態量化值矩陣中環境狀態量化值大於零的點,其中所述環境狀態量化值矩陣中環境狀態量化值大於零的點不包括所述用戶對應的點;確定所述環境狀態量化值大於零的點在所述環境狀態量化值矩陣中與所述用戶對應的點的連線構成的第一向量,以及所述環境狀態量化值大於零的點在所述風向場矩陣中對應的風向和風速構成的第二 向量;確定第一向量與第二向量的內積大於零的點對應的子區域為所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域。 The device for predicting a fixed-point environment state according to claim 24, wherein: the processing module is specifically configured to determine a point in the matrix of environmental state quantization values that is greater than zero in an environmental state quantization value, wherein the environmental state a point in the quantized value matrix whose environmental state quantized value is greater than zero does not include a point corresponding to the user; and a point at which the environmental state quantized value is greater than zero is determined in the matrix of the environmental state quantized value matrix corresponding to the point corresponding to the user a first vector formed by the line, and a second point formed by the corresponding wind direction and wind speed in the wind direction matrix in a point where the environmental state quantized value is greater than zero a sub-region corresponding to a point determining that an inner product of the first vector and the second vector is greater than zero is a sub-region in which the environmental state quantization value in the preset region is greater than zero and the wind direction is toward the user. 如申請專利範圍第24項所述的定點環境狀態預報裝置,其中:所述處理模組,更用於計算所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離;將所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域的環境狀態、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的方位關係、所述預設區域中環境狀態量化值大於零且風向朝向所述用戶的子區域和所述用戶所處的子區域之間的距離,組合為所述環境狀態預報語句。 The device for predicting a fixed-point environment state according to claim 24, wherein: the processing module is further configured to calculate a sub-region of the preset state in which the environmental state quantized value is greater than zero and the wind direction is toward the user. a distance between the sub-areas in which the user is located; an environmental state in which the environmental state quantization value in the preset area is greater than zero and the wind direction is toward the sub-area of the user, and the environmental state quantization value in the preset area is greater than Zero and wind direction toward an orientation relationship between a sub-area of the user and a sub-area in which the user is located, an environmental state quantization value in the preset area is greater than zero, and a wind direction is directed to the sub-area of the user and the user The distance between the sub-regions in which they are located is combined into the environmental state prediction statement. 如申請專利範圍第21項所述的定點環境狀態預報裝置,其中:所述處理模組,更用於生成環境狀態量化值與環境狀態等級的映射關係,將所述環境狀態預報語句中的環境狀態使用對應的環境狀態等級表示。 The device for predicting a fixed-point environment state according to claim 21, wherein: the processing module is further configured to generate a mapping relationship between an environmental state quantized value and an environmental state level, and the environment in the environmental state forecast statement The status is represented by the corresponding environmental status level. 如申請專利範圍第21項所述的定點環境狀態預報裝置,其中所述獲取模組獲取的環境狀態量化值矩陣包括:降水量矩陣、溫度矩陣、空氣中細顆粒物含量矩陣。 The fixed-point environmental state prediction device according to claim 21, wherein the matrix of environmental state quantized values obtained by the acquisition module comprises: a precipitation matrix, a temperature matrix, and a matrix of fine particle content in the air.
TW104125719A 2014-10-13 2015-08-07 Method and apparatus for forecasting environmental status in a designated area TWI601969B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410539038.6A CN104410658B (en) 2014-10-13 2014-10-13 Fixed-point environment state forecast method and apparatus

Publications (2)

Publication Number Publication Date
TW201614263A TW201614263A (en) 2016-04-16
TWI601969B true TWI601969B (en) 2017-10-11

Family

ID=52648256

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104125719A TWI601969B (en) 2014-10-13 2015-08-07 Method and apparatus for forecasting environmental status in a designated area

Country Status (3)

Country Link
CN (2) CN104410658B (en)
HK (1) HK1204173A1 (en)
TW (1) TWI601969B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018201327A1 (en) * 2017-05-03 2018-11-08 深圳市智晟达科技有限公司 Method for notifying user about weather conditions before user goes out, and digital television
CN109239808A (en) * 2018-08-01 2019-01-18 平安科技(深圳)有限公司 Weather forecast method, device, computer equipment and storage medium
CN109886900B (en) * 2019-03-15 2023-04-28 西北大学 Synthetic rain map rain removing method based on dictionary training and sparse representation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012941A (en) * 2010-12-14 2011-04-13 南京师范大学 Processing method for uniformly expressing, storing and calculating vector data of different dimensions
TW201209441A (en) * 2010-08-23 2012-03-01 Inst Nuclear Energy Res Atomic Energy Council A wind energy forecasting method with extreme wind speed prediction function
TW201216194A (en) * 2010-10-08 2012-04-16 Weatherrisk Co Ltd The method of integrating user's feedback and variety weather information into the new meteorological platform by using network

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7181345B2 (en) * 2000-12-15 2007-02-20 Nooly Technologies Ltd. Location-based weather nowcast system and method
US6845324B2 (en) * 2003-03-01 2005-01-18 User-Centric Enterprises, Inc. Rotating map and user-centric weather prediction
CN101340461A (en) * 2008-08-08 2009-01-07 凯立德欣技术(深圳)有限公司 Method for obtaining weather forecast information of designated region
US8775082B2 (en) * 2009-05-28 2014-07-08 The United States Of America, As Represented By The Secretary Of The Navy Filtered model output statistics (FMOS)
CN201639706U (en) * 2010-02-04 2010-11-17 福建省冠林电子有限公司 Visual talkback door phone with weather forecast function
CN102256021A (en) * 2011-06-28 2011-11-23 中国联合网络通信集团有限公司 Method and mobile terminal for acquiring weather forecast
CN202453340U (en) * 2012-01-12 2012-09-26 贵州省水利科学研究院 Remote monitoring system for mountain land irrigation area environment and soil moisture content
CN102622515B (en) * 2012-02-21 2017-03-15 北京联合大学 A kind of weather prediction method
CN102624492B (en) * 2012-04-19 2014-12-03 哈尔滨工业大学深圳研究生院 Self-adaptive erasure correcting coding technique being applied to high frequency band
CN102736593B (en) * 2012-06-05 2014-04-16 吴光军 Integrated platform system for remote management and control of wind power field cluster
WO2013192585A2 (en) * 2012-06-22 2013-12-27 Google Inc. Weather forecasts based on expected location
CN103093288B (en) * 2013-02-21 2016-03-30 江苏省电力公司电力科学研究院 Based on the partition power grid bus load prognoses system of weather information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201209441A (en) * 2010-08-23 2012-03-01 Inst Nuclear Energy Res Atomic Energy Council A wind energy forecasting method with extreme wind speed prediction function
TW201216194A (en) * 2010-10-08 2012-04-16 Weatherrisk Co Ltd The method of integrating user's feedback and variety weather information into the new meteorological platform by using network
CN102012941A (en) * 2010-12-14 2011-04-13 南京师范大学 Processing method for uniformly expressing, storing and calculating vector data of different dimensions

Also Published As

Publication number Publication date
CN104410658A (en) 2015-03-11
HK1204173A1 (en) 2015-11-06
CN108594334A (en) 2018-09-28
CN108594334B (en) 2021-01-15
TW201614263A (en) 2016-04-16
CN104410658B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
JP6661596B2 (en) Method and system for combining local weather forecast and itinerary planning
US11521022B2 (en) Semantic state based sensor tracking and updating
US10584978B2 (en) Method and system for displaying nowcasts along a route on a map
EP3719449A1 (en) Driving condition specific sensor quality index
CN108986207B (en) Road and along-line building simulation modeling method based on real pavement data
US10509143B2 (en) Method and system for combining localized weather forecasting and itinerary planning
CN106323313A (en) A mobile device and method and system for transmission of data thereto
CN112731565B (en) Weather forecast data processing method and device based on multi-level grid map
TWI601969B (en) Method and apparatus for forecasting environmental status in a designated area
EP3413099B1 (en) Method and apparatus for providing a weather volatility index
Liu et al. Fusing multiscale charts into 3D ENC systems based on underwater topography and remote sensing image
CN116884231A (en) 3D weather display method, weather prediction method, device, equipment and medium