CN109960768A - Display methods, device, terminal device and the system of map interface - Google Patents

Display methods, device, terminal device and the system of map interface Download PDF

Info

Publication number
CN109960768A
CN109960768A CN201910153322.2A CN201910153322A CN109960768A CN 109960768 A CN109960768 A CN 109960768A CN 201910153322 A CN201910153322 A CN 201910153322A CN 109960768 A CN109960768 A CN 109960768A
Authority
CN
China
Prior art keywords
scenario
business scenario
map interface
display
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910153322.2A
Other languages
Chinese (zh)
Inventor
王鼎淳
阿木古楞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hanhai Information Technology Shanghai Co Ltd
Original Assignee
Beijing Mobai 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 Mobai Technology Co Ltd filed Critical Beijing Mobai Technology Co Ltd
Priority to CN201910153322.2A priority Critical patent/CN109960768A/en
Publication of CN109960768A publication Critical patent/CN109960768A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses display methods, device, terminal device and the systems of map interface under a kind of multi-service scene, the display methods includes: during showing the map interface of the first business scenario, in response to accessing the request of the second business scenario again, the scenario objects of the display parameters stored and the second business scenario shown when obtaining the second business scenario of last access;According to the scenario objects of display parameters and the second business scenario, the map interface of the second business scenario of the last access of display is returned.

Description

Display methods, device, terminal device and the system of map interface
Technical field
The present invention relates to technical field of computer programs, more particularly, to the display of map interface under multi-service scene Method, apparatus, terminal device and system.
Background technique
For the application program of current trip class, usually all there are multiple business scenarios.It such as may include bicycle field Scape, motor bicycle scene, taxi scene, special train scene, express scene etc..It, can be with by clicking the label of corresponding business scenario Realize the switching of different business scene.
In the prior art, the corresponding map of usually each business scenario.Corresponding industry is handled in corresponding map The data for scene of being engaged in.It, can be to the property of terminal device if loading multiple maps during terminal device runs map application It can impact.
Summary of the invention
It is an object of the present invention to provide the new solutions that map interface is shown under a kind of multi-service scene.
According to the first aspect of the invention, a kind of display methods of map interface under multi-service scene is provided, comprising:
During showing the map interface of the first business scenario, in response to accessing asking for the second business scenario again It asks, the display parameters stored and second business scenario shown when obtaining last access second business scenario Scenario objects;
According to the scenario objects of the display parameters and second business scenario, the described of the last access of display is returned The map interface of second business scenario.
Optionally, the scenario objects according to the display parameters and second business scenario return to display upper one The map interface of second business scenario of secondary access includes:
Remove the map object of first business scenario currently shown on the map interface;
The map interface is shown according to the display parameters of second business scenario;
The scenario objects of second business scenario are shown on the map interface.
Optionally, the display methods further include:
In response to accessing the request of second business scenario for the first time, it is corresponding preset to obtain second business scenario Initial scenario objects and initial display parameters;
The map interface of second business scenario is shown according to the initial scenario objects and the initial display parameters;
Store the initial scenario objects and the initial display parameters.
Optionally, the display methods further include:
During accessing second business scenario, if detecting that the event for updating the display parameters occurs, New display parameters are obtained, the corresponding old display parameters of second business scenario stored are replaced.
Optionally, the display methods further include:
During accessing second business scenario, if detecting that the event for updating the scenario objects occurs, New scenario objects are obtained, the corresponding old scenario objects of second business scenario stored are replaced.
Optionally, the display methods further include:
Store the display parameters and scenario objects of currently displayed first business scenario.
Optionally, the event for updating the display parameters includes:
Receive the operation for dragging the map interface;And/or
Receive the operation for scaling the map interface.
According to the second aspect of the invention, a kind of display device of map interface under multi-service scene is provided, comprising:
Ask respond module, for show the first business scenario map interface during, in response to accessing again The request of second business scenario obtains the last display parameters stored when accessing second business scenario and is shown The scenario objects of second business scenario;
Display module is returned, for the scenario objects according to the display parameters and second business scenario, is returned aobvious Show the map interface of second business scenario of last access.
Optionally, the return display module is also used to:
Remove the map object of first business scenario currently shown on the map interface;
The map interface is shown according to the display parameters;
The scenario objects of second business scenario are shown on the map interface.
Optionally, the display device further include:
For the request in response to accessing second business scenario for the first time, it is corresponding pre- to obtain second business scenario If initial scenario objects and initial display parameters module;
For showing described second according to the initial scenario objects and the initial display parameters of second business scenario The module of the map interface of business scenario;
For storing the module of the initial scenario objects and the initial display parameters.
Optionally, the display device further include:
During accessing second business scenario, if detecting the event hair for updating the display parameters It is raw, then new display parameters are obtained, the module of the corresponding old display parameters of second business scenario stored is replaced.
Optionally, the display device further include:
During accessing second business scenario, if detecting the event hair for updating the scenario objects It is raw, then new scenario objects are obtained, the module of the corresponding old scenario objects of second business scenario stored is replaced.
Optionally, the display device further include:
For storing the display parameters of currently displayed first business scenario and the module of scenario objects.
Optionally, the event for updating the display parameters includes:
Receive the operation for dragging the map interface;And/or
Receive the operation for scaling the map interface.
According to the third aspect of the invention we, a kind of terminal device is provided, comprising:
The display device according to a second aspect of the present invention, alternatively,
Processor and memory, the memory is for storing executable instruction, and described instruction is for controlling the place It manages device and executes the display methods described according to a first aspect of the present invention.
According to the fourth aspect of the invention, a kind of display system of map interface under multi-service scene is provided, wherein packet Include data server and the terminal device described according to a third aspect of the present invention;
The data server is used for:
The scenario objects of the corresponding each business scenario of storage, obtain for the terminal device.
The embodiment of the present invention is during showing the first business scenario, can be with when accessing the second business scenario again The display parameters and scenario objects stored when according to the second business scenario of last access, return to the second of the last access of display The map interface of business scenario.In this manner it is achieved that multiple business scenarios share a map interface, it is possible to reduce map interface Creation, and then the use of memory CPU can be reduced.In addition, also avoiding while multiple business scenarios are using multiple map interfaces It is possible that there is the problem of Rendering errors in part mobile phone.Moreover, display parameters and field by the second business scenario of storage Scape object can also reduce the consumption to network request.Further, it is also possible to improve the speed of response user's request, optimize map The user experience of application.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Detailed description of the invention
It is combined in the description and the attached drawing for constituting part of specification shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 is show the display system of map interface under the multi-service scene that can be used for realizing the embodiment of the present invention hard The block diagram of the example of part configuration.
Fig. 2 shows first examples of the display methods of map interface under the multi-service scene of the embodiment of the present invention Flow chart.
Fig. 3 shows the schematic diagram of the map interface of first business scenario of the embodiment of the present invention.
Fig. 4 shows the schematic diagram of the map interface of second business scenario of the embodiment of the present invention.
Fig. 5 shows the process of the step of map interface of return second business scenario of display of the embodiment of the present invention Figure.
Fig. 6 shows second example of the display methods of map interface under the multi-service scene of the embodiment of the present invention Flow chart.
Fig. 7 shows the block diagram of the display device of map interface under the multi-service scene of the embodiment of the present invention.
Fig. 8 shows the schematic diagram of the example of the terminal device of the embodiment of the present invention.
Fig. 9 shows the schematic diagram of the example of the display system of map interface under the multi-service scene of the embodiment of the present invention.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
<hardware configuration>
As shown in Figure 1, the display system 1000 of map interface includes map server 1100, data clothes under multi-service scene Business device 1200, terminal device 1300 and network 1400.
Map server 1100 is such as can be blade server.In one embodiment, map server 1100 can To be one or more computer.In another example, map server 1100 can be as shown in Figure 1, include processor 1110, memory 1120, interface arrangement 1130, communication device 1140, display device 1150, input unit 1160.Although map Server also may include loudspeaker, microphone etc., and still, these components are unrelated to the invention, therefore omit herein.Wherein, Processor 1110 is such as can be central processor CPU, Micro-processor MCV.Memory 1120 is (read-only to deposit for example including ROM Reservoir), RAM (random access memory), the nonvolatile memory of hard disk etc..Interface arrangement 1130 is for example including USB Interface, serial line interface etc..Communication device 1140 is for example able to carry out wired or wireless communication.Display device 1150 is, for example, liquid crystal Display screen.Input unit 1160 is such as may include touch screen, keyboard.
Data server 1200 is such as can be blade server.In one embodiment, data server 1200 can To be one or more computer.In another example, data server 1200 can be as shown in Figure 1, include processor 1210, memory 1220, interface arrangement 1230, communication device 1240, display device 1250, input unit 1260.Although data Server also may include loudspeaker, microphone etc., and still, these components are unrelated to the invention, therefore omit herein.Wherein, Processor 1210 is such as can be central processor CPU, Micro-processor MCV.Memory 1220 is (read-only to deposit for example including ROM Reservoir), RAM (random access memory), the nonvolatile memory of hard disk etc..Interface arrangement 1230 is for example including USB Interface, serial line interface etc..Communication device 1240 is for example able to carry out wired or wireless communication.Display device 1250 is, for example, liquid crystal Display screen.Input unit 1260 is such as may include touch screen, keyboard.
Terminal device 1300 can also be with one or more computer.As shown in Figure 1, terminal device 1300 may include processing Device 1310, memory 1320, interface arrangement 1330, communication device 1340, display device 1350, input unit 1360, loudspeaker 1370, microphone 1380, etc..Wherein, processor 1310 can be central processor CPU, Micro-processor MCV etc..Memory 1320 for example including ROM (read-only memory), RAM (random access memory), nonvolatile memory of hard disk etc..It connects Mouth device 1330 is for example including USB interface, earphone interface etc..Communication device 1340 is for example able to carry out wired or wireless communication. Display device 1350 is, for example, liquid crystal display, touch display screen etc..Input unit 1360 for example may include touch screen, keyboard Deng.User can pass through 1380 inputting/outputting voice information of loudspeaker 1370 and microphone.
Communication network 1400 can be wireless network and be also possible to cable network, can be local area network and is also possible to wide area Net.In configuration surroundings 1000 shown in Fig. 1, terminal device 1300-1,1300-2,1300-3 and 1100 sum number of map server It can be communicated by communication network 1400 according between server 1200.
Configuration surroundings 1100 shown in FIG. 1 are only explanatory, and never be intended to limitation the present invention, its application or Purposes.
Using in an embodiment of the present invention, the memory 1120 of map server 1100 for storing instruction, institute Instruction is stated to be operated for controlling the processor 1110 to execute any one provided in an embodiment of the present invention by map and take The display methods of map interface under the multi-service scene that device is implemented of being engaged in.
For storing instruction, described instruction is for controlling the processor for the memory 1220 of data server 1200 1110 with being operated under the multi-service scene implemented with executing any one provided in an embodiment of the present invention by data server The display methods at figure interface.
For storing instruction, described instruction is for controlling the processor for the memory 1320 of terminal device 1300 1310 are operated map under the multi-service scene implemented to execute any one provided in an embodiment of the present invention by terminal device The display methods at interface.
It will be appreciated by those skilled in the art that although in Fig. 1 to map server 1100, data server 1200, with And terminal device 1300 all shows multiple devices, still, the present invention can only relate to partial devices therein.For example, map Server 1100 pertains only to processor 1110 and memory 1120, and data server 1200 pertains only to processor 1210 and memory 1220 or terminal device 1300 pertain only to processor 1310 and memory 1320 etc..Technical staff can institute according to the present invention Open conceptual design instruction.How control processor is operated for instruction, this is it is known in the art that therefore no longer retouching in detail herein It states.
The general plotting of the embodiment of the present invention is to provide a kind of displaying scheme of map interface under multi-service scene.Aobvious During showing the first business scenario, when accessing the second business scenario again, the second business scenario can be accessed according to the last time When the display parameters that store and scenario objects, return to the map interface of the second business scenario of the last access of display.In this way, can To realize that multiple business scenarios share a map interface, it is possible to reduce the creation of map interface, and then memory CPU can be reduced Use.In addition, also avoid at the same multiple business scenarios using multiple map interfaces it is possible that part mobile phone renders The problem of mistake.Moreover, can be reduced by the display parameters and scenario objects of the second business scenario of storage to network request Consumption.Further, it is also possible to improve the speed of response user's request, optimize the user experience of map application.
<embodiment>
<method>
In the present embodiment, a kind of display methods of map interface under multi-service scene is provided, is implemented by terminal device. Specifically, can (hereinafter referred to as map be answered by the application program that is equipped with for showing the map interface of multiple business scenarios With) terminal device implement.Business scenario in the present embodiment for example may include: bicycle scene, motor bicycle scene, hire out Parking lot scape, special train scene, express scene etc..
In map application, it can be provided with the label of corresponding each business scenario in the display interface, pass through click pair The label answered shows corresponding business scenario.
The terminal device can be arbitrarily with the electronic equipment of processor and memory, for example, it may be mobile phone, plate are electric Brain, laptop, desktop computer etc..In one embodiment, terminal device can be terminal device shown in FIG. 1 1300。
The display methods of the map interface, as shown in Figure 2, comprising: step S2100~S2200.
Step S2100, during showing the map interface of the first business scenario, in response to accessing the second business again The request of scene, the display parameters stored and the second business scenario shown when obtaining the second business scenario of last access Scenario objects.
Map interface in the present embodiment can be the electronic map for the display screen display in terminal device.
Specifically, map interface can be executes the behaviour for the map application that starting is mounted in terminal device in user every time In the case where work, obtained from map server.It is also possible to when starting the map application for the first time from map server It is obtained and stored in terminal device.It can also be in the operational process of map application, in response to downloading map interface Request either reacquires the request of map interface, is obtained and stored in terminal device from map server.Wherein, Map server, which can be, provides the server of Map Services for the terminal device of the present embodiment, obtains map circle for terminal device Face is shown.
In the case where user chooses the label of the first business scenario of correspondence in map application, terminal device can be shown The map interface of first business scenario.The map interface of first business scenario can be and show the first business scenario thereon The map interface of scenario objects.
The process for showing the map interface of the first business scenario can be and show first when accessing the first business scenario for the first time The process of the map interface of business scenario is also possible to show the map of the first business scenario when accessing the first business scenario again The process at interface.
Again the request for accessing the second business scenario specifically can be accessed in this operational process of map application In the case where two business scenarios, the request of the second business scenario of access received.The request for accessing the second business scenario is specific It can be the operation triggering for the label that the second business scenario of correspondence in map application is chosen by user.
Display parameters in the present embodiment are the parameter for being able to reflect display area in map interface.Display parameters specifically may be used With include map interface central point coordinate, and/or map interface scale bar.So, last to access second industry The display parameters stored when scene of being engaged in may include: terminal device in the second business scenario of upper primary access, and the second of display The coordinate of the central point of the map interface of business scenario;And/or terminal device is shown in the second business scenario of upper primary access The scale bar of the map interface of the second business scenario shown.
Specifically, the coordinate of map interface central point can be the display screen for needing map interface to be shown in terminal device The coordinate of (e.g. central point) on designated position.Scale bar can be line segment length on map interface and corresponding line segment on the spot Length ratio through floor projection.
Scenario objects are the object being shown on map interface under corresponding business scenario.Scenario objects specifically can be point, The objects such as line, face, and/or circle.Specifically, point can be shown in for identifying the icon of vehicle location on map interface, In, vehicle for example can be bicycle, motor bicycle, automobile, motorcycle etc..Line can be the path planned according to user demand.Face It can be preset fence region, prohibition parking area domain etc..Circle can be centered on the recommendation stop that user chooses Border circular areas.
Step S2200 returns to the last access of display the according to the scenario objects of the display parameters and the second business scenario The map interface of two business scenarios.
Display parameters in the present embodiment may include the type and value of display parameters.For example, the type of display parameters can Be map interface central point coordinate, the value of display parameters can be specific latitude and longitude coordinates (X1, Y1).For another example The type of display parameters can be the scale bar of map interface, and the value of display parameters can be 1:1000.Therefore, joined according to display Number can determine how map interface shows on the terminal device.
Scenario objects in the present embodiment may include the type and value of scenario objects.For example, the type of scenario objects can To be bicycle, the value of scenario objects can be the coordinate (X2, Y2) of the bicycle position.It therefore, can be with according to scenario objects When determining that the second business scenario last time is accessed, shown the second business scenario of correspondence is specific interior on map interface Hold.
Therefore, map is shown according to the display parameters of the second business scenario obtained in step S2100 and scenario objects Interface can make the ground of the second business scenario of the map interface shown when accessing the second business scenario again and last access Figure interface is identical.
In one example, the map interface for the first business scenario that terminal device is shown can be as shown in Figure 3.It returns The map interface finally shown when the second business scenario of the map interface of the second business scenario of display and last access can be with It is as shown in Figure 4.
The embodiment of the present invention is during showing the first business scenario, can be with when accessing the second business scenario again The display parameters and scenario objects stored when according to the second business scenario of last access, return to the second of the last access of display The map interface of business scenario.In this manner it is achieved that multiple business scenarios share a map interface, it is possible to reduce map interface Creation, and then the use of memory CPU can be reduced.In addition, also avoiding while multiple business scenarios are using multiple map interfaces It is possible that there is the problem of Rendering errors in part mobile phone.Moreover, display parameters and field by the second business scenario of storage Scape object can also reduce the consumption to network request.Further, it is also possible to improve the speed of response user's request, optimize map The user experience of application.
In one embodiment of the invention, it according to the scenario objects of the display parameters and the second business scenario, returns aobvious The step of showing the map interface of the second business scenario of last access may include step S2210~S2230 as shown in Figure 5:
Step S2210 removes the scenario objects of the first business scenario currently shown on map interface.
During step S2100 shows the map interface of the first business scenario, it can be according to the first business scenario Display parameters show map interface, and show on map interface the scenario objects of the first business scenario.Therefore, aobvious in return When showing the map interface of the second business scenario of last access, need to remove the first business scenario currently shown on map interface Scenario objects.
Specifically, can be realizes map interface and for storing when showing the map interface of the first business scenario It is bound between the display parameters of first business scenario and the first memory module of scenario objects.And it is arranged by removing in map circle The scenario objects of the first business scenario on face, can release the binding between map interface and the first memory module.
Step S2220 shows map interface according to the display parameters of the second business scenario.
It, can be according to the display parameters of the second business scenario in the case where display parameters include the scale bar of map interface In include scale bar scale the map interface.
In the case where the coordinate of central point in display parameters comprising map interface, can interface according to the map center The coordinate of point shows map interface on the display screen of terminal device.It is obtained specifically, may be such that by step S2100 Map interface central point coordinate corresponding to position be shown on the designated position (e.g. central point) of display screen.
Step S2230 shows the scenario objects of the second business scenario on map interface.
Specifically, showing that the scenario objects of the second business scenario may include: pair in map interface on map interface Answer the object that corresponding types are shown on the coordinate position of each scenario objects.
For example, can be in map interface in the case where the type of the scenario objects of the second business scenario is bicycle Coordinate position where the bicycle, shows the icon for identifying bicycle.It is road in the type of the scenario objects of the second business scenario It in the case where diameter, can be on the coordinate position for corresponding to the path in map interface, display indicates the line segment in the path.? In the case that the type of the scenario objects of two business scenarios is fence region or prohibition parking area domain, fence region or taboo are stopped Region can be the region comprising at least three endpoints.It is possible to be each endpoint for corresponding to the region in map interface Coordinate position on, show the endpoint in the region, form fence region or prohibition parking area domain.In the scene of the second business scenario In the case that the type of object is parking area, it is the center of circle, set distance for radius which, which can be using specified coordinate, Border circular areas.As such, it can be that display is corresponded on the central coordinate of circle position of the parking area in map interface with set away from From the border circular areas for radius, the parking area centered on recommending stop is formed.
On this basis, map interface is being shown according to the display parameters of the second business scenario, and in the map interface When showing the scenario objects of the second business scenario, can be realizes map interface and the display for storing the second business scenario It is bound between parameter and the second memory module of scenario objects.
In this way, in the present embodiment, by removing the scenario objects of the first business scenario currently shown on map interface, root Map interface is shown according to the display parameters of the second business scenario, and the scene pair of the second business scenario is shown on the map interface As the effect for returning to the map interface of the second business scenario of the last access of display may be implemented.
In one embodiment of the invention, during showing the map interface of the first business scenario, the display side Method can also include: the display parameters and scenario objects of the first currently displayed business scenario of storage.
In the present embodiment, by storing currently displayed during showing the map interface of the first business scenario The display parameters and scenario objects of first business scenario.Can for after executing the step S2200, access the first business field again It is called when scape.
Specifically, the mode of the scenario objects of the first business scenario of storage may include:
According to the type of each scenario objects of the first business scenario, each scenario objects of setting and the first business scenario One-to-one key assignments name, and by the value of the scenario objects of the first business scenario, as the corresponding key assignments name of the scenario objects Key assignments;Key assignments name corresponding with each scenario objects and key assignments are associated storage.
In one embodiment of the invention, before executing step S2100, which can also include such as Fig. 6 Shown step S6100~S6300:
It is corresponding default to obtain the second business scenario in response to accessing the request of the second business scenario for the first time by step S6100 Initial scenario objects and initial display parameters.
The request for accessing the second business scenario for the first time in the present embodiment can be this operation map application of terminal device When, the request of the second business scenario of access received for the first time;After being also possible to the good map application of installing terminal equipment, for the first time The request of the second business scenario of access received.
In one example, the scenario objects of each business scenario, which can be, is stored in advance in data server, therefore, It can be the request in response to accessing the second business scenario for the first time, the scene pair of the second business scenario obtained from data server As.
In another example, the scenario objects of each business scenario are also possible to be stored in advance in terminal device. As such, it can be that directly being called from terminal device in response to the request for accessing the second business scenario for the first time.
Specifically, in the case where the coordinate of central point in initial display parameters including map interface, initial display ginseng The coordinate of the central point of map interface included in number can be the seat of present position when terminal device starts the map application Mark.In the case where including the scale bar of map interface in initial display parameters, map circle included in initial display parameters The scale bar in face can be preset fixed value.
Step S6200 shows the map interface of the second business scenario according to initial scenario objects and initial display parameters.
The step of showing the map interface of the second business scenario according to initial scenario objects and initial display parameters can wrap It includes:
Map interface is shown according to initial display parameters;And initial scenario objects are shown on the map interface.
It is exactly second it is possible to further be the business scenario accessed for the first time after this starting map application of terminal device It in the case where business scenario, can be in the case where starting the map application, obtain map interface, then root from map server Map interface is shown according to initial display parameters, and initial scenario objects are shown on the map interface.
Step S6300 stores the initial scenario objects and initial display parameters.
If there is no changing for scenario objects and display parameters during showing the map interface of the second business scenario Become, then, the scenario objects obtained in step S2200 are the initial scenario objects, the display parameters obtained in step S2200 The as initial display parameters.
In the present embodiment, by when accessing the request of the second business scenario for the first time, according to the second business scenario of acquisition Corresponding preset initial scenario objects and initial display parameters show the map interface of the second business scenario, and it is initial to store this Scenario objects and initial display parameters, in this way, user experience can be promoted for calling directly when execution step S2200.
On this basis, after executing the step S6300, before executing step S2100, which can also be wrapped Include following steps: during accessing the second business scenario, if detecting that the event for the request for updating display parameters occurs, New display parameters are then obtained, the stored corresponding old display parameters of the second business scenario are replaced.
In the present embodiment, detect that the event for the request for updating display parameters occurs in the process for accessing the second business scenario When, the corresponding old display parameters of the second business scenario of storage are replaced with into new display parameters, in this manner it is ensured that again The map interface shown when accessing the second business scenario, with the map interface finally shown when the second business scenario of last access It is identical.
When the event for updating display parameters occurs, map interface can be shown according to new display parameters, so that ground The display area at figure interface changes.
The event for updating display parameters can specifically include: receive the operation of dragging map interface;And/or it receives Scale the operation of map interface.
In the case where updating the event of display parameters includes receiving the operation of dragging map interface, so that map interface The coordinate of central point change.As such, it can be that the coordinate of the central point of new map interface is obtained, what replacement was stored The coordinate of the central point of the corresponding old map interface of second business scenario.
In the case where updating the event of display parameters includes receiving the operation of scaling map interface, so that map interface Scale bar change.As such, it can be that obtaining the scale bar of new map interface, the second stored business scenario is replaced The scale bar of corresponding old map interface.
In the present embodiment, in the operation for receiving dragging map interface;And/or receive the operation of scaling map interface When, new display parameters are obtained, the stored corresponding old display parameters of the second business scenario are replaced.In this way, can make The scenario objects of second business scenario of storage are always latest edition, are shown when accessing the second business scenario again with guarantee Map interface is identical as the map interface finally shown when the second business scenario of last access.
Further, after executing the step S6300, before executing step S2100, which can also include Following steps: it during accessing the second business scenario, if detecting that the event for updating scenario objects occurs, obtains new Scenario objects, replace stored corresponding old scenario objects of the second business scenario.
The event for updating scenario objects can specifically include: the dragging distance of map interface is more than preset first distance threshold Value;The moving distance of the coordinate of the central point of map interface is more than second distance threshold value;And/or scale the ratio of map interface More than preset proportion threshold value.
In feelings of the dragging distance more than preset first distance threshold value that the event for updating scenario objects includes map interface Under condition, which can be preset according to application scenarios or specific requirements.For example, the first distance threshold value It can be 5mm.It is possible to be in the case where the dragging of map interface distance is more than 5mm, judgement detects more new scene pair The event of elephant occurs.
It is more than second distance in the moving distance that the event for updating scenario objects includes the coordinate of the central point of map interface In the case where threshold value, which can be preset according to application scenarios or specific requirements.For example, this second Distance threshold can be 50m.It is possible to be the case where the moving distance of the coordinate of the central point of map interface is more than 50m Under, determine to detect that the event for updating scenario objects occurs.
In the case where the ratio that the event of update scenario objects includes scaling map interface is more than preset proportion threshold value, The proportion threshold value can be preset according to application scenarios or specific requirements.For example, the proportion threshold value can be 2.So, It can be in the case where the scaling of map interface is more than 2, determine to detect that the event for updating scenario objects occurs.
It is more than preset distance threshold in the dragging distance of map interface in the present embodiment;And/or scaling map interface Ratio when being more than preset proportion threshold value, obtain new scenario objects, it is corresponding old to replace the second stored business scenario Scenario objects.In this way, the scenario objects that can make the second business scenario of storage are always latest edition, to guarantee again The map interface shown when accessing the second business scenario, with the map interface finally shown when the second business scenario of last access It is identical.
<device>
It corresponds to the above method, the present invention also provides a kind of display devices of map interface under multi-service scene 7000.As shown in fig. 7, the display device 7000 may include ask respond module 7100 and return display module 7200.This is asked Respond module 7100 is asked to be used for during showing the map interface of the first business scenario, in response to accessing the second business again The request of scene, the display parameters stored and the second business scenario shown when obtaining the second business scenario of last access Scenario objects;The return display module 7200 is used for the scenario objects according to display parameters and the second business scenario, returns aobvious Show the map interface of the second business scenario of last access.
In one embodiment of the invention, which is also used to:
Remove the map object of the first business scenario currently shown on map interface;
Map interface is shown according to display parameters;
The scenario objects of the second business scenario are shown on map interface.
In one embodiment of the invention, which can also include:
For the request in response to accessing the second business scenario for the first time, it is corresponding preset initial to obtain the second business scenario The module of scenario objects and initial display parameters;
The ground of the second business scenario is shown for the initial scenario objects and initial display parameters according to the second business scenario The module at figure interface;And
Module for storing initial scenario objects and initial display parameters.
In one embodiment of the invention, which can also include:
During accessing the second business scenario, if detecting that the event for updating display parameters occurs, obtain New display parameters replace the module of the stored corresponding old display parameters of the second business scenario.
In the present embodiment, the event for updating display parameters may include:
Receive the operation of dragging map interface;And/or
Receive the operation of scaling map interface.
In one embodiment of the invention, which can also include:
During accessing the second business scenario, if detecting that the event for updating scenario objects occurs, obtain New scenario objects replace the module of the stored corresponding old scenario objects of the second business scenario.
In one embodiment of the invention, which can also include:
For storing the display parameters of the first currently displayed business scenario and the module of scenario objects.
<terminal device>
The present invention also provides a kind of terminal devices 500.
In one example, which may include map interface under multi-service scene provided in this embodiment Display device 7000.
In another example, it as shown in figure 8, terminal device 500 can also include processor 510 and memory 520, deposits Reservoir 520 is for storing instruction;Instruction executes multi-service field described in any one of the present embodiment for control processor 510 The display methods of map interface under scape.
In the present embodiment, terminal device 500 can also include other devices or module, for example, as shown in Figure 1 Terminal device 1300.
In the present embodiment, terminal device 500 is not limited to entity form of implementation, terminal device 500 can be mobile phone, Tablet computer, laptop, computer etc..
It will be appreciated by those skilled in the art that terminal device 500 can be realized by various modes.For example, can lead to Instruction configuration processor is crossed to realize terminal device 500.For example, instruction can be stored in the ROM, and work as starting device When, instruction is read in programming device from ROM and realizes terminal device 500.For example, terminal device 500 can be solidified To in dedicated devices (such as ASIC).Terminal device 500 can be divided into mutually independent unit, or they can be merged It realizes together.Terminal device 500 can realize by one of above-mentioned various implementations, or can be by above-mentioned The combinations of two or more modes in various implementations is realized.
<system>
In the present embodiment, a kind of display system 600 of map interface under multi-service scene is provided, as shown in figure 9, packet It includes:
The terminal device 500 provided in the present embodiment;
And data server 610.
Wherein, data server 610 can be used for: storing the scenario objects of multiple business scenarios, obtains for terminal device 500 It takes.
In this example it is shown that system 600 can also include other equipment, for example, it is also possible to include the communication server, For the communication connection between management terminal device 500 and data server 610;Alternatively, can also include map server, use In storage map interface, obtained for terminal device 500, etc..
In one embodiment, display system 600 can also be the aobvious of map interface under multi-service scene as shown in Figure 1 Show system 1000.
The embodiment of the present invention is during showing the first business scenario, can be with when accessing the second business scenario again The display parameters and scenario objects stored when according to the second business scenario of last access, return to the second of the last access of display The map interface of business scenario.In this manner it is achieved that multiple business scenarios share a map interface, it is possible to reduce map interface Creation, and then the use of memory CPU can be reduced.In addition, also avoiding while multiple business scenarios are using multiple map interfaces It is possible that there is the problem of Rendering errors in part mobile phone.Moreover, display parameters and field by the second business scenario of storage Scape object can also reduce the consumption to network request.Further, it is also possible to improve the speed of response user's request, optimize map The user experience of application.
The present invention can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random access memory (RAM), read-only deposits It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing operation of the present invention can be assembly instruction, instruction set architecture (ISA) instructs, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or second code that any combination is write, the programming language include the programming language-of object-oriented such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the invention Face.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/ Or block diagram describes various aspects of the invention.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.It is right For those skilled in the art it is well known that, by hardware mode realize, by software mode realize and pass through software and It is all of equal value that the mode of combination of hardware, which is realized,.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In principle, the practical application or to the technological improvement in market for best explaining each embodiment, or make the art its Its those of ordinary skill can understand each embodiment disclosed herein.The scope of the present invention is defined by the appended claims.

Claims (10)

1. the display methods of map interface under a kind of multi-service scene, wherein include:
During showing the map interface of the first business scenario, in response to accessing the request of the second business scenario again, obtain The scene of the display parameters stored and second business scenario shown when taking last access second business scenario Object;
According to the scenario objects of the display parameters and second business scenario, described the second of the last access of display is returned The map interface of business scenario.
2. display methods according to claim 1, wherein described according to the display parameters and second business scenario Scenario objects, the map interface for returning to second business scenario of the last access of display includes:
Remove the scenario objects of first business scenario currently shown on the map interface;
The map interface is shown according to the display parameters of second business scenario;
The scenario objects of second business scenario are shown on the map interface.
3. display methods according to claim 1, wherein the display methods further include:
In response to accessing the request of second business scenario for the first time, it is corresponding preset initial to obtain second business scenario Scenario objects and initial display parameters;
The map interface of second business scenario is shown according to the initial scenario objects and the initial display parameters;
Store the initial scenario objects and the initial display parameters.
4. display methods according to claim 3, wherein the display methods further include:
During accessing second business scenario, if detecting that the event for updating the display parameters occurs, obtain New display parameters replace the corresponding old display parameters of second business scenario stored.
5. display methods according to claim 4, wherein the display methods further include:
During accessing second business scenario, if detecting that the event for updating the scenario objects occurs, obtain New scenario objects replace the corresponding old scenario objects of second business scenario stored.
6. display methods according to claim 1, wherein the display methods further include:
Store the display parameters and scenario objects of currently displayed first business scenario.
7. display methods according to claim 4, wherein the event for updating the display parameters includes:
Receive the operation for dragging the map interface;And/or
Receive the operation for scaling the map interface.
8. the display device of map interface under a kind of multi-service scene, wherein include:
Ask respond module, for show the first business scenario map interface during, in response to accessing second again The request of business scenario obtains the last display parameters stored when accessing second business scenario and is shown described The scenario objects of second business scenario;
Display module is returned, for the scenario objects according to the display parameters and second business scenario, is returned in display The map interface of second business scenario once accessed.
9. a kind of terminal device, wherein include:
Display device according to claim 8, alternatively,
Processor and memory, the memory is for storing executable instruction, and described instruction is for controlling the processor Execute display methods described in any one of -7 according to claim 1.
10. the display system of map interface under a kind of multi-service scene, wherein including data server and according to claim 9 The terminal device;
The data server is used for:
The scenario objects of the corresponding each business scenario of storage, obtain for the terminal device.
CN201910153322.2A 2019-02-28 2019-02-28 Display methods, device, terminal device and the system of map interface Pending CN109960768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910153322.2A CN109960768A (en) 2019-02-28 2019-02-28 Display methods, device, terminal device and the system of map interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153322.2A CN109960768A (en) 2019-02-28 2019-02-28 Display methods, device, terminal device and the system of map interface

Publications (1)

Publication Number Publication Date
CN109960768A true CN109960768A (en) 2019-07-02

Family

ID=67024012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153322.2A Pending CN109960768A (en) 2019-02-28 2019-02-28 Display methods, device, terminal device and the system of map interface

Country Status (1)

Country Link
CN (1) CN109960768A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399582A (en) * 2019-07-30 2019-11-01 北京三快在线科技有限公司 A kind of method and device of page presentation
CN111586108A (en) * 2020-04-15 2020-08-25 阿里巴巴集团控股有限公司 Traffic map rendering method, device, terminal equipment, server and system
CN113094455A (en) * 2021-03-10 2021-07-09 摩拜(北京)信息技术有限公司 Marking method and device for parking fence

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159543A (en) * 2015-09-25 2015-12-16 百度在线网络技术(北京)有限公司 Method and device for providing map service
CN106847068A (en) * 2017-01-22 2017-06-13 腾云天宇科技(北京)有限公司 A kind of map conversion method, device and computing device
CN106886570A (en) * 2017-01-16 2017-06-23 网宿科技股份有限公司 page processing method and device
CN107729530A (en) * 2017-10-30 2018-02-23 西安蜂语信息科技有限公司 Map Switch method and device
CN108255556A (en) * 2017-12-29 2018-07-06 天脉聚源(北京)科技有限公司 The interface sharing method and device at multiple interfaces

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159543A (en) * 2015-09-25 2015-12-16 百度在线网络技术(北京)有限公司 Method and device for providing map service
CN106886570A (en) * 2017-01-16 2017-06-23 网宿科技股份有限公司 page processing method and device
CN106847068A (en) * 2017-01-22 2017-06-13 腾云天宇科技(北京)有限公司 A kind of map conversion method, device and computing device
CN107729530A (en) * 2017-10-30 2018-02-23 西安蜂语信息科技有限公司 Map Switch method and device
CN108255556A (en) * 2017-12-29 2018-07-06 天脉聚源(北京)科技有限公司 The interface sharing method and device at multiple interfaces

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399582A (en) * 2019-07-30 2019-11-01 北京三快在线科技有限公司 A kind of method and device of page presentation
CN111586108A (en) * 2020-04-15 2020-08-25 阿里巴巴集团控股有限公司 Traffic map rendering method, device, terminal equipment, server and system
CN111586108B (en) * 2020-04-15 2022-02-25 阿里巴巴集团控股有限公司 Traffic map rendering method, device, terminal equipment, server and system
CN113094455A (en) * 2021-03-10 2021-07-09 摩拜(北京)信息技术有限公司 Marking method and device for parking fence

Similar Documents

Publication Publication Date Title
KR102056882B1 (en) Managing map elements using aggregate feature identifiers
CN109960768A (en) Display methods, device, terminal device and the system of map interface
US20190102496A1 (en) Interactive user interface for composing quantum circuits
US20180275845A1 (en) Dashboard Creation With Popular Patterns and Suggestions Using Analytics
CN108597216B (en) Vehicles management method, server, vehicle, client and system
CN109857825B (en) Three-dimensional model display method and system
CN108399735B (en) Vehicle dispatching method, server and system
US20160063633A1 (en) User interface for real estate development and communications platform
CN108734317A (en) Net about vehicle order information processing method and processing device
CN109634599A (en) Display methods, device, equipment and the storage medium of page view
CN109842852A (en) Control method for vehicle, server and Vehicular system
CN109284180A (en) A kind of method for scheduling task, device, electronic equipment and storage medium
CN110457512A (en) A kind of map-indication method, device, server, terminal and storage medium
US11010013B2 (en) Providing visual control guidance on a display
CN109003157A (en) Vehicles management method, device, server and system
KR20130040361A (en) Method, server, and recording medium for providing traffic information based on ar navigation
GB2603996A (en) Internet of Things device orchestration
CN105554235A (en) Alarm clock prompting method and mobile terminals
CN109726039A (en) Method and apparatus for managing virtual machine
CN108280154A (en) A kind of map label information displaying method, device, terminal and readable storage medium storing program for executing
US9495124B1 (en) Device for displaying a remote display according to a monitor geometry
CN105786484B (en) A kind of application fusion method and device
US11143523B2 (en) Providing raised patterns and haptic feedback for mapping applications
CN109859609A (en) Method for drawing map, map display and computer storage medium
CN109189537A (en) The dynamic display method of page info calculates equipment and computer storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20201218

Address after: Room 168, building 6, 741 Hangzhou Road, Yangpu District, Shanghai 200090

Applicant after: HANHAI INFORMATION TECHNOLOGY SHANGHAI Co.,Ltd.

Address before: Room Bnan 1231, 2 bungalows, No. 5 Road, College, Haidian District, Beijing, 100191

Applicant before: BEIJING MOBIKE TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right