CN110992134B - Customization method and terminal of ocean forecast product - Google Patents
Customization method and terminal of ocean forecast product Download PDFInfo
- Publication number
- CN110992134B CN110992134B CN201911155375.4A CN201911155375A CN110992134B CN 110992134 B CN110992134 B CN 110992134B CN 201911155375 A CN201911155375 A CN 201911155375A CN 110992134 B CN110992134 B CN 110992134B
- Authority
- CN
- China
- Prior art keywords
- forecast product
- data
- customized
- marine
- marine forecast
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000000007 visual effect Effects 0.000 claims description 48
- 238000004590 computer program Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000009182 swimming Effects 0.000 description 3
- 238000003287 bathing Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003628 erosive effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 150000003839 salts Chemical class 0.000 description 1
- 239000013535 sea water Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0621—Item configuration or customization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/02—Agriculture; Fishing; Forestry; Mining
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Databases & Information Systems (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Tourism & Hospitality (AREA)
- Marine Sciences & Fisheries (AREA)
- Life Sciences & Earth Sciences (AREA)
- Human Resources & Organizations (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Mining & Mineral Resources (AREA)
- Primary Health Care (AREA)
- Animal Husbandry (AREA)
- Development Economics (AREA)
- Agronomy & Crop Science (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Processing Or Creating Images (AREA)
- Instructional Devices (AREA)
Abstract
The invention discloses a method and a terminal for customizing a marine forecast product, which receive the determined type of the marine forecast product and an area directly selected on a map; performing space intersection analysis on the ocean forecast product corresponding to the type of the ocean forecast product and the selected area to obtain corresponding ocean forecast product data in the selected area; receiving the selected marine forecast product elements, and generating a customized marine forecast product according to the marine forecast product data and the marine forecast product elements; the method has the advantages that the customization based on the elements and the customization based on the spatial position are communicated by using a uniform interface, the customized ocean forecast product is generated in time based on the combination of the geographic space and the elements, and the customized ocean forecast product can be customized efficiently and intuitively.
Description
Technical Field
The invention relates to the field of ocean forecast, in particular to a method and a terminal for customizing an ocean forecast product.
Background
The ocean forecast can describe and release ocean elements, ocean phenomena, ocean variation and possible influences thereof in a certain sea area in future time according to certain situations such as characters, diagrams, sound images and the like.
Ocean forecast plays an important role in the development of economic society, such as national defense safety, ocean economic development, ocean disaster prevention and reduction, ocean equity maintenance and the like. In order to meet the requirements of all departments in the society, the ocean forecast comprises various ocean forecast products, and the coverage range of the ocean forecast products is very wide. The range of the ocean forecast products comprises storm surge, sea wave, tsunami, sea temperature, salinity, sea level change, Elnino, coastal erosion, ocean current and the like, the forecast range is from offshore areas, oceans to bipolar areas and the like, elements are from ocean dynamic environment elements to ecological environment elements and the like, and the time scale is also from weather scale to climate scale and the like.
In order to meet specific requirements of various departments in the society on ocean forecast products, the ocean forecast products can be customized in the prior art, the existing ocean forecast products are usually customized in a mode that the customization mode is displayed to users in a data table mode, and the users customize business data by checking required elements in the data table, so that the customized ocean forecast products meeting the specific requirements of the users are formed. However, the existing customization method has the defect of tedious and unintuitive selection for users with more data items or insensitive to regional information.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method and the terminal for customizing the ocean forecast product can realize visual and efficient customization of the ocean forecast product.
In order to solve the technical problems, the invention adopts a technical scheme that:
a method for customizing a marine forecast product, comprising the steps of:
s1, receiving the determined marine forecast product type and the directly selected area on the map;
s2, carrying out space intersection analysis on the marine forecast product corresponding to the marine forecast product type and the selected area to obtain corresponding marine forecast product data in the selected area;
and S3, receiving the selected marine forecast product elements, and generating a customized marine forecast product according to the marine forecast product data and the marine forecast product elements.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
a custom terminal for a marine forecast product, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
s1, receiving the determined marine forecast product type and the directly selected area on the map;
s2, carrying out space intersection analysis on the marine forecast product corresponding to the marine forecast product type and the selected area to obtain corresponding marine forecast product data in the selected area;
and S3, receiving the selected marine forecast product elements, and generating a customized marine forecast product according to the marine forecast product data and the marine forecast product elements.
The invention has the beneficial effects that: firstly, according to the type of the selected ocean forecast product and the area directly selected on the map, the corresponding ocean forecast product data in the selected area is determined through space intersection analysis, then, the customized ocean forecast product is generated according to the selected ocean forecast product elements, the customization based on the elements and the customization based on the space position are communicated through a uniform interface, the customized ocean forecast product is generated in time based on the combination of the geographic space and the elements, and the ocean forecast product can be customized visually and efficiently.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for customizing a marine forecast product according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a customization terminal of a marine forecast product according to an embodiment of the present invention;
FIG. 3 is a diagram of a marine forecast product type selection box according to an embodiment of the invention;
FIG. 4 is a schematic diagram of a selected area import box of the ocean forecast product according to the embodiment of the present invention;
FIG. 5 is a schematic diagram listing user areas of interest and corresponding marine forecast products in accordance with an embodiment of the present invention;
description of reference numerals:
1. a customization terminal of a marine forecast product; 2. a memory; 3. a processor.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1, a method for customizing a marine forecast product includes the steps of:
s1, receiving the determined marine forecast product type and the directly selected area on the map;
s2, carrying out space intersection analysis on the marine forecast product corresponding to the marine forecast product type and the selected area to obtain corresponding marine forecast product data in the selected area;
and S3, receiving the selected marine forecast product elements, and generating a customized marine forecast product according to the marine forecast product data and the marine forecast product elements.
From the above description, the beneficial effects of the present invention are: firstly, according to the type of the selected ocean forecast product and the area directly selected on the map, the corresponding ocean forecast product data in the selected area is determined through space intersection analysis, then, the customized ocean forecast product is generated according to the selected ocean forecast product elements, the customization based on the elements and the customization based on the space position are communicated through a uniform interface, the customized ocean forecast product is generated in time based on the combination of the geographic space and the elements, and the ocean forecast product can be customized visually and efficiently.
Further, the step S1 of receiving the directly selected area on the map includes:
receiving a point, a line or a surface drawn on a map displayed on a data customization interface, and determining a selected area on the map according to the drawn point, line or surface;
or receiving longitude and latitude determined based on a map displayed on a data customization interface, and determining a selected area on the map according to the longitude and latitude.
According to the description, the area on the map displayed on the customized interface is directly selected by providing various different input modes, and the flexibility is improved on the basis of meeting the requirement of intuition of the user.
Further, the step S2 includes:
superposing the marine forecast product corresponding to the type of the marine forecast product to a map displayed on a data customization interface to obtain a corresponding service data layer, wherein each service data in the service data layer has a corresponding longitude and latitude;
and performing intersection calculation on the selected area and the service data map layer according to longitude and latitude coordinates by a ray method to obtain an intersected part, and obtaining corresponding marine forecast product data in the selected area according to service data corresponding to the service data map layer of the intersected part.
According to the description, the corresponding marine forecast product data in the selected area can be quickly and accurately obtained through the space intersection analysis.
Further, the step S3 is followed by the step of:
s41, sending the customized ocean forecast product data to a front end in a visual view mode for displaying;
and S42, associating the visual view with the identifier of the customized end and storing the association relation, meanwhile, opening up a cache region corresponding to the identifier at the front end and associating the cache region with the visual view corresponding to the identifier, wherein the cache region is used for storing the customized ocean forecast product data.
According to the description, when the customized ocean forecast product data are sent to the front end to be displayed, the cache region associated with the customization end is directly opened up at the front end, the customized ocean forecast product data are stored in the cache region, the problem of high pressure of a database server caused when a large number of users access a large number of customized data services can be effectively solved, when the users access the customized data services, the data are directly called from the cache region associated with the front end to be displayed, the calling from the background server end is not needed, the data calling speed is high, and the pressure of the database server is greatly reduced.
Further, the step S42 is followed by the step of:
s5, receiving a request for refreshing the customized marine forecast product sent by a customizing terminal, judging whether the data stored in a cache region associated with the visual view corresponding to the customized marine forecast product is the latest updated data or not according to the request, and if so, directly calling the data from the cache region to update the visual view corresponding to the customized marine forecast product and displayed at the front end;
otherwise, updating the visual view corresponding to the customized marine forecast product displayed at the front end according to the stored latest data corresponding to the customized marine forecast product, and correspondingly updating the data in the cache region associated with the visual view corresponding to the customized marine forecast product;
or updating the data in the cache region associated with the visual view corresponding to the customized marine forecast product at regular time according to the stored data.
According to the description, the data corresponding to the customized marine forecast products in the cache regions associated with the front ends and the customization ends can be updated regularly through the background server, the data corresponding to the customized marine forecast products stored in the cache regions associated with the front ends and the customization ends can be updated according to the refreshing requests of the customization ends, and the timeliness of the data of the marine forecast products customized by the customization ends can be guaranteed.
Referring to fig. 2, a terminal for customizing a marine forecast product includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the following steps:
s1, receiving the determined marine forecast product type and the directly selected area on the map;
s2, carrying out space intersection analysis on the marine forecast product corresponding to the marine forecast product type and the selected area to obtain corresponding marine forecast product data in the selected area;
and S3, receiving the selected marine forecast product elements, and generating a customized marine forecast product according to the marine forecast product data and the marine forecast product elements.
From the above description, the beneficial effects of the present invention are: firstly, according to the type of the selected ocean forecast product and the area directly selected on the map, the corresponding ocean forecast product data in the selected area is determined through space intersection analysis, then, the customized ocean forecast product is generated according to the selected ocean forecast product elements, the customization based on the elements and the customization based on the space position are communicated through a uniform interface, the customized ocean forecast product is generated in time based on the combination of the geographic space and the elements, and the ocean forecast product can be customized visually and efficiently.
Further, the step S1 of receiving the directly selected area on the map includes:
receiving a point, a line or a surface drawn on a map displayed on a data customization interface, and determining a selected area on the map according to the drawn point, line or surface;
or receiving longitude and latitude determined based on a map displayed on a data customization interface, and determining a selected area on the map according to the longitude and latitude.
According to the description, the area on the map displayed on the customized interface is directly selected by providing various different input modes, and the flexibility is improved on the basis of meeting the requirement of intuition of the user.
Further, the step S2 includes:
superposing the marine forecast product corresponding to the type of the marine forecast product to a map displayed on a data customization interface to obtain a corresponding service data layer, wherein each service data in the service data layer has a corresponding longitude and latitude;
and performing intersection calculation on the selected area and the service data map layer according to longitude and latitude coordinates by a ray method to obtain an intersected part, and obtaining corresponding marine forecast product data in the selected area according to service data corresponding to the service data map layer of the intersected part.
According to the description, the corresponding marine forecast product data in the selected area can be quickly and accurately obtained through the space intersection analysis.
Further, the step S3 is followed by the step of:
s41, sending the customized ocean forecast product data to a front end in a visual view mode for displaying;
and S42, associating the visual view with the identifier of the customized end and storing the association relation, meanwhile, opening up a cache region corresponding to the identifier at the front end and associating the cache region with the visual view corresponding to the identifier, wherein the cache region is used for storing the customized ocean forecast product data.
According to the description, when the customized ocean forecast product data are sent to the front end to be displayed, the cache region associated with the customization end is directly opened up at the front end, the customized ocean forecast product data are stored in the cache region, the problem of high pressure of a database server caused when a large number of users access a large number of customized data services can be effectively solved, when the users access the customized data services, the data are directly called from the cache region associated with the front end to be displayed, the calling from the background server end is not needed, the data calling speed is high, and the pressure of the database server is greatly reduced.
Further, the step S42 is followed by the step of:
s5, receiving a request for refreshing the customized marine forecast product sent by a customizing terminal, judging whether the data stored in a cache region associated with the visual view corresponding to the customized marine forecast product is the latest updated data or not according to the request, and if so, directly calling the data from the cache region to update the visual view corresponding to the customized marine forecast product and displayed at the front end;
otherwise, updating the visual view corresponding to the customized marine forecast product displayed at the front end according to the stored latest data corresponding to the customized marine forecast product, and correspondingly updating the data in the cache region associated with the visual view corresponding to the customized marine forecast product;
or updating the data in the cache region associated with the visual view corresponding to the customized marine forecast product at regular time according to the stored data.
According to the description, the data corresponding to the customized marine forecast products in the cache regions associated with the front ends and the customization ends can be updated regularly through the background server, the data corresponding to the customized marine forecast products stored in the cache regions associated with the front ends and the customization ends can be updated according to the refreshing requests of the customization ends, and the timeliness of the data of the marine forecast products customized by the customization ends can be guaranteed.
Example one
Referring to fig. 1, a method for customizing a marine forecast product includes the steps of:
s1, receiving the determined marine forecast product type and the directly selected area on the map;
wherein the receiving of the directly selected area on the map in the step S1 includes:
receiving a point, a line or a surface drawn on a map displayed on a data customization interface, and determining a selected area on the map according to the drawn point, line or surface;
or receiving longitude and latitude determined based on a map displayed on a data customization interface, and determining a selected area on the map according to the longitude and latitude;
FIG. 3 is a diagram showing a selection area of marine forecast product types, where multiple product types can be selected, including coastal sea wave forecast, sea water bathing spot forecast, sea route forecast, fishery sea condition forecast, urban marine forecast, fishing port forecast, tide forecast, and numerical forecast, and when selecting, superposition selection can be performed to generate a superposition product;
fig. 4 shows an input box of a selected area, which may have various types of importing manners, and may be determined by a point, a line, or a plane, or by inputting latitude and longitude;
the method comprises the steps that points or lines or surfaces can be directly drawn on a map through a mouse, so that the areas can be directly selected, if a plurality of points are determined through the mouse, the areas surrounded by the points are selected areas, if lines are defined through the mouse, the areas surrounded by the defined lines are selected areas, and if the surfaces are directly determined, the determined surfaces are directly used as the selected areas;
optionally, in order to facilitate user operations, a user may select any number of areas on the presented map, the selected areas may be separated from each other, and the background may automatically combine all areas selected by the user;
s2, carrying out space intersection analysis on the marine forecast product corresponding to the marine forecast product type and the selected area to obtain corresponding marine forecast product data in the selected area;
specifically, a marine forecast product corresponding to the type of the marine forecast product is superposed on a map displayed on a data customization interface to obtain a corresponding service data map layer, wherein each service data in the service data map layer has a corresponding longitude and latitude;
performing intersection calculation on the selected area and the service data map layer according to longitude and latitude coordinates by a ray method to obtain an intersected part, and obtaining corresponding marine forecast product data in the selected area according to service data corresponding to the service data map layer of the intersected part;
in the ray method, whether a certain point is in a selected area is judged by a horizontal scanning line method or a vertical line method;
after obtaining the ocean forecast product data corresponding to the selected area, the front end lists the service data corresponding to the intersected map layers one by one according to types, areas and elements, so as to realize the function of obtaining the concurrent user attention area and the corresponding ocean forecast product, the schematic diagram is shown in fig. 5, five selected ocean forecast product types and the corresponding areas are listed, specifically, the area corresponding to the ocean water bath forecast is Chongwuxisha bay, the area corresponding to the urban ocean forecast is Shishi near-shore sea area, Huian county near-shore sea area, Xiuzen near-shore sea area and Putian city tide near-shore sea area, the forecast corresponds to the whole area, the numerical forecast corresponds to the whole area, and the fishery sea condition forecast corresponds to the middle-minzhong fishery; for each ocean forecast product type, the elements contained in the ocean forecast product type are listed correspondingly, for example, the ocean bathing spot forecast comprises the following elements: wave height, water temperature, water quality, swimming health index, swimming suitability, optimal swimming time period and prompt; urban ocean forecasts include the following elements: tidal time and tidal height for each selected region, respectively; the tide forecast comprises the elements of hourly tide height, first climax, second climax, first low tide and second low tide; numerical forecasting comprises the steps of forecasting wind, waves, currents and mild salt of the included elements; the fishing ground in Minzhong comprises the elements of wave height, 3 to 7 days in the future, water temperature, weather, fog, wind direction and wind power;
s3, receiving the selected marine forecast product elements, and generating a customized marine forecast product according to the marine forecast product data and the marine forecast product elements;
specifically, an interface for user input is provided through an element selection interface, and a user determines an element to be checked through the element selection interface, so that a customized ocean forecast product is generated;
optionally, as shown in fig. 5, the type of the ocean forecast product to be customized may be further selected, and the flexibility of customizing the ocean forecast product may be further improved by checking the check box at the upper left corner of each ocean forecast product.
Example two
The difference between the present embodiment and the first embodiment is that the step S3 is followed by the step of:
s41, sending the customized ocean forecast product data to a front end in a visual view mode for displaying;
specifically, the background server calculates personalized marine forecast product data in an EXCEL form according to the selected type of the marine forecast product, the customized area range and the selected elements, and displays the data through a visual view;
s42, associating the visual view with an identifier of a customization end and storing the association relation, meanwhile, opening a cache region corresponding to the identifier at the front end and associating the cache region with the visual view corresponding to the identifier, wherein the cache region is used for storing the customized ocean forecast product data;
the front end returns data requirements formed by each user through a visual interface to the background server in a queue form, the background server reads queue information, automatically generates a corresponding visual view in a database server providing service according to the customization requirements of the users and pushes the visual view to the front end to be displayed to the users for viewing, the visual view is associated with the user identification for customization, and meanwhile, a micro cache area is opened up at the front end for each customized user for storing the customization data of the visual view corresponding to each customized user;
therefore, each customized user is associated with a corresponding cache region for storing the customized ocean forecast product data, and when the customized ocean forecast data is checked each time, the data is directly called from the micro cache region corresponding to the front end, and the data is not required to be called from a background database server each time;
in order to ensure the timeliness of the data stored in the micro-cache region, the method further comprises the following steps:
s5, receiving a request for refreshing the customized marine forecast product sent by a customizing terminal, judging whether the data stored in a cache region associated with the visual view corresponding to the customized marine forecast product is the latest updated data or not according to the request, and if so, directly calling the data from the cache region to update the visual view corresponding to the customized marine forecast product and displayed at the front end;
otherwise, updating the visual view corresponding to the customized marine forecast product displayed at the front end according to the stored latest data corresponding to the customized marine forecast product, and correspondingly updating the data in the cache region associated with the visual view corresponding to the customized marine forecast product;
or updating data in a cache region associated with the visual view corresponding to the customized ocean forecast product at regular time according to the stored data;
that is to say, the cache region associated with each customized user may have two data updating modes, one is to implement the timed updating of the cache region data by the timed pushing of the background service, and the other is to respond to the refresh request of the customized user and update the data of the corresponding cache region according to the refresh request;
when the automatic refreshing is carried out in the background, a joba can be established in the Oracle, and the same storage process is called through the joba to realize the automatic refreshing; in addition, as long as the user customizes the requirements again, the refreshing of the corresponding cache region data can be triggered when the data is submitted;
in an optional embodiment, when updating, the automatic updating and the user triggered updating can be combined, the background performs automatic updating regularly, when a request for triggering updating sent by a user is received, whether the time from the last updating of the background exceeds a threshold value is judged, if yes, the updating is performed, the counting of the background is reset, otherwise, the updating is not performed, so that the timeliness is ensured, and the resource consumption caused by unnecessary updating is avoided;
in another optional embodiment, because the time for customizing each user is different, the data update time of the cache region corresponding to each user is different, and if the cache region corresponding to a certain user needs to be updated, and the cache region of another user has the data to be updated or the data in the cache regions of other users is combined with the data to be updated, and the currently stored data is the latest updated data of the background server, the data can be directly called from the cache region corresponding to another user or other users to update the cache region of the user, so that the data sharing among the customized users is realized.
EXAMPLE III
Referring to fig. 2, a customized terminal 1 for a marine forecast product includes a memory 2, a processor 3, and a computer program stored on the memory 2 and executable on the processor 3, where the processor 3 implements the steps in the first embodiment or the second embodiment when executing the computer program.
In summary, according to the method and the terminal for customizing the ocean forecast product provided by the present invention, the corresponding ocean forecast product data in the selected area is determined through the spatial intersection analysis according to the selected ocean forecast product type and the area directly selected on the map, then the customized ocean forecast product is generated according to the selected ocean forecast product element, the customization based on the element and the customization based on the spatial position are intercommunicated by using the uniform interface, the timely generation of the customized ocean forecast product is realized based on the combination of the geographic space and the element, not only the ocean forecast product is intuitive, but also the ocean forecast product can be efficiently customized, and simultaneously, when the customized ocean forecast product is displayed in a visual view at the front end, the corresponding buffer area for storing the customized ocean forecast product data is generated at the front end, the buffer area is associated with the corresponding customizing end, so that the customizing end can directly fetch the data from the associated buffer area, the response speed is high, the pressure of a background database server is reduced, meanwhile, various flexible updating can be carried out on the cache regions corresponding to the customization ends, and the timeliness of the customized ocean forecast product is guaranteed.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.
Claims (4)
1. A method for customizing a marine forecast product, comprising the steps of:
s1, receiving the determined marine forecast product type and the directly selected area on the map;
s2, carrying out space intersection analysis on the marine forecast product corresponding to the marine forecast product type and the selected area to obtain corresponding marine forecast product data in the selected area;
s3, receiving the selected marine forecast product elements, and generating a customized marine forecast product according to the marine forecast product data and the marine forecast product elements;
the step S2 includes:
superposing the marine forecast product corresponding to the type of the marine forecast product to a map displayed on a data customization interface to obtain a corresponding service data layer, wherein each service data in the service data layer has a corresponding longitude and latitude;
intersecting the selected area and the service data map layer according to longitude and latitude coordinates by a ray method to obtain an intersected part, and obtaining corresponding marine forecast product data in the selected area according to service data corresponding to the service data map layer of the intersected part;
the step S3 is followed by the step of:
s41, sending the customized ocean forecast product data to a front end in a visual view mode for displaying;
s42, associating the visual view with an identifier of a customization end and storing an association relation, meanwhile, opening a cache region corresponding to the identifier at the front end and associating the cache region with the visual view corresponding to the identifier, wherein the cache region is used for storing the customized ocean forecast product data;
the step S42 is followed by the step of:
s5, receiving a request for refreshing the customized marine forecast product sent by a customizing terminal, judging whether the data stored in a cache region associated with the visual view corresponding to the customized marine forecast product is the latest updated data or not according to the request, and if so, directly calling the data from the cache region to update the visual view corresponding to the customized marine forecast product and displayed at the front end;
otherwise, updating the visual view corresponding to the customized marine forecast product displayed at the front end according to the stored latest data corresponding to the customized marine forecast product, and correspondingly updating the data in the cache region associated with the visual view corresponding to the customized marine forecast product;
or updating the data in the cache region associated with the visual view corresponding to the customized marine forecast product at regular time according to the stored data.
2. The method as claimed in claim 1, wherein the step S1 of receiving the area directly selected on the map comprises:
receiving a point, a line or a surface drawn on a map displayed on a data customization interface, and determining a selected area on the map according to the drawn point, line or surface;
or receiving longitude and latitude determined based on a map displayed on a data customization interface, and determining a selected area on the map according to the longitude and latitude.
3. A custom terminal for a marine forecast product, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program to perform the steps of:
s1, receiving the determined marine forecast product type and the directly selected area on the map;
s2, carrying out space intersection analysis on the marine forecast product corresponding to the type of the marine forecast product and the selected area to obtain the corresponding marine forecast product data in the selected area;
s3, receiving the selected marine forecast product elements, and generating a customized marine forecast product according to the marine forecast product data and the marine forecast product elements;
the step S2 includes:
superposing the marine forecast product corresponding to the type of the marine forecast product to a map displayed on a data customization interface to obtain a corresponding service data layer, wherein each service data in the service data layer has a corresponding longitude and latitude;
performing intersection calculation on the selected area and the service data map layer according to longitude and latitude coordinates by a ray method to obtain an intersected part, and obtaining corresponding marine forecast product data in the selected area according to service data corresponding to the service data map layer of the intersected part;
the step S3 is followed by the step of:
s41, sending the customized ocean forecast product data to a front end in a visual view mode for displaying;
s42, associating the visual view with an identifier of a customization end and storing an association relation, meanwhile, opening a cache region corresponding to the identifier at the front end and associating the cache region with the visual view corresponding to the identifier, wherein the cache region is used for storing the customized ocean forecast product data;
the step S42 is followed by the step of:
s5, receiving a request for refreshing the customized marine forecast product sent by a customizing terminal, judging whether the data stored in a cache region associated with the visual view corresponding to the customized marine forecast product is the latest updated data or not according to the request, and if so, directly calling the data from the cache region to update the visual view corresponding to the customized marine forecast product and displayed at the front end;
otherwise, updating the visual view corresponding to the customized marine forecast product displayed at the front end according to the stored latest data corresponding to the customized marine forecast product, and correspondingly updating the data in the cache region associated with the visual view corresponding to the customized marine forecast product;
or updating the data in the cache region associated with the visual view corresponding to the customized marine forecast product at regular time according to the stored data.
4. The custom terminal for marine forecast products of claim 3, wherein said step S1 of receiving the directly selected area on the map comprises:
receiving a point, a line or a surface drawn on a map displayed on a data customization interface, and determining a selected area on the map according to the drawn point, line or surface;
or receiving longitude and latitude determined based on a map displayed on a data customization interface, and determining a selected area on the map according to the longitude and latitude.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911155375.4A CN110992134B (en) | 2019-11-22 | 2019-11-22 | Customization method and terminal of ocean forecast product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911155375.4A CN110992134B (en) | 2019-11-22 | 2019-11-22 | Customization method and terminal of ocean forecast product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110992134A CN110992134A (en) | 2020-04-10 |
CN110992134B true CN110992134B (en) | 2022-06-07 |
Family
ID=70085856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911155375.4A Active CN110992134B (en) | 2019-11-22 | 2019-11-22 | Customization method and terminal of ocean forecast product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110992134B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111985087B (en) * | 2020-07-27 | 2023-10-03 | 河海大学 | Ocean circulation simulation system and method based on big data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060021002A (en) * | 2004-09-02 | 2006-03-07 | 장명순 | Agricultural and fisheries products distribution system using a wire and wireless communication networks and the method thereof |
CN107479792A (en) * | 2017-08-19 | 2017-12-15 | 杭州幂拓科技有限公司 | A kind of smart grid forecast correction method and system |
CN109086280A (en) * | 2017-06-14 | 2018-12-25 | 长沙海登网络科技有限公司 | A kind of design of the multi-source oceanographic data Integrated Management Application Platform of informationization |
-
2019
- 2019-11-22 CN CN201911155375.4A patent/CN110992134B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060021002A (en) * | 2004-09-02 | 2006-03-07 | 장명순 | Agricultural and fisheries products distribution system using a wire and wireless communication networks and the method thereof |
CN109086280A (en) * | 2017-06-14 | 2018-12-25 | 长沙海登网络科技有限公司 | A kind of design of the multi-source oceanographic data Integrated Management Application Platform of informationization |
CN107479792A (en) * | 2017-08-19 | 2017-12-15 | 杭州幂拓科技有限公司 | A kind of smart grid forecast correction method and system |
Non-Patent Citations (2)
Title |
---|
海洋数值预报产品综合处理平台开发研究;穆望舒;《中国优秀硕士学位论文全文数据库 (基础科学辑)》;20141231;全文 * |
海洋预报产品制作发布系统的设计与实现;严云杰 等;《浙江水利科技》;20150930;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110992134A (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10467558B2 (en) | Real time map rendering with data clustering and expansion and overlay | |
Marino | The long history of environmental migration: Assessing vulnerability construction and obstacles to successful relocation in Shishmaref, Alaska | |
Bagdanavičiūtė et al. | Index based multi-criteria approach to coastal risk assesment | |
Pham et al. | Urban growth and change analysis using remote sensing and spatial metrics from 1975 to 2003 for Hanoi, Vietnam | |
KR101132828B1 (en) | Oceanographic forecasting data service apparatus | |
Dendoncker et al. | A statistical method to downscale aggregated land use data and scenarios | |
Qiu et al. | Disaggregating population data for assessing progress of SDGs: methods and applications | |
KR101102812B1 (en) | Oceanographic forecasting data service system based on web-gis | |
Fernández et al. | 3D-Monitoring Big Geo Data on a seaport infrastructure based on FIWARE | |
CN110992134B (en) | Customization method and terminal of ocean forecast product | |
Vuillaume et al. | Improving global rainfall forecasting with a weather type approach in Japan | |
KR20160117765A (en) | Predicting and maneuvering system of seismic sea wave | |
KR20210085782A (en) | System for providing flood information, and method thereof | |
Sharma et al. | Ranking of general circulation models for Surat City by using a hybrid approach | |
CN115511390B (en) | Coastal river-along vulnerability assessment method, system, terminal and storage medium | |
Yan et al. | Mining the association rules between port shoreline and land utilization intensity: A case study in the coastal zone of Kuala Lumpur, Malaysia | |
CN115508916B (en) | Star scene forecasting method | |
Jude et al. | The development of a visualization methodology for integrated coastal management | |
Shi et al. | Study on spatial evolution of geographical names in Tongzhou Canal settlements | |
Suárez et al. | Managing and 3D visualization of real-time big geo-referenced data from Las Palmas port through a flexible open source computer architecture | |
She et al. | A building label placement method for 3D visualizations based on candidate label evaluation and selection | |
CN114138925A (en) | Location point belonging area retrieval method, device, electronic equipment, medium and product | |
Strom | Space, cyberspace and interface: The trouble with Google Maps | |
Li et al. | Multilevel data simplification methods for flood process visualizations based on visual perceptions | |
Yarmolenko et al. | Modern geoinformation and communication technologies of economic analysis in ms office 365 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |