CN109214555A - Generation method, terminal device and the medium of working region - Google Patents

Generation method, terminal device and the medium of working region Download PDF

Info

Publication number
CN109214555A
CN109214555A CN201810916980.8A CN201810916980A CN109214555A CN 109214555 A CN109214555 A CN 109214555A CN 201810916980 A CN201810916980 A CN 201810916980A CN 109214555 A CN109214555 A CN 109214555A
Authority
CN
China
Prior art keywords
region
closed curve
map elements
enclosing
map
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
CN201810916980.8A
Other languages
Chinese (zh)
Other versions
CN109214555B (en
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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201810916980.8A priority Critical patent/CN109214555B/en
Publication of CN109214555A publication Critical patent/CN109214555A/en
Application granted granted Critical
Publication of CN109214555B publication Critical patent/CN109214555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • G06Q10/063118Staff planning in a project environment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Educational Administration (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention is suitable for field of computer technology, provides generation method, terminal device and the computer readable storage medium of working region, this method comprises: obtaining the dragging track of mouse on the electronic map;According to the dragging track, closed curve is generated on the electronic map;According to the positional relationship of the closed curve and default map elements, the closed curve is adjusted, the default map elements are that pre-set there are the map elements of business objective client;Area generation made of the closed curve adjusted is enclosed is a working region.In the present invention, the region that detection user is drawn a circle to approve in electronic map by operating mouse, and adjustment is optimized automatically to corresponding closed curve, to be divided automatically by computer come the working region delimited user, the generation of working region is without artificial secondary adjustment, the efficiency of region division is which thereby enhanced, accelerates the planning process of business activity indirectly.

Description

Generation method, terminal device and the medium of working region
Technical field
The invention belongs to field of computer technology more particularly to a kind of generation methods of working region, terminal device and meter Calculation machine readable storage medium storing program for executing.
Background technique
In order to preferably plan business activity, the difference according to business activity region is needed, in preset geography Multiple business activity regions are marked off in range, so that corresponding business personnel is distributed for different business activity regions, with this Based on realize to the Regional planning of business activity.Currently, being passed through on the electronic map manually by administrative staff The mode of setting-out realizes the division in business activity region, among these just includes being put by mouse to electronic map Big or diminution draws the operation such as zone boundary by dragging mouse.
In most cases, manual operation mouse is difficult disposably to generate the line on smooth and complete fit area boundary Item, therefore, in the prior art, after manual operation mouse completes region delineation, it is also necessary to artificially be adjusted to zone boundary It is whole, meet actual zone boundary to generate.As shown in Figure 1, the zone boundary that left figure is marked by manual operation mouse, One solitary building is divided into two by the boundary, and right figure is that have passed through the zone boundary for manually adjusting and finishing, by the building It has been divided in zone boundary.However, by needing the artificial tune of the region drawn a circle to approve to manual operation mouse progress again It is whole, the efficiency of region division is undoubtedly reduced, the planning process of business activity is affected.
Summary of the invention
It can in view of this, the embodiment of the invention provides a kind of generation method of working region, terminal device and computers Storage medium is read, to solve to need the region for drawing a circle to approve manual operation mouse to carry out manually adjusting again at present, is reduced The efficiency of region division, and then the problem of affect the planning process of business activity.
The first aspect of the embodiment of the present invention provides a kind of generation method of working region, comprising:
Obtain the dragging track of mouse on the electronic map;
According to the dragging track, closed curve is generated on the electronic map;
According to the positional relationship of the closed curve and default map elements, adjust the closed curve, it is described defaultly Figure element is that pre-set there are the map elements of business objective client;
Area generation made of the closed curve adjusted is enclosed is a working region.
The second aspect of the embodiment of the present invention provides a kind of generating means of working region, and described device includes:
Acquiring unit, for obtaining the dragging track of mouse on the electronic map;
Closed cell, for generating closed curve on the electronic map according to the dragging track;
It is bent to adjust the closing for the positional relationship according to the closed curve and default map elements for adjustment unit Line, the default map elements are that pre-set there are the map elements of business objective client;
Generation unit is a working region for Area generation made of enclosing the closed curve adjusted.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory and processor, described to deposit Reservoir is stored with the computer program that can be run on the processor, and the processor executes real when the computer program Now the step of generation method of working region as described above.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, described computer-readable to deposit Storage media is stored with computer program, and the computer program realizes working region as described above when being executed by processor The step of generation method.
In embodiments of the present invention, the region that detection user is drawn a circle to approve in electronic map by operating mouse, and to phase The closed curve answered optimizes adjustment automatically, to be divided automatically by computer come the working region delimited user It cuts, the generation of working region which thereby enhances the efficiency of region division, accelerate business indirectly without artificial secondary adjustment Movable planning process.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, embodiment or the prior art will be retouched below Attached drawing needed in stating is briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention one A little embodiments for those of ordinary skill in the art without any creative labor, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the implementation flow chart of the generation method for the working region that the embodiment of the present invention one provides;
Fig. 2 is closed curve schematic diagram provided in an embodiment of the present invention;
Fig. 3 is the specific implementation flow chart of the generation method S103 for the working region that the embodiment of the present invention one provides;
Fig. 4 is the schematic diagram provided in an embodiment of the present invention being adjusted to closed curve;
Fig. 5 is the schematic diagram provided in an embodiment of the present invention being fitted to closed curve;
The implementation flow chart of the generation method of the working region provided by Embodiment 2 of the present invention Fig. 6;
Fig. 7 is multiple schematic diagrames for enclosing region provided in an embodiment of the present invention;
Fig. 8 is the implementation flow chart of the generation method S1023 of working region provided by Embodiment 2 of the present invention;
Fig. 9 is the implementation flow chart of the generation method S1023 for the working region that another embodiment of the present invention two provides;
The structural block diagram of the generating means for the working region that Figure 10 embodiment of the present invention three provides;
Figure 11 is the schematic diagram for the terminal device that the embodiment of the present invention four provides.
Specific embodiment
In being described below, for illustration and not for limitation, such as particular system structure, technology etc are proposed Detail, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that in these no tools The present invention also may be implemented in the other embodiments of body details.In other situations, omit to well-known system, device, The detailed description of circuit and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of the generation method of the working region of the offer of the embodiment of the present invention one, and details are as follows:
S101: the dragging track of mouse on the electronic map is obtained.
On the operable terminal device of user, such as the terminal devices such as desktop computer, plate, mobile phone or notebook On, by access internet, private line network or local storage space, get electronic map.Wherein, electronic map counts Word map is using computer technology, and the map for storing and consulting in a digital manner, electronic map generally uses vector mode figure As storage, map can it is arbitrarily enlarged, reduce or rotation, the above feature is conducive to user and preferably checks the thin of working region Section, and the map elements in electronic map are also Layering manifestation, are conducive to realize by the map elements of layering to workspace The automatic division in domain.
The dragging track of mouse on the electronic map is generated by user's operation mouse.In a drag operation, operate When the beginning, cursor position is located in electronic map, and user, which presses mousebutton, does not put, while mobile mouse, so that cursor is in electronics It is moved on map, user unclamps mousebutton, and cursor stops moving, whole operation process, what cursor streaked on the electronic map Track is referred to as the dragging track of mouse on the electronic map.
In actual operation, user can draw a circle to approve on the electronic map one piece of region as workspace by dragging mouse Domain, the working region are the development region of business activity.The dragging track of mouse on the electronic map is by user to workspace The division wish in domain determines, can be broken line, box or curve, and the dragging track can be closed trajectory, or no Closed trajectory.
S102: according to the dragging track, closed curve is generated on the electronic map.
After getting the dragging track of mouse on the electronic map, the starting point and ending point of the dragging track is detected, If the starting point and ending point for dragging track is overlapped, the dragging track is represented as the dragging track of closure, then electronically Corresponding closed curve is generated on figure, which is overlapped with dragging track.
However, there are inexactnesies for user's operation in many cases, that is, drag the starting point and ending point of track simultaneously It will not be overlapped, at this point, dragging track is not closed trajectory, then computer background is needed to carry out sealing part to the dragging track Reason regenerates closed curve.As shown in Fig. 2, solid line representative is dragging track, and dotted line is computer to the dragging track Carry out the line segment filled up after sealing treatment.The sealing treatment mode of dragging track will be explained in detail in embodiments below It states, this will not be repeated here.
S103: according to the positional relationship of the closed curve and default map elements, adjusting the closed curve, described Default map elements are that pre-set there are the map elements of business objective client.
By in the region that electronic map is shown, necessarily including miscellaneous map elements, for example, it is public Garden, building site, lake, undeveloped mountain forest, etc., and for common business, above-mentioned map elements region is usually It does not include the corresponding target customer of business, here, such region is referred to as non-traffic zone of action, and it is normal to target customer In region, such as office building, house etc., it is called business activity region.In the present embodiment, there are business mesh for above-mentioned The map elements for marking client, are in advance configured it in electronic map, using as default ground element.Most commonly seenly, may be used The building in electronic map is disposed as default map elements, further, by the office building in electronic map or live Residence is set as default map elements.In embodiments of the present invention, for convenience of explanation, the building in electronic map is arranged To preset map elements, embodiment elaboration is carried out based on this.
Since a part in closed curve is generated by user's operation mouse, there are the inexactness of operation, because This, it is understood that there may be closed curve the case where passing through from default map elements, for example, closed curve is from a solitary building Between pass through, this closed curve setting be actually without be conducive to business activity planning because the solitary building can not be learnt Whether the scope of business of the working region is belonged to.Therefore, in embodiments of the present invention, according to the closed curve of generation and default The positional relationship of map elements, is adjusted closed curve.Adjustment mode is as shown in Figure 3:
S1031: detect whether the closed curve passes through any one of default map elements.
S1032: if the closed curve passes through any one of default map elements, adjusting the closed curve, with The closed curve adjusted is set to surround the default map elements.
If any one section in closed curve is preset map elements by any one on electronic map, to the section Closed curve is adjusted, compared to the default map elements that closed curve adjusted is surrounded, closed curve adjusted The default map elements that this section of closed curve is passed through before increasing in the default map elements surrounded.Such as the left figure of Fig. 4 Shown, the closed curve before adjustment have passed through building 2, and building 2 is enclosed in curve by closed curve adjusted Portion.It is readily apparent that, as another implementation, closed curve adjusted can also be allowed to preceding this section of closed curve institute The default map elements passed through are placed in curved exterior, and adjustment rule can be set.
S1033: if the closed curve without any one of default map elements, by the closed curve with The arterial traffic closest with its is mutually fitted in the electronic map.
It include constituting arterial traffic by map elements such as national highway, provincial highway, township road, railway, rivers in electronic map, And the transportation network that these map elements are constituted naturally realizes region segmentation to electronic map, in general, administrative region Division be also using arterial traffic as boundary.Therefore, in embodiments of the present invention, if adjustment before closed curve or adjustment Closed curve afterwards, then will be in closed curve and electronic map without any one default map elements on electronic map Closest arterial traffic is mutually fitted with its, and closed curve segmentation is adjusted to the arterial traffic closest with it.Example Property, Fig. 5 left figure is the closed curve before adjustment, and Fig. 5 right figure is the closed curve being fitted with arterial traffic.It adjusts Closed curve after whole is more regular, more apparent to the division in region, and will not influence in closed curve and originally included Default map elements.
S104: map area made of the closed curve adjusted is enclosed is generated as a working region.
In embodiments of the present invention, the region that detection user is drawn a circle to approve in electronic map by operating mouse, and to phase The closed curve answered optimizes adjustment automatically, to be divided automatically by computer come the working region delimited user It cuts, the generation of working region which thereby enhances the efficiency of region division, accelerate business indirectly without artificial secondary adjustment Movable planning process.
Fig. 6 shows the implementation process of the generation method of working region provided by Embodiment 2 of the present invention, of the invention real On the basis for applying example one, the embodiment of the present invention two refines S102, is detailed in the related of S1021~S1023 and illustrates, Remaining can be found in the related elaboration in the embodiment of the present invention one to the identical step of the embodiment of the present invention one, and this will not be repeated here.
S101: the dragging track of mouse on the electronic map is obtained.
S1021: it if the starting point and ending point of the dragging track is not overlapped, generates and drags what track was overlapped with described Open curve, and generate the line segment that N endpoint is respectively the starting point and the terminating point, line segment described in N item respectively with The open curve forms N number of enclosing region, and the different enclosing regions correspond to different map elements set, describedly The corresponding default map elements for enclosing region and being surrounded are contained in figure elements combination, the line segment includes straight Line segment, broken line or curved section, the N are the integer greater than 1.
If the starting point and ending point of dragging track is not overlapped, the dragging track is represented as inc dragging track, It so needs computer background to carry out sealing treatment to the dragging track, regenerates closed curve.Since dragging track is not closed It closes, it is therefore desirable to line is carried out between the starting point and ending point of dragging track, to close the dragging track.In the present invention In embodiment, the open curve being overlapped with dragging track, i.e. bold portion in Fig. 7, in addition, N line can be generated are firstly generated Section, i.e. dotted portion in Fig. 7, two endpoints of every line segment are the starting point and ending point for dragging track, N line segment The N kind sealing for respectively representing dragging track is possible, and N is the integer greater than 1.Further, the line segment of generation can be straight line Section, broken line or curved section.So, as shown in fig. 7, every line segment forms an enclosing region with open curve, To obtain three enclosing regions, several default map elements being enclosed in each enclosing region, here, claiming each enclosing The collection of the default map elements composition surrounded in region is combined into map elements set, then being readily apparent that, difference encloses region institute Corresponding map elements set is different.For example, enclosing the corresponding map elements collection in region 71 is combined into { building 1 ... ..., building 4, building 5 }, enclose the corresponding map elements collection in region 72 be combined into building 1 ... ..., building 4, Building 5, building 6 }, it encloses the corresponding map elements collection in region 73 and is combined into { building 1 ... ..., building 4, building 5, building 6, building 7, building 8 }.
S1022: the corresponding business datum of each map elements set is determined respectively.
The corresponding business datum of map elements set, namely enclose the corresponding business datum in region, wherein business datum Including following any one or more: business objective customer quantity, portfolio and enclosing region area.In computer background number According to the business objective that can store in library in business datum, such as every solitary building corresponding to each default geographic element Customer quantity, portfolio caused by the business objective client in every solitary building, and enclosing region area can be directly according to electricity Dimension data in sub- map converts to obtain.
S1023: it according to the corresponding business datum of each map elements set, is determined from N number of enclosing region The corresponding line segment in the enclosing region determined and the open curve are generated as by an enclosing region out The closed curve.
As an embodiment of the present invention, the realization of S1023 is as shown in Figure 8:
S801: on the electronic map by each corresponding enclosing region of map elements set and the business Data correlation is shown, is instructed so that user chooses according to the information input of display.
Region will be enclosed and be associated with display with business datum, the purpose is to allow user to be more visually observed that each enclosing The corresponding business datum in region.So-called association display can be business datum showing closed curve corresponding in enclosing region On, or be also possible to index closed curve, to indicate corresponding business datum.In addition, user checks business number According to when, can be selected in N number of enclosing region by mouse or keyboard, selected enclosing region and its corresponding industry Business data are highlighted.
S802: determine that described choose instructs one of them indicated described enclosing area in region from N number of described enclose Domain.
User after having checked the corresponding business datum in N number of enclosing region, from N number of enclosing region select one its most The enclosing region divided is had a mind to, and assigns selection instruction, to complete to enclose the selected of region.
Further, it is based on business datum, the enclosing regional choice that computer background can be each to user, which is inclined to, to carry out Acquisition, to excavate the region division preference of user by historical data.For example, user preference selects in multiple enclosing regions Area biggish one is selected, then, it, can be preferentially to the maximum enclosing of area when showing N number of enclosing region to user next time Region is highlighted, and to facilitate user promptly to assign selection instruction, improves the division efficiency of working region.
As another embodiment of the present invention, the realization of S1023 is as shown in Figure 9:
S901: obtaining region division index, and the region division index is used to indicate the criteria for classifying of working region.
Different types of data correspond to different region division indexs, by taking business objective customer quantity as an example, are carrying out industry Be engaged in zone of action division when, should not too much also should not be very little it is often required that the customer quantity in a region is moderate. Such as, it is desirable that the business objective customer quantity in each working region is 100 or so, then 100 are and business objective client The corresponding region division index of quantity.
S902: it from the corresponding business datum of each map elements set, selects and the region division index The highest business datum of matching degree.
For example, enclosing business objective customer quantity in region 71 is 110, business objective customer quantity in region 73 is enclosed It is 180, then, the region division targets match degree highest of region 71 and 100 business objective client is enclosed, then that chooses encloses Closing region is 71.
S903: it is determined from N number of enclosing region and the highest business of the region division targets match degree The corresponding enclosing region of data.
S103: according to the positional relationship of the closed curve and default map elements, adjusting the closed curve, described Default map elements are that pre-set there are the map elements of business objective client.
S104: Area generation made of the closed curve adjusted is enclosed is a working region.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Figure 10 shows the structural block diagram of the generating means of the working region of the offer of the embodiment of the present invention four, the workspace The dividing device in domain can be located in the terminal device of computer, plate, notebook, mobile terminal, of the invention real for running Apply the division methods of working region described in example.For ease of description, only the parts related to this embodiment are shown by Figure 10, Details are as follows:
The device includes:
Acquiring unit 1001 obtains the dragging track of mouse on the electronic map.
Closed cell 1002 generates closed curve on the electronic map according to the dragging track.
It is bent to adjust the closing according to the positional relationship of the closed curve and default map elements for adjustment unit 1003 Line, the default map elements are that pre-set there are the map elements of business objective client.
Generation unit 1004, Area generation made of the closed curve adjusted is enclosed are a working region.
Optionally, the closed cell 1002 is specifically used for:
If the starting point and ending point of the dragging track is not overlapped, it is bent to generate the opening being overlapped with the dragging track Line, and the line segment that N endpoint is respectively the starting point and the terminating point is generated, line segment described in N item is opened with described respectively Mouth curve forms N number of enclosing region, and the different enclosing regions correspond to different map elements set, the map elements The corresponding default map elements for enclosing region and being surrounded are contained in set, the line segment includes straightway, folding Line segment or curved section, the N are the integer greater than 1;
The corresponding business datum of each map elements set is determined respectively;
According to the corresponding business datum of each map elements set, one is determined from N number of enclosing region The corresponding line segment in the enclosing region determined and the open curve are generated as the envelope by the enclosing region Closed curve.
Further, described according to the corresponding business datum of each map elements set, from N number of enclosing area The enclosing region is determined in domain, comprising:
Each corresponding enclosing region of map elements set and the business datum are closed on the electronic map Connection display, instructs so that user chooses according to the information input of display;
Determine that described choose instructs one of them indicated described enclosing region in region from N number of described enclose.
Further, described according to the corresponding business datum of each map elements set, from N number of enclosing area The enclosing region is determined in domain, comprising:
Region division index is obtained, the region division index is used to indicate the criteria for classifying of working region;
From the corresponding business datum of each map elements set, select and the region division targets match Spend the highest business datum;
It is determined from N number of enclosing region and the highest business datum of the region division targets match degree The corresponding enclosing region.
Further, the business datum includes following any one or more: business objective customer quantity, portfolio With enclosing region area.
Optionally, the closed cell 1002 is also used to:
If the starting point and the terminating point are overlapped, the closed curve being overlapped with the dragging track is generated.
Optionally, the adjustment unit 1003 is specifically used for:
Detect whether the closed curve passes through any one of default map elements;
If the closed curve passes through any one of default map elements, the closed curve is adjusted, so that adjustment The closed curve afterwards surrounds the default map elements;
If the closed curve is without any one of default map elements, by the closed curve and the electricity The arterial traffic closest with its is mutually fitted in sub- map.
Figure 11 is the schematic diagram for the terminal device that the embodiment of the present invention three provides.As shown in figure 11, the terminal of the embodiment Equipment 110 includes: processor 1100, memory 1101 and is stored in the memory 1101 and can be in the processor The computer program 1102 run on 1100.The processor 1100 is realized above-mentioned each when executing the computer program 1102 Step in the generation method embodiment of a working region, such as step 101 shown in FIG. 1 is to 104.Alternatively, the processor The function of each module/unit in above-mentioned each Installation practice, such as Fig. 9 are realized when the 1100 execution computer program 1102 The function of shown module 91 to 94.
Illustratively, the computer program 1102 can be divided into one or more module/units, one Or multiple module/units are stored in the memory 1101, and are executed by the processor 1100, to complete this hair It is bright.One or more of module/units can be the series of computation machine program instruction section that can complete specific function, should Instruction segment is for describing implementation procedure of the computer program 1102 in the terminal device 110.
The terminal device 110 can be the calculating such as desktop PC, notebook, palm PC and cloud server Equipment.The terminal device may include, but be not limited only to, processor 1100, memory 1101.Those skilled in the art can be with Understand, Figure 11 is only the example of terminal device 110, does not constitute the restriction to terminal device 110, may include than diagram More or fewer components perhaps combine certain components or different components, such as the terminal device can also include Input-output equipment, network access equipment, bus etc..
Alleged processor 1100 can be central processing unit (Central Processing Unit, CPU), can be with It is other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic device Part, discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processing Device etc..
The memory 1101 can be the internal storage unit of the terminal device 110, such as terminal device 110 Hard disk or memory.The memory 1101 is also possible to the External memory equipment of the terminal device 110, such as the terminal The plug-in type hard disk being equipped in equipment 110, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 1101 can also both include the end The internal storage unit of end equipment 110 also includes External memory equipment.The memory 1101 is for storing the computer journey Other programs and data needed for sequence and the terminal device.The memory 1101 can be also used for temporarily storing Data through exporting or will export.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution essence of the application On all or part of the part that contributes to existing technology or the technical solution can be with the shape of software product in other words Formula embodies, which is stored in a storage medium, including some instructions are used so that a calculating Machine equipment (can be personal computer, server or the network equipment etc.) executes each embodiment the method for the application All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can be with Store the medium of program code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although reference The application is described in detail in previous embodiment, those skilled in the art should understand that: it still can be right Technical solution documented by foregoing embodiments is modified or equivalent replacement of some of the technical features;And this It modifies or replaces, the spirit and model of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution It encloses.

Claims (10)

1. a kind of generation method of working region characterized by comprising
Obtain the dragging track of mouse on the electronic map;
According to the dragging track, closed curve is generated on the electronic map;
According to the positional relationship of the closed curve and default map elements, the closed curve is adjusted, the default map is wanted Element is that pre-set there are the map elements of business objective client;
Area generation made of the closed curve adjusted is enclosed is a working region.
2. the generation method of working region as described in claim 1, which is characterized in that it is described according to the dragging track, Closed curve is generated on the electronic map, comprising:
If the starting point and ending point of the dragging track is not overlapped, the open curve being overlapped with the dragging track is generated, with And generate the line segment that N endpoint is respectively the starting point and the terminating point, line segment described in N item respectively with the open curve N number of enclosing region is formed, and the different enclosing regions correspond to different map elements set, wrap in the map elements set The corresponding default map elements for enclosing region and being surrounded are contained, the line segment includes straightway, broken line or song Line segment, the N are the integer greater than 1;
The corresponding business datum of each map elements set is determined respectively;
According to the corresponding business datum of each map elements set, determined described in one from N number of enclosing region Region is enclosed, it is bent that the corresponding line segment in the enclosing region determined and the open curve are generated as the closing Line.
3. the generation method of working region as claimed in claim 2, which is characterized in that described according to each map elements Gather corresponding business datum, determine the enclosing region from N number of enclosing region, comprising:
The corresponding enclosing region of each map elements set is associated with the business datum on the electronic map aobvious Show, is instructed so that user chooses according to the information input of display;
Determine that described choose instructs one of them indicated described enclosing region in region from N number of described enclose.
4. the generation method of working region as claimed in claim 2, which is characterized in that described according to each map elements Gather corresponding business datum, determine the enclosing region from N number of enclosing region, comprising:
Region division index is obtained, the region division index is used to indicate the criteria for classifying of working region;
From the corresponding business datum of each map elements set, select and the region division targets match degree highest The business datum;
It is determined from N number of enclosing region corresponding with the highest business datum of the region division targets match degree The enclosing region.
5. such as the generation method of the described in any item working regions of claim 2 to 4, which is characterized in that the business data packet It includes following any one or more: business objective customer quantity, portfolio and enclosing region area.
6. the generation method of working region as claimed in claim 2, which is characterized in that it is described according to the dragging track, Closed curve is generated on the electronic map, further includes:
If the starting point and the terminating point are overlapped, the closed curve being overlapped with the dragging track is generated.
7. the generation method of working region as described in claim 1, which is characterized in that described according to the closed curve and pre- If the positional relationship of the map elements of classification adjusts the closed curve, comprising:
Detect whether the closed curve passes through any one of default map elements;
If the closed curve passes through any one of default map elements, the closed curve is adjusted, so that adjusted The closed curve surrounds the default map elements;
If the closed curve is without any one of default map elements, by the closed curve and the electronic map In the arterial traffic closest with its be mutually fitted.
8. a kind of generating means of working region, which is characterized in that described device includes:
Acquiring unit, for obtaining the dragging track of mouse on the electronic map;
Closed cell, for generating closed curve on the electronic map according to the dragging track;
Adjustment unit adjusts the closed curve, institute for the positional relationship according to the closed curve and default map elements Stating default map elements is that pre-set there are the map elements of business objective client;
Generation unit is a working region for Area generation made of enclosing the closed curve adjusted.
9. a kind of terminal device, including memory and processor, the memory, which is stored with, to be run on the processor Computer program, which is characterized in that the processor is realized when executing the computer program as claim 1 to 7 is any The step of generation method of working region described in.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the computer program realizes the generation side of working region as described in any one of claim 1 to 7 when being executed by processor The step of method.
CN201810916980.8A 2018-08-13 2018-08-13 Working area generation method, terminal equipment and medium Active CN109214555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810916980.8A CN109214555B (en) 2018-08-13 2018-08-13 Working area generation method, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810916980.8A CN109214555B (en) 2018-08-13 2018-08-13 Working area generation method, terminal equipment and medium

Publications (2)

Publication Number Publication Date
CN109214555A true CN109214555A (en) 2019-01-15
CN109214555B CN109214555B (en) 2023-06-27

Family

ID=64988301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810916980.8A Active CN109214555B (en) 2018-08-13 2018-08-13 Working area generation method, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN109214555B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694910A (en) * 2020-05-26 2020-09-22 北京顺达同行科技有限公司 Electronic map display method, related device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092965A (en) * 2013-01-22 2013-05-08 百度在线网络技术(北京)有限公司 Searching method, system, terminal and server based on map in mobile terminal
CN105373790A (en) * 2015-10-23 2016-03-02 北京汉王数字科技有限公司 Layout analysis method and device
CN107504976A (en) * 2017-07-05 2017-12-22 南宁学院 A kind of short-distance transport unmanned plane during flying route planning method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092965A (en) * 2013-01-22 2013-05-08 百度在线网络技术(北京)有限公司 Searching method, system, terminal and server based on map in mobile terminal
CN105373790A (en) * 2015-10-23 2016-03-02 北京汉王数字科技有限公司 Layout analysis method and device
CN107504976A (en) * 2017-07-05 2017-12-22 南宁学院 A kind of short-distance transport unmanned plane during flying route planning method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694910A (en) * 2020-05-26 2020-09-22 北京顺达同行科技有限公司 Electronic map display method, related device and storage medium

Also Published As

Publication number Publication date
CN109214555B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN110363449A (en) A kind of Risk Identification Method, apparatus and system
CN105101093B (en) A kind of network topology method for visualizing on geographical location information
Angadi et al. Time Series Data Analysis for Stock Market Prediction using Data Mining Techniques with R.
US10373071B2 (en) Automated intelligent data navigation and prediction tool
CN106530132A (en) Power load clustering method and device
Gendron et al. Matheuristics based on iterative linear programming and slope scaling for multicommodity capacitated fixed charge network design
She et al. The network-max-P-regions model
CN106875320A (en) The efficient visual analysis method of ship aeronautical data under cloud environment
WO2019233089A1 (en) Method and device for large-ratio scale reduction of internet testbed topology
Wang et al. A fast candidate viewpoints filtering algorithm for multiple viewshed site planning
Lazaro et al. Ten years of research on the water-energy-food nexus: An analysis of topics evolution
Li et al. PICKT: a solution for big data analysis
Ghobadi Merging decision-making units with interval data
CN106844550A (en) Method and device is recommended in a kind of virtual platform operation
CN108880871A (en) A kind of wireless sensor network topology resource distribution method and device
Yuan et al. A dynamic clustering ensemble learning approach for crude oil price forecasting
CN109214555A (en) Generation method, terminal device and the medium of working region
CN117009038B (en) Graph computing platform based on cloud native technology
Lee et al. The nature of Coasean property
Mistry et al. Qualitative economic model for long-term IaaS composition
Chen et al. iGLASS: An open source SDSS for public school location-allocation
CN107153705A (en) The application program sort method and server of a kind of web browser
Limón et al. A windowing strategy for distributed data mining optimized through GPUs
Agapitos et al. Genetic programming with memory for financial trading
CN111738864B (en) Method, device and equipment for identifying group to which business entity belongs

Legal Events

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