Invention content
The embodiment of the present invention provides a kind of determination method and device in the full frame region of terminal, to realize that using terminal carries outScheduling improves the accuracy of the scheduling to personnel called.
A kind of determination method in the full frame region of terminal provided in an embodiment of the present invention, including:
The display area for the map that first terminal adjustment is chosen;
The first terminal obtains the coordinate information on each vertex for showing screen;
The first terminal determines each top of the display screen according to the coordinate information on each vertex of the display screenCoordinate information of the point in the display area of the map.
Optionally, the first terminal is in seat of each vertex in the display area of the map for determining the display screenAfter marking information, further include:
Coordinate information of the first terminal by each vertex of the display screen in the display area of the map is sentTo server;Coordinate information of each vertex of the display screen in the display area of the map is determined for the serverSecond terminal to be called;
The first terminal receives the call object list that the server is sent, and the call object list includes waiting forThe number information of the second terminal of calling;
The first terminal calls the second terminal according to the number information of the second terminal to be called.
Optionally, the first terminal determines the display screen according to the coordinate information on each vertex of the display screenCurtain each vertex the display area of the map coordinate information, including:
The first terminal obtains the coordinate information of the central point of the display area of the map and current engineer's scale;
Coordinate information and current engineer's scale of the first terminal according to the central point of the display area of the map, willThe coordinate information on each vertex of the display screen is converted to display of each vertex in the map of the display screenThe coordinate information in region.
Optionally, the coordinate information on each vertex of the display screen is converted to the display by the first terminalCoordinate information of each vertex of screen in the display area of the map meets following formula (1):
The formula (1) is:
Wherein, ptGeo.x and ptGeo.y is the coordinate information of the display area of map, and ptWnd.x and ptWnd.y are aobviousThe coordinate information on each vertex of display screen curtain, ptWndCenter.x and ptWndCenter.y are the coordinate letter for showing center's point of screenBreath, ptGeoCenter.x and ptGeoCenter.y are the coordinate information of the central point of the display area of map, resolutionFor the current engineer's scale in the display area of map.
Correspondingly, the embodiment of the present invention also provides a kind of determination method in the full frame region of terminal, including:
Server obtains coordinate information of each vertex in the display area of map for the display screen that first terminal is sent;
The server, in the coordinate information of the display area of map, inquires data according to each vertex of the display screenEach location information reported by the second terminal stored in library determines display of each vertex in map for being located at the display screenThe corresponding second terminal to be scheduled waited in dispatcher-controlled territory of the coordinate information in region;
The server sends call object list to the first terminal, and the call object list includes to be calledThe number information of second terminal.
Optionally, seat of each vertex in the display area of map for the display screen that first terminal is sent is obtained in serverBefore marking information, further include:
The server obtains each location information reported by the second terminal, and the location information includes the second terminalNumber information, reports temporal information at position longitude and latitude;
The server stores each location information reported by the second terminal in the database.
Correspondingly, the embodiment of the present invention also provides a kind of determining device in the full frame region of terminal, including:
Adjustment unit, the display area for adjusting the map chosen;
Acquiring unit, the coordinate information on each vertex for obtaining display screen;
Determination unit determines each of the display screen for the coordinate information according to each vertex for showing screenCoordinate information of the vertex in the display area of the map.
Optionally, further include transmission unit, receiving unit and calling unit;
The transmission unit, in coordinate of each vertex in the display area of the map for determining the display screenAfter information, the coordinate information by each vertex of the display screen in the display area of the map is sent to server;InstituteIt states the coordinate information of each vertex of display screen in the display area of the map and determines to be called for the serverTwo terminals;
The receiving unit, the call object list sent for receiving the server, in the call object listInclude the number information of second terminal to be called;
The calling unit, for calling the second terminal according to the number information of the second terminal to be called.
Optionally, the determination unit is specifically used for:
Obtain the coordinate information of the central point of the display area of the map and current engineer's scale;
According to the coordinate information of the central point of the display area of the map and current engineer's scale, by the display screenEach vertex coordinate information be converted to it is described display screen each vertex the display area of the map coordinate information.
Optionally, the determination unit be specifically used for according to formula (1) by it is described display screen each vertex seatMark information is converted to coordinate information of each vertex in the display area of the map of the display screen:
The formula (1) is:
Wherein, ptGeo.x and ptGeo.y is the coordinate information of the display area of map, and ptWnd.x and ptWnd.y are aobviousThe coordinate information on each vertex of display screen curtain, ptWndCenter.x and ptWndCenter.y are the coordinate letter for showing center's point of screenBreath, ptGeoCenter.x and ptGeoCenter.y are the coordinate information of the central point of the display area of map, resolutionFor the current engineer's scale in the display area of map.
Correspondingly, the embodiment of the present invention also provides a kind of determining device in the full frame region of terminal, including:
Acquiring unit, coordinate of each vertex for showing screen in the display area of map for obtaining first terminal transmissionInformation;
Determination unit, for, in the coordinate information of the display area of map, being inquired according to each vertex of the display screenEach location information reported by the second terminal stored in database determines each vertex for being located at the display screen in mapThe corresponding second terminal to be scheduled waited in dispatcher-controlled territory of the coordinate information of display area;
Transmission unit, for sending call object list to the first terminal, the call object list includes waiting exhalingThe number information for the second terminal cried.
Optionally, the acquiring unit is obtaining each vertex for the display screen that first terminal is sent in the viewing area of mapBefore the coordinate information in domain, it is additionally operable to:
Obtain each location information reported by the second terminal, the location information include the second terminal number information,Position longitude and latitude reports temporal information;
In the database by each location information storage reported by the second terminal.
Correspondingly, the embodiment of the present invention also provides a kind of computing device, including:
Memory, for storing program instruction;
Processor executes above-mentioned terminal for calling the program instruction stored in the memory according to the program of acquisitionThe method of full frame area call.
Correspondingly, the embodiment of the present invention also provides a kind of computer storage media, the computer readable storage medium is depositedComputer executable instructions are contained, the computer executable instructions are for making computer execute the above-mentioned full frame area call of terminalMethod.
The embodiment of the present invention shows that first terminal by adjusting the display area of map to be scheduled, obtains and shows screenEach vertex coordinate information, according to display screen each vertex coordinate information, determine show screen each vertex in mapThe coordinate information of display area then coordinate information by each vertex for showing screen in the display area of map is sent to clothesIt is engaged in device, then receives the call object list of server transmission, finally according to the number information of second terminal to be called calling theTwo terminals.It is sent to server by the coordinate information on the corresponding map of display screen of terminal, so that server can be trueSecond terminal to be called is made, to realize the calling to second terminal, improves and carries out area people in user selected areasScheduling accurate rate.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make intoIt is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementationExample.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative effortsAll other embodiment, shall fall within the protection scope of the present invention.
Fig. 1 illustratively shows a kind of determination method suitable for the full frame region of terminal provided in an embodiment of the present inventionSystem architecture, the system architecture may include at least one first terminal 101, at least one second terminal 102 and server103;Wherein first terminal 101, second terminal 102 can be communicated by network with server 103.
The first terminal 101 and second terminal 102 can be the equipment to support installation intercommunication function, for example, mobile phone, handRing, tablet computer, laptop, Ultra-Mobile PC (Ultra-Mobile Personal Computer,UMPC), personal digital assistant (Personal Digital Assistant, PDA) equipment, mobile unit, wearable device etc.,It is not limited solely to communication terminal.In embodiments of the present invention, the first terminal 101 and second terminal 102 can be intercommunication terminal,It may be implemented mutually to call.
In embodiments of the present invention, first terminal can be by dispatcher's intercommunication terminal that dispatcher holds, second terminalCan be common intercommunication terminal, which is the terminal other than dispatcher's intercommunication terminal, for scheduled peopleThe terminal held described in member.
In order to preferably describe the embodiment of the present invention, will be interacted below by first terminal, second terminal and serverThe full frame region of terminal is determining and the flow of calling to describe for mode.
Fig. 2 illustratively shows the flow that the full frame region of terminal is determining and calls, including:
Step 201, second terminal reporting position information.
Second terminal can timing to server report oneself newest location information, for example, 1 minute, 5 minutes it is primaryFrequency reports.The location information reported may include the phone number of login account, position longitude and latitude, on the information such as call time,The embodiment of the present invention is only example effect, without limitation.All second terminals can periodically report the position of oneselfInformation.
Step 202, server storage location information.
Server, can be by each position reported by the second terminal after receiving each location information reported by the second terminalInformation storage in the database, uses in case the later stage inquires.
Step 203, the display area of first terminal adjustment map.
Dispatcher needs the engineer's scale for adjusting map and translation map when needing dispatcher to support spot, withJust the display screen of first terminal shows that the position where incident point, dispatcher drag map in the display screen of first terminalDuring, first terminal adjusts the display area of map to be scheduled, and simultaneous display is to dispatcher.The map to be scheduledDisplay area need to include that full complement completely shows in current screen, need dispatcher carry out map scaling.
Step 204, first terminal obtains the coordinate information on each vertex of terminal display.
Behind the display area of adjustment map, first terminal needs to obtain the coordinate information for showing each vertex of screen, also may be usedTo say the coordinate information on each vertex for being the corresponding screen of map display area.
The origin of screen coordinate system is shown in the upper left corner, the direction that can set X-axis is incremented by the right, the direction of Y-axis be toIt is incremental down, therefore each vertex coordinate (unit Pixel under full frame state:Pixel) computational methods it is as follows:Screen upper leftAngle Point1:X=0, y=0;Screen lower left corner Point2:X=0, y=WindowHeight (screen height);The screen upper right cornerPoint3:X=WindowWidth (screen width), y=0;Screen lower right corner Point4:(screen is wide by x=WindowWidthDegree), y=WindowHeight (screen height).For example, screen pixels be 480*800, then the top left co-ordinate of screen be (0,0), upper right angular coordinate is (480,0), and lower-left angular coordinate is (0,800), and bottom right angular coordinate is (480,800).
Step 205, first terminal will show that the coordinate information on each vertex of screen is converted to the seat of the display area of mapMark information.
The first terminal can be determined according to the coordinate information on each vertex of display screen and show that each vertex of screen existsThe coordinate information of the display area of map, specifically, first terminal needs to obtain the coordinate of the central point of the display area of mapInformation and current engineer's scale, then the coordinate information of the central point of display area according to the map and current engineer's scale, are incited somebody to actionShow that the coordinate information on each vertex of screen is converted to coordinate information of each vertex in the display area of map of display screen.
The transfer principle that the coordinate of screen is converted to map reference is to click through the center of the central point of map and screenThen row matching gives a screen coordinate and map is calculated according to the offset of the coordinate and map center point and engineer's scaleCoordinate.
For example, screen center's point coordinates:PtWndCenter.x=WindowWidth/2, ptWndCenter.y=WindowHeight/2;Map center point coordinates can be obtained by map universal method, it is assumed that and it is ptGeoCenter.x,ptGeoCenter.y;The current engineer's scale of map can also be obtained by map universal method, it is assumed that be resolution;GroundThe definition rule of figure coordinate:The X axis right side is incremented by, and is incremented by Y-axis, therefore difference lies in Y-axis for map reference and screen coordinateIt is opposite to be incremented by direction.
The map longitude and latitude of each vertex correspondence of screen can be specifically obtained by formula (1).
The formula (1) is:
Wherein, ptGeo.x and ptGeo.y is the coordinate information of the display area of map, and ptWnd.x and ptWnd.y are aobviousThe coordinate information on each vertex of display screen curtain, ptWndCenter.x and ptWndCenter.y are the coordinate letter for showing center's point of screenBreath, ptGeoCenter.x and ptGeoCenter.y are the coordinate information of the central point of the display area of map, resolutionFor the current engineer's scale in the display area of map.
Each vertex of above-mentioned display screen the display area of map coordinate information can the full frame region pair of terminalThe coordinate information on map answered.
Step 206, first terminal sends the coordinate information of the map of each vertex correspondence.
First terminal needs to be sent to service after obtaining the coordinate information of the map of each vertex correspondence of display screenDevice can be only to send coordinate information here, and the seat of the map for each vertex correspondence for showing screen can also be sent to serverMark information institute frame selects area information, it may also be said to be to wait for dispatcher-controlled territory.
Step 207, server inquires the second terminal in the region of the coordinate information of the map of each vertex correspondence, and rawAt call object list.
Coordinate information of the server on each vertex for the display screen for receiving first terminal transmission in the display area of mapLater, can be stored in the coordinate information inquiry database of the display area of map according to each vertex of display screen each theThen the location information of two terminals reported determines that each vertex for being located at display screen is believed in the coordinate of the display area of mapThe corresponding second terminal to be scheduled waited in dispatcher-controlled territory, that is, second terminal to be called are ceased, then can be generatedCall object list, the call object list may include the number information of second terminal to be scheduled.
Step 208, server returns to call object list.
After server generates call object list, it is sent to first terminal, so that first terminal is according to call object listCall corresponding second terminal.
Step 209, first terminal initiates calling.
After first terminal receives the call object list of server transmission, according to the second terminal in call object listNumber information call corresponding second terminal, to complete to dispatch.
First terminal obtains the coordinate letter on each vertex for showing screen by adjusting the display area of map to be scheduledBreath determines the coordinate for showing each vertex of screen in the display area of map according to the coordinate information on each vertex of display screenCoordinate information of the information then by each vertex for showing screen in the display area of map is sent to server, then receives serverThe call object list of transmission finally calls second terminal according to the number information of second terminal to be called.Pass through terminalCoordinate information on the corresponding map of display screen is sent to server, so that server can determine to be called second eventuallyThe accurate rate for the scheduling that area people is carried out in user selected areas is improved to realize the calling to second terminal in end.
Optionally, Fig. 3 illustratively shows another full frame region of terminal constant current really provided in an embodiment of the present inventionJourney, the flow may include:
Step 301, the display area for the map that first terminal adjustment is chosen.
Step 302, the first terminal obtains the coordinate information on each vertex for showing screen.
Step 303, the first terminal determines the display screen according to the coordinate information on each vertex of the display screenCoordinate information of each vertex of curtain in the display area of the map.
The specific implementation process of above-mentioned steps describes in the above-described embodiments, repeats no more.
Optionally, Fig. 4 illustratively shows another full frame region of terminal constant current really provided in an embodiment of the present inventionJourney, the flow may include:
Step 401, server obtains seat of each vertex in the display area of map for the display screen that first terminal is sentMark information.
Step 402, coordinate information of the server according to each vertex for showing screen in the display area of map,Each location information reported by the second terminal stored in inquiry database determines each vertex for being located at the display screen on groundThe corresponding second terminal to be scheduled waited in dispatcher-controlled territory of the coordinate information of the display area of figure.
Step 403, the server sends call object list to the first terminal, and the call object list includesThe number information of second terminal to be called.
The specific implementation process of above-mentioned steps describes in the above-described embodiments, repeats no more.
Based on the same technical idea, Fig. 5 illustratively shows the full frame area of a kind of terminal provided in an embodiment of the present inventionThe structure of the determining device 50 in domain, the device can be located in above-mentioned first terminal, can also be first terminal, including:
Adjustment unit 501, the display area for adjusting the map chosen;
Acquiring unit 502, the coordinate information on each vertex for obtaining display screen;
Determination unit 503 determines the display screen for the coordinate information according to each vertex for showing screenCoordinate information of each vertex in the display area of the map.
Optionally, further include transmission unit 504, receiving unit 505 and calling unit 506;
The transmission unit 504, for determining each vertex of the display screen in the display area of the mapAfter coordinate information, the coordinate information by each vertex of the display screen in the display area of the map is sent to serviceDevice;Coordinate information of each vertex of the display screen in the display area of the map determines for the server to be calledSecond terminal;
The receiving unit 505, the call object list sent for receiving the server, the call object listIt include the number information of second terminal to be called;
The calling unit 506, for whole according to the number information of the second terminal to be called calling described secondEnd.
Optionally, the determination unit 504 is specifically used for:
Obtain the coordinate information of the central point of the display area of the map and current engineer's scale;
According to the coordinate information of the central point of the display area of the map and current engineer's scale, by the display screenEach vertex coordinate information be converted to it is described display screen each vertex the display area of the map coordinate information.
Optionally, the determination unit 504 is specifically used for each vertex of the display screen according to formula (1)Coordinate information is converted to coordinate information of each vertex in the display area of the map of the display screen:
The formula (1) is:
Wherein, ptGeo.x and ptGeo.y is the coordinate information of the display area of map, and ptWnd.x and ptWnd.y are aobviousThe coordinate information on each vertex of display screen curtain, ptWndCenter.x and ptWndCenter.y are the coordinate letter for showing center's point of screenBreath, ptGeoCenter.x and ptGeoCenter.y are the coordinate information of the central point of the display area of map, resolutionFor the current engineer's scale in the display area of map.
Based on the same technical idea, Fig. 6 illustratively shows the full frame area of a kind of terminal provided in an embodiment of the present inventionThe structure of the determining device 60 in domain, the device can be servers, can also be located in server, which includes:
Acquiring unit 601, for obtaining each vertex for showing screen of first terminal transmission in the display area of mapCoordinate information;
Determination unit 602, for, in the coordinate information of the display area of map, being looked into according to each vertex of the display screenEach location information reported by the second terminal stored in database is ask, determines each vertex for being located at the display screen in mapDisplay area the corresponding second terminal to be scheduled waited in dispatcher-controlled territory of coordinate information;
Transmission unit 603, for sending call object list to the first terminal, the call object list includes waiting forThe number information of the second terminal of calling.
Optionally, the acquiring unit 601 is obtaining each vertex for the display screen that first terminal is sent in the aobvious of mapBefore showing the coordinate information in region, it is additionally operable to:
Obtain each location information reported by the second terminal, the location information include the second terminal number information,Position longitude and latitude reports temporal information;
In the database by each location information storage reported by the second terminal.
Based on the same technical idea, the embodiment of the present invention also provides a kind of computing device, including:
Memory, for storing program instruction;
Processor executes above-mentioned terminal for calling the program instruction stored in the memory according to the program of acquisitionThe method of full frame area call.
Based on the same technical idea, the embodiment of the present invention also provides a kind of computer storage media, and the computer canIt reads storage medium and is stored with computer executable instructions, the computer executable instructions are for making computer execute above-mentioned terminalThe method of full frame area call.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program productFigure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagramThe combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be providedInstruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produceA raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for realThe device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring toEnable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram orThe function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that countSeries of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer orThe instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram oneThe step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basicProperty concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted asIt selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the artGod and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologiesWithin, then the present invention is also intended to include these modifications and variations.