CN107291906B - Data processing method and system for map interface - Google Patents

Data processing method and system for map interface Download PDF

Info

Publication number
CN107291906B
CN107291906B CN201710491432.0A CN201710491432A CN107291906B CN 107291906 B CN107291906 B CN 107291906B CN 201710491432 A CN201710491432 A CN 201710491432A CN 107291906 B CN107291906 B CN 107291906B
Authority
CN
China
Prior art keywords
map
module
message
target
interface
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.)
Active
Application number
CN201710491432.0A
Other languages
Chinese (zh)
Other versions
CN107291906A (en
Inventor
徐柏清
任靓
闫肃
毕可
柳超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dike Technology Co Ltd
Original Assignee
Beijing Dike 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 Dike Technology Co Ltd filed Critical Beijing Dike Technology Co Ltd
Priority to CN201710491432.0A priority Critical patent/CN107291906B/en
Publication of CN107291906A publication Critical patent/CN107291906A/en
Application granted granted Critical
Publication of CN107291906B publication Critical patent/CN107291906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Abstract

Present disclose provides a kind of data processing methods for map interface, it include: that the map received for drawing map draws request, wherein, map includes multiple map modules, different map modules is shown in different map interfaces, and map is drawn in request and at least carries map drawing data and map module information;It draws and requests in response to map, to determine that target map module, target map module are map module described in map module information;And map drawing data is sent to target map module, with the map content that displaying target map module is drawn in corresponding map interface.Present disclose provides a kind of for the data processing system at map interface, a kind of computer-readable medium and a kind of computer system.

Description

Data processing method and system for map interface
Technical field
This disclosure relates to data processing field, more particularly, to a kind of data processing method for map interface and System, computer-readable medium and computer system.
Background technique
During business connection is shown, it is often necessary to enterprise and enterprise, enterprise and personal and individual can be embodied with individual's Between relationship map.Currently, having had already appeared some map products in the market.Have in these map products it is fairly simple, can The functional module interacted for user is relatively fewer and each module between the relatively simple independence of relationship, can be by simple Regular event response mechanism is completed;And have it is relatively complicated, as shown in Figure 1, user interactive module therein is extremely complex, Often there is complicated cross one another response relations between various modules.As shown in Figure 1, the map interface includes at least Six modules, when the map variation in module 2, module 1 and module 3 also can correspondingly change: for example, when double-clicking one in map A element (such as a company or a people), can expand out more elements in the map, correspondingly, module 1 can respond the thing Part and increase element, and module 3 also can be according to map corresponding change.When user screens relationship by module 4, module 2 also can It responds the event and causes to change, while module 1 and module 3 also can correspondingly change;When operation module 3, module 2 also can be with Variation.
During realizing present inventive concept, at least there are the following problems in the prior art for inventor's discovery: if made With conventional event response mechanism, then it is unfavorable for the iteration and update of map product.
Summary of the invention
In view of this, being used for present disclose provides a kind of degree of coupling for reducing between map module in map product The data processing method and system at map interface.
An aspect of this disclosure provides a kind of data processing method for map interface, comprising: receives for drawing The map of drawing spectrum draws request, wherein above-mentioned map includes multiple map modules, and different map modules is shown in map circle In the different zones in face, above-mentioned map is drawn in request and at least carries map drawing data and map module information;In response to Above-mentioned map draws request, to determine that target map module, above-mentioned target map module are described by above-mentioned map module information Map module;And above-mentioned map drawing data is sent to above-mentioned target map module, in corresponding map interface Show the map content that above-mentioned target map module is drawn.
In accordance with an embodiment of the present disclosure, before receiving the map for drawing map and drawing request, the above method is also wrapped It includes: creation message routing;And by above-mentioned multiple map modules respectively can received message and need the message that issues according to Mapping relations are registered in above-mentioned message routing, wherein are received above-mentioned map by the routing of above-mentioned message and are drawn request, and respond It draws and requests in above-mentioned map, to find above-mentioned target map module, and above-mentioned map drawing data is sent to above-mentioned mesh It marks on a map and composes module.
In accordance with an embodiment of the present disclosure, the routing of creation message includes: after opening the interface for showing above-mentioned map, really The fixed memory headroom routed for creating above-mentioned message;And above-mentioned message routing is created in the memory headroom determined.
In accordance with an embodiment of the present disclosure, the above method further include: pass through the touching of each map module of above-mentioned message routing check Message and/or response message are sent out with the presence or absence of abnormal;And it is abnormal if it exists, then it executes at least one of following operation: obtaining Take exception information;Abnormal correlation log is printed, and is reminded for above-mentioned exception.
In accordance with an embodiment of the present disclosure, show what above-mentioned target map module was drawn in above-mentioned corresponding map interface After map content, the above method further include: obtain the triggering message that above-mentioned target map module receives, above-mentioned triggering message For triggering above-mentioned target map module to execute corresponding trigger action;It is matched and above-mentioned triggering in the routing of above-mentioned message Message has the response message of mapping relations;And above-mentioned response message is sent to one with above-mentioned target map module relation Other a or multiple map modules, wherein above-mentioned response message is for executing other above-mentioned map modules and above-mentioned triggering Operate corresponding operation.
Another aspect of the disclosure provides a kind of data processing system for map interface, comprising: receiving module, For receiving the map drafting request for drawing map, wherein above-mentioned map includes multiple map modules, different map moulds Block is shown in the difference at map interface, and above-mentioned map, which is drawn, at least carries map drawing data and map module letter in request Breath;Respond module is requested for drawing in response to above-mentioned map, to determine that target map module, above-mentioned target map module be Map module described in above-mentioned map module information;And first sending module, for above-mentioned map drawing data to be sent To above-mentioned target map module, to show the map content of above-mentioned target map module drafting in corresponding map interface.
In accordance with an embodiment of the present disclosure, above system further include: creation module, for receiving the figure for drawing map Before spectrum draws request, creation message routing;And registration module, being used for respectively can be received by above-mentioned multiple map modules The message that message and needs issue is registered in above-mentioned message routing according to mapping relations, in which: above-mentioned receiving module is also used to Above-mentioned map, which is received, by the routing of above-mentioned message draws request;Above-mentioned respond module is also used to draw in response to above-mentioned map and ask It asks, to find above-mentioned target map module;And above-mentioned first sending module, it is also used to for above-mentioned map drawing data being sent to Above-mentioned target map module.
In accordance with an embodiment of the present disclosure, above-mentioned creation module comprises determining that unit, for opening for showing above-mentioned figure Behind the interface of spectrum, the memory headroom for creating above-mentioned message routing is determined;And creating unit, in the memory determined Above-mentioned message routing is created in space.
In accordance with an embodiment of the present disclosure, above system further include: correction verification module, for each by above-mentioned message routing check The triggering message and/or response message of map module are with the presence or absence of abnormal;And processing module, for passing through above-mentioned message road It is deposited in an exceptional case, is executed in following operation extremely by the triggering message and/or response message that verify out each map module It is one of few: to obtain exception information;Abnormal correlation log is printed, and is reminded for above-mentioned exception.
In accordance with an embodiment of the present disclosure, above system further include: module is obtained, in above-mentioned corresponding map interface After showing the map content that above-mentioned target map module is drawn, obtains the triggering that above-mentioned target map module receives and disappear Breath, above-mentioned triggering message is for triggering above-mentioned target map module to execute corresponding trigger action;Matching module is used for It states in message routing and matches the response message that there are mapping relations with above-mentioned triggering message;And second sending module, it is used for Above-mentioned response message is sent to one or more other map module with above-mentioned target map module relation, wherein on Response message is stated for making other above-mentioned map modules execute operation corresponding with above-mentioned trigger action.
Another aspect of the present disclosure provides a kind of computer-readable medium, is stored thereon with executable instruction, the instruction Processor is set to realize the data processing method described in any of the above embodiments for map interface when being executed by processor.
Another aspect of the present disclosure provides a kind of computer system, comprising: one or more processors;Storage device, For storing one or more programs, wherein when said one or multiple programs are executed by said one or multiple processors, So that said one or multiple processors realize the data processing method described in any of the above embodiments for map interface.
By embodiment of the disclosure, because using the technological means of all map modules of unified management map, institute Each map mould caused by least partially overcome all map modules of the relevant technologies since map can not be managed collectively The degree of coupling is higher between block, so that the technical problem that the iteration of map product is big with difficulty is updated, and then reached reduction The degree of coupling between each map module in map product, and reduce the technical effect for the difficulty that map product iteration updates.
Detailed description of the invention
By referring to the drawings to the description of the embodiment of the present disclosure, the above-mentioned and other purposes of the disclosure, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 diagrammatically illustrates the schematic diagram of the map product according to the relevant technologies;
Fig. 2 is diagrammatically illustrated can be using the disclosure for the data processing method at map interface and the example of system Property system architecture;
Fig. 3 diagrammatically illustrates the flow chart of the data processing method for map interface according to the embodiment of the present disclosure;
Fig. 4 diagrammatically illustrates the schematic diagram of the map product according to the embodiment of the present disclosure;
Fig. 5 diagrammatically illustrates the block diagram of the data processing system for map interface according to the embodiment of the present disclosure;With And
Fig. 6 diagrammatically illustrate according to the embodiment of the present disclosure be adapted for carrying out for map interface data processing method and The block diagram of the computer system of system.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In addition, in the following description, descriptions of well-known structures and technologies are omitted, with Avoid unnecessarily obscuring the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.Used here as Word " one ", " one (kind) " and "the" etc. also should include " multiple ", " a variety of " the meaning, unless in addition context clearly refers to Out.In addition, the terms "include", "comprise" as used herein etc. show the presence of the feature, step, operation and/or component, But it is not excluded that in the presence of or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
Embodiment of the disclosure provides a kind of being used for for degree of coupling for reducing between map module in map product The data processing method and system at map interface.This method includes map module confirmation process and information distribution procedure.In map During module confirmation, application front end can call related data, and generate map with this and draw request, and send to application rear end Map draws request, request is drawn using rear end parsing map, wherein the map module information carried, is determined with this wait draw The map module (i.e. target map module) of system.After completing the confirmation of map module, into information distribution procedure, using rear end It can parse map and draw request, wherein the map drawing data carried, so that map drawing data is distributed to map Module confirms the map module that process determines, has reached the purpose for drawing map product.
Fig. 2 is diagrammatically illustrated can be using the disclosure for the data processing method at map interface and the example of system Property system architecture.
As shown in Fig. 2, system architecture 200 may include terminal device 201,202,203, network according to this embodiment 204 and server 205.Network 204 between terminal device 201,202,103 and server 105 to provide communication link Medium.Network 204 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 201,202,203 and be interacted by network 204 with server 205, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 201,202,203 (merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 201,202,203 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 205 can be to provide the server of various services, such as utilize terminal device 201,202,203 to user The website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to the use received The data such as family request analyze etc. processing, and by processing result (such as according to user's request or the webpage of generation, believe Breath or data etc.) feed back to terminal device.
It should be noted that the data processing method provided by the embodiment of the present disclosure for map interface generally can be by Server 205 executes.Correspondingly, the data processing system provided by the embodiment of the present disclosure for map interface can generally be set It is placed in server 205.It can also be by being different from service for the data processing method of map provided by the embodiment of the present disclosure Device 205 and the execution of the server that can be communicated with terminal device 201,202,203 and/or server 205 or server cluster.Phase Ying Di, the provided data processing system for map interface of the embodiment of the present disclosure also can be set in different from server 205 and the server or server cluster that can be communicated with terminal device 201,202,203 and/or server 205 in.
It should be understood that the number of terminal device, network and server in Fig. 2 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Fig. 3 diagrammatically illustrates the flow chart of the data processing method for map interface according to the embodiment of the present disclosure.
As shown in figure 3, this method includes operation S301~S303, in which:
S301 is operated, the map for drawing map is received and draws request, wherein map includes multiple map modules, no With map module be shown in the different zones at map interface, map draw request at least carry map drawing data and Map module information.
According to the embodiment of the present disclosure, when drawing map, application front end (hereinafter referred to as front end) can call related data, Map is sent to application rear end (hereinafter referred to as rear end) and draws request, to request rear end to send corresponding map drawing data To corresponding map module.
It should be noted that above-mentioned map module may include one or more, for example, as shown in figure 4, map module It may include totally 6 modules of 1~module of module 6.
S302 is operated, draws and requests in response to map, to determine that target map module, target map module are map module Map module described in information.
According to the embodiment of the present disclosure, request is drawn in response to the map that front end is sent in rear end, and parses to it, obtains map The relevant informations such as drawing data and map module information.Further, the description based on map module information, before rear end can determine Which (or which) module end request draws.
S303 is operated, map drawing data is sent to target map module, to show mesh in corresponding map interface It marks on a map and composes the map content of module drafting.
After determining map module, rear end can further parse map drawing data, and will wherein corresponding portion It is distributed to the corresponding map module that aforementioned operation is determined and is simultaneously displayed on the phase at map interface to realize drafting purpose It answers in region, as shown in Figure 4.
In the related art, when designing map product, often using conventional event response mechanism, in this case, by Relationship is complicated between the event response of module each in map interface, causes the degree of coupling between modules higher, and do not unite One management, thus be inconvenient to expand or simplifying interface function, also it is unfavorable for very much the update of map product iteration.For example, such as Fig. 1 institute Show, if it is desired to it deletes, increase or modified module 2, then other numerous correlation modules also require correspondingly to make substantially to change, this When be easy to increase code and write error rate.
Compared with the relevant technologies, the disclosure is managed collectively mechanism using third party (i.e. rear end), to reduce in map interface The degree of coupling between modules, in this case, even if the relationship in map interface between each module is complicated, but due to coding When not instead of by between module and module directly mutually reference parameter come what is realized, realized by third party's unified management , thus convenient for expansion or simplifying interface function, reduce the difficulty of map product iteration update.
By embodiment of the disclosure, because using the technological means of all map modules of unified management map, institute Each map mould caused by least partially overcome all map modules of the relevant technologies since map can not be managed collectively The degree of coupling is higher between block, so that the technical problem that the iteration of map product is big with difficulty is updated, and then reached reduction The degree of coupling between each map module in map product, and reduce the iteration of map product and update the technical effect of difficulty.
Method shown in Fig. 3 is described further combined with specific embodiments below.
As a kind of optional embodiment, before receiving the map for drawing map and drawing request, the above method is also It include: creation message routing;And respectively received message and the message that issues can be needed according to reflecting multiple map modules Relationship registration is penetrated in message routing, wherein route by message and receive map drafting request, and ask in response to map drafting It asks, to find target map module, and map drawing data is sent to target map module.
It should be noted that message routing is also known as Message Processing center, and the message routing created herein is initialization Message routing.
In the embodiments of the present disclosure, the process of registration message routing is as follows: modules being loaded into map circle in order In face;It being capable of received message message (inMessages) and can issued modules when loading module (outMessages) it is all registered in message routing, forms " triggering message --- a response message " mapping table.This is reflected The function that firing table is realized according to module can be one-to-many, multi-to-multi.
It should be noted that the triggering message of each module corresponds to the triggering behavior that can occur in the module in mapping table (actionName);Response message corresponds to behavior executor (actionFunc) corresponding to the triggering behavior.
As shown in figure 4, if when user is by relationship in front end to the back-end request removing module 2 between certain enterprises, by Related control is provided in map interface in front end, thus user can operate this (or these) control and request to repair to the back-end Change module 2, user can be requested the message for being transmitted to rear end to route by control at this time, and message routing can not only disappear corresponding triggering Breath issues the module 2 that triggering behavior will occur, while the response message point that can also will have mapping relations with the triggering message Issue the module 1 that there is incidence relation with module 2 and module 3 etc..
By embodiment of the disclosure, the ease for maintenance of map module can be improved.When needing to increase module or module function When energy, it is only necessary to reset message routing, that is, increase reception message in message routing and instructs (inMessages), and Increase corresponding response message module or increase corresponding function newly in existing response message module, and is established in message routing Mapping.When needing removing module or functions of modules, it is only necessary to delete and receive message instruction in mapping table accordingly (inMessages), it is not necessary to which change sends message instruction (outMessages).Therefore, departing from tool between modules The binding of the entity elements (such as control) of body, each module or function opposite independent, complicated relationship event response between module It can be matched and be distributed in an orderly manner in message routing.In the continuous correcting, upgrading, iterative process of software interface, Operation to any one or several modules will not influence other modules or function too much.The reusability of code is high, is easy to Maintenance, and the R&D cycle is shortened, convenient for the change of software interface product.
As a kind of optional embodiment, creating message routing may include: to open for showing the interface of map (again Referred to as map interface) after, determine the memory headroom for creating message routing;And it creates and disappears in the memory headroom determined Breath routing.
Specifically, when user holds before application opens map interface, a memory headroom, and structure can be opened up using rear end A message routing is made, at this point, message routing is sky (i.e. this.cache={ };), and particular content is not shown in interface (that is, not completing rendering).Further, when user closes interface, message can be routed and be emptied by rear end.
It is such as opened/closed by embodiment of the disclosure since front end is triggered, rear end just will create/remove message road By, thus by the close fit of front and rear end, unified management of the rear end to module each in front end may be implemented, and then be convenient for Map product iteration updates.
As a kind of optional embodiment, the above method can also include: by each map module of message routing check Message and/or response message are triggered with the presence or absence of abnormal;And it is abnormal if it exists, then execute at least one of following operation: Obtain exception information;Abnormal correlation log is printed, and is reminded for abnormal.
It is matched for example, message routing can instruct these message to verify.If noting abnormalities (if any triggering message (receiving message), but without corresponding response message (issuing message);Or have response message, but disappear without triggering accordingly Breath), then it reports an error.Further, message routing, once noting abnormalities, can also catch the exception other than reporting an error, print day Will, provide prompting, etc..
By embodiment of the disclosure, the purpose of Exact Design map product can achieve, if also, malfunction, it can be with Designer is notified in time.
As a kind of optional embodiment, show that above-mentioned target map module is drawn in above-mentioned corresponding map interface Map content after, the above method further include: obtain the triggering message that receives of target map module, triggering message is for touching Target map module is sent out to execute corresponding trigger action;Matching in message routing has mapping relations with triggering message Response message;And response message is sent to one or more other map module with target map module relation, In, response message is for making other map modules execute operation corresponding with trigger action.
In the embodiments of the present disclosure, data are loaded and show that the process at map interface is as follows: after registration is completed in message routing, Front end can call related data, send message routing for it, message is routed according to event title (a kind of map module information) Corresponding module is found, and is sent to the respective modules, is then drawn.Modules are shown as a result, namely display is entirely Map interface.
Further, in the embodiments of the present disclosure, it can also realize human-computer interaction, detailed process is as follows: (1) receive control institute The message of transmitting instructs, and when user triggers the control in interface module, corresponding instruction message can be passed to message by control Routing.The instruction message includes instruction name and corresponding parameter, and title for example can be screening, click, slips over, loading, more It is new etc.;Parameter for example can be Filter Options, click location, element property values (button ID, type etc.) and other are customized Parameter;(2) match messages, according to pass over reception message (inMessages traverse message routing, can be matched to towards The sending message (outMessages) of one or more modules;(3) these are issued message (outMessages) by message distribution It is distributed to corresponding module and executes corresponding operation after modules receive message instruction and parameter.
By embodiment of the disclosure, due to using message distribution mechanism, so that it is relatively independent between modules, work as increasing Add or be deleted or modified a module or in which function when, only need to pointedly handle the module, and other modules are not It must change, or only need to carry out slightly to change, thus be updated convenient for map product iteration.
Fig. 5 diagrammatically illustrates the block diagram of the data processing system for map interface according to the embodiment of the present disclosure.
As shown in figure 5, the data processing system 500 for map includes receiving module 510, respond module 520 and first Sending module 530.Wherein, request is drawn for receiving map for drawing map in receiving module 510, wherein map includes Multiple map modules, during different map modules is shown in the different zones at map interface, map is drawn in request and is at least taken With map drawing data and map module information;Respond module 520 is requested for drawing in response to map, to determine target Map module, target map module are map module described in map module information;And first sending module 530, it is used for Map drawing data is sent to target map module, with the figure that displaying target map module is drawn in corresponding map interface Compose content.
By embodiment of the disclosure, because using the technological means of all map modules of unified management map, institute Each map mould caused by least partially overcome all map modules of the relevant technologies since map can not be managed collectively The degree of coupling is higher between block, so that the technical problem that the iteration of map product is big with difficulty is updated, and then reached reduction The degree of coupling between each map module in map product, and reduce the iteration of map product and update the technical effect of difficulty.
As a kind of optional embodiment, above system can also include: creation module, for receiving for drawing figure Before the map of spectrum draws request, creation message routing;And registration module, for multiple map modules can respectively to be received Message and the message that issues of needs be registered in message routing according to mapping relations, in which: receiving module is also used to by disappearing Breath routing receives map and draws request;Respond module is also used to draw in response to map and request, to find target map module; And first sending module, it is also used to for map drawing data to be sent to target map module.
By embodiment of the disclosure, the ease for maintenance of map module can be improved.When needing to increase module or module function When energy, it is only necessary to reset message routing, that is, increase reception message in message routing and instructs (inMessages), and Increase corresponding response message module or increase corresponding function newly in existing response message module, and is established in message routing Mapping.When needing removing module or functions of modules, it is only necessary to delete and receive message instruction in mapping table accordingly (inMessages), it is not necessary to which change sends message instruction (outMessages).Therefore, departing from tool between modules The binding of the entity elements (such as control) of body, each module or function opposite independent, complicated relationship event response between module It can be matched and be distributed in an orderly manner in message routing.In the continuous correcting, upgrading, iterative process of software interface, Operation to any one or several modules will not influence other modules or function too much.The reusability of code is high, is easy to Maintenance, and the R&D cycle is shortened, convenient for the change of software interface product.
As a kind of optional embodiment, creation module may include: determination unit, for opening for showing map Interface after, determine for create message routing memory headroom;And creating unit, in the memory headroom determined Create message routing.
It is such as opened/closed by embodiment of the disclosure since front end is triggered, rear end just will create/remove message road By, thus by the close fit of front and rear end, unified management of the rear end to module each in front end may be implemented, and then be convenient for Map product iteration updates.
As a kind of optional embodiment, above system can also include: correction verification module, for passing through message routing check The triggering message and/or response message of each map module are with the presence or absence of abnormal;And processing module, for being routed by message The triggering message and/or response message for verifying out each map module are deposited in an exceptional case, are executed in following operation at least One of: obtain exception information;Abnormal correlation log is printed, and is reminded for abnormal.
By embodiment of the disclosure, the purpose of Exact Design map product can achieve, if also, malfunction, it can be with Designer is notified in time.
As a kind of optional embodiment, above system can also include: acquisition module, at corresponding map interface In show the map content that target map module is drawn after, obtain the triggering message that receives of target map module, triggering Message is for triggering target map module to execute corresponding trigger action;Matching module, for being matched in message routes There is the response message of mapping relations with triggering message;And second sending module, for response message to be sent to and target One or more other map module of map module relation, wherein response message for make other map modules execute with The corresponding operation of trigger action.
By embodiment of the disclosure, due to using message distribution mechanism, so that it is relatively independent between modules, work as increasing Add or be deleted or modified a module or in which function when, only need to pointedly handle the module, and other modules are not It must change, or only need to carry out slightly to change, thus be updated convenient for map product iteration.
It should be noted that components of system as directed (i.e. device part) and side in embodiment of the disclosure in embodiment of the disclosure Method part be it is corresponding, the description of components of system as directed specifically refers to the associated description of method part, and details are not described herein.
Fig. 6 diagrammatically illustrate according to the embodiment of the present disclosure be adapted for carrying out for map interface data processing method and The block diagram of the computer system of system.Computer system shown in Fig. 6 is only an example, should not be to the embodiment of the present disclosure Function and use scope bring any restrictions.
As shown in fig. 6, include processor 601 according to the computer system 600 of the embodiment of the present disclosure, it can be according to storage It is loaded into random access storage device (RAM) 603 in the program in read-only memory (ROM) 602 or from storage section 608 Program and execute various movements appropriate and processing.Processor 601 for example may include general purpose microprocessor (such as CPU), refer to Enable set processor and/or related chip group and/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processing Device 610 can also include the onboard storage device for caching purposes.Processor 610 may include for executing above method part Single treatment unit either multiple places of the different movements of the method flow according to the embodiment of the present disclosure of each embodiment description Manage unit.
In RAM 603, it is stored with computer system 600 and operates required various programs and data.Processor 601, ROM 602 and RAM 603 is connected with each other by bus 604.Processor 601 is by executing the journey in ROM 602 and/or RAM 603 Sequence come execute above with reference to Fig. 3 describe various operations.It is noted that described program also can store except ROM 602 and RAM In one or more memories other than 603.Processor 601 can also be stored in one or more of memories by executing In program execute the various operations of the above above method part each embodiment description.
In accordance with an embodiment of the present disclosure, computer system 600 can also include input/output (I/O) interface 605, input/ Output (I/O) interface 605 is also connected to bus 604.Computer system 600 can also be including being connected to the following of I/O interface 605 It is one or more in component: the importation 606 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), liquid crystal The output par, c 607 of display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;And including such as The communications portion 609 of the network interface card of LAN card, modem etc..Communications portion 609 is held via the network of such as internet Row communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as disk, CD, magnetic CD, semiconductor memory etc. are mounted on as needed on driver 610, in order to from the computer program read thereon It is mounted into storage section 608 as needed.
In accordance with an embodiment of the present disclosure, it may be implemented as computer software journey above with reference to the method for flow chart description Sequence.For example, embodiment of the disclosure includes a kind of computer program product comprising carry meter on a computer-readable medium Calculation machine program, the computer program include the program code for method shown in execution flow chart.In such embodiments, The computer program can be downloaded and installed from network by communications portion 609, and/or be pacified from detachable media 611 Dress.When the computer program is executed by processor 601, the above-mentioned function of limiting in the system of the embodiment of the present disclosure is executed.Root According to embodiment of the disclosure, system as described above, unit, module, unit etc. can by computer program module come It realizes.
It should be noted that computer-readable medium shown in the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.In accordance with an embodiment of the present disclosure, computer-readable medium may include above-described ROM 602 And/or one or more memories other than RAM 603 and/or ROM 602 and RAM 603.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
As on the other hand, the disclosure additionally provides a kind of computer-readable medium, which can be Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes It obtains the equipment to execute: receiving the map for drawing map and draw request, wherein map includes multiple map modules, different Map module is shown in different map interfaces, and map is drawn in request and at least carries map drawing data and map module Information;It draws and requests in response to map, to determine that target map module, target map module are described in map module information Map module;And map drawing data is sent to target map module, with the displaying target figure in corresponding map interface Compose the map content that module is drawn.
Embodiment of the disclosure is described above.But the purpose that these embodiments are merely to illustrate that, and It is not intended to limit the scope of the present disclosure.Although respectively describing each embodiment above, but it is not intended that each reality Use cannot be advantageously combined by applying the measure in example.The scope of the present disclosure is defined by the appended claims and the equivalents thereof.It does not take off From the scope of the present disclosure, those skilled in the art can make a variety of alternatives and modifications, these alternatives and modifications should all fall in this Within scope of disclosure.

Claims (8)

1. a kind of data processing method for map interface, comprising:
Create message routing, comprising:
Determine the memory headroom for creating the message routing;And the message road is created in the memory headroom determined By;
Respectively received message and the message that issues can be needed to be registered in described disappear according to mapping relations multiple map modules In breath routing;
The map received for drawing map is routed by the message and draws request, wherein the map includes multiple maps Module, different map modules are shown in the different zones at map interface, and the map is drawn in request and at least carries figure Compose drawing data and map module information;
It draws and requests in response to the map, to determine that target map module, the target map module are the map module Map module described in information;And
The map drawing data is sent to the target map module, to show the target in corresponding map interface The map content that map module is drawn.
2. according to the method described in claim 1, wherein, creation message routing includes:
After opening the interface for showing the map, the memory headroom for creating the message routing is determined;And The message routing is created in the memory headroom determined.
3. according to the method described in claim 1, wherein, showing the target map mould in the corresponding map interface After the map content that block is drawn, the method also includes:
The triggering message that the target map module receives is obtained, the triggering message is for triggering the target map module To execute corresponding trigger action;
The response message that there are mapping relations with the triggering message is matched in message routing;And
The response message is sent to one or more other map module with the target map module relation, In, the response message is for making other described map modules execute operation corresponding with the trigger action.
4. a kind of data processing system for map interface, comprising:
Receiving module, for receiving the map drafting request for drawing map, wherein the map includes multiple map moulds Block, different map modules are shown in the different zones at map interface, and the map is drawn in request and at least carries map Drawing data and map module information;
Respond module is requested for drawing in response to the map, to determine that target map module, the target map module be Map module described in the map module information;And
First sending module, for the map drawing data to be sent to the target map module, in corresponding map The map content that the target map module is drawn is shown in interface;
Creation module, for before receiving the map for drawing map and drawing request, creation message to be routed;And
Registration module, for that respectively received message and the message that issues can be needed according to mapping the multiple map module Relationship registration the message routing in,
Wherein:
The receiving module is also used to route the reception map by the message and draws request;
The respond module is also used to draw in response to the map and request, to find the target map module;And
First sending module is also used to the map drawing data being sent to the target map module;
The creation module includes:
Determination unit, for determining the memory headroom for creating the message routing;And
Creating unit, for creating the message routing in the memory headroom determined.
5. system according to claim 4, wherein
The determination unit is used for after opening the interface for showing the map, is determined for creating the message routing Memory headroom.
6. system according to claim 4, wherein the system also includes:
Obtain module, for shown in the corresponding map interface map content that the target map module is drawn it Afterwards, the triggering message that the target map module receives is obtained, the triggering message is for triggering the target map module To execute corresponding trigger action;
Matching module, for matching the response message that there are mapping relations with the triggering message in message routing; And
Second sending module, for by the response message be sent to the target map module relation one or more Other map modules, wherein the response message is corresponding with the trigger action for executing other described map modules Operation.
7. a kind of computer-readable medium, is stored thereon with executable instruction, which makes processor real when being executed by processor The data processing method at map interface is used for described in existing any one of claims 1 to 3.
8. a kind of computer system, comprising:
One or more processors;
Storage device, for storing one or more programs,
Wherein, when one or more of programs are executed by one or more of processors, so that one or more of Processor realizes the data processing method that map interface is used for described in any one of claims 1 to 3.
CN201710491432.0A 2017-06-23 2017-06-23 Data processing method and system for map interface Active CN107291906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710491432.0A CN107291906B (en) 2017-06-23 2017-06-23 Data processing method and system for map interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710491432.0A CN107291906B (en) 2017-06-23 2017-06-23 Data processing method and system for map interface

Publications (2)

Publication Number Publication Date
CN107291906A CN107291906A (en) 2017-10-24
CN107291906B true CN107291906B (en) 2019-08-16

Family

ID=60099550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710491432.0A Active CN107291906B (en) 2017-06-23 2017-06-23 Data processing method and system for map interface

Country Status (1)

Country Link
CN (1) CN107291906B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111460235A (en) * 2020-04-24 2020-07-28 北京同心尚科技发展有限公司 Atlas data processing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111768A (en) * 2014-07-30 2014-10-22 吴涛军 Interactive window, methods and systems for defining, quoting and synchronizing interactive windows
CN105824883A (en) * 2016-03-10 2016-08-03 中电海康集团有限公司 Representing method and system capable of dynamically expanding data associated network diagram
CN106155686A (en) * 2016-06-30 2016-11-23 华为技术有限公司 Interface creating method, device and system
CN106775692A (en) * 2016-12-06 2017-05-31 腾讯科技(深圳)有限公司 A kind of component edits method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111768A (en) * 2014-07-30 2014-10-22 吴涛军 Interactive window, methods and systems for defining, quoting and synchronizing interactive windows
CN105824883A (en) * 2016-03-10 2016-08-03 中电海康集团有限公司 Representing method and system capable of dynamically expanding data associated network diagram
CN106155686A (en) * 2016-06-30 2016-11-23 华为技术有限公司 Interface creating method, device and system
CN106775692A (en) * 2016-12-06 2017-05-31 腾讯科技(深圳)有限公司 A kind of component edits method and electronic equipment

Also Published As

Publication number Publication date
CN107291906A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN109358858A (en) Automatically dispose method, apparatus, medium and electronic equipment
CN110019211A (en) The methods, devices and systems of association index
CN110442608A (en) Information processing method, device, electronic equipment, medium and system
CN109074265A (en) The preformed instruction of mobile cloud service
CN110619555A (en) Unified management method and device for order information, terminal equipment and medium
CN110262807A (en) Cluster creates Progress Log acquisition system, method and apparatus
CN110519379A (en) Request processing method and equipment based on micro services
CN107862044A (en) The method and apparatus of displayed page
CN110427304A (en) O&M method, apparatus, electronic equipment and medium for banking system
CN109981719A (en) Information processing method and its system, computer system and computer readable medium
CN109447635A (en) Information storage means and device for block chain
CN108733720A (en) The on-line testing method and check system of the SQL query of multiple database type
CN109241033A (en) The method and apparatus for creating real-time data warehouse
CN110473036A (en) A kind of method and apparatus generating order number
CN108876379A (en) A kind of method and apparatus for generating message
CN110019263A (en) Information storage means and device
CN110019346A (en) A kind of data processing method and device based on double primary databases
CN109918191A (en) A kind of method and apparatus of the anti-frequency of service request
CN108984197A (en) A kind of code update method and device
CN110020349A (en) The method and device of page rendering
CN110223179A (en) The data processing method of fund, device, system, medium
CN110460629A (en) Data upload and method for down loading, server and storage medium
CN107291906B (en) Data processing method and system for map interface
CN108399046A (en) File operation requests treating method and apparatus
CN110401630A (en) Verification method, device, electronic equipment and the medium of transaction certificate

Legal Events

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