US20200057553A1 - Data processing method and apparatus applied to electronic map, and mobile terminal - Google Patents

Data processing method and apparatus applied to electronic map, and mobile terminal Download PDF

Info

Publication number
US20200057553A1
US20200057553A1 US16/663,308 US201916663308A US2020057553A1 US 20200057553 A1 US20200057553 A1 US 20200057553A1 US 201916663308 A US201916663308 A US 201916663308A US 2020057553 A1 US2020057553 A1 US 2020057553A1
Authority
US
United States
Prior art keywords
user operation
electronic map
data
zone
valid
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.)
Granted
Application number
US16/663,308
Other versions
US10915238B2 (en
Inventor
Jie Shan
Liuwu KONG
Lu Zhang
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 Xingxuan Technology Co Ltd
Original Assignee
Beijing Xingxuan 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 Xingxuan Technology Co Ltd filed Critical Beijing Xingxuan Technology Co Ltd
Publication of US20200057553A1 publication Critical patent/US20200057553A1/en
Assigned to Beijing Xingxuan Technology Co., Ltd. reassignment Beijing Xingxuan Technology Co., Ltd. CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: BEIJING XIAODU INFORMATION TECHNOLOGY CO., LTD.
Application granted granted Critical
Publication of US10915238B2 publication Critical patent/US10915238B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping

Definitions

  • the present invention relates generally to the field of electronic maps and data processing, and more specifically, to a data processing method and apparatus applicable to an electronic map, and a mobile terminal.
  • LBS location-based service
  • the present invention provides a data processing method and apparatus applicable to an electronic map, and a mobile terminal, to address the problem of existing technologies that a delivery area cannot be flexibly configured.
  • One aspect of the present invention is directed to a data processing method applicable to an electronic map.
  • the method may include: detecting a user operation on an electronic map; obtaining operation data that reflects the user operation; determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid; and providing, based on a determination result of whether the user operation is valid, prompt information in response to the user operation.
  • providing prompt information in response to the user operation may comprise: displaying, in response to a determination that the user operation is valid, an operable option for valid user operation on the electronic map.
  • Determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid may comprise: determining, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether an added object or an dragged object is located inside the configurable area and outside the configured zone; and determining, in response to a determination that the added object or the dragged object is located inside the configurable area and outside the configured zone, the user operation is valid.
  • the added object or the dragged object includes a node, a line, or a zone.
  • the user operation may include: adding an object or dragging an object.
  • the method may further include: configuring, based on a user location, the configurable area centered on the user location on the electronic map; and configuring, based on structured zone configuration data, the configured zone on the electronic map.
  • the structured zone configuration data may include area data, zone data, and node data.
  • a single area datum may include at least one zone datum, and a single zone datum may include a plurality of node data.
  • the node data may include: current coordinates of a node, coordinates of the node before the user operation, an edge vector, and visual display data.
  • providing, based on a determination result of whether the user operation is valid, prompt information in response to the user operation may further include: displaying, in response to a determination that the user operation is invalid, an operable option for invalid user operation on the electronic map.
  • the apparatus may include: a detection module, an obtaining module, a determination module, and a response module.
  • the detection module may be configured to detect a user operation on an electronic map.
  • the obtaining module may be configured to obtain operation data that reflects the user operation.
  • the determination module may be configured to determine, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid.
  • the response module may be configured to provide, based on a determination result of whether the user operation is valid, prompt information in response to the user operation.
  • the response module may comprise a first response submodule, configured to display, in response to a determination that the user operation is valid, an operable option for valid user operation on the electronic map.
  • the determination module may be further configured to determine, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether an added object or an dragged object is located inside the configurable area and outside the configured zone.
  • the added object or the dragged object includes a node, a line, or a zone.
  • the function may be implemented by hardware, or may be implemented by hardware executing corresponding software.
  • the hardware or software may include one or more modules corresponding to the foregoing function.
  • a structure of the data processing apparatus may include a processor and a memory.
  • the memory may be configured to store a program executable by the processor.
  • the processor may be configured to execute the program stored in the memory to cause the data processing apparatus to perform the data processing method in any of the aforementioned embodiments.
  • the data processing apparatus may further include a communication interface for the data processing apparatus to communicate with other devices or communication networks.
  • Another aspect of the present invention is directed to a computer storage medium for storing a computer software instruction used by the data processing apparatus.
  • the instruction may perform the data processing method of any of the aforementioned embodiments.
  • the embodiments of the present invention allows a user (for example, a business owner in the take-out order business) to flexibly and reasonably configure a delivery area on an electronic map in real time.
  • FIG. 1 is a schematic flowchart of a data processing method applicable to an electronic map in accordance with one embodiment of the present invention.
  • FIG. 2 is a block diagram of a data processing apparatus applicable to an electronic map in accordance with one embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a data structure in accordance with one embodiment of the present invention.
  • FIG. 4 is a schematic storage diagram of a node structure shown in FIG. 3 .
  • FIG. 5 is a schematic flowchart of validity check on delivered data in accordance with one embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of validity check in an add operation in accordance with one embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of validity check in a drag operation in accordance with one embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a data processing method applicable to an electronic map in accordance with one embodiment of the present invention. Referring to FIG. 1 , the method may include the following steps.
  • step 100 a user operation on an electronic map may be detected.
  • the user operation may include adding an object and dragging an object.
  • the user operation may further include deleting an object.
  • an “object” may be a node, a line, or a zone.
  • step 102 operation data that reflects the user operation may be obtained.
  • the operation data may be a record of the user operation.
  • step 104 based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid may be determined.
  • the area that is configured based on the electronic map may include: a configurable area that is configured on the electronic map based on a user location and centered on the user location.
  • a valid user operation should be a user operation in the configurable area.
  • the present invention does not specifically limit a shape of the configurable area.
  • the area that is configured based on the electronic map may include not only the configurable area, but also a configured zone that is configured on the electronic map based on structured zone configuration data.
  • the structured zone configuration data may include area data, zone data, and node data.
  • a single area datum may include at least one zone datum, and a single zone datum includes a plurality of node data.
  • prompt information may be provided in response to the user operation. For example, if the user operation is valid, an option that is operable when the user operation is valid (i.e., an operable option for valid user operation) may be displayed on the electronic map; if the user operation is invalid, an option that is operable when the user operation is invalid (i.e., an operable option for invalid user operation) may be displayed on the electronic map.
  • the user can flexibly perform zone configuration based on the electronic map.
  • a business owner can flexibly and reasonably define a delivery area based on the electronic map in real time, which improves the user experience.
  • step 104 may be implemented as follows. First, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether the added object or the dragged object is located inside the configurable area and outside the configured zone may be determined.
  • the configured zone that is configured based on the electronic map may be absent (that is, not configured). In that case, it is equivalent to only determining whether the added object or the dragged object is located inside the configurable area.
  • step 104 may include one or more of the following operations: determining, based on data of a node added by a user and the configurable area that is configured based on the electronic map, whether the added node is located inside the configurable area (an operation related to the added node may be valid only when the added node is located inside the configurable area); determining, based on the configurable area and the configured zone that are configured based on the electronic map and the data of the node that is added by the user, whether the added node is located inside the configurable area and outside the configured zone (if so, the added node is determined to be valid).
  • a single line or a single node may also be considered as a configured zone, and in that case, if the added node does not coincide with the single node or the single line, the added node is determined to be located outside the configured zone.
  • Step 104 may also include one or more of the following operations: determining, based on a line created by the user (for example, by creating two nodes and connecting them into a line) and the configured zone that is configured based on the electronic map, whether the created line intersects a line (such as a boundary of the zone) in the configured zone (if they do not intersect, the created line is determined to be valid), wherein the validity of the created line can serve as a basis for determining the validity of a to-be-closed zone formed by the line; and determining, based on the to-be-closed zone created by the user and the configured zone that is configured based on the electronic map, whether the to-be-closed zone encompasses a node inside the configured zone (if such a node does not exist, the created to-be-closed zone is determined to be valid).
  • FIG. 2 is a block diagram of a data processing apparatus applicable to an electronic map in accordance with one embodiment of the present invention.
  • the data processing apparatus may include a detection module 20 , an obtaining module 22 , a determination module 24 , and a response module 26 . These modules will be described below in detail.
  • the detection module 20 may be configured to detect a user operation on an electronic map.
  • the user operation may be, for example, adding an object, deleting an object, or dragging an object.
  • the obtaining module 22 may be configured to obtain operation data that reflects the user operation.
  • the determination module 24 may be configured to determine, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid.
  • the response module 26 may be configured to provide, based on a determination result of whether the user operation is valid, prompt information in response to the user operation.
  • a user may flexibly and reasonably configure the electronic map (e.g., defining a delivery zone) based on the user operation in real time.
  • the electronic map e.g., defining a delivery zone
  • the determination module 24 may be configured to: determine, based on the operation data and a configurable area that is configured based on the electronic map, whether the added object or the dragged object is located inside the configurable area.
  • the determination module 24 may also be configured to: determine, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether the added object or the dragged object is located inside the configurable area and outside the configured zone.
  • the data processing apparatus may further include a first configuration module and a second configuration module.
  • the first configuration module may be configured to configure, based on a user location, the configurable area centered on the user location with a preset radius on the electronic map.
  • the second configuration module may be configured to configure the configured zone on the electronic map based on structured zone configuration data.
  • the structured zone configuration data may include area data, zone data, and node data.
  • a single area datum may include at least one zone datum, and a single zone datum may include a plurality of node data.
  • the node data may include: current coordinates of a node, coordinates of the node before the user operation, an edge vector, and visual display data.
  • the response module 26 may include a first response submodule and a second response submodule.
  • the first response submodule may be configured to display (e.g., by highlighting or emphasizing), in response to a determination that the user operation is valid, an option that is operable when the user operation is valid (i.e., an operable option for valid user operation) on the electronic map.
  • the second response submodule may be configured to display, in response to a determination that the user operation is invalid, an option that is operable when the user operation is invalid (i.e., an operable option for invalid user operation) on the electronic map.
  • a delivery area may be configured by accessing software that has a function of an electronic map and that supports editing delivery area on the electronic map.
  • a shortcut bar may be displayed on the top of a home interface of the software.
  • the shortcut bar may include operation options such as Undo, Clear, Close, and Save.
  • an operation option may be displayed in an enabled state or a disabled state.
  • the data status may include the following four cases. (1) When no delivery area is configured, all the operation options are grayed out and not operable. (2) When a user clicks on the map, a node may be formed at a clicked location (if the user clicks on a plurality of locations successively, nodes are connected in tandem to form sides of a polygon). In this case, Undo and Clear buttons are highlighted and enabled.
  • Steps (1) to (4) may constitute a zone defining process.
  • text prompts and button highlighting may be provided to guide the user during the operation.
  • a three-level storage structure of area-zone-node may be used as a data structure.
  • data may be organized by using a nested list.
  • Each element in an outer list may represent an area.
  • Each area may also be a list, in which each element may represent a zone.
  • Each zone may include all nodes that make up the zone.
  • Each node may include a set of latitude and longitude, and these nodes may be arranged sequentially.
  • a node structure may be a defining and displaying unit at the finest level, and is the smallest unit with independent functions.
  • relationships between nodes i.e., relationships of sides
  • FIG. 4 shows a node structure in one example.
  • LatLng represents a data object containing latitude and longitude
  • LatLngRecord represents a record of latitude and longitude objects
  • Polylineoptions represents a configuration for drawing a boundary
  • Marker represents a landmark point
  • Overlay line represents a landmark line
  • Overlay area represents a landmark zone.
  • a node may record the following types of data: current coordinates, last recorded coordinates, an edge vector pointing to a previous node, and layer elements such as nodes, lines, and planes.
  • the three types of data are respectively used for different functions. That is, these three types of data may be used to represent a geographic location status, an abstract boundary, and visual layer display, respectively. They are used for different control functions in the foregoing interaction logic.
  • the data may first be structured, and may be generalized into a three-level (area-zone-node) concept.
  • a configured logic it may be stipulated that one business can configure a maximum of five areas, and a maximum of five zones can be defined in each area. Zones cannot overlap with each other. Specifically, a plurality of zones in a same area may not overlap, and no zones in different areas are allowed to overlap. In addition, all zones may stay within a specified maximum reasonable area.
  • FIG. 5 shows a process of validity check in one example.
  • the process may include: obtaining data and structuring the data; determining, respectively, whether there are duplicate nodes, whether the zones overlap with each other, whether a plurality of zones in a same area overlap, whether a plurality of zones in different areas overlap, and whether each point is within the maximum reasonable area. If a result of any of the foregoing determining operations is positive, the configuration is not allowed, and a yellow warning may be displayed. If results of all the foregoing determining operations are negative, the initialization is completed, and a configured zone may be displayed on the map for subsequent processing.
  • the user may be allowed to perform user operations, and validity of each operation may be checked in real time.
  • User operations may fall into two types: add and drag.
  • FIG. 6 shows a process of validity check for an “add” operation.
  • the process may include the following steps. First, the user may add a node. Then, the operation may be checked to determine, respectively, whether the node is a duplication (e.g., overlaps an existing node or line), whether the node lies outside a maximum area, whether the node is in a configured closed zone, and, if a side is generated concurrently based on the node, whether the side overlaps a current zone (i.e., whether the side overlaps a side or node of the zone in which the generated side is located). If a side is generated concurrently based on the node, it may also be determined that whether the side overlaps a configured closed zone.
  • a duplication e.g., overlaps an existing node or line
  • the validity of the node may be determined by determining, respectively, whether the node coincides with an existing node in the structure, whether the node is located in an area centered on the business with a maximum reasonable radius, and whether the node is located in another closed zone.
  • the validity of a boundary may be determined by determining, respectively, whether a boundary line intersects another boundary (no matter whether the another boundary belongs to a current zone or another zone).
  • whether the zone can be closed is determined by determining whether a last side of the zone to be closed is valid; and checking whether a node of another zone is in the zone to be closed.
  • FIG. 7 shows a process of the validity check in a drag operation.
  • the process may include the following steps. First, a user may drag a node. Then, the operation may be checked to determine, respectively, whether a destination of the drag lies outside a maximum reasonable area, whether the node is dragged into a configured closed zone, whether a side associated with the node intersects another side of a currently configured zone, and whether the side associated with the node intersects a side of another zone. If a result of any of the foregoing determining operations is positive, the drag fails, a failure prompt is displayed, and the node returns to a location at which it resides before the drag. If results of all the determining operations are negative, the node is modified (dragged) successfully, the map is rendered, and data of the dragged node may be included into the data structure mentioned above.
  • a current location and a previous location of the dragged node may be stored in the node structure.
  • the foregoing steps are repeated to dynamically determine whether the drag operation is valid. If the drag operation is invalid, the side returns to its original state based on the location of the node.
  • a callback method provided by the Baidu map application interface may be used to continuously refresh the rendered layer and update a corresponding layer record in the node structure during the dragging process.
  • an editable zone in a current area may be displayed differently from editable zones in other areas.
  • zones in areas may be distinguished by using different colors and transparencies.
  • the current configured zone when the data of the current configured zone is checked and determined to be valid, the current configured zone may be displayed in red translucence, and the boundary of the current configured zone may be displayed as a solid-line box of the same color.
  • the zones in the other areas may be displayed as polygons without boundaries or drag points.
  • endpoints of the current configured zone may be configured as draggable (e.g., the endpoints are explicitly identified).
  • the current configured zone may be displayed in blue with a boundary, and the zones in the other areas may be displayed without boundaries nor draggable points.
  • the data processing apparatus (e.g., a computer device, a mobile terminal, or a special-purpose device) provided in the embodiments of the present invention may further include a processor and a memory.
  • the memory may be configured to store a program that are executable by the processor to perform the data processing method in the embodiment shown in FIG. 1 .
  • the processor may be configured to execute the program stored in the memory.
  • the program may include one or more computer instructions, and the one or more computer instructions may be executed by the processor.
  • the processor may be configured to execute the computer instructions to perform the operations.
  • the operations may include: detecting a user operation on an electronic map; obtaining operation data that reflects the user operation; determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid; and provide, based on a determination result of whether the user operation is valid, prompt information in response to the user operation.
  • the present invention further provides a computer storage medium storing one or more computer software instructions used by the data processing device.
  • the computer instructions may be executed to perform the data processing method applicable to an electronic map, as described in any of the foregoing embodiments.
  • the apparatus embodiments described above are merely examples.
  • the units described as discrete parts may be physically separated or not, and parts displayed as units may be physical units or not, may be located in one place or distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solution of this embodiment. A person of ordinary skill in the art can understand and implement the solution without creative efforts.
  • the foregoing technical solutions essentially or the part contributing to the prior art may be implemented in a form of a software product.
  • the computer software product may be stored in a computer-readable storage medium such as a ROM/RAM, a magnetic disk, or an optical disc, and may include several instructions that enable a computer device (which may be a personal computer, a server, a network device, or the like) to perform the methods described in the foregoing embodiments or in some parts of the embodiments.

Abstract

A data processing method and apparatus applicable to an electronic map, and a mobile terminal are provided, relating to the field of electronic maps and data processing. The data processing method includes: detecting a user operation on an electronic map; obtaining operation data that reflects the user operation; determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid; and providing, based on a determination result of whether the user operation is valid, prompt information in response to the user operation. The disclosed technical solutions allow a user to flexibly and reasonably define an area based on an electronic map in real time, thereby improving user experience.

Description

    CROSS-REFERENCE To RELATED APPLICATION
  • This application is a continuation application of International Patent Application No. PCT/CN2018/084645, filed on Apr. 26, 2018, which is based on and claims priority to the Chinese Patent Application No. 201710286895.3, filed on Apr. 27, 2017 and entitled “DATA PROCESSING METHOD AND APPARATUS APPLIED TO ELECTRONIC MPA, AND MOBILE TERMINAL.” The above-referenced applications are incorporated herein by reference in their entirety.
  • TECHNICAL FIELD
  • The present invention relates generally to the field of electronic maps and data processing, and more specifically, to a data processing method and apparatus applicable to an electronic map, and a mobile terminal.
  • BACKGROUND
  • Various online applications based on location-based service (LBS) are readily available on the market, and these applications have greatly facilitated people's travel and daily life. For some specific business such as take-out services, however, the delivery area of the business may need to be manually defined offline through the negotiation between a business owner and a product sales team of the application. Therefore the business owner may not be able to flexibly set or modify the delivery area, which adversely affects the user experience of the business owner.
  • SUMMARY
  • In view of the limitations described above, the present invention provides a data processing method and apparatus applicable to an electronic map, and a mobile terminal, to address the problem of existing technologies that a delivery area cannot be flexibly configured.
  • One aspect of the present invention is directed to a data processing method applicable to an electronic map. The method may include: detecting a user operation on an electronic map; obtaining operation data that reflects the user operation; determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid; and providing, based on a determination result of whether the user operation is valid, prompt information in response to the user operation.
  • In the aforementioned method, providing prompt information in response to the user operation may comprise: displaying, in response to a determination that the user operation is valid, an operable option for valid user operation on the electronic map. Determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid may comprise: determining, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether an added object or an dragged object is located inside the configurable area and outside the configured zone; and determining, in response to a determination that the added object or the dragged object is located inside the configurable area and outside the configured zone, the user operation is valid. The added object or the dragged object includes a node, a line, or a zone.
  • In some embodiments of the present invention, the user operation may include: adding an object or dragging an object.
  • In some embodiments of the present invention, the method may further include: configuring, based on a user location, the configurable area centered on the user location on the electronic map; and configuring, based on structured zone configuration data, the configured zone on the electronic map.
  • In some embodiments of the present invention, the structured zone configuration data may include area data, zone data, and node data. A single area datum may include at least one zone datum, and a single zone datum may include a plurality of node data.
  • In some embodiments of the present invention, the node data may include: current coordinates of a node, coordinates of the node before the user operation, an edge vector, and visual display data.
  • In some embodiments of the present invention, providing, based on a determination result of whether the user operation is valid, prompt information in response to the user operation may further include: displaying, in response to a determination that the user operation is invalid, an operable option for invalid user operation on the electronic map.
  • Another aspect of the present invention is directed to a data processing apparatus applicable to an electronic map. The apparatus may include: a detection module, an obtaining module, a determination module, and a response module.
  • The detection module may be configured to detect a user operation on an electronic map. The obtaining module may be configured to obtain operation data that reflects the user operation. The determination module may be configured to determine, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid. The response module may be configured to provide, based on a determination result of whether the user operation is valid, prompt information in response to the user operation.
  • In some embodiments of the present invention, the response module may comprise a first response submodule, configured to display, in response to a determination that the user operation is valid, an operable option for valid user operation on the electronic map. The determination module may be further configured to determine, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether an added object or an dragged object is located inside the configurable area and outside the configured zone. The added object or the dragged object includes a node, a line, or a zone.
  • The function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software may include one or more modules corresponding to the foregoing function.
  • In some embodiments of the present invention, a structure of the data processing apparatus may include a processor and a memory. The memory may be configured to store a program executable by the processor. The processor may be configured to execute the program stored in the memory to cause the data processing apparatus to perform the data processing method in any of the aforementioned embodiments. The data processing apparatus may further include a communication interface for the data processing apparatus to communicate with other devices or communication networks.
  • Another aspect of the present invention is directed to a computer storage medium for storing a computer software instruction used by the data processing apparatus. Upon being executed, the instruction may perform the data processing method of any of the aforementioned embodiments.
  • The embodiments of the present invention allows a user (for example, a business owner in the take-out order business) to flexibly and reasonably configure a delivery area on an electronic map in real time.
  • The above and other objectives, features, and advantages of the present invention will become more apparent after reading the exemplary embodiments in view of the accompanying drawings.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • To describe the technical solutions in the embodiments of the present invention more clearly, the following outlines the accompanying drawings to be used in the description of the embodiments of the present invention. Apparently, the accompanying drawings described below are merely some embodiments of the present invention, and a person of ordinary skill in the art may derive other drawings from these accompanying drawings without creative efforts.
  • FIG. 1 is a schematic flowchart of a data processing method applicable to an electronic map in accordance with one embodiment of the present invention.
  • FIG. 2 is a block diagram of a data processing apparatus applicable to an electronic map in accordance with one embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a data structure in accordance with one embodiment of the present invention.
  • FIG. 4 is a schematic storage diagram of a node structure shown in FIG. 3.
  • FIG. 5 is a schematic flowchart of validity check on delivered data in accordance with one embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of validity check in an add operation in accordance with one embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of validity check in a drag operation in accordance with one embodiment of the present invention.
  • DETAIL DESCRIPTION OF THE EMBODIMENTS
  • To make a person skilled in the art better understand the technical solutions of the present invention, a clear and detail description of the technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings.
  • Some processes described in the specification, claims, and accompanying drawings of the present invention may include a plurality of operations in particular order. However, it is clearly understandable that such operations may be performed not in the order described herein or may be performed concurrently. Serial numbers of the operations such as 101 and 102 are merely used to distinguish between different operations, and do not represent any order of implementation. In addition, such processes may include more or fewer operations, and the operations may be performed sequentially or concurrently. It should be noted that the words such as “first” and “second” herein are used to distinguish between different messages, devices, modules, which neither represent an order nor imply a restriction that the “first” and the “second” represent different types.
  • The technical solutions in the embodiments of the present invention will be described clearly and in full below with reference to the accompanying drawings. Apparently, the described embodiments are merely some of but not all of the embodiments of the present invention. All other embodiments derived by a person skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
  • FIG. 1 is a schematic flowchart of a data processing method applicable to an electronic map in accordance with one embodiment of the present invention. Referring to FIG. 1, the method may include the following steps.
  • In step 100, a user operation on an electronic map may be detected.
  • In some embodiments, the user operation may include adding an object and dragging an object. Certainly, the user operation may further include deleting an object. For example, in a take-out order business, when defining a delivery area, an “object” may be a node, a line, or a zone.
  • In step 102, operation data that reflects the user operation may be obtained. In other words, the operation data may be a record of the user operation.
  • In step 104, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid may be determined.
  • In some embodiments, the area that is configured based on the electronic map may include: a configurable area that is configured on the electronic map based on a user location and centered on the user location. A valid user operation should be a user operation in the configurable area. The present invention does not specifically limit a shape of the configurable area.
  • In some embodiments, the area that is configured based on the electronic map may include not only the configurable area, but also a configured zone that is configured on the electronic map based on structured zone configuration data. The structured zone configuration data may include area data, zone data, and node data. A single area datum may include at least one zone datum, and a single zone datum includes a plurality of node data. The structured zone configuration data will be described below in detail.
  • In step 106, based on a determination result of whether the user operation is valid, prompt information may be provided in response to the user operation. For example, if the user operation is valid, an option that is operable when the user operation is valid (i.e., an operable option for valid user operation) may be displayed on the electronic map; if the user operation is invalid, an option that is operable when the user operation is invalid (i.e., an operable option for invalid user operation) may be displayed on the electronic map.
  • By using the method provided in this embodiment, the user can flexibly perform zone configuration based on the electronic map. For example, in the take-out order business, a business owner can flexibly and reasonably define a delivery area based on the electronic map in real time, which improves the user experience.
  • In some embodiments, step 104 may be implemented as follows. First, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether the added object or the dragged object is located inside the configurable area and outside the configured zone may be determined. The configured zone that is configured based on the electronic map may be absent (that is, not configured). In that case, it is equivalent to only determining whether the added object or the dragged object is located inside the configurable area.
  • In some embodiments, step 104 may include one or more of the following operations: determining, based on data of a node added by a user and the configurable area that is configured based on the electronic map, whether the added node is located inside the configurable area (an operation related to the added node may be valid only when the added node is located inside the configurable area); determining, based on the configurable area and the configured zone that are configured based on the electronic map and the data of the node that is added by the user, whether the added node is located inside the configurable area and outside the configured zone (if so, the added node is determined to be valid). A single line or a single node may also be considered as a configured zone, and in that case, if the added node does not coincide with the single node or the single line, the added node is determined to be located outside the configured zone.
  • Step 104 may also include one or more of the following operations: determining, based on a line created by the user (for example, by creating two nodes and connecting them into a line) and the configured zone that is configured based on the electronic map, whether the created line intersects a line (such as a boundary of the zone) in the configured zone (if they do not intersect, the created line is determined to be valid), wherein the validity of the created line can serve as a basis for determining the validity of a to-be-closed zone formed by the line; and determining, based on the to-be-closed zone created by the user and the configured zone that is configured based on the electronic map, whether the to-be-closed zone encompasses a node inside the configured zone (if such a node does not exist, the created to-be-closed zone is determined to be valid).
  • FIG. 2 is a block diagram of a data processing apparatus applicable to an electronic map in accordance with one embodiment of the present invention. Referring to FIG. 2, the data processing apparatus may include a detection module 20, an obtaining module 22, a determination module 24, and a response module 26. These modules will be described below in detail.
  • In some embodiments, the detection module 20 may be configured to detect a user operation on an electronic map. The user operation may be, for example, adding an object, deleting an object, or dragging an object. The obtaining module 22 may be configured to obtain operation data that reflects the user operation. The determination module 24 may be configured to determine, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid. The response module 26 may be configured to provide, based on a determination result of whether the user operation is valid, prompt information in response to the user operation.
  • With the data processing apparatus provided in this embodiment, a user may flexibly and reasonably configure the electronic map (e.g., defining a delivery zone) based on the user operation in real time.
  • In some embodiments, the determination module 24 may be configured to: determine, based on the operation data and a configurable area that is configured based on the electronic map, whether the added object or the dragged object is located inside the configurable area. The determination module 24 may also be configured to: determine, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether the added object or the dragged object is located inside the configurable area and outside the configured zone.
  • In some embodiments, as shown by dashed-line boxes in FIG. 2, the data processing apparatus may further include a first configuration module and a second configuration module. The first configuration module may be configured to configure, based on a user location, the configurable area centered on the user location with a preset radius on the electronic map. The second configuration module may be configured to configure the configured zone on the electronic map based on structured zone configuration data. The structured zone configuration data may include area data, zone data, and node data. A single area datum may include at least one zone datum, and a single zone datum may include a plurality of node data. The node data may include: current coordinates of a node, coordinates of the node before the user operation, an edge vector, and visual display data.
  • In some embodiments, the response module 26 may include a first response submodule and a second response submodule. The first response submodule may be configured to display (e.g., by highlighting or emphasizing), in response to a determination that the user operation is valid, an option that is operable when the user operation is valid (i.e., an operable option for valid user operation) on the electronic map. The second response submodule may be configured to display, in response to a determination that the user operation is invalid, an option that is operable when the user operation is invalid (i.e., an operable option for invalid user operation) on the electronic map.
  • The method and the apparatus according to the embodiments of the present invention are described above in detail with reference to accompanying drawings. Exemplary implementations of some contents of the present invention will be described, from perspectives of design and application, in detail below with reference to accompanying drawings.
  • User Interaction
  • In an example of using the data processing method and apparatus based on an electronic map in accordance with the embodiments of the present invention, in the take-out order business, a delivery area may be configured by accessing software that has a function of an electronic map and that supports editing delivery area on the electronic map.
  • With respect to user interaction, a shortcut bar may be displayed on the top of a home interface of the software. For example, the shortcut bar may include operation options such as Undo, Clear, Close, and Save. Depending on data status, an operation option may be displayed in an enabled state or a disabled state. Specifically, the data status may include the following four cases. (1) When no delivery area is configured, all the operation options are grayed out and not operable. (2) When a user clicks on the map, a node may be formed at a clicked location (if the user clicks on a plurality of locations successively, nodes are connected in tandem to form sides of a polygon). In this case, Undo and Clear buttons are highlighted and enabled. However, if there is only one side or one node that is not enough to form a zone, Close and Save buttons are disabled. (3) When a plurality of (e.g., three or more) nodes are configured, the Close button may be highlighted to indicate to the user that closing is enabled, but the Save button may still be disabled because no complete zone is formed at this time. (4) Finally, when the user clicks the Close button, a defined zone may be covered by a mark color, the Close button may be grayed out, and the Save button may be highlighted. Steps (1) to (4) may constitute a zone defining process.
  • In performing the foregoing process or method, text prompts and button highlighting may be provided to guide the user during the operation.
  • Data Structure
  • To implement the foregoing guidance process, a three-level storage structure of area-zone-node may be used as a data structure. Specifically, as shown in FIG. 3, data may be organized by using a nested list. Each element in an outer list may represent an area. Each area may also be a list, in which each element may represent a zone. Each zone may include all nodes that make up the zone. Each node may include a set of latitude and longitude, and these nodes may be arranged sequentially.
  • In this embodiment, a node structure may be a defining and displaying unit at the finest level, and is the smallest unit with independent functions. In the node structure, relationships between nodes (i.e., relationships of sides) may be denoted by directional vectors.
  • FIG. 4 shows a node structure in one example. In the node structure of FIG. 4, LatLng represents a data object containing latitude and longitude, LatLngRecord represents a record of latitude and longitude objects, Polylineoptions represents a configuration for drawing a boundary, Marker represents a landmark point, Overlay line represents a landmark line; and Overlay area represents a landmark zone.
  • In summary, a node according to an embodiment of the present invention may record the following types of data: current coordinates, last recorded coordinates, an edge vector pointing to a previous node, and layer elements such as nodes, lines, and planes. The three types of data are respectively used for different functions. That is, these three types of data may be used to represent a geographic location status, an abstract boundary, and visual layer display, respectively. They are used for different control functions in the foregoing interaction logic.
  • Validity Check on Possible Down-Going Data
  • For down-going data (e.g., data from a third party, or initial data), the data may first be structured, and may be generalized into a three-level (area-zone-node) concept. In a configured logic, it may be stipulated that one business can configure a maximum of five areas, and a maximum of five zones can be defined in each area. Zones cannot overlap with each other. Specifically, a plurality of zones in a same area may not overlap, and no zones in different areas are allowed to overlap. In addition, all zones may stay within a specified maximum reasonable area.
  • In validity check, if the down-going data does not satisfy any of the foregoing conditions, the data can only be displayed, and a yellow warning bar may be shown to indicate the invalidity. No other operation may be allowed.
  • FIG. 5 shows a process of validity check in one example. The process may include: obtaining data and structuring the data; determining, respectively, whether there are duplicate nodes, whether the zones overlap with each other, whether a plurality of zones in a same area overlap, whether a plurality of zones in different areas overlap, and whether each point is within the maximum reasonable area. If a result of any of the foregoing determining operations is positive, the configuration is not allowed, and a yellow warning may be displayed. If results of all the foregoing determining operations are negative, the initialization is completed, and a configured zone may be displayed on the map for subsequent processing.
  • Real-Time Validity Check of User Operation
  • After the down-going data is structured and checked for validity, the user may be allowed to perform user operations, and validity of each operation may be checked in real time. User operations may fall into two types: add and drag.
  • FIG. 6 shows a process of validity check for an “add” operation. The process may include the following steps. First, the user may add a node. Then, the operation may be checked to determine, respectively, whether the node is a duplication (e.g., overlaps an existing node or line), whether the node lies outside a maximum area, whether the node is in a configured closed zone, and, if a side is generated concurrently based on the node, whether the side overlaps a current zone (i.e., whether the side overlaps a side or node of the zone in which the generated side is located). If a side is generated concurrently based on the node, it may also be determined that whether the side overlaps a configured closed zone. If a result of any of the foregoing determining operations is positive, the adding of the node fails and a failure prompt is displayed. If results of all the determining operations are negative, the node is added successfully, the map is rendered, and data of the added node is included into the data structure mentioned above.
  • More specifically, when a user clicks to form a node, the validity of the node may be determined by determining, respectively, whether the node coincides with an existing node in the structure, whether the node is located in an area centered on the business with a maximum reasonable radius, and whether the node is located in another closed zone.
  • When the user connects nodes into a line, the validity of a boundary may be determined by determining, respectively, whether a boundary line intersects another boundary (no matter whether the another boundary belongs to a current zone or another zone).
  • When the user closes the zone, whether the zone can be closed is determined by determining whether a last side of the zone to be closed is valid; and checking whether a node of another zone is in the zone to be closed.
  • FIG. 7 shows a process of the validity check in a drag operation. The process may include the following steps. First, a user may drag a node. Then, the operation may be checked to determine, respectively, whether a destination of the drag lies outside a maximum reasonable area, whether the node is dragged into a configured closed zone, whether a side associated with the node intersects another side of a currently configured zone, and whether the side associated with the node intersects a side of another zone. If a result of any of the foregoing determining operations is positive, the drag fails, a failure prompt is displayed, and the node returns to a location at which it resides before the drag. If results of all the determining operations are negative, the node is modified (dragged) successfully, the map is rendered, and data of the dragged node may be included into the data structure mentioned above.
  • For returning the location of the node after the drag, a current location and a previous location of the dragged node may be stored in the node structure. Thus, when the user drags the boundary, the foregoing steps are repeated to dynamically determine whether the drag operation is valid. If the drag operation is invalid, the side returns to its original state based on the location of the node.
  • To ensure visual coherence in the dragging process and ensure good user experience, a callback method provided by the Baidu map application interface may be used to continuously refresh the rendered layer and update a corresponding layer record in the node structure during the dragging process.
  • Interface Display
  • For configured zones (including nodes, lines, and closed zones), an editable zone in a current area may be displayed differently from editable zones in other areas. For example, zones in areas may be distinguished by using different colors and transparencies. In one example, when the data of the current configured zone is checked and determined to be valid, the current configured zone may be displayed in red translucence, and the boundary of the current configured zone may be displayed as a solid-line box of the same color. The zones in the other areas may be displayed as polygons without boundaries or drag points. In addition, endpoints of the current configured zone may be configured as draggable (e.g., the endpoints are explicitly identified). When the data of the current configured zone is checked and determined to be invalid, the current configured zone may be displayed in blue with a boundary, and the zones in the other areas may be displayed without boundaries nor draggable points.
  • In some embodiments, the data processing apparatus (e.g., a computer device, a mobile terminal, or a special-purpose device) provided in the embodiments of the present invention may further include a processor and a memory. The memory may be configured to store a program that are executable by the processor to perform the data processing method in the embodiment shown in FIG. 1. The processor may be configured to execute the program stored in the memory.
  • The program may include one or more computer instructions, and the one or more computer instructions may be executed by the processor. The processor may be configured to execute the computer instructions to perform the operations. The operations may include: detecting a user operation on an electronic map; obtaining operation data that reflects the user operation; determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid; and provide, based on a determination result of whether the user operation is valid, prompt information in response to the user operation.
  • Relevant parts in the foregoing description about the method embodiments, implementations of the method embodiments, and various examples, may be referred to for detail description of the operations, which will not be repeatedly described herein.
  • The present invention further provides a computer storage medium storing one or more computer software instructions used by the data processing device. The computer instructions may be executed to perform the data processing method applicable to an electronic map, as described in any of the foregoing embodiments.
  • A person skilled in the art is clearly aware that for convenience and brevity of description, a detailed working process of the apparatus and modules described above may be learned by referring to the corresponding process in the foregoing method embodiment, and is not repeated herein.
  • The apparatus embodiments described above are merely examples. The units described as discrete parts may be physically separated or not, and parts displayed as units may be physical units or not, may be located in one place or distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solution of this embodiment. A person of ordinary skill in the art can understand and implement the solution without creative efforts.
  • According to the embodiments described above, a person skilled in the art clearly understands that all the embodiments may be implemented by using software in combination with a necessary universal hardware platform, or by using hardware. Based on such an understanding, the foregoing technical solutions essentially or the part contributing to the prior art may be implemented in a form of a software product. The computer software product may be stored in a computer-readable storage medium such as a ROM/RAM, a magnetic disk, or an optical disc, and may include several instructions that enable a computer device (which may be a personal computer, a server, a network device, or the like) to perform the methods described in the foregoing embodiments or in some parts of the embodiments.
  • Finally, it should be noted that the foregoing embodiments are merely intended for describing but not limiting the technical solutions of the present invention. Although the present invention is described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features thereof, and such modifications and replacements do not cause the essence of the corresponding technical solutions to depart from the spirit or scope of the technical solutions of the embodiments of the present invention.

Claims (14)

What is claimed is:
1. A data processing method applicable to an electronic map, comprising:
detecting a user operation on an electronic map;
obtaining operation data that reflects the user operation;
determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid; and
providing, based on a determination result of whether the user operation is valid, prompt information in response to the user operation,
wherein providing prompt information in response to the user operation comprises:
displaying, in response to a determination that the user operation is valid, an operable option for valid user operation on the electronic map,
and wherein determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid comprises:
determining, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether an added object or an dragged object is located inside the configurable area and outside the configured zone, wherein the added object or the dragged object includes a node, a line, or a zone; and
determining, in response to a determination that the added object or the dragged object is located inside the configurable area and outside the configured zone, the user operation is valid.
2. The method of claim 1, wherein the user operation comprises:
adding an object or dragging an object.
3. The method of claim 1, further comprising:
configuring, based on a user location, the configurable area centered on the user location on the electronic map; and
configuring, based on structured zone configuration data, the configured zone on the electronic map.
4. The method of claim 3, wherein the structured zone configuration data comprises area data, zone data, and node data,
and wherein a single area datum comprises at least one zone datum, and a single zone datum comprises a plurality of node data.
5. The method of claim 4, wherein the node data comprises:
current coordinates of a node, coordinates of the node before the user operation, an edge vector, and visual display data.
6. The method of claim 1, wherein providing, based on a determination result of whether the user operation is valid, prompt information in response to the user operation further comprises:
displaying, in response to a determination that the user operation is invalid, an operable option for invalid user operation on the electronic map.
7. A data processing apparatus applicable to an electronic map, comprising:
a detection module, configured to detect a user operation on an electronic map;
an obtaining module, configured to obtain operation data that reflects the user operation;
a determination module, configured to determine, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid; and
a response module, configured to provide, based on a determination result of whether the user operation is valid, prompt information in response to the user operation,
wherein the response module comprises a first response submodule, configured to display, in response to a determination that the user operation is valid, an operable option for valid user operation on the electronic map,
and wherein the determination module is further configured to determine, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether an added object or an dragged object is located inside the configurable area and outside the configured zone, wherein the added object or the dragged object includes a node, a line, or a zone.
8. The apparatus of claim 7, wherein the user operation comprises: adding an object or dragging an object.
9. The apparatus of claim 7, wherein the apparatus further comprises:
a first configuration module, configured to configure, based on a user location, the configurable area centered on the user location with a preset radius on the electronic map; and
a second configuration module, configured to configure, based on structured zone configuration data, the configured zone on the electronic map.
10. The apparatus of claim 9, wherein the structured zone configuration data comprises area data, zone data, and node data,
and wherein a single area datum comprises at least one zone datum, and a single zone datum comprises a plurality of node data.
11. The apparatus of claim 10, wherein the node data comprises:
current coordinates of a node, coordinates of the node before the operation, an edge vector, and visual display data.
12. The apparatus of claim 7, wherein the response module further comprises:
a second response submodule, configured to display, in response to a determination that the user operation is invalid, an operable option for invalid user operation on the electronic map.
13. A mobile terminal, comprising a processor and a memory, wherein the memory is configured to store one or more computer instructions executable by the processor, and the processor is configured to execute the one or more computer instructions to perform a data processing method applicable to an electronic map, wherein the data processing method comprises:
detecting a user operation on an electronic map;
obtaining operation data that reflects the user operation;
determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid; and
providing, based on a determination result of whether the user operation is valid, prompt information in response to the user operation,
wherein providing prompt information in response to the user operation comprises:
displaying, in response to a determination that the user operation is valid, an operable option for valid user operation on the electronic map,
and wherein determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid comprises:
determining, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether an added object or an dragged object is located inside the configurable area and outside the configured zone, wherein the added object or the dragged object includes a node, a line, or a zone; and
determining, in response to a determination that the added object or the dragged object is located inside the configurable area and outside the configured zone, the user operation is valid.
14. A computer storage medium storing one or more computer instructions, wherein upon being executed, the computer instructions perform a data processing method comprising:
detecting a user operation on an electronic map;
obtaining operation data that reflects the user operation;
determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid; and
providing, based on a determination result of whether the user operation is valid, prompt information in response to the user operation,
wherein providing prompt information in response to the user operation comprises:
displaying, in response to a determination that the user operation is valid, an operable option for valid user operation on the electronic map,
and wherein determining, based on the operation data and an area that is configured based on the electronic map, whether the user operation is valid comprises:
determining, based on the operation data, a configurable area that is configured based on the electronic map, and a configured zone that is configured based on the electronic map, whether an added object or an dragged object is located inside the configurable area and outside the configured zone, wherein the added object or the dragged object includes a node, a line, or a zone; and
determining, in response to a determination that the added object or the dragged object is located inside the configurable area and outside the configured zone, the user operation is valid.
US16/663,308 2017-04-27 2019-10-24 Data processing method and apparatus applied to electronic map, and mobile terminal Active US10915238B2 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710286895.3A CN107146049B (en) 2017-04-27 2017-04-27 Data processing method and device applied to electronic map and mobile terminal
CN201710286895 2017-04-27
CN201710286895.3 2017-04-27
PCT/CN2018/084645 WO2018196816A1 (en) 2017-04-27 2018-04-26 Data processing method and apparatus applied to electronic map, and mobile terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084645 Continuation WO2018196816A1 (en) 2017-04-27 2018-04-26 Data processing method and apparatus applied to electronic map, and mobile terminal

Publications (2)

Publication Number Publication Date
US20200057553A1 true US20200057553A1 (en) 2020-02-20
US10915238B2 US10915238B2 (en) 2021-02-09

Family

ID=59774125

Family Applications (1)

Application Number Title Priority Date Filing Date
US16/663,308 Active US10915238B2 (en) 2017-04-27 2019-10-24 Data processing method and apparatus applied to electronic map, and mobile terminal

Country Status (3)

Country Link
US (1) US10915238B2 (en)
CN (1) CN107146049B (en)
WO (1) WO2018196816A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10915238B2 (en) * 2017-04-27 2021-02-09 Beijing Xingxuan Technology Co., Ltd. Data processing method and apparatus applied to electronic map, and mobile terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110309468A (en) * 2019-03-29 2019-10-08 云送(上海)科技有限公司 A kind of take-away supply system of modifiable coverage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090249239A1 (en) * 2008-03-31 2009-10-01 Vistaprint Technologies Limited Target-Alignment-And-Drop Control For Editing Electronic Documents
US20120235947A1 (en) * 2010-01-29 2012-09-20 Saeko Yano Map information processing device
US20140095227A1 (en) * 2012-10-03 2014-04-03 GlobeSherpa Inc. Mobile ticketing
US20200081553A1 (en) * 2016-12-14 2020-03-12 Nec Display Sollutions, Ltd. Display device, electronic blackboard system, and user interface setting method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038444A (en) * 1994-08-19 2000-03-14 Trimble Navigation Limited Method and apparatus for advising cellphone users of possible actions to avoid dropped calls
US9109909B2 (en) * 2009-07-09 2015-08-18 Tomtom International B.V. Navigation devices
CN102708214A (en) * 2012-06-15 2012-10-03 深圳市凯立德科技股份有限公司 Method for searching point of interest and terminal
CN104156357B (en) * 2013-05-13 2017-04-12 北京四维图新科技股份有限公司 Testing method and device for electronic map data
CN105808693A (en) * 2016-03-03 2016-07-27 成都高合盛科技有限责任公司 Electronic map based appointment method and apparatus
CN106446345B (en) * 2016-08-30 2019-08-20 国网江苏省电力公司 Distribution operating index processing method based on subdivision geographic area
CN107146049B (en) * 2017-04-27 2020-03-24 北京小度信息科技有限公司 Data processing method and device applied to electronic map and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090249239A1 (en) * 2008-03-31 2009-10-01 Vistaprint Technologies Limited Target-Alignment-And-Drop Control For Editing Electronic Documents
US20120235947A1 (en) * 2010-01-29 2012-09-20 Saeko Yano Map information processing device
US20140095227A1 (en) * 2012-10-03 2014-04-03 GlobeSherpa Inc. Mobile ticketing
US20200081553A1 (en) * 2016-12-14 2020-03-12 Nec Display Sollutions, Ltd. Display device, electronic blackboard system, and user interface setting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10915238B2 (en) * 2017-04-27 2021-02-09 Beijing Xingxuan Technology Co., Ltd. Data processing method and apparatus applied to electronic map, and mobile terminal

Also Published As

Publication number Publication date
US10915238B2 (en) 2021-02-09
WO2018196816A1 (en) 2018-11-01
CN107146049A (en) 2017-09-08
CN107146049B (en) 2020-03-24

Similar Documents

Publication Publication Date Title
US8516439B2 (en) Visualizing object relationships
US11574205B2 (en) Unified cognition for a virtual personal cognitive assistant of an entity when consuming multiple, distinct domains at different points in time
US10915238B2 (en) Data processing method and apparatus applied to electronic map, and mobile terminal
US11562258B2 (en) Multi-dimensional cognition for unified cognition in cognitive assistance
US10949999B2 (en) Location determination using street view images
CN107220911A (en) A kind of real estate market and information of real estate management system
CN108509533A (en) Control method, device, equipment and the computer storage media of screenshotss sharing files
US11429874B2 (en) Unified cognition for a virtual personal cognitive assistant when cognition is embodied across multiple embodied cognition object instances
US10963935B2 (en) User recommendation method and device
US20220277533A1 (en) Method and server for generating and using virtual building
US11810031B2 (en) On-site appointment assistant
US10628465B2 (en) Generating a ranked list of best fitting place names
US11902852B2 (en) On-site appointment assistant
CN107291802A (en) Relation map methods of exhibiting and device
CN112583620A (en) Network topology map generation method and device, electronic equipment and storage medium
CN105867930B (en) A kind of display methods of function calling relationship, device and terminal
CN106529953A (en) Method and device for carrying out risk identification on business attributes
US20210049134A1 (en) Insurance policy processing using questions sets
US20180255178A1 (en) End user experience via distributed option tree generation
US20200410724A1 (en) Freeform Gradient Style Blending
US20230316371A1 (en) Generating product recommendations using stacked machine learning models
US20230079041A1 (en) Combining a virtual reality interface with a smart contact lens user interface
US11860889B2 (en) Cascading data impact visualization tool
US11809520B1 (en) Localized visual similarity
CN104714799A (en) Method and system for creating dynamic display overlay

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

AS Assignment

Owner name: BEIJING XINGXUAN TECHNOLOGY CO., LTD., CHINA

Free format text: CHANGE OF NAME;ASSIGNOR:BEIJING XIAODU INFORMATION TECHNOLOGY CO., LTD.;REEL/FRAME:054610/0897

Effective date: 20190424

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE