CN112417065A - Information searching method and device - Google Patents

Information searching method and device Download PDF

Info

Publication number
CN112417065A
CN112417065A CN201910785795.4A CN201910785795A CN112417065A CN 112417065 A CN112417065 A CN 112417065A CN 201910785795 A CN201910785795 A CN 201910785795A CN 112417065 A CN112417065 A CN 112417065A
Authority
CN
China
Prior art keywords
search
oilfield
map
map page
oil field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910785795.4A
Other languages
Chinese (zh)
Inventor
杨文�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201910785795.4A priority Critical patent/CN112417065A/en
Publication of CN112417065A publication Critical patent/CN112417065A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Mining

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Animal Husbandry (AREA)
  • Human Resources & Organizations (AREA)
  • Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Mining & Mineral Resources (AREA)
  • Agronomy & Crop Science (AREA)
  • Strategic Management (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Primary Health Care (AREA)

Abstract

The application discloses an information searching method, and particularly relates to a terminal device which can receive a searching instruction triggered on a display layer outside a first oil field map page displayed on the terminal device and acquire a searching keyword input on the first oil field map page based on the searching instruction. And then, the terminal equipment determines position coordinates corresponding to the search keywords according to the layer information of the oil field map, and displays prompt information at the position coordinates in a second oil field map page, wherein the second oil field page comprises the layer information corresponding to the position coordinates. The user can determine that the layer information corresponding to the search keyword is located at a specific position in the second oilfield map page according to the prompt information, and further check the layer information corresponding to the search keyword according to the prompt information. Therefore, by the aid of the scheme, efficiency of a user in checking the layer information corresponding to the search keywords is improved.

Description

Information searching method and device
Technical Field
The application relates to the field of oil field maps, in particular to an information searching method and device.
Background
Before oil is exploited, the map layer of the oil field may first be analyzed to determine a corresponding exploitation scheme.
At present, ArcGis can be used for converting map layer data of an oil field into a visual oil field map. The user can drag, enlarge, shrink and the like aiming at the oil field map, and view the layer information of the oil field on the map.
However, because there are many pieces of layer information displayed on the oil field map, for example, a large number of oil field layer information are displayed together, a user searches for the layer information of the oil field to be queried by performing operations such as dragging, zooming, and zooming on the oil field map, and thus efficiency is low.
Disclosure of Invention
The technical problem to be solved by the application is that in the traditional technology, a user performs operations such as dragging, amplifying and reducing on an oil field map to search for the layer information of an oil field to be inquired, the efficiency is low, and an information searching method and device are provided.
In a first aspect, an embodiment of the present application provides an information search method, where the method includes:
receiving a search instruction triggered by a user on a display layer outside a first oilfield map page displayed on terminal equipment; the first oil field map page comprises layer information of an oil field map;
based on the search instruction, obtaining a search keyword input on a display layer outside the first oilfield map page;
determining position coordinates corresponding to the search keywords according to the layer information of the oil field map;
and displaying prompt information at the position coordinate in a second oilfield map page displayed on the terminal equipment, wherein the second oilfield page comprises layer information corresponding to the position coordinate.
Optionally, the determining the position coordinate corresponding to the search keyword according to the layer information of the oil field map includes:
initializing a search task by using findtask objects provided by ArcGIS and using the layer information of the oil field map as parameters; initializing a search parameter object by utilizing a findParameters object provided by ArcGis;
processing the search key words by using the search parameter object to obtain corresponding search parameters;
and taking the search parameters as the parameters of the search task to obtain the position coordinates corresponding to the search keywords output by the search task.
Optionally, if the first oilfield map page does not include the layer information corresponding to the position coordinate, the displaying of the prompt information at the position coordinate in the second oilfield map page includes:
skipping the central point of the first oilfield map page to a target position to obtain a second oilfield map page; the target position is determined according to the position coordinate corresponding to the search keyword;
displaying a prompt at the location coordinate in the second oilfield map page.
Optionally, jumping the central point of the first oilfield map page to a target location includes:
jumping the central point of the first oil field map page to the target position by a centragrat method of the map object provided by ArcGis; the map object is used for displaying an oil field map page on the terminal equipment by utilizing ArcGis and the layer information of the oil field map, and the oil field map page at least comprises the first oil field map page and the second oil field map page;
alternatively to this, the first and second parts may,
and if the first oilfield map page comprises the layer information corresponding to the position coordinates, the second oilfield map page is the same as the first oilfield map page.
Optionally, the displaying a prompt at the location coordinate in the second oilfield map page includes:
initializing a picture object through a PictureMeakerSymbol object provided by ArcGis; and initializing a drawing layer object through a graphic layer object provided by ArcGis;
taking the picture object as a parameter of the drawing layer object, and adding a picture in a drawing layer;
adding the picture-added drawing layer to the second oilfield map page at the location coordinates.
Optionally, the central point of the second oilfield map page corresponds to the position coordinate corresponding to the search keyword.
Optionally, the method further includes:
and amplifying the map level of the second oilfield map page, and displaying the second oilfield map page after the map level is amplified.
Optionally, the enlarging the map hierarchy of the second oilfield map page includes:
and amplifying the map hierarchy of the second oilfield map page through a setScale function of the map object provided by ArcGis.
In a second aspect, an embodiment of the present application provides an information search apparatus, where the apparatus includes:
the receiving unit is used for receiving a search instruction triggered by a user on a display layer outside a first oilfield map page displayed on the terminal equipment; the first oil field map page comprises layer information of an oil field map;
the acquisition unit is used for acquiring search keywords input on a display layer outside the first oilfield map page based on the search instruction;
the determining unit is used for determining position coordinates corresponding to the search keywords according to the layer information of the oil field map;
and the display unit is used for displaying prompt information at the position coordinate in a second oilfield map page displayed on the terminal equipment, and the second oilfield page comprises layer information corresponding to the position coordinate.
Optionally, the determining unit is specifically configured to:
initializing a search task by using findtask objects provided by ArcGIS and using the layer information of the oil field map as parameters; initializing a search parameter object by utilizing a findParameters object provided by ArcGis;
processing the search key words by using the search parameter object to obtain corresponding search parameters;
and taking the search parameters as the parameters of the search task to obtain the position coordinates corresponding to the search keywords output by the search task.
Optionally, if the first oilfield map page does not include the layer information corresponding to the position coordinate, the display unit is specifically configured to:
skipping the central point of the first oilfield map page to a target position to obtain a second oilfield map page; the target position is determined according to the position coordinate corresponding to the search keyword;
displaying a prompt at the location coordinate in the second oilfield map page.
Optionally, jumping the central point of the first oilfield map page to a target location includes:
jumping the central point of the first oilfield map page to the target position through a centragrat device of the map object provided by ArcGis; the map object is used for displaying an oil field map page on the terminal equipment by utilizing ArcGis and the layer information of the oil field map, and the oil field map page at least comprises the first oil field map page and the second oil field map page.
Optionally, if the first oilfield map page includes the layer information corresponding to the position coordinate, the second oilfield map page is the same as the first oilfield map page.
Optionally, the display unit is specifically configured to:
initializing a picture object through a PictureMeakerSymbol object provided by ArcGis; and initializing a drawing layer object through a graphic layer object provided by ArcGis;
taking the picture object as a parameter of the drawing layer object, and adding a picture in a drawing layer;
adding the picture-added drawing layer to the second oilfield map page at the location coordinates.
Optionally, the central point of the second oilfield map page corresponds to the position coordinate corresponding to the search keyword.
Optionally, the apparatus further comprises:
the amplifying unit is used for amplifying the map level of the second oilfield map page;
the display unit is specifically configured to: and displaying the second oilfield map page after the map hierarchy is amplified.
Optionally, the amplifying unit is specifically configured to:
and amplifying the map hierarchy of the second oilfield map page through a setScale function of the map object provided by ArcGis.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the information search method described in any one of the above first aspects.
In a fourth aspect, an embodiment of the present application provides a processor, where the processor is configured to execute a program, where the program executes to perform the information search method according to any one of the above first aspects.
Compared with the prior art, the embodiment of the application has the following advantages:
the embodiment of the application provides an information searching method, and particularly, when a user needs to search for layer information of an oil field to be inquired, a search keyword can be input on a display layer, which is displayed on a terminal device and comprises the layer information of an oil field map, except for a first oil field map page, and corresponding search operation is triggered. Correspondingly, the terminal device may receive a search instruction triggered on a display layer outside a first oilfield map page displayed on the terminal device, and obtain a search keyword input on the first oilfield map page based on the search instruction. And then, the terminal equipment determines position coordinates corresponding to the search keywords according to the layer information of the oil field map, and displays prompt information at the position coordinates in a second oil field map page, wherein the second oil field page comprises the layer information corresponding to the position coordinates. The user can determine that the layer information corresponding to the search keyword is located at a specific position in the second oilfield map page according to the prompt information, and further check the layer information corresponding to the search keyword according to the prompt information. The user does not need to perform dragging, amplifying, reducing and other operations to determine that the layer information corresponding to the search keyword is located at the specific position in the second oil field map page as in the conventional technology, and the layer information corresponding to the search keyword can be checked, so that the efficiency of checking the layer information corresponding to the search keyword by the user is improved. In addition, the position of the search triggering instruction and the position of the input search keyword are located in different display layers from the oil field map page, so that searching can be established outside the oil field map page, position identification is carried out on the oil field map page, and compared with a conventional mode that the search keyword and the input search keyword are input in the same map display layer and the search is triggered to execute searching, the position of the input search keyword and the input search triggering instruction are extended to other layers, the position is not limited to the layer where the oil field map page is located, and searching operation is conveniently carried out in the layers which are set individually by a user.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of an information search method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for determining a position coordinate corresponding to a search keyword according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a method for displaying a prompt message according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an information search apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an information search apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The inventor of the application discovers that in the traditional technology, map layer data of an oil field can be converted into a visual oil field map by utilizing ArcGIS. The user can drag, enlarge, shrink and the like aiming at the oil field map, and view the layer information of the oil field on the map. However, because the number of layer information displayed on the oil field map is large, the efficiency is low in a manner that a user searches for the layer information of the oil field to be searched by performing operations such as dragging, zooming, reducing and the like on the oil field map.
In order to solve the above problem, an embodiment of the present application provides an information search method.
Various non-limiting embodiments of the present application are described in detail below with reference to the accompanying drawings.
Exemplary method
Referring to fig. 1, the figure is a schematic flow chart of an information search method provided in the embodiment of the present application.
The information searching method provided by the embodiment of the application can be executed by the terminal equipment. The embodiment of the application is not particularly limited to the terminal device, and the terminal device may be a notebook computer, a desktop computer, a smart phone, a tablet computer, a mobile workstation, and the like.
The information search method provided by the embodiment of the application can be realized by the following steps S101 to S104, for example.
S101: receiving a search instruction triggered by a user on a display layer outside a first oil field map page displayed on terminal equipment, wherein the first oil field map page comprises layer information of an oil field map.
In the embodiment of the application, a first oil field map page is displayed on the terminal device, and the first oil field map page can be a display page for converting map layer data of an oil field into a visual oil field map by utilizing ArcGis. That is, the first oilfield map page may include layer information for displaying an oilfield map. The layer information of the oil field map may include position coordinates of each oil field and map layer data corresponding to each oil field.
It should be noted that, considering that the visible page of the terminal device is limited, one map page displayed on the terminal device may not include all the map-layer information. Therefore, in the embodiment of the present application, part of the "layer information of the oil field map" may be displayed in the first oil field map page, and all of the "layer information of the oil field map" may also be displayed in the first oil field map page.
In this embodiment of the application, besides displaying the layer information of the oil field map, a search input box and a button for triggering a search function may be displayed on the first oil field map page, where the search input box and the button for triggering the search function are located on the display layer other than the first oil field page, that is, the search input box and the button for triggering the search function may be located on the same page as the oil field map but on different display layers. The user can input a search keyword in the search input box and click the button triggering the search function, so that the corresponding search function is triggered. In this embodiment, the search instruction may be generated by a user clicking the button triggering the search function.
In another embodiment of the present application, the search input box and the button for triggering the search function may be disposed in a page different from both the oilfield map page and the layer, for example, the search input box and the button for triggering the search function may be disposed in an HTML page, so that a user may directly trigger the search function in the HTML page, and then perform a search in the oilfield map page.
S102: and acquiring a search keyword input on a display layer outside the first oilfield map page based on the search instruction.
In this embodiment of the application, the search keyword input on the display layer outside the first oilfield map page may be, for example, a search keyword input by a user in a search input box on the display layer outside the first oilfield map page. The search keyword is not particularly limited in the present application, and may be, for example, an oilfield name, such as "port 32-1".
S103: and determining position coordinates corresponding to the search keywords according to the layer information of the oil field map.
In the embodiment of the application, the search instruction and the layer information of the oil field map can be bound in advance, and after the search instruction is received and the search keyword is determined, the terminal device can determine the position coordinate corresponding to the search keyword according to the layer information of the oil field map. Specifically, the terminal device may match the search keyword with the layer information of the map, and determine a position coordinate corresponding to the layer information matched with the search keyword.
S104: and displaying prompt information at the position coordinates in a second oilfield map page displayed on the terminal equipment.
As for the second field map page, as described in S101, a part of "layer information of the field map" may be displayed on the first field map page, or all of "layer information of the field map" may be displayed on the first field map page. It can be understood that if part of "layer information of the oil field map" is displayed in the first oil field map page, the layer information corresponding to the position information corresponding to the search keyword may not be displayed in the first oil field map page, and for this situation, the layer information displayed on the first oil field map page may be updated to obtain a second oil field map page, so that the second oil field map page includes the layer information corresponding to the position coordinate corresponding to the search keyword. In other words, if the layer information corresponding to the position information corresponding to the search keyword may not be displayed in the first oilfield map page, the contents displayed on the first oilfield map page and the second oilfield map page may be different. If all the layer information of the oil field map is displayed in the first oil field map page, the layer information corresponding to the position information corresponding to the search keyword is displayed in the first oil field map page, and for the situation, the layer information displayed on the first oil field map page may be updated to obtain a second oil field map page, or the layer information displayed on the first oil field map page may not be updated, and the embodiment of the present application is not particularly limited. In other words, if the layer information corresponding to the position information corresponding to the search keyword is displayed on the first oilfield map page, the contents displayed on the first oilfield map page and the second oilfield map page may be different or the same.
After the position coordinates corresponding to the search keywords are determined, prompt information can be displayed at the position coordinates in a second oilfield map page displayed on the terminal device, so that a user can determine the positions of the layer information corresponding to the search keywords in the second oilfield map page according to the prompt information and further check the layer information corresponding to the search keywords according to the prompt information. The prompt message may include any information for identifying a location, such as a symbol identifier, a graphic identifier, or text information.
As can be seen from the above description, with the information search method provided in the embodiment of the present application, it is not necessary to determine that the layer information corresponding to the search keyword is located at the specific position in the second oilfield map page by performing operations such as dragging, zooming, and reducing by the user as in the conventional technology, so as to view the layer information corresponding to the search keyword, and efficiency of viewing the layer information corresponding to the search keyword by the user is improved. In addition, the position of the search triggering instruction and the position of the input search keyword are located in different display layers from the oil field map page, so that searching can be established outside the oil field map page, position identification is carried out on the oil field map page, and compared with a conventional mode that the search keyword and the input search keyword are input in the same map display layer and the search is triggered to execute searching, the position of the input search keyword and the input search triggering instruction are extended to other layers, the position is not limited to the layer where the oil field map page is located, and searching operation is conveniently carried out in the layers which are set individually by a user.
In an implementation manner of the embodiment of the present application, S103 may be implemented by using a function and a method provided by ArcGis when implementing specifically. One possible implementation of S103 is described below in conjunction with fig. 2.
Referring to fig. 2, the figure is a schematic flowchart of a method for determining a position coordinate corresponding to a search keyword according to an embodiment of the present application. The method shown in fig. 2 can be implemented, for example, by the following steps S201 to S203.
S201: initializing a search task by using findtask objects provided by ArcGIS and using the layer information of the oil field map as parameters; and initializes the search parameter object with the findParameters object provided by ArcGis.
It should be noted that the findtask object provided by ArcGis provides a data search function. In the embodiment of the application, the layer information of the oil field map can be used as a parameter to initialize a search task, so that when the search task is executed, the layer information of the oil field map is used as a search object, and the content meeting the user requirement is searched from the layer information of the oil field map. The findParameters object provided by ArcGis may be used to determine parameters to pass to the search task.
S202: and processing the search key words by using the search parameter object to obtain corresponding search parameters.
S203: and taking the search parameters as the parameters of the search task to obtain the position coordinates corresponding to the search keywords output by the search task.
It is understood that, in practical applications, the search keyword input by the user may be described in natural language. However, since the storage of the internal data of the computer uses binary data, the search keyword cannot be directly used as a parameter of the search task, and the search task may not correctly recognize the meaning of the search keyword, and thus cannot be matched with the layer information stored in binary. In this embodiment of the present application, the search parameter object may process the search keyword to obtain a corresponding search parameter, where the search parameter is a parameter that can be correctly identified by the search task.
After the search parameters corresponding to the search keywords are obtained, the search parameters can be used as parameters of the search task. The search task may output the position coordinates corresponding to the search keyword based on an internally packaged function or method. Specifically, after the search parameter is used as a parameter of the search task, the search task may transfer the search parameter to a search function of the findtask object, and then output a position coordinate corresponding to the search keyword through a result receiving function. The embodiment of the present application is not particularly limited to the search function, and the search function may be, for example, an execute asynchronous search function. And the asynchronous search function is adopted for searching, so that the user can still execute corresponding operation on the first oilfield map page in the searching process, and the phenomenon of blockage can not occur. Of course, the search function may also be a synchronous search function, and the embodiment of the present application is not particularly limited. The result receiving function may be, for example, the then function.
As described above, if part of "layer information of the oil field map" is displayed in the first oil field map page, the layer information corresponding to the position information corresponding to the search keyword may not be displayed in the first oil field map page, and for this situation, the layer information displayed in the first oil field map page may be updated to obtain a second oil field map page, so that the second oil field map page includes the layer information corresponding to the position coordinate corresponding to the search keyword. The following introduces a manner of updating the layer information displayed on the first oil field map page to obtain the second oil field map page.
In the embodiment of the application, the central point of the first oilfield map page can be jumped to a target position to obtain the second oilfield map page; after the second map page is obtained, prompt information can be displayed at the position coordinates in the second oilfield map page.
It should be noted that the target position may be determined according to the position coordinate corresponding to the search keyword. Specifically, in this embodiment of the application, the target position may be determined according to the position coordinate corresponding to the search keyword and according to the area range radiated by the page displayed by the terminal device, so that the second oilfield map page with the target position as a center point includes the layer information corresponding to the search keyword.
In this embodiment of the application, the center point of the first oilfield map page may be skipped to the target location by using a method or function provided by ArcGis, and as an example, the center point skipping function of the oilfield map page may be implemented in consideration of the centerAt method of the map object. Therefore, the center point of the first oilfield map page can be jumped to the target position through the centretrat method of the map object provided by ArcGis. The map object is initialized when map layer data of an oil field is converted into a visualized oil field map by ArcGis. The map object may be configured to display an oil field map page on the terminal device by using ArcGis and the layer information of the oil field map, where the oil field map page mentioned herein may include at least the aforementioned first oil field map page and the second oil field map page.
It should be noted that, the target position is not specifically limited in the embodiments of the present application, and as an example, the target position may correspond to a position coordinate corresponding to the search keyword. In other words, the central point of the second oilfield map page corresponds to the position coordinate corresponding to the search keyword.
It can be understood that when the central point of the second oilfield map page corresponds to the position coordinate corresponding to the search keyword, the layer information corresponding to the search keyword is located at the center of the second oilfield map page, so that a user can conveniently view the layer information corresponding to the search keyword.
In an implementation manner of the embodiment of the present application, S104 may be implemented by using a function and a method provided by ArcGis when implementing specifically. One possible implementation of S104 is described below in conjunction with fig. 3.
Referring to fig. 3, the figure is a schematic flowchart of a method for displaying a prompt message according to an embodiment of the present application. The method provided by the embodiment of the application can be realized through the following steps S301 to S303, for example.
S301: initializing a picture object through a PictureMeakerSymbol object provided by ArcGis; and initializing a drawing layer object through a graphic layer object provided by ArcGis.
S302: and taking the picture object as a parameter of the drawing layer object, and adding a picture in a drawing layer.
In the embodiment of the present application, in order to enable a user to determine the prompt information from a plurality of image-layer information, where a picture is generally a content that is relatively easy to notice by the user, in the embodiment of the present application, the prompt information may be a picture. The picture may be a static picture, or may be a dynamic picture, for example, a picture in a Graphics Interchange Format (GIF) Format, and the embodiment of the present application is not particularly limited.
In the embodiment of the application, a picture object can be initialized by using a picteremakersymbol object provided by ArcGis; and initializing a drawing layer object through a graphic layer object provided by ArcGis. The drawing layer object is used for drawing a new drawing layer (i.e. drawing layer), and corresponding contents can be drawn on the drawing layer according to parameters input by the drawing layer object. In this embodiment, the picture object may be used as a parameter of the drawing layer object, so that the function of adding a picture on the drawing layer may be implemented.
S303: adding the picture-added drawing layer to the second oilfield map page at the location coordinates.
After adding a picture on the aforementioned drawing layer, the picture-added drawing layer may be added to the second oilfield map page at the location coordinates. In this way, the position of the drawing layer including the picture corresponds to the position coordinate of the drawing layer added with the picture in the second oilfield map page, so that the function of "displaying the picture at the position coordinate of the second oilfield map page displayed on the terminal device" is realized.
It should be noted that, in consideration that in practical applications, a user may trigger a search instruction many times, in order to save system resources of a terminal device, in this embodiment of the application, the picture object and the drawing layer object may both be global objects, and thus, it is not necessary to initialize the picture object and the drawing layer object each time the user triggers a search instruction. Of course, if the system resources of the terminal device are sufficient, the picture object and the drawing layer object may also be local objects, and the embodiment of the present application is not particularly limited.
It should be noted that, in the embodiment of the present application, the prompt information may be a picture or a character, and the embodiment of the present application is not particularly limited. When the prompt information is a character, a character object can be initialized and used as a parameter of the drawing layer object, so that the function of adding pictures on the drawing layer is realized. After adding text on a drawing layer, the text-added drawing layer may be added to the second oilfield map page at the location coordinates. Thereby realizing the function of displaying characters at the position coordinates in the second oilfield map page displayed on the terminal equipment.
It is understood that the map hierarchy of the second oilfield map page is not very high in order to be able to display more map-layer information in the visual page of the terminal device. When the user views the corresponding layer information, the user generally needs to perform an amplification operation on the second oilfield map page to obtain more accurate and detailed layer information. In an implementation manner of the embodiment of the application, in order to further improve user experience, the map hierarchy of the second oilfield map page may be enlarged, and the second oilfield map page after the map hierarchy is enlarged is displayed. Therefore, the user can obtain more accurate and fine layer information without executing an amplification operation.
The embodiment of the present application does not specifically limit a specific implementation manner of "enlarging the map hierarchy of the second oilfield map page", and as an example, considering that the setScale function of the map object provided by ArcGis has a function of enlarging the map hierarchy, in the embodiment of the present application, the map hierarchy of the second oilfield map page may be enlarged through the setScale function of the map object provided by ArcGis.
Exemplary device
Based on the methods provided by the above embodiments, the embodiments of the present application further provide an information search apparatus, which is described below with reference to the accompanying drawings.
Referring to fig. 4, the figure is a schematic structural diagram of an information search apparatus according to an embodiment of the present application. The apparatus 400 may specifically include, for example: a receiving unit 401, an acquisition unit 402, a determination unit 403, and a display unit 404.
A receiving unit 401, configured to receive a search instruction triggered by a user on a display layer outside a first oilfield map page displayed on a terminal device; the first oil field map page comprises layer information of an oil field map;
an obtaining unit 402, configured to obtain, based on the search instruction, a search keyword input on a display layer outside the first oilfield map page;
a determining unit 403, configured to determine, according to the layer information of the oilfield map, a position coordinate corresponding to the search keyword;
a display unit 404, configured to display prompt information at the position coordinate in a second oilfield map page displayed on the terminal device, where the second oilfield page includes layer information corresponding to the position coordinate.
Optionally, the determining unit 403 is specifically configured to:
initializing a search task by using findtask objects provided by ArcGIS and using the layer information of the oil field map as parameters; initializing a search parameter object by utilizing a findParameters object provided by ArcGis;
processing the search key words by using the search parameter object to obtain corresponding search parameters;
and taking the search parameters as the parameters of the search task to obtain the position coordinates corresponding to the search keywords output by the search task.
Optionally, if the first oilfield map page does not include the layer information corresponding to the position coordinate, the display unit 404 is specifically configured to:
skipping the central point of the first oilfield map page to a target position to obtain a second oilfield map page; the target position is determined according to the position coordinate corresponding to the search keyword;
displaying a prompt at the location coordinate in the second oilfield map page.
Optionally, jumping the central point of the first oilfield map page to a target location includes:
jumping the central point of the first oilfield map page to the target position through a centragrat device of the map object provided by ArcGis; the map object is used for displaying an oil field map page on the terminal equipment by utilizing ArcGis and the layer information of the oil field map, and the oil field map page at least comprises the first oil field map page and the second oil field map page.
Optionally, if the first oilfield map page includes the layer information corresponding to the position coordinate, the second oilfield map page is the same as the first oilfield map page.
Optionally, the display unit 404 is specifically configured to:
initializing a picture object through a PictureMeakerSymbol object provided by ArcGis; and initializing a drawing layer object through a graphic layer object provided by ArcGis;
taking the picture object as a parameter of the drawing layer object, and adding a picture in a drawing layer;
adding the picture-added drawing layer to the second oilfield map page at the location coordinates.
Optionally, the central point of the second oilfield map page corresponds to the position coordinate corresponding to the search keyword.
Optionally, the apparatus 400 further includes:
the amplifying unit is used for amplifying the map level of the second oilfield map page;
the display unit 404 is specifically configured to: and displaying the second oilfield map page after the map hierarchy is amplified.
Optionally, the amplifying unit is specifically configured to:
and amplifying the map hierarchy of the second oilfield map page through a setScale function of the map object provided by ArcGis.
Since the apparatus 400 is an apparatus corresponding to the method provided in the above method embodiment, and the specific implementation of each unit of the apparatus 400 is the same as that of the above method embodiment, for the specific implementation of each unit of the apparatus 400, reference may be made to the description part of the above method embodiment, and details are not repeated here.
The information search apparatus 400 includes a processor and a memory, the receiving unit 401, the obtaining unit 402, the determining unit 403, the displaying unit 404, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can set one or more, and the information searching method provided by the above embodiment is executed by adjusting the kernel parameters.
According to the above description, by using the information search device provided by the embodiment of the application, it is not necessary to determine that the layer information corresponding to the search keyword is located at the specific position in the second oil field map page by performing operations such as dragging, amplifying and reducing and the like by the user as in the conventional technology, so that the layer information corresponding to the search keyword can be viewed, and the efficiency of viewing the layer information corresponding to the search keyword by the user is improved.
An embodiment of the present invention provides a storage medium on which a program is stored, the program implementing the information search method according to any one of the above embodiments when executed by a processor.
The embodiment of the invention provides a processor, wherein the processor is used for running a program, and the program executes the information search method in any one of the above embodiments when running.
The embodiment of the application also provides information searching equipment. Referring to fig. 5, the figure is a schematic structural diagram of an information search apparatus according to an embodiment of the present application. The information search apparatus 500 shown in fig. 5 includes at least one processor 501, and at least one memory 502 and a bus 503 connected to the processor 501; the processor 501 and the memory 502 complete communication with each other through the bus 503; the processor 501 is used for calling the program instructions in the memory 502 to execute the information searching method according to any one of the above embodiments.
The information search device herein may be a server, a PC, a PAD, a mobile phone, or the like.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
receiving a search instruction triggered by a user on a display layer outside a first oilfield map page displayed on terminal equipment; the first oil field map page comprises layer information of an oil field map;
based on the search instruction, obtaining a search keyword input on a display layer outside the first oilfield map page;
determining position coordinates corresponding to the search keywords according to the layer information of the oil field map;
and displaying prompt information at the position coordinate in a second oilfield map page displayed on the terminal equipment, wherein the second oilfield page comprises layer information corresponding to the position coordinate.
Optionally, the determining the position coordinate corresponding to the search keyword according to the layer information of the oil field map includes:
initializing a search task by using findtask objects provided by ArcGIS and using the layer information of the oil field map as parameters; initializing a search parameter object by utilizing a findParameters object provided by ArcGis;
processing the search key words by using the search parameter object to obtain corresponding search parameters;
and taking the search parameters as the parameters of the search task to obtain the position coordinates corresponding to the search keywords output by the search task.
Optionally, if the first oilfield map page does not include the layer information corresponding to the position coordinate, the displaying of the prompt information at the position coordinate in the second oilfield map page includes:
skipping the central point of the first oilfield map page to a target position to obtain a second oilfield map page; the target position is determined according to the position coordinate corresponding to the search keyword;
displaying a prompt at the location coordinate in the second oilfield map page.
Optionally, jumping the central point of the first oilfield map page to a target location includes:
jumping the central point of the first oil field map page to the target position by a centragrat method of the map object provided by ArcGis; the map object is used for displaying an oil field map page on the terminal equipment by utilizing ArcGis and the layer information of the oil field map, and the oil field map page at least comprises the first oil field map page and the second oil field map page.
Optionally, if the first oilfield map page includes the layer information corresponding to the position coordinate, the second oilfield map page is the same as the first oilfield map page.
Optionally, the displaying a prompt at the location coordinate in the second oilfield map page includes:
initializing a picture object through a PictureMeakerSymbol object provided by ArcGis; and initializing a drawing layer object through a graphic layer object provided by ArcGis;
taking the picture object as a parameter of the drawing layer object, and adding a picture in a drawing layer;
adding the picture-added drawing layer to the second oilfield map page at the location coordinates.
Optionally, the central point of the second oilfield map page corresponds to the position coordinate corresponding to the search keyword.
Optionally, the method further includes:
and amplifying the map level of the second oilfield map page, and displaying the second oilfield map page after the map level is amplified.
Optionally, the enlarging the map hierarchy of the second oilfield map page includes:
and amplifying the map hierarchy of the second oilfield map page through a setScale function of the map object provided by ArcGis.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. An information search method, characterized in that the method comprises:
receiving a search instruction triggered by a user on a display layer outside a first oilfield map page displayed on terminal equipment; the first oil field map page comprises layer information of an oil field map;
based on the search instruction, obtaining a search keyword input on a display layer outside the first oilfield map page;
determining position coordinates corresponding to the search keywords according to the layer information of the oil field map;
and displaying prompt information at the position coordinate in a second oilfield map page displayed on the terminal equipment, wherein the second oilfield page comprises layer information corresponding to the position coordinate.
2. The method according to claim 1, wherein the determining the position coordinates corresponding to the search keyword according to the layer information of the oilfield map comprises:
initializing a search task by using findtask objects provided by ArcGIS and using the layer information of the oil field map as parameters; initializing a search parameter object by utilizing a findParameters object provided by ArcGis;
processing the search key words by using the search parameter object to obtain corresponding search parameters;
and taking the search parameters as the parameters of the search task to obtain the position coordinates corresponding to the search keywords output by the search task.
3. The method of claim 1, wherein if the first oilfield map page does not include the layer information corresponding to the location coordinate, the displaying a prompt at the location coordinate in the second oilfield map page comprises:
skipping the central point of the first oilfield map page to a target position to obtain a second oilfield map page; the target position is determined according to the position coordinate corresponding to the search keyword;
displaying a prompt at the location coordinate in the second oilfield map page.
4. The method of claim 3, wherein jumping the center point of the first oilfield map page to a target location comprises:
jumping the central point of the first oil field map page to the target position by a centragrat method of the map object provided by ArcGis; the map object is used for displaying an oil field map page on the terminal equipment by utilizing ArcGis and the layer information of the oil field map, and the oil field map page at least comprises the first oil field map page and the second oil field map page;
alternatively, the first and second electrodes may be,
and if the first oilfield map page comprises the layer information corresponding to the position coordinates, the second oilfield map page is the same as the first oilfield map page.
5. The method of any one of claims 1-4, wherein displaying a prompt at the location coordinate in the second oilfield map page comprises:
initializing a picture object through a PictureMeakerSymbol object provided by ArcGis; and initializing a drawing layer object through a graphic layer object provided by ArcGis;
taking the picture object as a parameter of the drawing layer object, and adding a picture in a drawing layer;
adding the picture-added drawing layer to the second oilfield map page at the location coordinates.
6. The method of any one of claims 1-4, wherein the center point of the second oilfield map page corresponds to the location coordinates corresponding to the search keyword.
7. The method of claim 6 or any one of claims 1-4, further comprising:
and amplifying the map level of the second oilfield map page, and displaying the second oilfield map page after the map level is amplified.
8. An information search apparatus, characterized in that the apparatus comprises:
the receiving unit is used for receiving a search instruction triggered by a user on a display layer outside a first oilfield map page displayed on the terminal equipment; the first oil field map page comprises layer information of an oil field map;
the acquisition unit is used for acquiring search keywords input on a display layer outside the first oilfield map page based on the search instruction;
the determining unit is used for determining position coordinates corresponding to the search keywords according to the layer information of the oil field map;
and the display unit is used for displaying prompt information at the position coordinate in a second oilfield map page displayed on the terminal equipment, and the second oilfield page comprises layer information corresponding to the position coordinate.
9. A computer-readable storage medium, characterized in that a computer program is stored thereon, which when executed by a processor implements the information search method of any one of claims 1 to 7.
10. A processor, configured to execute a program, wherein the program executes the information search method according to any one of claims 1 to 7.
CN201910785795.4A 2019-08-23 2019-08-23 Information searching method and device Pending CN112417065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910785795.4A CN112417065A (en) 2019-08-23 2019-08-23 Information searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910785795.4A CN112417065A (en) 2019-08-23 2019-08-23 Information searching method and device

Publications (1)

Publication Number Publication Date
CN112417065A true CN112417065A (en) 2021-02-26

Family

ID=74779030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910785795.4A Pending CN112417065A (en) 2019-08-23 2019-08-23 Information searching method and device

Country Status (1)

Country Link
CN (1) CN112417065A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090002367A1 (en) * 2007-06-27 2009-01-01 Sean Alexis Method and system for a communications information interface
CN104537106A (en) * 2015-01-15 2015-04-22 新华网股份有限公司 Searching method and device based on electronic map
CN105893544A (en) * 2016-03-31 2016-08-24 东南大学 Method for generating urban space big data map on basis of POI commercial form data
CN106408489A (en) * 2016-11-01 2017-02-15 航天恒星科技有限公司 Targeted poverty alleviation information processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090002367A1 (en) * 2007-06-27 2009-01-01 Sean Alexis Method and system for a communications information interface
CN104537106A (en) * 2015-01-15 2015-04-22 新华网股份有限公司 Searching method and device based on electronic map
CN105893544A (en) * 2016-03-31 2016-08-24 东南大学 Method for generating urban space big data map on basis of POI commercial form data
CN106408489A (en) * 2016-11-01 2017-02-15 航天恒星科技有限公司 Targeted poverty alleviation information processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李建鹏: "基于WebGIS的石山镇一张图综合服务平台研究", 中国优秀硕士学位论文全文数据库 (基础科学辑), vol. 2019, no. 5, pages 008 - 60 *

Similar Documents

Publication Publication Date Title
CN107256109B (en) Information display method and device and terminal
WO2018177251A1 (en) Application program processing method, computer device and storage medium
RU2501079C2 (en) Visualising site structure and enabling site navigation for search result or linked page
EP3579124A1 (en) Method and apparatus for providing search results
US8892990B2 (en) Automatic creation of a table and query tools
JP7032277B2 (en) Systems and methods for disambiguating item selection
CN105824830B (en) Method, client and equipment for displaying page
US20110313859A1 (en) Techniques for advertiser geotargeting using map coordinates
CN108717437B (en) Search result display method and device and storage medium
US20140330814A1 (en) Method, client of retrieving information and computer storage medium
EP3945436A1 (en) Methods, apparatuses, and devices for generating digital document of title
CN103618774A (en) Resource recommending method, device and system based on network behaviors
CN105843800A (en) DOI-based language information display method and device
CN103246678A (en) Method and device for previewing web page contents
CN107391535B (en) Method and device for searching document in document application
CN108459998B (en) Document updating method, document updating device, document format converting method, document updating format converting device, document format converting device and readable storage medium
CN105630792A (en) Information display method and device as well as information push method and device
JP2021512415A (en) Backdrop rendering of digital components
JP2017529630A (en) Integrated search in personal computing devices
CN103577544A (en) Method and device for providing information to be sent
CN107391534B (en) Page display method, page file return method, page display device, page file return device and computer storage medium
CN110502299B (en) Method and equipment for providing novel information
WO2014176938A1 (en) Method and apparatus of retrieving information
CN104808995B (en) A kind of method and apparatus for across application collection application content
CN111381745B (en) Page switching method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination