A water conservancy data sharing method, system, device and medium
By analyzing the visitor's historical data and newly uploaded water conservancy data, a priority display directory is generated, which solves the problem of low water conservancy data retrieval efficiency and achieves the effect of quickly retrieving relevant water conservancy data.
Patent Information
- Application Number
- CN202411596412.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2044-11-11
AI Technical Summary
Due to the differences between different water body management units and scientific research departments, the different formats and ways of publishing water conservancy data, which makes it inconvenient to gather water conservancy data and low retrieval efficiency.
By obtaining the visitor's historical access data and search data, determine their data preference labels and water body preferences, combine the water body and key labels of newly uploaded water conservancy data, analyze the importance level and relevance of the target water conservancy data, and generate a preferred display directory to improve retrieval efficiency.
It realizes the rapid screening of water conservancy data related to visitors, improves the search efficiency, and reduces the time and difficulties of visitors when retrieving water conservancy data.
Smart Images

Figure CN119474497B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a water conservancy data sharing method, system, device and medium. Background Art
[0002] With the increasing emphasis on water conservancy and the in-depth development of water conservancy engineering research, the application and reliance on water conservancy data of water bodies such as rivers, lakes and reservoirs are becoming more and more profound. Due to the different management units and scientific research departments corresponding to different water bodies, the ways of publishing and uploading water body data, such as data management systems and data publishing websites, and the formats of published water conservancy data, etc., are different, which makes it difficult to aggregate various water conservancy data on the same platform, which in turn causes personnel to spend a lot of time searching for water conservancy data, making it inconvenient to quickly retrieve the water conservancy data they need and related to themselves, resulting in low water conservancy data retrieval efficiency. Summary of the invention
[0003] In order to facilitate personnel to quickly retrieve the water conservancy data they need and related to themselves and improve retrieval efficiency, the present application provides a water conservancy data sharing method, system, equipment and medium.
[0004] In the first aspect, the present application provides a water conservancy data sharing method, which adopts the following technical solution:
[0005] A water conservancy data sharing method, comprising:
[0006] Acquire the visitor's historical access data and search data, and determine the visitor's data bias label and the visitor's current search water body and historical access water body based on the historical access data and search data;
[0007] Acquire the newly uploaded water conservancy data after the visitor's most recent visit, and determine the water body and key tags of each water conservancy data;
[0008] If there are at least two target water conservancy data, then determine the associated water body and the affected area of the water body to which each target water conservancy data belongs, the target water conservancy data being the water conservancy data required by the visitor whose search water body is consistent with the water body to which it belongs;
[0009] Determine the importance level of each target water conservancy data based on the associated water body, impact area and key tags;
[0010] Determine the relevance of each target water conservancy data based on the data bias label, the historically visited water bodies, the associated water bodies of each target water conservancy data, and the key labels;
[0011] Determine the title of each target water conservancy data based on the water body to which each target water conservancy data belongs, the key tag, and the data preference tag of the visitor;
[0012] Determine the display priority of each title based on the importance level and relevance;
[0013] A directory of all target water conservancy data is formed based on the display priority and title, and the display of the directory is controlled.
[0014] By adopting the above technical scheme, the visitor's historical access data and retrieval data are obtained to facilitate the determination of the visitor's data preference label, historically visited water bodies and current searched water bodies, and the newly uploaded water conservancy data after the visitor's most recent visit is obtained, and the water body and key labels to which the new water conservancy data belongs are determined, so as to facilitate the screening of target water conservancy data whose water bodies are consistent with the searched water bodies. If there are at least two target water conservancy data, it means that the relationship between multiple target water conservancy data and the visitor needs to be analyzed, then the associated water bodies and the affected areas of the water bodies to which each target water conservancy data belongs are determined. The associated water bodies, affected areas and key labels are all key factors affecting the importance of the target water conservancy data. Therefore, the comprehensive judgment based on the above three can accurately determine the importance level of each target water conservancy data. The data preference labels, historically visited water bodies and each target The associated water bodies and key tags of water conservancy data are important factors that affect the degree of association between the target water conservancy data and the visitor. Therefore, the comprehensive judgment based on the above four factors can accurately determine the association degree of each target water conservancy data, and determine the title of each target water conservancy data according to its water body, key tags, and visitor's data bias tag, that is, redetermine the title according to some associated data, and the visitor can quickly determine whether the target water conservancy data is the water conservancy data they need based on the regenerated title. Then, the display priority of each target water conservancy data is comprehensively determined based on the importance and association, and a directory is generated based on the display priority and title, and finally the directory is displayed, so that the visitor can see the title that is more associated with the visitor according to the directory first, that is, the visitor can quickly retrieve the water conservancy data they need and that is relevant to them, thereby improving the retrieval efficiency.
[0015] In another possible implementation manner, determining the associated water body of the water body to which each target water conservancy data belongs includes:
[0016] Acquire access records of target visitors, where the target visitors are visitors who have visited the target water conservancy data, and the access records include access time corresponding to the visited water conservancy data;
[0017] Determining, from the access records, the associated water conservancy data accessed by each target visitor within a preset time period after accessing the target water conservancy data;
[0018] Determine a candidate associated water body corresponding to the associated water conservancy data;
[0019] Determine the number of visits of each candidate associated water body in the associated water resources data of all target visitors;
[0020] Determine a preset number of first candidate associated water bodies with the greatest number of visits;
[0021] Acquire a reference associated water body of the water body, and select a second candidate associated water body different from the reference associated water body from the first candidate associated water body;
[0022] Calculating the distance information between each second candidate associated water body and each reference associated water body;
[0023] If there is a third candidate associated water body whose distance information is less than a preset distance threshold in the distance information of the second candidate associated water body, the third candidate associated water body and the reference associated water body are determined as the associated water bodies.
[0024] In another possible implementation manner, determining the importance level of each target water conservancy data based on the associated water body, the affected area, and the key tag includes:
[0025] determining a first quantity of associated water bodies and determining the area of the impact zone;
[0026] Find the second quantity of water conservancy data of each associated water body and the number of visits to the water conservancy data of each associated water body;
[0027] determining an importance level of each associated water body based on the second quantity and the number of visits;
[0028] A third number of key tags is determined, and an importance level of each target water conservancy data is determined based on the first number, the area, the importance level of each associated water body, and the third number.
[0029] In another possible implementation, determining the relevance of each target water conservancy data based on the data bias label, the historically visited water bodies, the associated water bodies of each target water conservancy data, and the key label includes:
[0030] Determine a fourth number of matches between the data bias label and the key label of each target water conservancy data, and determine a first ratio of the fourth number to the data bias label;
[0031] Determining a fifth number of matches between historically visited water bodies and associated water bodies of each target water conservancy data, and determining a second ratio of the fifth number to the historically visited water bodies;
[0032] The relevance of each target water conservancy data is determined based on the first ratio and the second ratio.
[0033] In another possible implementation, determining the title of each target water conservancy data based on the water body to which each target water conservancy data belongs, the key tag, and the data preference tag of the visitor includes:
[0034] Determine the data type of each target water conservancy data, and determine the target key tag, wherein the target key tag includes a tag in the key tag that is consistent with the data bias tag;
[0035] A title for each target water conservancy data is generated based on the water body, data type, and target key tag.
[0036] In another possible implementation, the display priority of each title is determined based on the importance level and the relevance, including:
[0037] Determine a first score for each target water conservancy data based on the importance level, the correlation degree and the respective corresponding coefficients;
[0038] Correcting the first score of each target water conservancy data based on the number of the target key tags to obtain a second score;
[0039] A display priority of each title is determined based on the second score.
[0040] In another possible implementation, the method further includes:
[0041] Generate a link between each title in the catalog and the corresponding target water conservancy data;
[0042] When it is detected that the visitor triggers any link, the information source of the target water conservancy data corresponding to the link is jumped to.
[0043] In the second aspect, the present application provides a water conservancy data sharing system, which adopts the following technical solutions:
[0044] A water conservancy data sharing system, comprising:
[0045] A first determination module is used to obtain the visitor's historical access data and search data, and determine the visitor's data bias label and the visitor's current search water body and historical visit water body based on the historical access data and search data;
[0046] The second determination module is used to obtain the water conservancy data newly uploaded by the visitor after the visitor's most recent visit, and determine the water body and key tags of each water conservancy data from each water conservancy data;
[0047] A third determination module is used to determine the associated water body and the affected area of the water body to which each target water conservancy data belongs when there are at least two target water conservancy data, wherein the target water conservancy data is the water conservancy data required by the visitor whose search water body is consistent with the belonging water body;
[0048] A level determination module, used to determine the importance level of each target water conservancy data based on the associated water body, the affected area and the key tags;
[0049] A relevance determination module, used to determine the relevance of each target water conservancy data based on the data bias label, the historically visited water body, the associated water body of each target water conservancy data, and the key label;
[0050] A title determination module, used to determine the title of each target water conservancy data based on the water body to which each target water conservancy data belongs, a key tag, and a data preference tag of the visitor;
[0051] A priority determination module, used to determine the display priority of each title based on the importance level and relevance;
[0052] A control display module is used to form a directory of all target water conservancy data based on the display priority and title, and control the display of the directory.
[0053] By adopting the above technical scheme, the first determination module obtains the visitor's historical access data and search data to facilitate the determination of the visitor's data preference label, historically visited water bodies and current searched water bodies. The second determination module obtains the newly uploaded water conservancy data after the visitor's most recent visit, and determines the water body and key tags to which the new water conservancy data belongs, so as to facilitate the screening of target water conservancy data whose water body is consistent with the searched water body. If there are at least two target water conservancy data, it means that it is necessary to analyze the relationship between multiple target water conservancy data and the visitor. Then the third determination module determines the associated water body and the affected area of the water body to which each target water conservancy data belongs. The associated water body, the affected area and the key tags are all key factors affecting the importance of the target water conservancy data. Therefore, the level determination module can accurately determine the importance level of each target water conservancy data based on the comprehensive judgment of the above three. The data preference label, the historically visited water body and each target water conservancy data The associated water bodies and key tags of water conservancy data are important factors affecting the degree of association between the target water conservancy data and the visitor. Therefore, the association determination module can accurately determine the association of each target water conservancy data based on the comprehensive judgment of the above four factors, and determine the title of each target water conservancy data according to the water body, key tags, and data preference tags of the visitor, that is, the title determination module redetermines the title according to some associated data, and the visitor can quickly determine whether the target water conservancy data is the water conservancy data he needs based on the regenerated title. The priority determination module then comprehensively determines the display priority of each target water conservancy data based on the importance and association, and controls the display module to generate a directory based on the display priority and title, and finally displays the directory, so that the visitor can see the title that is more associated with the visitor first according to the directory, that is, it can enable the visitor to quickly retrieve the water conservancy data he needs and is related to him, thereby improving the retrieval efficiency.
[0054] In another possible implementation, when determining the associated water body of the water body to which each target water conservancy data belongs, the third determination module is specifically used to:
[0055] Acquire access records of target visitors, where the target visitors are visitors who have visited the target water conservancy data, and the access records include access time corresponding to the visited water conservancy data;
[0056] Determining, from the access records, the associated water conservancy data accessed by each target visitor within a preset time period after accessing the target water conservancy data;
[0057] Determine a candidate associated water body corresponding to the associated water conservancy data;
[0058] Determine the number of visits of each candidate associated water body in the associated water resources data of all target visitors;
[0059] Determine a preset number of first candidate associated water bodies with the greatest number of visits;
[0060] Acquire a reference associated water body of the water body, and select a second candidate associated water body different from the reference associated water body from the first candidate associated water body;
[0061] Calculating the distance information between each second candidate associated water body and each reference associated water body;
[0062] If there is a third candidate associated water body whose distance information is less than a preset distance threshold in the distance information of the second candidate associated water body, the third candidate associated water body and the reference associated water body are determined as the associated water bodies.
[0063] In another possible implementation, when determining the importance level of each target water conservancy data based on the associated water body, the affected area, and the key tag, the level determination module is specifically used to:
[0064] determining a first quantity of associated water bodies and determining the area of the impact zone;
[0065] Find the second quantity of water conservancy data of each associated water body and the number of visits to the water conservancy data of each associated water body;
[0066] determining an importance level of each associated water body based on the second quantity and the number of visits;
[0067] A third number of key tags is determined, and an importance level of each target water conservancy data is determined based on the first number, the area, the importance level of each associated water body, and the third number.
[0068] In another possible implementation, when the relevance determination module determines the relevance of each target water conservancy data based on the data bias label, the historically visited water body, the associated water body of each target water conservancy data, and the key label, it is specifically used to:
[0069] Determine a third number of matches between the data bias label and the key label of each target water conservancy data, and determine a first ratio of the third number to the data bias label;
[0070] Determining a fourth number of historically visited water bodies that are consistent with the associated water bodies of each target water conservancy data, and determining a second ratio of the fourth number to the historically visited water bodies;
[0071] The relevance of each target water conservancy data is determined based on the first ratio and the second ratio.
[0072] In another possible implementation, when the title determination module determines the title of each target water conservancy data based on the water body to which each target water conservancy data belongs, the key tag, and the data preference tag of the visitor, it is specifically used to:
[0073] Determine the data type of each target water conservancy data, and determine the target key tag, wherein the target key tag includes a tag in the key tag that is consistent with the data bias tag;
[0074] A title for each target water conservancy data is generated based on the water body, data type, and target key tag.
[0075] In another possible implementation, when the priority determination module determines the display priority of each title based on the importance level and the relevance, it is specifically used to:
[0076] Determine a first score for each target water conservancy data based on the importance level, the correlation degree and the respective corresponding coefficients;
[0077] Correcting the first score of each target water conservancy data based on the number of the target key tags to obtain a second score;
[0078] A priority is determined for each title based on the second score.
[0079] In another possible implementation, the system further includes:
[0080] A generation module, used for generating a link between each title in the directory and the corresponding target water conservancy data;
[0081] The jump module is used to jump to the information source of the target water conservancy data corresponding to any link when it is detected that the visitor triggers any link.
[0082] In a third aspect, the present application provides an electronic device, which adopts the following technical solution:
[0083] An electronic device, comprising:
[0084] at least one processor;
[0085] Memory;
[0086] At least one application, wherein at least one application is stored in a memory and configured to be executed by at least one processor, and at least one is configured to: execute a water conservancy data sharing method shown in any possible implementation of the first aspect.
[0087] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0088] A computer-readable storage medium, when the computer program is executed in a computer, enables the computer to execute a water conservancy data sharing method as described in any one of the first aspects.
[0089] In summary, the present application includes at least one of the following beneficial technical effects:
[0090] Obtaining the visitor's historical access data and search data facilitates determining the visitor's data preference label, historically visited water bodies and current searched water bodies, obtaining the newly uploaded water conservancy data after the visitor's most recent visit, and determining the water body and key labels to which the new water conservancy data belongs, so as to facilitate screening out the target water conservancy data whose water body is consistent with the searched water body. If there are at least two target water conservancy data, it means that it is necessary to analyze the relationship between multiple target water conservancy data and the visitor, then determine the associated water body and the affected area of the water body to which each target water conservancy data belongs. The associated water body, the affected area and the key labels are all key factors affecting the importance of the target water conservancy data. Therefore, the comprehensive judgment based on the above three can accurately determine the importance level of each target water conservancy data. The data preference label, historically visited water body, and the key labels of each target water conservancy data Both the associated water bodies and key tags are important factors that affect the degree of association between the target water conservancy data and the visitor. Therefore, the comprehensive judgment based on the above four factors can accurately determine the association degree of each target water conservancy data, and determine the title of each target water conservancy data according to the water body, key tags, and data bias tags of the visitor, that is, redetermine the title according to some associated data, and the visitor can quickly determine whether the target water conservancy data is the water conservancy data they need based on the regenerated title, and then comprehensively determine the display priority of each target water conservancy data based on the importance and association, and generate a directory based on the display priority and title, and finally display the directory, so that the visitor can see the title that is more associated with the visitor first according to the directory, that is, the visitor can quickly retrieve the water conservancy data they need and that is related to them, thereby improving the retrieval efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] Figure 1 It is a flow chart of a water conservancy data sharing method according to an embodiment of the present application.
[0092] Figure 2 It is a structural diagram of a water conservancy data sharing system in an embodiment of the present application.
[0093] Figure 3 It is a structural schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0094] The present application is further described in detail below in conjunction with the accompanying drawings.
[0095] After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed, but such modifications are protected by patent law as long as they are within the scope of the claims of this application.
[0096] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0097] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0098] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0099] The embodiment of the present application provides a water conservancy data sharing method, which is executed by an electronic device, which can be a server or a terminal device, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and the embodiment of the present application does not limit this. Figure 1 As shown, the method includes step S101, step S102, step S103, step S104, step S105, step S106, step S107 and step S108, wherein:
[0100] S101, obtaining the visitor's historical access data and search data, and determining the visitor's data preference label and the visitor's current search water body and historical access water body based on the historical access data and search data.
[0101] For the embodiment of the present application, the uploading and publishing of water conservancy data is usually on a specific website or APP. When a visitor browses and accesses water conservancy data through a browser or APP, the browser or APP collects the visitor's access data and retrieval data and stores them in the cloud server. When it is detected that a visitor logs into a website or APP, it means that the visitor may be about to retrieve and browse water conservancy data. At this time, the electronic device obtains the visitor's historical access data and the retrieval data entered in the input box from the cloud server.
[0102] The historical access data includes the water conservancy data and historical search data browsed by the visitor in history. The electronic device can obtain the label of the historical water conservancy data, and then perform word segmentation on the historical search data, such as using a special word segmenter or word segmentation plug-in to split the historical search data into individual words. Then, the labels in the historical water conservancy data and the individual words in the historical search data are screened in combination with the minimum threshold of the number of occurrences of each label and word, so as to obtain the visitor's data bias label. Alternatively, a word segmenter or word segmentation plug-in is used to perform word segmentation on the full text of the historical water conservancy data and the historical search data, and then the minimum threshold of the number of occurrences is used to filter to obtain the visitor's data bias label. The electronic device performs semantic analysis on the historical water conservancy data and the historical search data to determine the visitor's historical visit to the water body.
[0103] The electronic device performs semantic analysis or word segmentation processing on the search data currently input by the visitor to obtain the search water body required by the visitor. The water body includes rivers, lakes, reservoirs and groundwater.
[0104] S102, obtaining the newly uploaded water conservancy data after the visitor's most recent visit, and determining the water body and key tags to which each water conservancy data belongs from each water conservancy data.
[0105] For the embodiment of the present application, the cloud server stores the visitor's access time at the same time, and the electronic device determines the most recent access time from the visitor's historical access data, and uses the most recent access time and the current time as the time interval to obtain the newly uploaded water conservancy data within this time interval. Since different water conservancy data belong to different management units or departments, different water conservancy data correspond to different upload systems or websites. The electronic device is connected to each water conservancy data upload system or website through an API interface to obtain the newly uploaded water conservancy data.
[0106] After the electronic device determines the newly uploaded water conservancy data, it can perform word segmentation and semantic processing on the water conservancy data to obtain the key tags in each water conservancy data. The electronic device can determine the water body from the title of the water conservancy data, or obtain the water body through semantic recognition. The key tags can also be set by the publisher of the water conservancy data before publishing, and then published together with the water conservancy data, so that the electronic device can obtain the key tags of each water conservancy data.
[0107] S103: If there are at least two target water conservancy data, determine the associated water body and the affected area of the water body to which each target water conservancy data belongs.
[0108] Among them, the target water conservancy data is the water conservancy data required by the visitor who retrieves the water body that is consistent with the water body to which it belongs.
[0109] In the embodiment of the present application, the electronic device matches the water body to which the newly uploaded water conservancy data belongs and the water body to be searched by the visitor, thereby determining whether there is water conservancy data that is consistent with the visitor's needs, that is, the target water conservancy data. If the target water conservancy data does not exist, the electronic device outputs a prompt message such as "new water conservancy data has not been updated yet". If there is a target water conservancy data, the electronic device directly controls the display of the target water conservancy data.
[0110] Since there is a certain correlation between water bodies, such as the main stream and tributaries, upstream and downstream of a river, and the inflow and outflow relationship between rivers and lakes, the electronic device determines the associated water body of each target water conservancy data. Similarly, water bodies correspond to impact areas, such as the river basin area, irrigation area, and disaster-stricken area when floods occur. The impact area of each water body is determined by relevant people based on actual investigations and scientific research and stored in the electronic device. Therefore, the electronic device determines the associated water bodies and impact areas, which facilitates the subsequent analysis of the importance and display order of each target water conservancy data.
[0111] S104, determining the importance level of each target water conservancy data based on the associated water body, the affected area and the key tags.
[0112] For the embodiment of the present application, the number of associated water bodies and other characteristics, the size of the impact area and other characteristics, and the key tags are all key factors affecting the importance level of each target water conservancy data. Therefore, the electronic device can accurately determine the importance level of each target water conservancy data based on the associated water bodies, the impact area and the key tags.
[0113] S105, determining the relevance of each target water conservancy data based on the data bias label, the historically visited water bodies, the associated water bodies of each target water conservancy data, and the key labels.
[0114] For the embodiments of the present application, the matching degree between the visitor's data bias label and the key label, and the matching degree between the visitor's historically visited water bodies and the associated water bodies are both key factors affecting the correlation between each target water conservancy data and the visitor. Therefore, the electronic device can accurately determine the correlation between each target water conservancy data based on the data bias label, historically visited water bodies, associated water bodies and key labels.
[0115] S106, determining the title of each target water conservancy data based on the water body to which each target water conservancy data belongs, the key tag, and the data preference tag of the visitor.
[0116] For the embodiment of the present application, after the electronic device determines the water body, key tags and data preference tags of each target water conservancy data, it re-determines the title of each target water conservancy data based on the above data, thereby facilitating the visitor to judge whether it is the water conservancy data he needs based on the title.
[0117] S107, determining the display priority of each title based on the importance level and the relevance.
[0118] For the embodiment of the present application, after the electronic device determines the importance level and the degree of association, both the importance level and the degree of association are key factors affecting the display priority of the target water conservancy data. Therefore, the electronic device comprehensively determines the display priority of each title based on the importance level and the degree of association, that is, the display priority is determined based on the relationship between the visitor and the target water conservancy data so that when the titles of all water conservancy data are displayed subsequently, the visitor can browse the strongly related target water conservancy data first.
[0119] S108, forming a directory of all target water conservancy data based on display priority and title, and controlling the display of the directory.
[0120] For the embodiment of the present application, the electronic device generates a directory about the target water conservancy data according to the display priority and title, and improves the visitor's retrieval and access experience according to the relationship between the visitor and the target water conservancy data, thereby improving the visitor's retrieval efficiency. After the electronic device determines the directory, it controls the visitor's terminal device to display the directory on the website or APP, thereby facilitating the visitor's browsing and query. By determining the relationship between each target water conservancy data and the visitor and the strength of the relationship, and then regenerating the title associated with the visitor, determining the display priority of each target water conservancy data, and finally generating and displaying the directory according to the display priority and title, the visitor can quickly retrieve the water conservancy data that he needs and is related to him, thereby improving the efficiency and experience of the visitor's retrieval and access to water conservancy data.
[0121] In a possible implementation of the embodiment of the present application, determining the associated water body of the water body to which each target water conservancy data belongs in step S103 specifically includes step S1031 (not shown in the figure), step S1032 (not shown in the figure), step S1033 (not shown in the figure), step S1034 (not shown in the figure), step S1035 (not shown in the figure), step S1036 (not shown in the figure), step S1037 (not shown in the figure) and step S1038 (not shown in the figure), wherein:
[0122] S1031, obtaining the visit record of the target visitor.
[0123] The target visitor is a visitor who has visited the target water conservancy data, and the access record includes the access time corresponding to the visited water conservancy data.
[0124] For the embodiment of the present application, there may be other visitors who access the target water conservancy data within the time interval from the visitor's most recent visit to the current time. Therefore, the electronic device determines the access record of the target visitor from the cloud server, and the access record of the target visitor facilitates the subsequent determination of the associated water body.
[0125] S1032: Determine, from the access records, the associated water conservancy data accessed by each target visitor within a preset time period after accessing the target water conservancy data.
[0126] For the embodiment of the present application, the water conservancy data that the target visitor accesses immediately after accessing the target water conservancy data, that is, the water body in the associated water conservancy data, may be an associated water body related to the water body of the target water conservancy data, so the electronic device determines the associated water conservancy data of each target visitor within a preset time period after accessing the target water conservancy data. The preset time period can be one hour, half a day, or one day, etc. The shorter the preset time period, the greater the possibility that the water body of the associated water conservancy data accessed belongs to the associated water body, that is, the more related it is to the water body of the target water conservancy data.
[0127] S1033, determining the candidate associated water bodies corresponding to the associated water conservancy data.
[0128] For the embodiment of the present application, the electronic device may use semantic recognition on the title or full text of the associated water conservancy data to determine the water body to which the associated water conservancy data belongs, that is, the associated water body to be selected.
[0129] S1034, determining the number of visits of each candidate associated water body in the associated water resources data of all target visitors.
[0130] For the embodiment of the present application, the electronic device may first determine the number of visits to each candidate associated water body in the associated water conservancy data of each target visitor. For example, if a target visitor has ten associated water conservancy data corresponding to ten different candidate associated water bodies, the number of visits to each candidate associated water body of the target visitor is 1. If the ten associated water conservancy data correspond to three different candidate associated water bodies A, B and C, the number of visits to water body A by the target visitor is 3, the number of visits to water body B is 3, and the number of visits to water body C is 4. After the electronic device determines the number of visits to each candidate associated water body corresponding to each target visitor, it counts and sums the number of visits to the associated water conservancy data of the same candidate associated water body to obtain the number of visits to each candidate associated water body.
[0131] S1035: Determine a preset number of first candidate associated water bodies having the greatest number of visits.
[0132] For the embodiment of the present application, after the electronic device determines the number of visits to each candidate associated water body, it sorts the candidate associated water bodies from high to low according to the number of visits, thereby determining a preset number of first candidate associated water bodies. The more visits, the greater the correlation between the candidate associated water body and the target water conservancy data, and the higher the possibility that it is an associated water body.
[0133] S1036, obtaining a reference associated water body of the water body, and selecting a second candidate associated water body different from the reference associated water body from the first candidate associated water body.
[0134] For the embodiments of the present application, each water body corresponds to a benchmark associated water body, that is, an associated water body that has a certain association relationship with the water body. For example, if the water body to which a target water conservancy data belongs is a river, then the benchmark associated water body of the river includes the upstream, tributaries and downstream water bodies of the river. The benchmark associated water body corresponding to a water body is set in advance by relevant personnel according to actual conditions or scientific research conditions and stored in the cloud server, so that it is convenient for the electronic device to obtain the benchmark associated water body of each target water conservancy data. The first candidate associated water body may be consistent with the benchmark associated water body, so the electronic device selects the second candidate associated water body that is different from the benchmark associated water body in the first candidate associated water body.
[0135] S1037, calculating the distance information between each second candidate associated water body and each reference associated water body.
[0136] For the embodiment of the present application, after the electronic device determines the second candidate associated water body, each second candidate associated water body and each benchmark associated water body can be marked on the preset map. The electronic device can calculate the distance between each second candidate associated water body and each benchmark associated water body. Specifically, if the water body is a river, the geographical location coordinates of the two ends of the river can be used to represent the position of the river. If the water body is a lake or a reservoir, the geographical location coordinates of the center point of the lake or reservoir are used to represent the position. The electronic device can calculate the distance information using the geographical location coordinates of each second candidate associated water body and each benchmark associated water body using the distance formula between two points, or the electronic device inputs the geographical location coordinates of the second candidate associated water body and the location coordinates of each benchmark associated water body into the trained network model for distance calculation, thereby obtaining the distance information. The network model can be a convolutional neural network model or a recurrent neural network model. Or the electronic device stores the distance information from each water body within the country or other range to other water bodies within the range, and the electronic device directly searches according to the second candidate associated water body and the benchmark associated water body.
[0137] S1038: If the distance information of the second candidate associated water body includes a third candidate associated water body whose distance information is less than a preset distance threshold, the third candidate associated water body and the reference associated water body are determined as associated water bodies.
[0138] For the embodiment of the present application, taking a second candidate associated water body A as an example, after the electronic device determines the distance information between water body A and each benchmark associated water body, if there is distance information less than the preset distance threshold, it means that the water body A is close to the benchmark associated water body and can be used as an associated water body. The electronic device judges each second candidate associated water body in the above manner, thereby determining a third candidate associated entity from the second candidate associated water body, and the electronic device determines the third candidate associated entity and the benchmark associated water body as the associated water bodies of the water body. Through the above manner, the benchmark associated water body of the target water conservancy data and the possibly omitted and newly added associated water body, i.e., the third associated water body, can be accurately and conveniently determined, thereby improving the accuracy of determining the associated water body.
[0139] In other embodiments, the electronic device may further calculate the distance between each second candidate associated water body and the water body to which the target water conservancy data belongs, and determine the second candidate associated water bodies whose distances are less than a preset distance threshold and the reference associated water body as associated water bodies.
[0140] In a possible implementation of the embodiment of the present application, in step S104, the importance level of each target water conservancy data is determined based on the associated water body, the affected area and the key tag, specifically including step S1041 (not shown in the figure), step S1042 (not shown in the figure), step S1043 (not shown in the figure) and step S1044 (not shown in the figure), wherein:
[0141] S1041, determining a first number of associated water bodies, and determining an area of an impact region.
[0142] For the embodiment of the present application, after the electronic device determines the associated water bodies of the water body to which the target water conservancy data belongs, it counts and sums the associated water bodies to obtain a first number of associated water bodies. The larger the first number, the more important the water body. After the electronic device determines the impact area of the water body, it marks the outline of the impact area on a preset map, and then calculates the area of the impact area through a surveying and mapping tool plug-in to obtain the area of the impact area. The larger the area of the impact area, the more important the water body.
[0143] S1042, searching for the second quantity of the water conservancy data of each associated water body and the number of visits to the water conservancy data of each associated water body.
[0144] For the embodiment of the present application, after the electronic device determines the associated water body, it searches for all water conservancy data about each associated water body in the database of the water conservancy data website or APP, and counts the water conservancy data of each associated water body to obtain a second number. The more the second number, the more water conservancy data about the associated water body, and the more important the associated water body is. Since there is an influence relationship between the associated water body and the water body to which it belongs, it can be said that the water body to which it belongs is more important. Similarly, the more visits to the water conservancy data of the associated water body, the more important the water body to which it belongs is.
[0145] S1043: Determine the importance level of each associated water body based on the second quantity and the number of visits.
[0146] For the embodiment of the present application, since the second quantity and the number of visits are both related factors that affect the importance of the associated water body, the relevant personnel can set different coefficients for the second quantity and the number of visits in advance and store them in the local storage medium of the electronic device. The electronic device calls the corresponding coefficients to perform weighted calculations on the second quantity and the number of visits to obtain the score of each associated water body. A plurality of preset score intervals are stored in the electronic device, and each preset score interval corresponds to an importance level. The importance level corresponding to each preset score interval is reasonably set by the relevant personnel according to the actual situation. The electronic device determines the preset score interval where the score is located, and determines the importance level corresponding to the preset score interval as the importance level of the associated water body. The higher the importance level of the associated water body, the higher the importance of the corresponding water body. It is more accurate to determine the importance level of the associated water body by determining the second quantity and the number of visits.
[0147] S1044, determining a third quantity of key tags, and determining the importance level of each target water conservancy data based on the first quantity, the area, the importance level of each associated water body, and the third quantity.
[0148] For the embodiment of the present application, the more associated tags there are, the more important the target water conservancy data is. Therefore, the electronic device counts the number of associated tags for each target water conservancy data to obtain the third number. In summary, the first number, area, importance level of each associated water body and the third number are all associated factors that affect the importance of the target water conservancy data. Therefore, the relevant personnel can set the coefficients corresponding to the above factors in advance and store them in the electronic device. The electronic device can determine the average value of the importance level based on the importance level of each associated water body. The importance level of the overall associated water body is more accurate by the average value. The electronic device calls the corresponding coefficients to perform weighted calculation on the first number, area, average value and third number to obtain a score. Similarly, there are multiple preset score intervals stored in the electronic device, each preset score interval corresponds to an importance level, and the importance level corresponding to each preset score interval is reasonably set by the relevant personnel according to the actual situation. The electronic device determines the preset score interval where the score is located, and determines the importance level corresponding to the preset score interval as the importance level of each target water conservancy data. It is more accurate to comprehensively determine the importance level of each target water conservancy data by determining the first number, area and the importance level of the associated water body and other factors.
[0149] A possible implementation of the embodiment of the present application is to determine the relevance of each target water conservancy data based on the data bias label, the historically visited water body, the associated water body of each target water conservancy data, and the key label in step S105, which specifically includes step S1051 (not shown in the figure), step S1052 (not shown in the figure), and step S1053 (not shown in the figure), wherein:
[0150] S1051, determining a fourth number of matches between the data bias label and the key label of each target water conservancy data, and determining a first ratio of the fourth number to the data bias label.
[0151] For the embodiment of the present application, the electronic device performs consistency matching on the visitor's data bias tag and the associated tag of each target water conservancy data, thereby determining the fourth number of data bias tags that are successfully matched, i.e., hit. The larger the fourth number, the more associated the visitor is with the target water conservancy data, and the more the water conservancy data is required by the visitor. The electronic device calculates a first ratio of the fourth number to the total number of data bias tags. The larger the first ratio, the more associated the visitor is with the target water conservancy data, and the more the water conservancy data is required by the visitor.
[0152] S1052, determining a fifth number of historically visited water bodies that are consistent with the associated water bodies of each target water conservancy data, and determining a second ratio of the fifth number to the historically visited water bodies.
[0153] For the embodiment of the present application, the electronic device performs consistency matching on the visitor's historically visited water bodies and the associated water bodies of each target water conservancy data, thereby determining the fifth number of historically visited water bodies that are successfully matched, i.e. hit. The larger the fifth number, the more similar the data relevance of the target water conservancy data is to the visitor's visited water body preference, and the higher the value of the target water conservancy data to the visitor. The electronic device calculates the second ratio of the fifth number to the total number of historically visited water bodies. The larger the second ratio, the more associated the visitor is with the target water conservancy data, the more the water conservancy data is required by the visitor, and the greater the value to the visitor.
[0154] S1053: Determine the correlation degree of each target water conservancy data based on the first ratio and the second ratio.
[0155] For the embodiments of the present application, in summary, the first ratio and the second ratio are both important factors that affect the degree of association of the target water conservancy data to the visitor, and the first ratio and the second ratio have different degrees of influence on the degree of association. Therefore, relevant personnel set different coefficients for the first ratio and the second ratio and store them in the local storage medium of the electronic device. After determining the first ratio and the second ratio, the electronic device calls the coefficient and performs weighted calculation to obtain a score, which can characterize the degree of association. By determining the first ratio about the tag and the second ratio about the historically visited water body, the degree of association is comprehensively and accurately determined through the first ratio and the second ratio.
[0156] In a possible implementation of the embodiment of the present application, in step S106, the title of each target water conservancy data is determined based on the water body, key tag, and data preference tag of each target water conservancy data, specifically including step S1061 (not shown in the figure) and step S1062 (not shown in the figure), wherein:
[0157] S1061, determine the data type of each target water conservancy data and determine the target key tag.
[0158] The target key labels include labels in the key labels that are consistent with the data bias labels.
[0159] For the embodiment of the present application, water conservancy data includes hydrological data, water quality data, water conservancy project data, water resources data, and water ecological data. Hydrological data includes the water level height of different water bodies such as rivers, lakes, and reservoirs, that is, hydrological data, which is crucial for flood control, water resources scheduling, etc. Flow data: such as the flow of rivers, reflects the flow of water bodies and is an important basis for water resources management and water conservancy project planning. Precipitation data: The amount of precipitation directly affects surface runoff and groundwater recharge, which is of great significance to water conservancy planning and flood control and drought relief decisions. Water quality data includes physical indicators: such as water temperature, chromaticity, turbidity, etc., which reflect the appearance and physical properties of water. Chemical indicators: including acidity (pH value), dissolved oxygen, chemical oxygen demand (COD), ammonia nitrogen, heavy metal content, etc., are used to evaluate the chemical properties and pollution degree of water. Biological indicators: such as microbial indicators such as total bacteria and coliform group, as well as the types and quantity of aquatic organisms, can reflect the ecological status of water bodies. Water conservancy project data include project parameters: such as reservoir capacity, dam height, dam length, spillway size, etc., as well as specifications and parameters of water conservancy facilities such as sluices and pumping stations. Operation data: including data on water level changes, flow control, opening and closing status, etc. during the operation of water conservancy projects, which are used to monitor the operation of projects and make scheduling decisions. Water resources data include total water resources: including surface water resources and groundwater resources, which are important indicators for measuring the abundance of water resources in a region. Water resources development and utilization data: such as water consumption, water supply sources, water use structure, etc., are used to evaluate the utilization efficiency and sustainability of water resources. Water ecological data include aquatic biological data: such as the types, quantity and distribution of fish and aquatic plants, reflecting the health of water ecosystems. Wetland data: including wetland area, type, ecological function, etc., are of great significance for protecting the water ecological environment.
[0160] The data type can be the data type set by the uploader when uploading and then obtained by the electronic device, or it can be the data type obtained by semantic analysis of the water conservancy data. After the electronic device determines the visitor's data preference label and the associated label of each target water conservancy data, it screens the two to obtain the target associated label required by the visitor.
[0161] S1062, generating a title for each target water conservancy data based on the water body, data type, and target key tag.
[0162] For the embodiment of the present application, the water body, data type and target key tag of the target water conservancy data carry the most information. The title of the target water conservancy data is regenerated using the water body, data type and target key tag, so that visitors can more quickly determine whether it is the water conservancy data they need based on the title, thereby improving the efficiency of visitors' retrieval and access. It is equivalent to extracting the most critical information of each target water conservancy data that is most relevant to the visitor to generate a title. Specifically, a predetermined format may be stored in the electronic device, and the title can be obtained by mapping the water body, data type and target associated tag to the predetermined format. Alternatively, the water body, data type and target key tag are input into a trained network model for sentence formation to obtain a title.
[0163] In a possible implementation of the embodiment of the present application, the display priority of each title is determined based on the importance level and the relevance in step S107, which specifically includes step S1071 (not shown in the figure), step S1072 (not shown in the figure) and step S1073 (not shown in the figure), wherein:
[0164] S1071, determining a first score for each target water conservancy data based on the importance level, correlation degree and respective corresponding coefficients.
[0165] For the embodiments of the present application, both the importance level and the relevance are important factors that affect the usefulness and the degree of need of a target water conservancy data to a visitor. Relevant personnel can set different coefficients for the importance level and the relevance and store them in an electronic device. The electronic device then performs weighted calculations on the importance level and the relevance according to their respective coefficients to obtain a first score, and the first score is used to characterize the priority of each target water conservancy data.
[0166] S1072, modifying the first score of each target water conservancy data based on the number of target key tags to obtain a second score.
[0167] For the embodiments of the present application, after determining the first score, there may be target water conservancy data with the same first score. The electronic device may correct the first score according to the number of target associated tags for each target water conservancy data. For example, the electronic device stores correction scores corresponding to different numbers of target associated tags. The electronic device sums the first score of each target water conservancy data and the corresponding correction score to obtain a second score, thereby reducing the occurrence of the same first score and making the first score more accurate and distinguishable.
[0168] S1073, determining the display priority of each title based on the second score.
[0169] For the embodiment of the present application, after the electronic device determines the second score, it sorts the titles in descending order according to the second score, and the sorting result is the display priority of each title. The first score is determined to be more accurate through the importance level and the relevance, and the first score is corrected to obtain the second score, so that the second score is more accurate and more recognizable, reducing the occurrence of the same first score, and the display priority is determined to be more accurate.
[0170] In a possible implementation manner of the embodiment of the present application, the method further includes step S109 (not shown in the figure) and step S110 (not shown in the figure), wherein:
[0171] S109, generating a link between each title in the directory and the corresponding target water conservancy data.
[0172] S110, when it is detected that a visitor triggers any link, jump to the information source of the target water conservancy data corresponding to any link.
[0173] For the embodiment of the present application, after the electronic device generates the directory, a link to the target water conservancy data is generated at the position of each title in the directory. When the electronic device detects that the user triggers any link, such as detecting a click of the mouse or a touch screen at a certain title position, the electronic device jumps to the corresponding information source of the target water conservancy data according to the link, such as the publishing website or publishing system of the target water conservancy data, so that visitors can search and access more quickly and efficiently.
[0174] The above embodiment introduces a water conservancy data sharing method from the perspective of method flow, and the following embodiment introduces a water conservancy data sharing system from the perspective of a virtual module or a virtual unit. Please refer to the following embodiment for details.
[0175] The present application embodiment provides a water conservancy data sharing system 20, such as Figure 2 As shown, the water conservancy data sharing system 20 may specifically include:
[0176] The first determination module 201 is used to obtain the visitor's historical access data and search data, and determine the visitor's data bias label and the visitor's current search water body and historical visit water body based on the historical access data and search data;
[0177] The second determination module 202 is used to obtain the water conservancy data newly uploaded by the visitor after the visitor's most recent visit, and determine the water body and key tags of each water conservancy data from each water conservancy data;
[0178] The third determination module 203 is used to determine the associated water body and the affected area of the water body to which each target water data belongs when there are at least two target water data, and the target water data is the water data required by the visitor who searches for water bodies that are consistent with the water bodies to which they belong;
[0179] A level determination module 204 is used to determine the importance level of each target water conservancy data based on the associated water body, the impact area and the key tags;
[0180] A relevance determination module 205 is used to determine the relevance of each target water conservancy data based on the data bias label, the historically visited water body, the associated water body of each target water conservancy data, and the key label;
[0181] A title determination module 206, for determining the title of each target water conservancy data based on the water body to which each target water conservancy data belongs, key tags, and data preference tags of visitors;
[0182] A priority determination module 207, for determining the display priority of each title based on the importance level and relevance;
[0183] The control display module 208 is used to form a directory of all target water conservancy data based on display priority and title, and control the display of the directory.
[0184] The embodiment of the present application discloses a water conservancy data sharing system 20, wherein the first determination module 201 obtains the visitor's historical access data and search data to facilitate the determination of the visitor's data preference label, historically visited water bodies and currently searched water bodies; the second determination module 202 obtains the newly uploaded water conservancy data after the visitor's most recent visit, and determines the water body and key labels to which the new water conservancy data belongs, so as to facilitate the screening of target water conservancy data whose water body is consistent with the searched water body; if there are at least two target water conservancy data, it means that the relationship between multiple target water conservancy data and the visitor needs to be analyzed, then the third determination module 203 determines the associated water body and the affected area of the water body to which each target water conservancy data belongs; the associated water body, the affected area and the key labels are all key factors affecting the importance of the target water conservancy data; therefore, the level determination module 204 can accurately determine the importance level of each target water conservancy data based on the comprehensive judgment of the above three, the data preference label, the historically visited water body and the currently searched water body. The body, the associated water body of each target water conservancy data and the key tags are all important factors affecting the degree of association between the target water conservancy data and the visitor. Therefore, the association determination module 205 can accurately determine the association of each target water conservancy data based on the comprehensive judgment of the above four factors, and determine the title of each target water conservancy data according to the corresponding water body, key tags and the data preference tag of the visitor, that is, the title determination module 206 redetermines the title according to some associated data, and the visitor can quickly determine whether the target water conservancy data is the water conservancy data he needs based on the regenerated title. The priority determination module 207 then comprehensively determines the display priority of each target water conservancy data based on the importance and association, and controls the display module 208 to generate a directory based on the display priority and the title, and finally displays the directory, so that the visitor can see the title that is more associated with the visitor first according to the directory, that is, the visitor can quickly retrieve the water conservancy data he needs and is related to him, thereby improving the retrieval efficiency.
[0185] In a possible implementation of the embodiment of the present application, when determining the associated water body of the water body to which each target water conservancy data belongs, the third determination module 203 is specifically used to:
[0186] Obtaining the access record of the target visitor, the target visitor is a visitor who has visited the target water conservancy data, and the access record includes the access time corresponding to the visited water conservancy data;
[0187] Determine from the access records the associated water conservancy data accessed by each target visitor within a preset time period after accessing the target water conservancy data;
[0188] Determine the candidate associated water bodies corresponding to the associated water conservancy data;
[0189] Determine the number of visits of each candidate associated water body in the associated water resources data of all target visitors;
[0190] Determine a preset number of first candidate associated water bodies with the greatest number of visits;
[0191] Acquire a reference associated water body of the water body, and select a second candidate associated water body different from the reference associated water body from the first candidate associated water body;
[0192] Calculating the distance information between each second candidate associated water body and each reference associated water body;
[0193] If there is a third candidate associated water body whose distance information is less than a preset distance threshold in the distance information of the second candidate associated water body, the third candidate associated water body and the reference associated water body are determined as associated water bodies.
[0194] In a possible implementation of the embodiment of the present application, when the level determination module 204 determines the importance level of each target water conservancy data based on the associated water body, the affected area and the key tag, it is specifically used to:
[0195] determining a first quantity of associated water bodies and determining the area of the impact zone;
[0196] Find the second quantity of water conservancy data of each associated water body and the number of visits to the water conservancy data of each associated water body;
[0197] determining an importance level for each associated water body based on the second quantity and the number of visits;
[0198] A third quantity of key tags is determined, and an importance level of each target water conservancy data is determined based on the first quantity, the area, the importance level of each associated water body, and the third quantity.
[0199] In a possible implementation of the embodiment of the present application, the relevance determination module 205 is specifically used to determine the relevance of each target water conservancy data based on the data bias label, the historically visited water body, the associated water body of each target water conservancy data, and the key label:
[0200] Determine a fourth number of matches between the data bias label and the key label of each target water conservancy data, and determine a first ratio of the fourth number to the data bias label;
[0201] determining a fifth quantity of matches between the historically visited water bodies and the associated water bodies of each target water conservancy data, and determining a second ratio of the fifth quantity to the historically visited water bodies;
[0202] The relevance of each target water conservancy data is determined based on the first ratio and the second ratio.
[0203] In a possible implementation of the embodiment of the present application, the title determination module 206 is specifically used to:
[0204] Determine the data type of each target water conservancy data, determine the target key label, and the target key label includes the label in the key label that is consistent with the data bias label;
[0205] Generate a title for each target water conservancy data based on the water body, data type, and target key tags.
[0206] In a possible implementation of the embodiment of the present application, when the priority determination module 207 determines the display priority of each title based on the importance level and the relevance, it is specifically used to:
[0207] Determine a first score for each target water conservancy data based on the importance level, the relevance, and the respective corresponding coefficients;
[0208] The first score of each target water conservancy data is modified based on the number of target key tags to obtain a second score;
[0209] A display priority of each title is determined based on the second score.
[0210] In a possible implementation of the embodiment of the present application, the system 20 further includes:
[0211] A generation module, used for generating a link between each title in the directory and the corresponding target water conservancy data;
[0212] The jump module is used to jump to the information source of the target water conservancy data corresponding to any link when it is detected that a visitor triggers any link.
[0213] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the water conservancy data sharing system 20 described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0214] An electronic device is provided in an embodiment of the present application, such as Figure 3 As shown, Figure 3 The electronic device 30 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 30 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 30 does not constitute a limitation on the embodiments of the present application.
[0215] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0216] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but it does not mean that there is only one bus or only one type of bus.
[0217] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0218] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.
[0219] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 3 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0220] The embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding contents in the aforementioned method embodiment. Compared with the related art, in the embodiment of the present application, the visitor's historical access data and retrieval data are obtained to facilitate the determination of the visitor's data preference label, historically visited water bodies and current searched water bodies, obtain the newly uploaded water conservancy data after the visitor's most recent visit, and determine the water body and key labels to which the new water conservancy data belongs, so as to facilitate the screening of target water conservancy data whose water bodies are consistent with the searched water bodies. If there are at least two target water conservancy data, it means that the relationship between multiple target water conservancy data and the visitor needs to be analyzed, then the associated water bodies and the affected areas of the water bodies to which each target water conservancy data belongs are determined. The associated water bodies, the affected areas and the key labels are all key factors affecting the importance of the target water conservancy data. Therefore, the comprehensive judgment based on the above three can accurately determine the importance level of each target water conservancy data. The data preference labels, historically visited water bodies, and each The associated water bodies and key tags of the target water conservancy data are important factors that affect the degree of association between the target water conservancy data and the visitor. Therefore, the comprehensive judgment based on the above four factors can accurately determine the association degree of each target water conservancy data, and determine the title of each target water conservancy data according to its water body, key tags, and visitor's data preference tags, that is, redetermine the title according to some associated data, and the visitor can quickly determine whether the target water conservancy data is the water conservancy data they need based on the regenerated title, and then comprehensively determine the display priority of each target water conservancy data based on the importance and association, and generate a directory based on the display priority and title, and finally display the directory, so that the visitor can see the title that is more associated with the visitor first according to the directory, that is, the visitor can quickly retrieve the water conservancy data they need and that is relevant to them, thereby improving the retrieval efficiency.
[0221] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0222] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A water conservancy data sharing method, characterized in that: include: Acquire the visitor's historical access data and search data, and determine the visitor's data bias label and the visitor's current search water body and historical access water body based on the historical access data and search data; Acquire the newly uploaded water conservancy data after the visitor's most recent visit, and determine the water body and key tags of each water conservancy data; If there are at least two target water conservancy data, then determine the associated water body and the affected area of the water body to which each target water conservancy data belongs, the target water conservancy data being the water conservancy data required by the visitor whose search water body is consistent with the belonging water body; Determine the importance level of each target water conservancy data based on the associated water body, impact area and key tags; Determine the relevance of each target water conservancy data based on the data bias label, the historically visited water bodies, the associated water bodies of each target water conservancy data, and the key labels; Determine the title of each target water conservancy data based on the water body to which each target water conservancy data belongs, the key tag, and the data preference tag of the visitor; Determine the display priority of each title based on the importance level and relevance; A directory of all target water conservancy data is formed based on the display priority and title, and the display of the directory is controlled.
2. A water conservancy data sharing method according to claim 1, characterized in that: Determining the associated water body of the water body to which each target water conservancy data belongs includes: Acquire access records of target visitors, where the target visitors are visitors who have visited the target water conservancy data, and the access records include access time corresponding to the visited water conservancy data; Determining, from the access records, the associated water conservancy data accessed by each target visitor within a preset time period after accessing the target water conservancy data; Determine a candidate associated water body corresponding to the associated water conservancy data; Determine the number of visits of each candidate associated water body in the associated water resources data of all target visitors; Determine a preset number of first candidate associated water bodies with the greatest number of visits; Acquire a reference associated water body of the water body, and select a second candidate associated water body different from the reference associated water body from the first candidate associated water body; Calculating the distance information between each second candidate associated water body and each reference associated water body; If there is a third candidate associated water body whose distance information is less than a preset distance threshold in the distance information of the second candidate associated water body, the third candidate associated water body and the reference associated water body are determined as the associated water bodies.
3. A water conservancy data sharing method according to claim 1, characterized in that: The determining of the importance level of each target water conservancy data based on the associated water body, the affected area and the key tag includes: determining a first quantity of associated water bodies and determining the area of the impact zone; Find the second quantity of water conservancy data of each associated water body and the number of visits to the water conservancy data of each associated water body; determining an importance level of each associated water body based on the second quantity and the number of visits; A third number of key tags is determined, and an importance level of each target water conservancy data is determined based on the first number, the area, the importance level of each associated water body, and the third number.
4. A water conservancy data sharing method according to claim 1, characterized in that: The determining of the relevance of each target water conservancy data based on the data bias label, the historically visited water bodies, the associated water bodies of each target water conservancy data, and the key label includes: Determine a fourth number of matches between the data bias label and the key label of each target water conservancy data, and determine a first ratio of the fourth number to the data bias label; Determining a fifth number of matches between historically visited water bodies and associated water bodies of each target water conservancy data, and determining a second ratio of the fifth number to the historically visited water bodies; The relevance of each target water conservancy data is determined based on the first ratio and the second ratio.
5. A water conservancy data sharing method according to claim 1, characterized in that: The determining the title of each target water conservancy data based on the water body to which each target water conservancy data belongs, the key tag, and the data preference tag of the visitor includes: Determine the data type of each target water conservancy data, and determine the target key tag, wherein the target key tag includes a tag in the key tag that is consistent with the data bias tag; A title for each target water conservancy data is generated based on the water body, data type, and target key tag.
6. A water conservancy data sharing method according to claim 5, characterized in that: The display priority of each title is determined based on the importance level and relevance, including: Determine a first score for each target water conservancy data based on the importance level, the correlation degree and the respective corresponding coefficients; Correcting the first score of each target water conservancy data based on the number of the target key tags to obtain a second score; A display priority of each title is determined based on the second score.
7. A water conservancy data sharing method according to claim 1, characterized in that: The method further comprises: Generate a link between each title in the catalog and the corresponding target water conservancy data; When it is detected that the visitor triggers any link, the information source of the target water conservancy data corresponding to the link is jumped to.
8. A water conservancy data sharing system, characterized in that: include: A first determination module is used to obtain the visitor's historical access data and search data, and determine the visitor's data bias label and the visitor's current search water body and historical visit water body based on the historical access data and search data; The second determination module is used to obtain the water conservancy data newly uploaded by the visitor after the visitor's most recent visit, and determine the water body and key tags of each water conservancy data from each water conservancy data; A third determination module is used to determine the associated water body and the affected area of the water body to which each target water conservancy data belongs when there are at least two target water conservancy data, wherein the target water conservancy data is the water conservancy data required by the visitor whose search water body is consistent with the belonging water body; A level determination module, used to determine the importance level of each target water conservancy data based on the associated water body, the affected area and the key tags; A relevance determination module, used to determine the relevance of each target water conservancy data based on the data bias label, the historically visited water body, the associated water body of each target water conservancy data, and the key label; A title determination module, used to determine the title of each target water conservancy data based on the water body to which each target water conservancy data belongs, a key tag, and a data preference tag of the visitor; A priority determination module, used to determine the display priority of each title based on the importance level and relevance; A control display module is used to form a directory of all target water conservancy data based on the display priority and title, and control the display of the directory.
9. An electronic device, characterized in that: It includes: at least one processor; Memory; At least one application, wherein the at least one application is stored in the memory and is configured to be executed by the at least one processor, and the at least one application is used to execute a water conservancy data sharing method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed in a computer, the computer is caused to execute a water conservancy data sharing method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Data retrieval recommendation method and device, storage medium and equipment
CN116561434A
Log data processing method and device, electronic equipment and storage medium
CN117194327A