CN107291906A - Data processing method and system for collection of illustrative plates interface - Google Patents

Data processing method and system for collection of illustrative plates interface Download PDF

Info

Publication number
CN107291906A
CN107291906A CN201710491432.0A CN201710491432A CN107291906A CN 107291906 A CN107291906 A CN 107291906A CN 201710491432 A CN201710491432 A CN 201710491432A CN 107291906 A CN107291906 A CN 107291906A
Authority
CN
China
Prior art keywords
collection
illustrative plates
module
message
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710491432.0A
Other languages
Chinese (zh)
Other versions
CN107291906B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Present disclose provides a kind of data processing method for collection of illustrative plates interface, including:Receive the collection of illustrative plates for drawing collection of illustrative plates and draw request, wherein, collection of illustrative plates includes multiple collection of illustrative plates modules, and different collection of illustrative plates modules is shown in different collection of illustrative plates interfaces, and collection of illustrative plates is drawn in request and at least carries collection of illustrative plates drawing data and collection of illustrative plates module information;Draw and ask in response to collection of illustrative plates, to determine target collection of illustrative plates module, target collection of illustrative plates module is the collection of illustrative plates module described by collection of illustrative plates module information;And collection of illustrative plates drawing data is sent to target collection of illustrative plates module, with the collection of illustrative plates content that display target collection of illustrative plates module is drawn in corresponding collection of illustrative plates interface.Present disclose provides a kind of for the data handling system at collection of illustrative plates interface, a kind of computer-readable medium and a kind of computer system.

Description

Data processing method and system for collection of illustrative plates interface
Technical field
This disclosure relates to data processing field, more particularly, to a kind of data processing method for collection of illustrative plates interface and System, computer-readable medium and computer system.
Background technology
In business connection displaying, it is often necessary to enterprise can be embodied with enterprise, enterprise and personal and individual with individual's Between relation collection of illustrative plates.At present, in the market has occurred in that some collection of illustrative plates products.What is had in these collection of illustrative plates products is fairly simple, can The functional module interacted for user is relatively fewer and each module between the relatively simple independence of relation, 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, The cross one another response relation of complexity is often there is between various modules.As shown in figure 1, the collection of illustrative plates interface at least includes Six modules, when the collection of illustrative plates change in module 2, module 1 and module 3 also can correspondingly change:For example, when one in double-click collection of illustrative plates Individual element (such as one company or a people), can expand out more elements in the collection of illustrative plates, correspondingly, module 1 can respond the thing Part and increase element, and module 3 also can be according to collection of illustrative plates respective change.When user screens relation by module 4, module 2 also can Respond the event and cause change, while module 1 and module 3 also can correspondingly change;When operation module 3, module 2 also can be with Change.
During present inventive concept is realized, inventor has found that at least there are the following problems in the prior art:If made With conventional event response mechanism, then it is unfavorable for iteration and the renewal of collection of illustrative plates product.
The content of the invention
In view of this, it is used to reduce being used for for the degree of coupling in collection of illustrative plates product between collection of illustrative plates module present disclose provides a kind of The data processing method and system at collection of illustrative plates interface.
An aspect of this disclosure provides a kind of data processing method for collection of illustrative plates interface, including:Receive for painting The collection of illustrative plates of drawing spectrum draws request, wherein, above-mentioned collection of illustrative plates includes multiple collection of illustrative plates modules, and different collection of illustrative plates modules are shown in collection of illustrative plates circle In the different zones in face, above-mentioned collection of illustrative plates is drawn in request and at least carries collection of illustrative plates drawing data and collection of illustrative plates module information;In response to Above-mentioned collection of illustrative plates draws request, and to determine target collection of illustrative plates module, above-mentioned target collection of illustrative plates module is described by above-mentioned collection of illustrative plates module information Collection of illustrative plates module;And above-mentioned collection of illustrative plates drawing data is sent to above-mentioned target collection of illustrative plates module, with corresponding collection of illustrative plates interface Show the collection of illustrative plates content that above-mentioned target collection of illustrative plates module is drawn.
In accordance with an embodiment of the present disclosure, before the collection of illustrative plates drafting request for being used for drawing collection of illustrative plates is received, the above method is also wrapped Include:Create message route;And the message that sends of the message and needs that can each receive above-mentioned multiple collection of illustrative plates modules according to Mapping relations are registered in above-mentioned message route, wherein, above-mentioned collection of illustrative plates is received by above-mentioned message route and draws request, and is responded Draw and ask in above-mentioned collection of illustrative plates, to find above-mentioned target collection of illustrative plates module, and above-mentioned collection of illustrative plates drawing data is sent to above-mentioned mesh Spectrum of marking on a map module.
In accordance with an embodiment of the present disclosure, creating message route includes:After opening for showing the interface of above-mentioned collection of illustrative plates, really The fixed memory headroom for being used to create above-mentioned message route;And above-mentioned message route is created in the memory headroom determined.
In accordance with an embodiment of the present disclosure, the above method also includes:Pass through touching for each collection of illustrative plates module of above-mentioned message routing check Message and/or response message are sent out with the presence or absence of abnormal;And if there is abnormal, at least one of following operation of execution:Obtain Take abnormal 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 collection of illustrative plates module was drawn in above-mentioned corresponding collection of illustrative plates interface After collection of illustrative plates content, the above method also includes:Obtain the triggering message that above-mentioned target collection of illustrative plates module is received, above-mentioned triggering message For triggering above-mentioned target collection of illustrative plates module to perform corresponding trigger action;Matched and above-mentioned triggering in above-mentioned message route Message has the response message of mapping relations;And above-mentioned response message is sent to above-mentioned target collection of illustrative plates module relation one Other individual or multiple collection of illustrative plates modules, wherein, above-mentioned response message is used to make other above-mentioned collection of illustrative plates modules perform and above-mentioned triggering The corresponding operation of operation.
Another aspect of the disclosure provides a kind of data handling system for collection of illustrative plates interface, including:Receiving module, Request is drawn for receiving the collection of illustrative plates for being used to draw collection of illustrative plates, wherein, above-mentioned collection of illustrative plates includes multiple collection of illustrative plates modules, different collection of illustrative plates moulds Block is shown in the difference at collection of illustrative plates interface, and above-mentioned collection of illustrative plates, which is drawn, at least carries collection of illustrative plates drawing data and collection of illustrative plates module letter in request Breath;Respond module, is asked, to determine target collection of illustrative plates module, above-mentioned target collection of illustrative plates module is for being drawn in response to above-mentioned collection of illustrative plates Collection of illustrative plates module described by above-mentioned collection of illustrative plates module information;And first sending module, for above-mentioned collection of illustrative plates drawing data to be sent To above-mentioned target collection of illustrative plates module, to show the collection of illustrative plates content of above-mentioned target collection of illustrative plates module drafting in corresponding collection of illustrative plates interface.
In accordance with an embodiment of the present disclosure, said system also includes:Creation module, for receiving the figure for being used for drawing collection of illustrative plates Spectrum is drawn before request, creates message route;And Registering modules, for what above-mentioned multiple collection of illustrative plates modules can each be received The message that message and needs are sent is registered in above-mentioned message route according to mapping relations, wherein:Above-mentioned receiving module, is additionally operable to Above-mentioned collection of illustrative plates is received by above-mentioned message route and draws request;Above-mentioned respond module, is additionally operable to draw in response to above-mentioned collection of illustrative plates and asks Ask, to find above-mentioned target collection of illustrative plates module;And above-mentioned first sending module, it is additionally operable to above-mentioned collection of illustrative plates drawing data being sent to Above-mentioned target collection of illustrative plates module.
In accordance with an embodiment of the present disclosure, above-mentioned creation module includes:Determining unit, for opening for showing above-mentioned figure Behind the interface of spectrum, it is determined that the memory headroom for creating above-mentioned message route;And creating unit, in the internal memory determined Above-mentioned message route is created in space.
In accordance with an embodiment of the present disclosure, said system also includes:Correction verification module, for each by above-mentioned message routing check The triggering message and/or response message of collection of illustrative plates module are with the presence or absence of abnormal;And processing module, for passing through above-mentioned message road The triggering message and/or response message for going out each collection of illustrative plates module by verification are deposited in an exceptional case, are performed in following operate extremely It is one of few:Obtain abnormal information;Abnormal correlation log is printed, and is reminded for above-mentioned exception.
In accordance with an embodiment of the present disclosure, said system also includes:Acquisition module, in above-mentioned corresponding collection of illustrative plates interface Show after the collection of illustrative plates content that above-mentioned target collection of illustrative plates module is drawn, the triggering that the above-mentioned target collection of illustrative plates module of acquisition is received disappears Breath, above-mentioned triggering message is used to trigger above-mentioned target collection of illustrative plates module to perform corresponding trigger action;Matching module, for State in message route and match 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 collection of illustrative plates module with above-mentioned target collection of illustrative plates module relation, wherein, on Stating response message is used to make other above-mentioned collection of illustrative plates modules perform 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 for collection of illustrative plates interface described in any of the above-described when being executed by processor.
Another aspect of the present disclosure provides a kind of computer system, including:One or more processors;Storage device, For storing one or more programs, wherein, when said one or multiple programs are by said one or multiple computing devices, So that said one or multiple processors realize the data processing method for collection of illustrative plates interface described in any of the above-described.
By embodiment of the disclosure, because employing the technological means of all collection of illustrative plates modules of unified management collection of illustrative plates, institute To at least partially overcome correlation technique due to each collection of illustrative plates mould caused by all collection of illustrative plates modules of collection of illustrative plates can not be managed collectively The degree of coupling is higher between block, so that the iteration of collection of illustrative plates product and the big technical problem of renewal difficulty, and then reached reduction The degree of coupling between each collection of illustrative plates module in collection of illustrative plates product, and reduce the technique effect for the difficulty that collection of illustrative plates product iteration updates.
Brief description of the drawings
By description referring to the drawings to 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 collection of illustrative plates product according to correlation technique;
Fig. 2, which is diagrammatically illustrated, can apply the data processing method and the example of system for collection of illustrative plates interface of the disclosure Sexual system framework;
Fig. 3 diagrammatically illustrates the flow chart of the data processing method for collection of illustrative plates interface according to the embodiment of the present disclosure;
Fig. 4 diagrammatically illustrates the schematic diagram of the collection of illustrative plates product according to the embodiment of the present disclosure;
Fig. 5 diagrammatically illustrates the block diagram of the data handling system for collection of illustrative plates 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 collection of illustrative plates interface data processing method and The block diagram of the computer system of system.
Embodiment
Hereinafter, it will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are simply exemplary , and it is not intended to limit the scope of the present disclosure.In addition, in the following description, the description to known features and technology is eliminated, 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. should also include " multiple ", the meaning of " a variety of ", unless context clearly refers in addition Go out.In addition, term " comprising " as used herein, "comprising" etc. indicate the presence of the feature, step, operation and/or part, But it is not excluded that in the presence of or add one or more other features, step, operation or part.
All terms (including technology and scientific terminology) as used herein have what those skilled in the art were generally understood Implication, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Implication, without that should be explained with idealization or excessively mechanical mode.
Embodiment of the disclosure provides a kind of for reducing being used for for the degree of coupling in collection of illustrative plates product between collection of illustrative plates module The data processing method and system at collection of illustrative plates interface.This method includes collection of illustrative plates module and confirms process and information distribution procedure.In collection of illustrative plates During module confirms, application front end can call related data, and generate collection of illustrative plates drafting request with this, and be sent to application rear end Collection of illustrative plates draws request, draws and asks using rear end parsing collection of illustrative plates, wherein the collection of illustrative plates module information carried, waits to paint with this determination The collection of illustrative plates module (i.e. target collection of illustrative plates module) of system.After the confirmation of collection of illustrative plates module is completed, into information distribution procedure, using rear end Collection of illustrative plates can be parsed and draw request, wherein the collection of illustrative plates drawing data carried, so that collection of illustrative plates drawing data is distributed into collection of illustrative plates Module confirms the collection of illustrative plates module that process is determined, has reached the purpose for drawing collection of illustrative plates product.
Fig. 2, which is diagrammatically illustrated, can apply the data processing method and the example of system for collection of illustrative plates interface of the disclosure Sexual system framework.
As shown in Fig. 2 terminal device 201,202,203, network can be included according to the system architecture 200 of the embodiment 204 and server 205.Network 204 between terminal device 201,202,103 and server 105 to provide communication link Medium.Network 204 can include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 201,202,203 by network 204 with server 205, to receive or send out Send message etc..Various telecommunication customer end applications can be installed, class of for example doing shopping application, net on terminal device 201,202,203 (merely illustrative) such as the application of page browsing device, searching class application, JICQ, mailbox client, social platform softwares.
Terminal device 201,202,203 can be the various electronic equipments browsed with display screen and supported web page, bag Include but be not limited to smart mobile phone, tablet personal computer, pocket computer on knee and desktop computer etc..
Server 205 can be to provide the server of various services, for example, 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 that receives The data such as family request carry out the processing such as analyzing, and by result (such as according to user's acquisition request or the webpage of generation, letter Breath or data etc.) feed back to terminal device.
It should be noted that the data processing method for collection of illustrative plates interface that is provided of the embodiment of the present disclosure typically can be by Server 205 is performed.Correspondingly, the data handling system for collection of illustrative plates interface that the embodiment of the present disclosure is provided can typically be set It is placed in server 205.The data processing method for collection of illustrative plates that the embodiment of the present disclosure is provided can also be by different from service Device 205 and server or the server cluster execution that can be communicated with terminal device 201,202,203 and/or server 205.Phase Ying Di, the data handling system for collection of illustrative plates interface that the embodiment of the present disclosure is provided can also be arranged at 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 the terminal device, network and server in Fig. 2 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
Fig. 3 diagrammatically illustrates the flow chart of the data processing method for collection of illustrative plates interface according to the embodiment of the present disclosure.
As shown in figure 3, this method includes operation S301~S303, wherein:
S301 is operated, the collection of illustrative plates for drawing collection of illustrative plates is received and draws request, wherein, collection of illustrative plates includes multiple collection of illustrative plates modules, no With collection of illustrative plates module be shown in the different zones at collection of illustrative plates interface, collection of illustrative plates draw request at least carry collection of illustrative plates drawing data and Collection of illustrative plates module information.
According to the embodiment of the present disclosure, when drawing collection of illustrative plates, application front end (hereinafter referred to as front end) can call related data, Collection of illustrative plates is sent to application rear end (hereinafter referred to as rear end) and draws request, to ask rear end to send corresponding collection of illustrative plates drawing data To corresponding collection of illustrative plates module.
It should be noted that above-mentioned collection of illustrative plates module can include one or more, for example, as shown in figure 4, collection of illustrative plates module Totally 6 modules of 1~module of module 6 can be included.
S302 is operated, draws and asks in response to collection of illustrative plates, to determine target collection of illustrative plates module, target collection of illustrative plates module is collection of illustrative plates module Collection of illustrative plates module described by information.
According to the embodiment of the present disclosure, rear end is drawn in response to the collection of illustrative plates that front end is sent and asked, and it is parsed, and obtains collection of illustrative plates The relevant information such as drawing data and collection of illustrative plates module information.Further, the description based on collection of illustrative plates module information, before rear end can be determined Which (or which) module end request draws.
S303 is operated, collection of illustrative plates drawing data target collection of illustrative plates module is sent to, to show mesh in corresponding collection of illustrative plates interface The collection of illustrative plates content that spectrum of marking on a map module is drawn.
After collection of illustrative plates module is determined, rear end can further parse collection of illustrative plates drawing data, and will wherein corresponding portion The corresponding collection of illustrative plates module that aforementioned operation is determined is distributed to, to realize drafting purpose, the phase at collection of illustrative plates interface is simultaneously displayed on Answer in region, as shown in Figure 4.
In the related art, when designing collection of illustrative plates product, often using conventional event response mechanism, in this case, by Relation is complicated between the event response of each module in collection of illustrative plates interface, and the degree of coupling is higher between causing modules, and does not unite One management, thus be inconvenient to expand or simplifying interface function, also it is unfavorable for very much the renewal of collection of illustrative plates product iteration.For example, such as Fig. 1 institutes Show, if it is desired to delete, increase or modified module 2, then other numerous correlation modules are also required for correspondingly making significantly changing, this When be easy to increase code and write error rate.
Compared with correlation technique, the disclosure is managed collectively mechanism using third party (i.e. rear end), to reduce in collection of illustrative plates interface The degree of coupling between modules, even if the relation in collection of illustrative plates interface between each module is complicated, but is due to coding in this case When not by the way that directly mutually reference parameter is realized between module and module, but realized by third party's unified management , thus be easy to expand or simplifying interface function, reduce the difficulty of collection of illustrative plates product iteration renewal.
By embodiment of the disclosure, because employing the technological means of all collection of illustrative plates modules of unified management collection of illustrative plates, institute To at least partially overcome correlation technique due to each collection of illustrative plates mould caused by all collection of illustrative plates modules of collection of illustrative plates can not be managed collectively The degree of coupling is higher between block, so that the iteration of collection of illustrative plates product and the big technical problem of renewal difficulty, and then reached reduction The degree of coupling between each collection of illustrative plates module in collection of illustrative plates product, and reduce the iteration of collection of illustrative plates product and update the technique effect of difficulty.
The method shown in Fig. 3 is described further with reference to specific embodiment.
As a kind of optional embodiment, before the collection of illustrative plates drafting request for being used for drawing collection of illustrative plates is received, the above method is also Including:Create message route;And the message that sends of the message and needs that can each receive multiple collection of illustrative plates modules is according to reflecting Relationship registration is penetrated in message is route, wherein, collection of illustrative plates is received by message route and draws request, and please in response to collection of illustrative plates drafting Ask, to find target collection of illustrative plates module, and collection of illustrative plates drawing data is sent to target collection of illustrative plates module.
It should be noted that message route is also known as Message Processing center, and the message route created herein is initialization Message is route.
In the disclosed embodiments, the process of registration message route is as follows:Modules are loaded into collection of illustrative plates circle in order In face;The message (inMessages) that modules can be received during load-on module and the message that can be sent (outMessages) all it is registered in message route, forms " triggering message --- a response message " mapping table.This reflects 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 the behavior executor (actionFunc) corresponding to the triggering behavior.
As shown in figure 4, if user is by front end to the back-end request removing module 2 during relation between some enterprises, by Related control is provided with collection of illustrative plates interface in front end, thus user can operate this (or these) control request is repaiied to the back-end Change module 2, now user can be asked the message for being transmitted to rear end to route by control, message route can not only disappear corresponding triggering Breath issues the module 2 that will occur triggering behavior, while can also be by the response message with the triggering message with mapping relations point Issue the module 1 and module 3 etc. that there is incidence relation with module 2.
By embodiment of the disclosure, the ease for maintenance of collection of illustrative plates module can be improved.When needing increase module or module work( During energy, it is only necessary to reset message route, i.e. increase receives message and instructs (inMessages) in message route, and Increase corresponding response message module or increase corresponding function newly in existing response message module, and set up in message route Mapping just may be used.When needing removing module or functions of modules, it is only necessary to delete the corresponding message that receives in mapping table and instruct (inMessages) just may be used, it is not necessary to change and send message instruction (outMessages).Therefore, departing from tool between modules Complicated relation event response between the binding of the entity elements (such as control) of body, each module or function opposite independent, module It can be matched and be distributed in an orderly manner in message route.In the continuous correcting, upgrading, iterative process of software interface, Operation to any of which or several modules, other modules or function will not be influenceed too much.The reusability of code is high, it is easy to Safeguard, and shorten the R&D cycle, be easy to the change of software interface product.
As a kind of optional embodiment, creating message route can include:It is used for the interface for showing collection of illustrative plates (again opening Referred to as collection of illustrative plates interface) after, it is determined that the memory headroom for creating message route;And create and disappear in the memory headroom determined Breath route.
Specifically, when user holds opening collection of illustrative plates interface before application, a memory headroom, and structure can be opened up using rear end A message route is made, now, message route is sky (i.e. this.cache={ };), and particular content is not shown in interface (that is, do not complete and render).Further, when user closes interface, rear end can empty message route.
By embodiment of the disclosure, because front end is triggered, opening/closing such as is beaten, rear end will create/remove message road By, thus the close fit for passing through front and rear end, it is possible to achieve unified management of the rear end to each module in front end, and then be easy to Collection of illustrative plates product iteration updates.
As a kind of optional embodiment, the above method can also include:Pass through each collection of illustrative plates module of message routing check Message and/or response message are triggered with the presence or absence of abnormal;And if there is abnormal, at least one of following operation of execution: Obtain abnormal information;Abnormal correlation log is printed, and is reminded for abnormal.
For example, message route can be matched to verify to the instruction of these message.If noting abnormalities (if any triggering message (reception message), but without corresponding response message (sending message);Or have response message, but disappear without triggering accordingly Breath), then report an error.Further, message route, once noting abnormalities, can also catch the exception in addition to reporting an error, print day Will, provide prompting, etc..
By embodiment of the disclosure, the purpose of Exact Design collection of illustrative plates product can be reached, if also, error, can be with Notify designer in time.
As a kind of optional embodiment, show that above-mentioned target collection of illustrative plates module is drawn in above-mentioned corresponding collection of illustrative plates interface Collection of illustrative plates content after, the above method also includes:The triggering message that target collection of illustrative plates module is received is obtained, triggering message is used to touch Target collection of illustrative plates module is sent out to perform corresponding trigger action;Matched in message route has mapping relations with triggering message Response message;And response message is sent to one or more other collection of illustrative plates module with target collection of illustrative plates module relation, its In, response message is used to make other collection of illustrative plates modules perform operation corresponding with trigger action.
In the disclosed embodiments, data are loaded and show that the process at collection of illustrative plates interface is as follows:Message route is completed after registration, Front end can call related data, and it is sent into message route, and message is route according to event title (a kind of collection of illustrative plates module information) Corresponding module is found, and is sent to the respective modules, is then drawn.Thus, modules are shown, namely display is entirely Collection of illustrative plates interface.
Further, in the disclosed embodiments, man-machine interaction can also be realized, idiographic flow is as follows:(1) control institute is received The message instruction of transmission, when user triggers the control in interface module, corresponding instruction message can be passed to message by control Route.The instruction message includes instruction name and corresponding parameter, and title can be for example screening, click on, slips over, loading, more It is new etc.;Parameter is such as can be Filter Options, click location, element property values (button ID, type) and other are self-defined Parameter;(2) match messages, according to pass over reception message (inMessages traversal message route, can match towards One or more modules send message (outMessages);(3) these are sent message (outMessages) by message distribution Corresponding module is distributed to, modules are received after message instruction and parameter, perform corresponding operation.
By embodiment of the disclosure, due to using message distribution mechanism so that relatively independent between modules, work as increasing Plus or when a module or function therein is deleted or modified, only need to pointedly handle the module, and other modules are not Must change, or only need to carry out slightly to change just can, thus be easy to collection of illustrative plates product iteration to update.
Fig. 5 diagrammatically illustrates the block diagram of the data handling system for collection of illustrative plates interface according to the embodiment of the present disclosure.
As shown in figure 5, the data handling system 500 for collection of illustrative plates includes receiving module 510, respond module 520 and first Sending module 530.Wherein, receiving module 510, request is drawn for receiving the collection of illustrative plates for being used to draw collection of illustrative plates, wherein, collection of illustrative plates includes Multiple collection of illustrative plates modules, during different collection of illustrative plates modules is shown in the different zones at collection of illustrative plates interface, collection of illustrative plates is drawn in request and at least taken With collection of illustrative plates drawing data and collection of illustrative plates module information;Respond module 520, is asked for being drawn in response to collection of illustrative plates, to determine target Collection of illustrative plates module, target collection of illustrative plates module is the collection of illustrative plates module described by collection of illustrative plates module information;And first sending module 530, it is used for Collection of illustrative plates drawing data is sent to target collection of illustrative plates module, with the figure that display target collection of illustrative plates module is drawn in corresponding collection of illustrative plates interface Compose content.
By embodiment of the disclosure, because employing the technological means of all collection of illustrative plates modules of unified management collection of illustrative plates, institute To at least partially overcome correlation technique due to each collection of illustrative plates mould caused by all collection of illustrative plates modules of collection of illustrative plates can not be managed collectively The degree of coupling is higher between block, so that the iteration of collection of illustrative plates product and the big technical problem of renewal difficulty, and then reached reduction The degree of coupling between each collection of illustrative plates module in collection of illustrative plates product, and reduce the iteration of collection of illustrative plates product and update the technique effect of difficulty.
As a kind of optional embodiment, said system can also include:Creation module, for receiving for drawing figure The collection of illustrative plates of spectrum is drawn before request, creates message route;And Registering modules, for multiple collection of illustrative plates modules can each to be received Message and the message that sends of needs be registered according to mapping relations in message route, wherein:Receiving module, is additionally operable to by disappearing Breath route receives collection of illustrative plates and draws request;Respond module, is additionally operable to draw in response to collection of illustrative plates and asks, to find target collection of illustrative plates module; And first sending module, it is additionally operable to collection of illustrative plates drawing data being sent to target collection of illustrative plates module.
By embodiment of the disclosure, the ease for maintenance of collection of illustrative plates module can be improved.When needing increase module or module work( During energy, it is only necessary to reset message route, i.e. increase receives message and instructs (inMessages) in message route, and Increase corresponding response message module or increase corresponding function newly in existing response message module, and set up in message route Mapping just may be used.When needing removing module or functions of modules, it is only necessary to delete the corresponding message that receives in mapping table and instruct (inMessages) just may be used, it is not necessary to change and send message instruction (outMessages).Therefore, departing from tool between modules Complicated relation event response between the binding of the entity elements (such as control) of body, each module or function opposite independent, module It can be matched and be distributed in an orderly manner in message route.In the continuous correcting, upgrading, iterative process of software interface, Operation to any of which or several modules, other modules or function will not be influenceed too much.The reusability of code is high, it is easy to Safeguard, and shorten the R&D cycle, be easy to the change of software interface product.
As a kind of optional embodiment, creation module can include:Determining unit, for opening for showing collection of illustrative plates Interface after, it is determined that for create message route memory headroom;And creating unit, in the memory headroom determined Create message route.
By embodiment of the disclosure, because front end is triggered, opening/closing such as is beaten, rear end will create/remove message road By, thus the close fit for passing through front and rear end, it is possible to achieve unified management of the rear end to each module in front end, and then be easy to Collection of illustrative plates product iteration updates.
As a kind of optional embodiment, said system can also include:Correction verification module, for passing through message routing check The triggering message and/or response message of each collection of illustrative plates module are with the presence or absence of abnormal;And processing module, for being route by message The triggering message and/or response message for verifying out each collection of illustrative plates module are deposited in an exceptional case, are performed in following operate at least One of:Obtain abnormal information;Abnormal correlation log is printed, and is reminded for abnormal.
By embodiment of the disclosure, the purpose of Exact Design collection of illustrative plates product can be reached, if also, error, can be with Notify designer in time.
As a kind of optional embodiment, said system can also include:Acquisition module, at corresponding collection of illustrative plates interface In show the collection of illustrative plates content that target collection of illustrative plates module is drawn after, obtain the triggering message that receives of target collection of illustrative plates module, triggering Message is used to trigger target collection of illustrative plates module to perform corresponding trigger action;Matching module, for being matched in being route in message 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 collection of illustrative plates module of collection of illustrative plates module relation, wherein, response message be used for make other collection of illustrative plates modules perform with The corresponding operation of trigger action.
By embodiment of the disclosure, due to using message distribution mechanism so that relatively independent between modules, work as increasing Plus or when a module or function therein is deleted or modified, only need to pointedly handle the module, and other modules are not Must change, or only need to carry out slightly to change just can, thus be easy to collection of illustrative plates product iteration to update.
It should be noted that side in components of system as directed (i.e. device part) and embodiment of the disclosure in embodiment of the disclosure Method part is corresponding, and the description of components of system as directed specifically refers to the associated description of method part, will not be repeated here.
Fig. 6 diagrammatically illustrate according to the embodiment of the present disclosure be adapted for carrying out for collection of illustrative plates 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 range band come any limitation.
As shown in fig. 6, including processor 601 according to the computer system 600 of the embodiment of the present disclosure, it can be according to storage Program in read-only storage (ROM) 602 is loaded into random access storage device (RAM) 603 from storage part 608 Program and perform various appropriate actions and processing.Processor 601 can for example include general purpose microprocessor (such as CPU), refer to Make set processor and/or related chip group and/or special microprocessor (for example, application specific integrated circuit (ASIC)), etc..Processing Device 610 can also include the onboard storage device for being used to cache purposes.Processor 610 can include being used to perform above method part Single treatment unit either multiple places of the different actions of the method flow according to the embodiment of the present disclosure of each embodiment description Manage unit.
In RAM 603, the computer system that is stored with 600 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 performing the journey in ROM 602 and/or RAM 603 Sequence come perform above with reference to Fig. 3 describe various operations.It is noted that described program can also be stored in except ROM 602 and RAM In one or more memories beyond 603.Processor 601 can also be stored in one or more of memories by performing In program perform the various operations of 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 include being connected to the following of I/O interfaces 605 One or more in part: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 part 608 including hard disk etc.;And including such as The communications portion 609 of the NIC of LAN card, modem etc..Communications portion 609 is held via the network of such as internet Row communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as disk, CD, magnetic CD, semiconductor memory etc., are arranged on driver 610, in order to the computer program read from it as needed Storage part 608 is mounted into as needed.
In accordance with an embodiment of the present disclosure, the method described above with reference to flow chart may be implemented as computer software journey Sequence.For example, embodiment of the disclosure includes a kind of computer program product, it includes carrying meter on a computer-readable medium Calculation machine program, the computer program, which is included, is used for the program code of the method shown in execution flow chart.In such embodiments, The computer program can be downloaded and installed by communications portion 609 from network, and/or be pacified from detachable media 611 Dress.When the computer program is performed by processor 601, the above-mentioned functions limited in the system for performing the embodiment of the present disclosure.Root According to embodiment of the disclosure, system as described above, unit, module, unit etc. can by computer program module come Realize.
It should be noted that the 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 recording medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded execution system, device or device and use or in connection.And at this In open, computer-readable signal media can be included in a base band or as the data-signal of carrier wave part propagation, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limit 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 beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for Used by instruction execution system, device or device or program in connection.Included on computer-readable medium Program code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or above-mentioned Any appropriate combination.In accordance with an embodiment of the present disclosure, computer-readable medium can include above-described ROM 602 And/or one or more memories beyond RAM 603 and/or ROM 602 and RAM 603.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the disclosure, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code is comprising one or more Executable instruction for realizing defined logic function.It should also be noted that in some realizations as replacement, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also It is noted that the combination of each square frame in block diagram or flow chart and the square frame in block diagram or flow chart, can use and perform rule Fixed function or the special hardware based system of operation realize, or can use the group of specialized hardware and computer instruction Close to realize.
As on the other hand, the disclosure additionally provides a kind of computer-readable medium, and the computer-readable medium can be Included in equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.Above-mentioned calculating Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the equipment, makes Obtain equipment execution:Receive the collection of illustrative plates for drawing collection of illustrative plates and draw request, wherein, collection of illustrative plates includes multiple collection of illustrative plates modules, different Collection of illustrative plates module is shown in different collection of illustrative plates interfaces, and collection of illustrative plates is drawn in request and at least carries collection of illustrative plates drawing data and collection of illustrative plates module Information;Draw and ask in response to collection of illustrative plates, to determine target collection of illustrative plates module, target collection of illustrative plates module is described by collection of illustrative plates module information Collection of illustrative plates module;And collection of illustrative plates drawing data is sent to target collection of illustrative plates module, with the display target figure in corresponding collection of illustrative plates interface Compose the collection of illustrative plates content that module is drawn.
Embodiment of this 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 more than, but it is not intended that each reality Apply the measure in example and can not be advantageously combined and use.The scope of the present disclosure is defined by the appended claims and the equivalents thereof.Do not take off From the scope of the present disclosure, those skilled in the art can make a variety of alternatives and modifications, and these alternatives and modifications should all fall at this Within scope of disclosure.

Claims (10)

1. a kind of data processing method for collection of illustrative plates interface, including:
Receive the collection of illustrative plates for drawing collection of illustrative plates and draw request, wherein, the collection of illustrative plates includes multiple collection of illustrative plates modules, different collection of illustrative plates moulds Block is shown in the different zones at collection of illustrative plates interface, and the collection of illustrative plates is drawn in request and at least carries collection of illustrative plates drawing data and collection of illustrative plates mould Block message;
Draw and ask in response to the collection of illustrative plates, to determine target collection of illustrative plates module, the target collection of illustrative plates module is the collection of illustrative plates module Collection of illustrative plates module described by information;And
The collection of illustrative plates drawing data is sent to the target collection of illustrative plates module, to show the target in corresponding collection of illustrative plates interface The collection of illustrative plates content that collection of illustrative plates module is drawn.
2. according to the method described in claim 1, wherein, receive be used for draw collection of illustrative plates collection of illustrative plates draw request before, it is described Method also includes:
Create message route;And
The message that the message and needs that the multiple collection of illustrative plates module can each be received are sent is registered in institute according to mapping relations State in message route, wherein,
The collection of illustrative plates is received by message route and draws request, and is asked in response to collection of illustrative plates drafting, it is described to find Target collection of illustrative plates module, and the collection of illustrative plates drawing data is sent to the target collection of illustrative plates module.
3. method according to claim 2, wherein, creating message route includes:
After opening for showing the interface of the collection of illustrative plates, it is determined that the memory headroom for creating the message route;And
The message route is created in the memory headroom determined.
4. method according to claim 2, wherein, show the target collection of illustrative plates mould in the corresponding collection of illustrative plates interface After the collection of illustrative plates content that block is drawn, methods described also includes:
The triggering message that the target collection of illustrative plates module is received is obtained, the triggering message is used to trigger the target collection of illustrative plates module To perform corresponding trigger action;
The response message that there are mapping relations with the triggering message is matched in message route;And
The response message is sent to one or more other collection of illustrative plates module with the target collection of illustrative plates module relation, its In, the response message is used to make other described collection of illustrative plates modules perform operation corresponding with the trigger action.
5. a kind of data handling system for collection of illustrative plates interface, including:
Receiving module, request is drawn for receiving the collection of illustrative plates for being used to draw collection of illustrative plates, wherein, the collection of illustrative plates includes multiple collection of illustrative plates moulds Block, different collection of illustrative plates modules are shown in the different zones at collection of illustrative plates interface, and the collection of illustrative plates is drawn in request and at least carries collection of illustrative plates Drawing data and collection of illustrative plates module information;
Respond module, is asked, to determine target collection of illustrative plates module, the target collection of illustrative plates module is for being drawn in response to the collection of illustrative plates Collection of illustrative plates module described by the collection of illustrative plates module information;And
First sending module, for the collection of illustrative plates drawing data to be sent into the target collection of illustrative plates module, with corresponding collection of illustrative plates The collection of illustrative plates content that the target collection of illustrative plates module is drawn is shown in interface.
6. system according to claim 5, wherein, the system also includes:
Creation module, for before the collection of illustrative plates drafting request for being used for drawing collection of illustrative plates is received, creating message route;And
Registering modules, the message that message and needs for the multiple collection of illustrative plates module can each to be received are sent is according to mapping Relationship registration the message route in,
Wherein:
The receiving module, is additionally operable to receive the collection of illustrative plates drafting request by message route;
The respond module, is additionally operable to draw in response to the collection of illustrative plates and asks, to find the target collection of illustrative plates module;And
First sending module, is additionally operable to the collection of illustrative plates drawing data being sent to the target collection of illustrative plates module.
7. system according to claim 6, wherein, the creation module includes:
Determining unit, for after opening for showing the interface of the collection of illustrative plates, it is determined that for creating in the message route Deposit space;And
Creating unit, for creating the message route in the memory headroom determined.
8. system according to claim 6, wherein, the system also includes:
Acquisition module, for shown in the corresponding collection of illustrative plates interface collection of illustrative plates content that the target collection of illustrative plates module draws it Afterwards, the triggering message that the target collection of illustrative plates module is received is obtained, the triggering message is used to trigger the target collection of illustrative plates module To perform corresponding trigger action;
Matching module, for matching the response message that there are mapping relations with the triggering message in message route; And
Second sending module, for by the response message be sent to the target collection of illustrative plates module relation one or more Other collection of illustrative plates modules, wherein, the response message is used to make other collection of illustrative plates modules execution corresponding with the trigger action Operation.
9. a kind of computer-readable medium, is stored thereon with executable instruction, the instruction makes processor real when being executed by processor The data processing method for collection of illustrative plates interface any one of existing Claims 1-4.
10. a kind of computer system, including:
One or more processors;
Storage device, for storing one or more programs,
Wherein, when one or more of programs are by one or more of computing devices so that one or more of Processor realizes the data processing method for collection of illustrative plates interface any one of Claims 1-4.
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 true CN107291906A (en) 2017-10-24
CN107291906B 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN107291906B (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN107943775A (en) Method, apparatus, storage medium and the electronic equipment of message push
CN105900397A (en) On-premises agent for mobile cloud service
JP2014525092A (en) Methods for associating third-party content with online document signatures
CN106843976B (en) Method and apparatus for generating image file
CN110619555A (en) Unified management method and device for order information, terminal equipment and medium
CN110245011A (en) A kind of method for scheduling task and device
CN110109979A (en) A kind of allocation list radio button method and apparatus
CN107862001A (en) A kind of method and system of data disaster tolerance
CN107862044A (en) The method and apparatus of displayed page
CN109035037A (en) Insurance products visual configuration method, apparatus, storage medium and terminal
CN110363579A (en) A kind of user's marketing method, device and electronic equipment based on discount coupon
CN110020376A (en) Data linkage method and system
CN110473036A (en) A kind of method and apparatus generating order number
CN109347921A (en) A kind for the treatment of method and apparatus of digital certificate business
CN110134427A (en) A kind of method and apparatus generating code file
CN110324197A (en) The method and apparatus of applied in network performance test
CN110263581A (en) Contract signs method, system, terminal device and storage medium
CN107608691A (en) A kind of method for updating pages and device
CN107295067A (en) Across the method and apparatus of screen identification user
CN107347093A (en) Collocation method and device for distributed server system
CN107609953A (en) The quick treating method and apparatus of order
CN109002282A (en) A kind of method and apparatus for realizing animation effect in web page exploitation
CN108763358A (en) A kind of data verification method and device
CN109992177A (en) User interaction approach, system, electronic equipment and the computer media of electronic equipment
CN107403112A (en) Data verification method and its equipment

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