CN106528765A - Publish and integration method and device for subject analysis - Google Patents

Publish and integration method and device for subject analysis Download PDF

Info

Publication number
CN106528765A
CN106528765A CN201610973693.1A CN201610973693A CN106528765A CN 106528765 A CN106528765 A CN 106528765A CN 201610973693 A CN201610973693 A CN 201610973693A CN 106528765 A CN106528765 A CN 106528765A
Authority
CN
China
Prior art keywords
subject analysis
url
issue
analysis object
subject
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
CN201610973693.1A
Other languages
Chinese (zh)
Other versions
CN106528765B (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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network 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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN201610973693.1A priority Critical patent/CN106528765B/en
Publication of CN106528765A publication Critical patent/CN106528765A/en
Application granted granted Critical
Publication of CN106528765B publication Critical patent/CN106528765B/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Abstract

The invention provides a publish and integration method and a publish and integration device for subject analysis. The publish and integration method for subject analysis comprises the steps of selecting a subject analysis object to be published, and assigning an analysis object fitting unit corresponding to the subject analysis object; setting a publish parameter related to the subject analysis object; judging the type of a target terminal for publishing the subject analysis object; when the target terminal is a mobile terminal, publishing and integrating the subject analysis object according to a publish and integration mode of the mobile terminal; and when the target terminal is a PC terminal, publishing and integrating the subject analysis object according to the publish and integration mode of the PC terminal. According to the method and the device provided by the invention, technological achievements in design and display aspects can be rapidly integrated into a third-party system or a business system, development costs for performing embedded analysis on the PC terminal and the mobile terminal are greatly saved, significant improvement can be brought in the effect of displaying the subject analysis at the multiple terminals, and the method and the device are diverse, flexible and efficient.

Description

The issue of subject analysis and integrated approach and device
Technical field
The present invention relates to technical field of data processing, in particular to a kind of issue of subject analysis and integrated approach, A kind of issue of subject analysis and integrating device.
Background technology
At present, independent deployment and a large amount of forms for managing and analysis application, using hardly possible for enterprise management level user Degree is big, it is difficult to widely used by enterprise, enterprise and independent software vendor are in order to expand the use of analysis, just embedding more and more Enter traditional form, instrument board and interactive analysis (we are referred to as its analysis that is the theme), information system process is built in enterprise In, it usually needs multiple producer's products and integrated multiple operation systems are bought, the information system framework of enterprise is realized.
With the development of technology, the designer of all kinds of subject analyses and to represent effect very powerful can be realized light Quantization represents, and the compatibility of progressively ripe H5 causes the difficulty for representing adaptation multiterminal to reduce, and then, these effects is dazzled Beautiful analysis object is efficiently published to multiple ends, and then realizes integrated with Third party system and mobile device, just becomes increasingly Urgent demand.
Current main flow method, mainly gives in certain end (such as mobile terminal) according to certain class subject analysis (such as form) Go out to issue and Integrated Solution, if being related to various subject analyses and multiterminal, prior art seems flexibility not enough, efficiency Relatively low, the patent of invention of Application No. 200410008693.5 discloses a kind of reporting system and the method for issuing form, but this At least there is problems with scheme:(1) it is only applicable to form;(2) Integrated Solution after issuing and single-sign-on side are not given Case.
The content of the invention
It is contemplated that at least solving one of technical problem present in prior art or correlation technique.
For this purpose, it is an object of the present invention to proposing a kind of issue and the integrated approach of subject analysis.
Further object is that proposing a kind of issue and the integrating device of subject analysis.
In view of this, a purpose of the invention, it is proposed that a kind of issue of subject analysis and integrated approach, bag Include:Subject analysis object to be released is chosen, and specifies analysis object dispatching unit corresponding with subject analysis object;Arrange with The related issue parameter of subject analysis object;Judge the type of the destination end of subject analysis object publishing;When destination end is movement During end, according to issue and the integration mode of mobile terminal subject analysis object is issued with it is integrated;When destination end is PC ends, Issue and integration mode according to PC ends subject analysis object is issued with it is integrated.
The issue of the subject analysis that the present invention is provided and integrated approach, choose subject analysis object to be released, theme point Analysis object has various ways, such as form, pivot table, instrument board, report etc., and specifies corresponding analysis object dispatching unit, Such as select form just to adopt form adapter, the issue parameter related to subject analysis object is set, subject analysis pair is judged As the type of the destination end of issue, when destination end is mobile terminal, then according to the issue and integration mode of mobile terminal to theme point Analysis object issued with it is integrated, when destination end be PC ends when, then according to the issue and integration mode at PC ends to subject analysis pair As issued with it is integrated, The present invention gives a kind of solve all kinds of subject analyses to issue and the integrated approach at multiple ends, make Must design represent aspect technological achievement can fast integration to Third party system or operation system, greatly saved PC ends with Mobile terminal carries out the development cost of embedded analysis, and destination end includes PC ends and mobile terminal, and covering has to issuing subject analysis The usual end of application demand, the effect that can represent subject analysis to multiterminal are brought and are significantly improved, with diversity, flexibility and High efficiency.Preferably, whether related to subject analysis object issue parameter includes browsing first inquires about data, scroll bar control Mode, whether show toolbar, whether eject parameter setting frame etc..
The issue of above-mentioned subject analysis of the invention and integrated approach, can also have following technical characteristic:
In above-mentioned technical proposal, it is preferable that the issue and integration mode according to mobile terminal is carried out to subject analysis object Issue is specifically included with integrated:Judge whether destination end is APP;When destination end is APP, it is analysis row at APP inlet portings Table;The attribute of mobile WEB page container, when destination end is not APP, is set;Carry out unifying the integrated process in URL front ends;According to system One URL is obtained and is represented page data, and carries out the adaptation processing that mobile terminal represents;Subject analysis object is presented to into mobile terminal.
In the technical scheme, when destination end is mobile terminal, judge whether destination end is APP, if destination end is APP, APP provides the hierarchical structure that related subject analyzes entrance, then for list is analyzed at APP inlet portings to be released, if target End is not APP, then arrange the attribute of mobile WEB page container, carry out unifying the integrated process in URL front ends, is obtained according to unified URL Represent page data, and move the adaptation processing that end represents as needed, subject analysis object is presented to into mobile terminal, it is real Are showed and various subject analysis objects are more quickly published to the WEB of mobile terminal or APP is applied, and it is more easily real Analysis object is showed and has represented integrated with publishing side, having saved has carried out the development cost of embedded analysis in mobile terminal, improves The service efficiency of user.Preferably, Page Container attribute includes width, height etc..
In above-mentioned technical proposal, it is preferable that the issue and integration mode according to PC ends carries out sending out to subject analysis object Cloth is specifically included with integrated:Judge whether destination end is WEB terminal;When destination end is WEB terminal, WEB terminal Page Container is carried out Attribute configuration;Carry out unifying the integrated process in URL front ends;Obtained according to unified URL and represent page data, and carry out WEB terminal and represented Adaptation processing;Subject analysis object is presented to into PC ends.
In the technical scheme, when destination end is PC ends, judge whether destination end is WEB terminal, if destination end is WEB End, then carry out attribute configuration to WEB terminal Page Container, carries out unifying the integrated process in URL front ends, and then is obtained according to unified URL Represent page data, and carry out the adaptation processing that WEB terminal represents as needed, most subject analysis object is presented to PC ends at last, The WEB terminal that various subject analysis objects are more quickly published to PC ends is realized, and more easily realizes analysis Object represents integrated with publishing side, has adapted to user's request, and having saved carries out the development cost of embedded analysis at PC ends.It is excellent Selection of land, Page Container attribute include width, height, scroll bar etc..
In above-mentioned technical proposal, it is preferable that the issue and integration mode according to PC ends carries out sending out to subject analysis object Cloth is specifically also included with integrated:When destination end is not WEB terminal, function menu structure setting is carried out to destination end;Unified The integrated process in URL rear ends;Obtained according to unified URL and represent page data, and carry out the adaptation processing that rich client represents;Will be main Topic analysis object is presented to PC ends.
In the technical scheme, when destination end is not WEB terminal, function menu structure setting is carried out to destination end, is carried out The integrated process in unification URL rear ends, obtains according to unified URL and represents page data, and carry out the adaptation processing that rich client represents, Subject analysis object is presented to into PC ends, the rich client that various subject analysis objects are more quickly published to PC ends is realized Hold, and more easily realize analysis object and represent integrated with publishing side, having saved carries out embedded analysis at PC ends Development cost, improve the service efficiency of user.Preferably, rich client is represented carries out adaptation processing and can adopt WebView components of JavaFX etc..
In above-mentioned technical proposal, it is preferable that carry out unifying the integrated process in URL front ends specifically including:United using js assemblings One URL configuration informations;The parameter string of unified URL is encoded;Generate unified URL;Judge whether to need single-sign-on;When need When wanting single-sign-on, authentication code is obtained from main system, ID and certification code encryption are generated into check code using js, to unification URL is encrypted.
In the technical scheme, carry out unifying the integrated process in URL front ends specifically including:Using the unified URL configurations of js assemblings Information is such as data structure setting IP, port, analysis object type, object ID, ID, parameter list, self-defined Parameter etc., as parameter string may belong to different types of data, parses for ease of URL, and the parameter string of unified URL is compiled Code, and unified URL is generated, further determine whether to need single-sign-on, when single-sign-on is needed, certification is obtained from main system ID and certification code encryption are generated check code using js by code, and unified URL is encrypted, being capable of more high efficient and flexible ground Realize all kinds of subject analyses to multiple ends issue with it is integrated, and support single-sign-on, it is ensured that the security of login, improve Efficiency.It should be noted that unified URL front ends Integrated Solution is usually used Iframe as representing container, in practical application Cross-domain security trust problem is run into sometimes, and related solution has in the industry a lot, will not be described here.
In above-mentioned technical proposal, it is preferable that carry out unifying the integrated process in URL rear ends specifically including:Assembled using JAVA Unified URL configuration informations;The parameter string of unified URL is encoded;Generate the unified URL;Judge whether to need single-point to step on Record;When single-sign-on is needed, authentication code is obtained, ID and authentication code are generated into check code using JAVA, and to unified URL It is encrypted.
In the technical scheme, carry out unifying the integrated process in URL rear ends specifically including:Matched somebody with somebody using the unified URL of JAVA assemblings Confidence ceases, and is such as data structure setting IP, port, analysis object type, object ID, ID, parameter list, makes by oneself Adopted parameter etc., as parameter string may belong to different types of data, parses for ease of URL, and the parameter string of unified URL is compiled Code, and the unified URL is generated, and then judge whether to need single-sign-on, when single-sign-on is needed, obtain authentication code, profit ID and authentication code are generated into check code with JAVA, and unified URL is encrypted, more can be realized to high efficient and flexible each Class subject analysis to multiple ends issue with it is integrated, and support single-sign-on, it is ensured that the security of login, improve effect Rate.Preferably, UTF-8 bytes can be adopted to encode the parameter string of unified URL.
In above-mentioned technical proposal, it is preferable that unified URL configuration informations include basic component and custom parameter; Wherein, basic component includes following at least one or its combination:IP address, port numbers, identifier, subject analysis object class Type, object ID, parameter string, ID, check code.
In the technical scheme, unified URL includes that basic component and unified URL issue parameter;Wherein, it is basic to constitute Element includes following at least one or its combination:IP address, port numbers, identifier, subject analysis object type, object ID, ginseng Whether number strings, ID, check code, inquire about data, scroll bar control mode, whether show tools for controlling to browse first Hurdle, whether eject parameter setting frame, can issue parameter to unified URL carry out self-defined setting, realize unified URL comprising rich Rich information and can dynamic construction, adjustment.
A purpose of the invention, it is proposed that a kind of issue of subject analysis and integrating device, including:Release management Unit, for choosing subject analysis object to be released, and specifies analysis object dispatching unit corresponding with subject analysis object; Analysis object dispatching unit, the unified URL for arranging related to subject analysis object issue parameter;Judging unit, for sentencing The type of the destination end of disconnected subject analysis object publishing;Unified URL processing units, for carrying out unifying URL front ends and/or rear end Integrated process;Represent unit, for subject analysis object is represented.
The issue of the subject analysis that the present invention is provided and integrating device, release management unit are used to choose theme to be released Analysis object, such as form, pivot table, instrument board, report etc., and specify analysis object dispatching corresponding with subject analysis object Unit, such as selects form just to adopt form adapter, analysis object dispatching unit to be used to arrange related to subject analysis object Issue parameter, judging unit is used for the type of the destination end for judging subject analysis object publishing, and unified URL processing units are used for Carry out unifying the integrated process in URL front ends and/or rear end, represent unit, for subject analysis object is represented, the present invention gives A kind of all kinds of subject analyses of solution are gone out to issue and the integrating device at multiple ends so that design represents the technological achievement energy of aspect To Third party system or operation system, greatly saved carries out the exploitation of embedded analysis at PC ends and mobile terminal to enough fast integrations Cost, destination end include PC ends and mobile terminal, cover the usual end for having application demand to issuing subject analysis, can give multiterminal The effect for representing subject analysis is brought and is significantly improved, with diversity, flexibility and high efficiency.Preferably, with subject analysis pair Whether data, scroll bar control mode, whether show toolbar, whether bullet are inquired about as related issue parameter includes browsing first Go out parameter setting frame etc..
Specifically, analyzing object dispatching unit guarantees for different types of subject analysis object, when unified URL is generated Can be adjusted according to the related issue parameter of subject analysis object, so that enough information is expressed in URL, such as provide one Analysis target adapter abstract class, wherein have an abstract method for providing final URL, and different analysis objects (form, thoroughly Depending on table etc.) abstract class is inherited respectively, you can the URL adjustment needed for carrying out.
The issue of above-mentioned subject analysis of the invention and integrating device, can also have following technical characteristic:
In above-mentioned technical proposal, it is preferable that unified URL processing units are specifically included:Dispensing unit, for assembling unification URL configuration informations;Coding unit, for encoding to the parameter string of unified URL;Signal generating unit, for generating unified URL; Judging unit, for judging whether to need single-sign-on;Ciphering unit, for when single-sign-on is needed, obtaining from main system ID and certification code encryption are generated check code by authentication code, and unified URL is encrypted.
In the technical scheme, unified URL processing units are specifically included:Dispensing unit is used to assemble unified URL with confidence Breath, be such as data structure setting IP, port, analysis object type, object ID, ID, parameter list, self-defined ginseng Number etc., as parameter string may belong to different types of data, parses for ease of URL, by coding unit for the ginseng to unified URL Number string is encoded, and signal generating unit is used to generate unified URL, and judging unit is used to judge whether to need single-sign-on, and encryption is single ID and certification code encryption are generated check code, to system for when single-sign-on is needed, obtaining authentication code from main system by unit One URL is encrypted, more can realize to high efficient and flexible all kinds of subject analyses to multiple ends issue with it is integrated, and support Single-sign-on, it is ensured that the security of login, improves efficiency.
In above-mentioned technical proposal, it is preferable that unified URL includes that basic component and unified URL issue parameter;Its In, basic component includes following at least one or its combination:IP address, port numbers, identifier, subject analysis object class Type, object ID, parameter string, ID, check code.
In the technical scheme, unified URL includes that basic component and unified URL issue parameter;Wherein, it is basic to constitute Element includes following at least one or its combination:IP address, port numbers, identifier, subject analysis object type, object ID, ginseng Whether number strings, ID, check code, inquire about data, scroll bar control mode, whether show tools for controlling to browse first Hurdle, whether eject parameter setting frame, can issue parameter to unified URL carry out self-defined setting, realize unified URL comprising rich Rich information and can dynamic construction, adjustment.
The additional aspect and advantage of the present invention will become obvious in following description section, or by the practice of the present invention Recognize.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become from the description with reference to accompanying drawings below to embodiment It is substantially and easy to understand, wherein:
Fig. 1 shows the issue of the subject analysis of one embodiment of the present of invention and the schematic flow sheet of integrated approach;
Fig. 2 shows the schematic flow sheet of the integrated process in unified URL front ends of an alternative embodiment of the invention;
Fig. 3 shows the schematic flow sheet of the integrated process in unified URL rear ends of yet another embodiment of the present invention;
Fig. 4 a show the issue of the subject analysis of one embodiment of the present of invention and the schematic block diagram of integrating device 400;
Fig. 4 b show the schematic block diagram of the unified URL processing units 408 of an alternative embodiment of the invention;
Fig. 5 shows the technical scheme schematic diagram of a specific embodiment of the present invention;
Fig. 6 shows the experiment interface of the unified URL of the configuration of a specific embodiment of the present invention and analysis object select Schematic diagram.
Specific embodiment
It is in order to be more clearly understood that the above objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and concrete real Apply mode to be further described in detail the present invention.It should be noted that in the case where not conflicting, the enforcement of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not limited to following public affairs The restriction of the specific embodiment opened.
The embodiment of first aspect present invention, proposes issue and the integrated approach of a kind of subject analysis, and Fig. 1 shows this The issue of the subject analysis of bright one embodiment and the schematic flow sheet of integrated approach:
Step 1002, chooses subject analysis object to be released, and specifies analysis object corresponding with subject analysis object Adaptation unit;
Step 1004, arranges the issue parameter related to subject analysis object;
Step 1006, judges whether the destination end of subject analysis object publishing is mobile terminal, when being judged as NO, into step 1020;
Step 1008, judges whether destination end is APP, when being judged as NO, into step 1012;
Step 1010, is analysis list at APP inlet portings;
Step 1012, arranges the attribute of mobile WEB page container;
Step 1014, carries out unifying the integrated process in URL front ends;
Step 1016, obtains according to unified URL and represents page data, and carry out the adaptation processing that mobile terminal represents;
Subject analysis object is presented to mobile terminal by step 1018;
Step 1020, judges whether destination end is WEB terminal, when being judged as NO, into step 1028;
Step 1022, arranges WEB terminal Page Container attribute;
Step 1024, carries out unifying the integrated process in URL front ends;
Step 1026, obtains according to unified URL and represents page data, and carry out the adaptation processing that WEB terminal represents;
Step 1028, carries out function menu structure setting to destination end;
Step 1030, carries out unifying the integrated process in URL rear ends;
Step 1032, obtains according to unified URL and represents page data, and carry out the adaptation processing that rich client represents;
Subject analysis object is presented to PC ends by step 1034.
The issue of the subject analysis that the present invention is provided and integrated approach, choose subject analysis object to be released, theme point Analysis object has various ways, such as form, pivot table, instrument board, report etc., and specifies corresponding analysis object dispatching unit, Such as select form just to adopt form adapter, the issue parameter related to subject analysis object is set, subject analysis pair is judged As whether the destination end issued is mobile terminal, when destination end is mobile terminal, judge whether destination end is APP, if destination end is APP, APP provide the hierarchical structure that related subject analyzes entrance, then for list is analyzed at APP inlet portings to be released, if Destination end is not APP, then arrange the attribute of mobile WEB page container, carry out unifying the integrated process in URL front ends, according to unified URL Acquisition represents page data, and moves the adaptation processing that end represents as needed, and subject analysis object is presented to movement End.When destination end is not mobile terminal, as PC ends, judge whether destination end is WEB terminal, it is if destination end is WEB terminal, right WEB terminal Page Container carries out attribute configuration, carries out unifying the integrated process in URL front ends, and then represents the page according to unified URL acquisitions Data, and the adaptation processing that WEB terminal represents is carried out as needed, most subject analysis object is presented to PC ends at last.Work as destination end When being not WEB terminal, function menu structure setting is carried out to destination end, carries out unifying the integrated process in URL rear ends, according to unified URL Acquisition represents page data, and carries out the adaptation processing that rich client represents, and subject analysis object is presented to PC ends.The present invention Give issue and integrated approach of a kind of all kinds of subject analyses of solution to multiple ends so that design represents the technological achievement of aspect Can fast integration to Third party system or operation system, greatly having saved carries out opening for embedded analysis at PC ends and mobile terminal Cost is sent out, destination end includes PC ends and mobile terminal, cover the usual end for having application demand to issuing subject analysis, can give many Hold the effect for representing subject analysis to bring to significantly improve, with diversity, flexibility and high efficiency.Preferably, with subject analysis Whether the related issue parameter of object includes browsing first inquires about data, scroll bar control mode, whether show toolbar, whether Eject parameter setting frame etc., mobile terminal Page Container attribute includes width, height etc., PC end page surface vessel attributes include width, Highly, scroll bar etc., represents the WebView components etc. for carrying out that adaptation processing can adopt JavaFX to rich client.
Fig. 2 shows the schematic flow sheet of the integrated process in unified URL front ends of an alternative embodiment of the invention:
Step 202, using the unified URL configuration informations of js assemblings;
Step 204, encodes to the parameter string of unified URL;
Step 206, generates unified URL;
Step 208, judges whether to need single-sign-on;
Step 210, when single-sign-on is needed, is obtained authentication code from main system, is added ID and authentication code using js Close generation check code, is encrypted to unified URL.
In this embodiment, carry out unifying the integrated process in URL front ends specifically including:Match somebody with somebody confidence using the unified URL of js assemblings Breath, be such as data structure setting IP, port, analysis object type, object ID, ID, parameter list, self-defined ginseng Number etc., as parameter string may belong to different types of data, parses for ease of URL, and the parameter string of unified URL is encoded, And unified URL is generated, further determine whether to need single-sign-on, when single-sign-on is needed, authentication code is obtained from main system, ID and certification code encryption are generated into check code using js, unified URL is encrypted, being capable of more high efficient and flexible ground realization All kinds of subject analyses to multiple ends issue with it is integrated, and support single-sign-on, it is ensured that the security of login, improve effect Rate.It should be noted that unified URL front ends Integrated Solution is usually used Iframe as container is represented, in practical application sometimes Cross-domain security trust problem can be run into, related solution has in the industry a lot, will not be described here.
Fig. 3 shows the schematic flow sheet of the integrated process in unified URL rear ends of yet another embodiment of the present invention:
Step 302, using the unified URL configuration informations of JAVA assemblings;
Step 304, encodes to the parameter string of unified URL;
Step 306, generates the unified URL;
Step 308, judges whether to need single-sign-on;
Step 310, when single-sign-on is needed, obtains authentication code, and ID and authentication code are generated verification using JAVA Code, and unified URL is encrypted.
In this embodiment, carry out unifying the integrated process in URL rear ends specifically including:Using the unified URL configurations of JAVA assemblings Information is such as data structure setting IP, port, analysis object type, object ID, ID, parameter list, self-defined Parameter etc., as parameter string may belong to different types of data, parses for ease of URL, and the parameter string of unified URL is compiled Code, and the unified URL is generated, and then judge whether to need single-sign-on, when single-sign-on is needed, obtain authentication code, profit ID and authentication code are generated into check code with JAVA, and unified URL is encrypted, more can be realized to high efficient and flexible each Class subject analysis to multiple ends issue with it is integrated, and support single-sign-on, it is ensured that the security of login, improve effect Rate.Preferably, UTF-8 bytes can be adopted to encode the parameter string of unified URL.
In one embodiment of the invention, it is preferable that unified URL configuration informations include basic component and self-defined Parameter;Wherein, basic component includes following at least one or its combination:IP address, port numbers, identifier, subject analysis Object type, object ID, parameter string, ID, check code.
In this embodiment, unified URL includes that basic component and unified URL issue parameter;Wherein, basic composition unit Element includes following at least one or its combination:IP address, port numbers, identifier, subject analysis object type, object ID, parameter String, ID, check code, browsed for control first whether inquire about data, scroll bar control mode, whether show toolbar, Whether eject parameter setting frame, can issue parameter to unified URL carry out self-defined setting, realize unified URL comprising abundant Information and can dynamic construction, adjustment.
The embodiment of first aspect present invention, it is proposed that a kind of issue of subject analysis and integrating device 400, Fig. 4 a are illustrated The issue of the subject analysis of one embodiment of the present of invention and the schematic block diagram of integrating device 400:
Release management unit 402, for choosing subject analysis object to be released, and specifies corresponding with subject analysis object Analysis object dispatching unit;
Analysis object dispatching unit 404, the unified URL for arranging related to subject analysis object issue parameter;
Judging unit 406, for judging the type of the destination end of subject analysis object publishing;
Unified URL processing units 408, for carrying out unifying the integrated process in URL front ends and/or rear end;
Represent unit 410, for subject analysis object is represented.
The issue of the subject analysis that the present invention is provided and integrating device, release management unit 402 are used to choose to be released Subject analysis object, such as form, pivot table, instrument board, report etc., and specify analysis object corresponding with subject analysis object Adaptation unit, such as selects form just to adopt form adapter, analysis object dispatching unit 404 to be used to arrange and subject analysis pair As related issue parameter, judging unit 406 is used for the type of the destination end for judging subject analysis object publishing, at unified URL Reason unit 408 is used to carry out unifying the integrated process in URL front ends and/or rear end, represents unit 410, for by subject analysis object Represented, The present invention gives a kind of solve all kinds of subject analyses to issue and the integrating device at multiple ends so that design exhibition The technological achievement of existing aspect can fast integration to Third party system or operation system, greatly saved and entered at PC ends and mobile terminal The development cost of the embedded analysis of row, destination end include PC ends and mobile terminal, and covering has application demand to issuing subject analysis Usual end, the effect that can represent subject analysis to multiterminal is brought and is significantly improved, with diversity, flexibility and high efficiency. Preferably, whether related to subject analysis object issue parameter includes browsing first inquires about data, scroll bar control mode, is No show toolbar, whether eject parameter setting frame etc..
Specifically, analyzing object dispatching unit guarantees for different types of subject analysis object, when unified URL is generated Can be adjusted according to the related issue parameter of subject analysis object, so that enough information is expressed in URL, such as provide one Analysis target adapter abstract class, wherein have an abstract method for providing final URL, and different analysis objects (form, thoroughly Depending on table etc.) abstract class is inherited respectively, you can the URL adjustment needed for carrying out.
Fig. 4 b show the schematic block diagram of the unified URL processing units 408 of an alternative embodiment of the invention:
Dispensing unit 4080, for assembling unified URL configuration informations;
Coding unit 4082, for encoding to the parameter string of unified URL;
Signal generating unit 4084, for generating unified URL;
Judging unit 4086, for judging whether to need single-sign-on;
Ciphering unit 4088, for when single-sign-on is needed, obtaining authentication code from main system, by ID and authentication code Encryption generates check code, and unified URL is encrypted.
In this embodiment, unified URL processing units 408 are specifically included:Dispensing unit 4080 is matched somebody with somebody for assembling unified URL Confidence ceases, and is such as data structure setting IP, port, analysis object type, object ID, ID, parameter list, makes by oneself Adopted parameter etc., as parameter string may belong to different types of data, parses for ease of URL, by coding unit 4082 for system The parameter string of one URL is encoded, and signal generating unit 4084 is used to generate unified URL, and judging unit 4086 is used to judge whether to need Want single-sign-on, ciphering unit 4088 is for when single-sign-on is needed, obtaining authentication code from main system, by ID and certification Code encryption generates check code, unified URL is encrypted, more can realize to high efficient and flexible all kinds of subject analyses to multiple ends Issue with it is integrated, and support single-sign-on, it is ensured that the security of login, improve efficiency.
In one embodiment of the invention, it is preferable that unified URL includes that basic component and unified URL issue ginseng Number;Wherein, basic component includes following at least one or its combination:IP address, port numbers, identifier, subject analysis pair As type, object ID, parameter string, ID, check code.
In this embodiment, unified URL includes that basic component and unified URL issue parameter;Wherein, basic composition unit Element includes following at least one or its combination:IP address, port numbers, identifier, subject analysis object type, object ID, parameter String, ID, check code, browsed for control first whether inquire about data, scroll bar control mode, whether show toolbar, Whether eject parameter setting frame, can issue parameter to unified URL carry out self-defined setting, realize unified URL comprising abundant Information and can dynamic construction, adjustment.
It is embodied as, Fig. 5 shows the technical scheme schematic diagram of a specific embodiment of the present invention, it is assumed that system is propped up Hold and all kinds of subject analyses offer WEB represented, and be opened to one and the service that WEB represents the page is obtained according to subject analysis id, Related subject analysis can be published to multiterminal by the technical program, and integrated by Third party system.Here multiterminal include PC ends And mobile terminal, PC ends include rich client (Rich Client, also referred to as RIA clients) again and thin-client (refers generally to WEB End), mobile terminal is divided into mobile phone terminal and flat board end again, and above-mentioned classification is covered has application demand to commonly use issuing subject analysis End.The issue at three kinds of ends is integrated, can be mapped to different typical services scenes:
1) PC rich clients are published to, business diagnosis functional node scene is usually expressed as, issue becomes operation system Functional node, using technologies such as JAVA, the page is integrated to realize that rear end is integrated.
2) WEB terminal of PC is published to, is generally used for third party's portal integration subject analysis page, be a kind of the most frequently used field Scape, using js, the page is integrated can to realize that front end is integrated.
3) mobile terminal is published to, is usually expressed as mobile analysis or Mobile solution Integrated scenario, is issued as on mobile device The page, using js, the page is integrated can to realize that front end is integrated.
Subject analysis release module possesses data below 26S Proteasome Structure and Function device:
1) unified URL value objects (abbreviation URL_VO):One data structure, can conveniently set up or obtain the unification The component of URL.This structure is easily achieved, in fact, using most basic ValueObject classes.
2) unified URL processing meanss:The device should possess following functions (technically easily realizing):
A) realize the bi-directional conversion between unified URL and URL_VO.
B) parameter string is a distinctive category information in subject analysis, as parameter value may belong to different types of data, is It is easy to URL to parse, parameter string should be encoded.Processing meanss should be realized carrying out coding reconciliation to the parameter string in unified URL Code, can such as adopt UTF-8 byte codes.
C), when origin system S1 and Third party system S2 are integrated, often have the needs of single-sign-on, so as to the URL for realizing generating it is straight Receiving asks S1 data without logging in.Processing meanss should realize the support to single-sign-on, and such as S1 and S2 agreements one are secret ID in the URL for having configured is gone here and there by key mkey, S2 plus mkey, by the check strings of code building single-sign-on Authkey.S1 receives check strings in server, carries out URL and verifies and realize single-sign-on.
D) support to be encrypted above-mentioned Authkey, to generate single-sign-on check strings, it is ensured that the security of login. Associated encryption process is capable of achieving using hmac_md5 scheduling algorithms.
3) analyze object dispatching device:Subject analysis has various ways, such as form, pivot table, instrument board, report etc., This adaptive device guarantees for different types of subject analysis, can be entered according to the subject analysis feature when unified URL is generated Row adjustment, so that enough information is expressed in URL.This point is also easily achieved, and such as provides an analysis target adapter Abstract class, wherein have an abstract method for providing final URL, and different analyses object (form, pivot table etc.) respectively after Hold the abstract class, you can the URL adjustment needed for carrying out.
4) distribution management device:For the Analysis on Selecting object when issuing, and the catalogue knot for issuing goal systems is set Structure and relevant information.
5) service interface:Subject analysis release module is required to call service interface, and the interface is for according to analysis The acquisition of information such as object ID corresponding subject analyses represents the page.
Fig. 6 shows the experiment interface of the unified URL of the configuration of a specific embodiment of the present invention and analysis object select Schematic diagram, unified URL refer to a URL string, comprising ip addresses, port numbers, identifier, subject analysis object type, object ID, The basic elements such as parameter string, ID, check code, form can be:
http://[host]/portal/openbq?ObjectType=[ObjectType] &OpenType= Portal&ObjectID=[ObjectID] &User=[usercode] &Paramlist=[Paramlist] &Authkey= [Authkey]
It is the component for unifying URL above-mentioned basic element, it is preferable that using above-mentioned URL fragments as common sparing, after Face can also add custom parameter part, with “ &param1=value1&param2=value2& ... " form offer, can be used for Make by oneself needed for control " inquiring about data when whether browsing first ", " whether with toolbar ", " whether ejecting parameter setting frame " etc. Adopted information, chooses subject analysis object to be released, such as form, pivot table, instrument board, report etc., and specifies and theme point The corresponding analysis object dispatching unit of analysis object, such as selects form just to adopt form adapter, arranges and subject analysis object Related issue parameter, whether the issue parameter related to subject analysis object includes browsing first inquires about data, scroll bar control Mode processed, whether show toolbar, whether eject parameter setting frame etc..
The issue of the subject analysis of specific embodiment is as shown in Figure 1 with the schematic flow sheet of integrated approach:
Step 1002, chooses subject analysis object to be released, and specifies analysis object corresponding with subject analysis object Adaptation unit, such as selects form just to adopt form adapter;
Step 1004, arranges the issue parameter related to subject analysis object, such as browses first and whether inquires about data, rolling Dynamic bar control mode, whether show toolbar etc.;
Step 1006, judges whether the destination end of subject analysis object publishing is mobile terminal, when being judged as NO, into step 1020;
Step 1008, judges whether destination end is APP, when being judged as NO, into step 1012;
Step 1010, is that list is analyzed at APP inlet portings, and the APP provides the level knot that related subject analyzes entrance Structure;
Step 1012, arranges the attribute of mobile WEB page container, such as width, height etc.;
Step 1014, carries out unifying the integrated process in URL front ends;
Step 1016, obtains according to unified URL and represents page data, and carry out the adaptation processing that mobile terminal represents;
Subject analysis object is presented to mobile terminal by step 1018;
Step 1020, judges whether destination end is WEB terminal, when being judged as NO, into step 1028;
Step 1022, arranges WEB terminal Page Container attribute, such as width, height, scroll bar etc.;
Step 1024, carries out unifying the integrated process in URL front ends;
Step 1026, obtains according to unified URL and represents page data, and carry out the adaptation processing that WEB terminal represents;
Step 1028, the operation system functional node to destination end, carries out function menu structure setting, it is intended that be published to Particular location;
Step 1030, carries out unifying the integrated process in URL rear ends;
Step 1032, obtains according to unified URL and represents page data, and carry out the adaptation processing that rich client represents, this In have many optional technical schemes, such as using the WebView components etc. of JavaFX;
Subject analysis object is presented to PC ends by step 1034.
Unifying the integrated specific embodiment in URL rear ends is:Using the unified URL configuration informations of JAVA assemblings, it is such as one URL_VO structure settings IP, port, analysis object type, object ID, ID, parameter list, custom parameter etc.;To parameter The information such as string are encoded, and can adopt UTF-8 byte codes;Generate unified URL strings;If necessary to single-sign-on, then from principal series System obtains authentication code mkey, ID and mkey encryptions is generated authentication code AuthKey using JAVA and (can be calculated with the encryption such as MD5 Method), so as to encrypt unified URL strings;The data of the page, such as one section Servlet are analyzed according to URL from service acquisition;Tissue is light The amount page is simultaneously returned.
Unifying the integrated specific embodiment in URL front ends is:Using the unified URL configuration informations of js assemblings, it is such as a number According to structure setting IP, port, analysis object type, object ID, ID, parameter list, custom parameter etc.;To parameter string etc. Information is encoded, and can adopt UTF-8 byte codes;Generate unified URL strings;If necessary to single-sign-on, then obtain from main system Authentication code mkey is taken, ID and mkey encryptions are generated into authentication code AuthKey (can be with AESs such as MD5) using js, from And encrypt unified URL strings;The data of the page, such as one section Servlet are analyzed according to URL from service acquisition;The tissue light weight page And return.
Front end Integrated Solution is usually used Iframe as container is represented, and runs into cross-domain safety in practical application sometimes Property trust problem, related solution have in the industry a lot, will not be described here.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc. Mean that the specific features, structure, material or the feature that describe with reference to the embodiment or example are contained in of the invention at least one real Apply in example or example.In this manual, identical embodiment or reality are not necessarily referring to the schematic representation of above-mentioned term Example.And, the specific features of description, structure, material or feature can in one or more any embodiment or example with Suitable mode is combined.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of issue of subject analysis and integrated approach, it is characterised in that include:
Subject analysis object to be released is chosen, and specifies analysis object dispatching unit corresponding with the subject analysis object;
The issue parameter related to the subject analysis object is set;
Judge the type of the destination end of the subject analysis object publishing;
When the destination end is mobile terminal, the subject analysis object is entered according to the issue and integration mode of the mobile terminal Row issue with it is integrated;
When the destination end is PC ends, the subject analysis object is carried out sending out according to the issue and integration mode at the PC ends Cloth with it is integrated.
2. the issue of subject analysis according to claim 1 and integrated approach, it is characterised in that described according to the movement The issue at end is issued to the subject analysis object with integration mode and is specifically included with integrated:
Judge whether the destination end is APP;
When the destination end is the APP, it is analysis list at the APP inlet portings;
The attribute of mobile WEB page container, when the destination end is not the APP, is set;
Carry out the integrated process in the unified URL front ends;
Obtained according to the unified URL and represent page data, and carry out the adaptation processing that the mobile terminal represents;
The subject analysis object is presented to into the mobile terminal.
3. the issue of subject analysis according to claim 1 and integrated approach, it is characterised in that described according to the PC ends Issue the subject analysis object is issued with integration mode and is specifically included with integrated:
Judge whether the destination end is WEB terminal;
When the destination end is the WEB terminal, attribute configuration is carried out to the WEB terminal Page Container;
Carry out the integrated process in the unified URL front ends;
Obtained according to the unified URL and represent page data, and carry out the adaptation processing that the WEB terminal represents;
The subject analysis object is presented to into the PC ends.
4. the issue of subject analysis according to claim 3 and integrated approach, it is characterised in that described according to the PC ends Issue the subject analysis object is issued with integration mode and is specifically also included with integrated:
When the destination end is not WEB terminal, function menu structure setting is carried out to the destination end;
Carry out unifying the integrated process in URL rear ends;
Obtained according to the unified URL and represent page data, and carry out the adaptation processing that rich client represents;
The subject analysis object is presented to into the PC ends.
5. the issue of the subject analysis according to any one of Claims 2 or 3 and integrated approach, it is characterised in that it is described enter The integrated process in the unified URL front ends of row is specifically included:
Using the unified URL configuration informations of js assemblings;
The parameter string of the unified URL is encoded;
Generate the unified URL;
Judge whether to need single-sign-on;
When single-sign-on is needed, authentication code is obtained from main system, ID and the certification code encryption are generated into school using js Code is tested, the unified URL is encrypted.
6. the issue of subject analysis according to claim 4 and integrated approach, it is characterised in that described to carry out unifying URL The integrated process in rear end is specifically included:
The unified URL configuration informations are assembled using JAVA;
The parameter string of the unified URL is encoded;
Generate the unified URL;
Judge whether to need single-sign-on;
When single-sign-on is needed, the authentication code is obtained, the ID and the authentication code are generated using JAVA described Check code, and the unified URL is encrypted.
7. the issue of the subject analysis according to any one of claim 2 to 4 and integrated approach, it is characterised in that
The unified URL configuration informations include basic component and custom parameter;
Wherein, the basic component includes following at least one or its combination:IP address, port numbers, identifier, theme point Analysis object type, object ID, the parameter string, the ID, the check code.
8. a kind of issue of subject analysis and integrating device, it is characterised in that include:
Release management unit, for choosing subject analysis object to be released, and specifies analysis corresponding with subject analysis object Object dispatching unit;
Analysis object dispatching unit, for arranging the issue parameter related to subject analysis object;
Judging unit, for judging the type of the destination end of the subject analysis object publishing;
Unified URL processing units, for carrying out unifying the integrated process in URL front ends and/or rear end;
Represent unit, for subject analysis object is represented.
9. the issue of subject analysis according to claim 8 and integrating device, it is characterised in that the unified URL process Unit is specifically included:
Dispensing unit, for assembling the unified URL configuration informations;
Coding unit, for encoding to the parameter string of the unified URL;
Signal generating unit, for generating the unified URL;
Judging unit, for judging whether to need single-sign-on;
Ciphering unit, for when single-sign-on is needed, obtaining authentication code from main system, by ID and the certification code encryption Check code is generated, the unified URL is encrypted.
10. the issue of subject analysis according to claim 8 or claim 9 and integrating device, it is characterised in that
The unified URL configuration informations include basic component and custom parameter;
Wherein, the basic component includes following at least one or its combination:IP address, port numbers, identifier, theme point Analysis object type, object ID, the parameter string, the ID, the check code.
CN201610973693.1A 2016-11-03 2016-11-03 Method and device for publishing and integrating topic analysis Active CN106528765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610973693.1A CN106528765B (en) 2016-11-03 2016-11-03 Method and device for publishing and integrating topic analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610973693.1A CN106528765B (en) 2016-11-03 2016-11-03 Method and device for publishing and integrating topic analysis

Publications (2)

Publication Number Publication Date
CN106528765A true CN106528765A (en) 2017-03-22
CN106528765B CN106528765B (en) 2020-04-03

Family

ID=58349561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610973693.1A Active CN106528765B (en) 2016-11-03 2016-11-03 Method and device for publishing and integrating topic analysis

Country Status (1)

Country Link
CN (1) CN106528765B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275743A (en) * 2018-03-16 2019-09-24 长城汽车股份有限公司 Skin change method, system and the vehicle at vehicle-mounted interface
CN112395098A (en) * 2019-08-19 2021-02-23 网易(杭州)网络有限公司 Application program interface calling method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100856132B1 (en) * 2008-01-24 2008-09-03 이동규 System for managing web subjects
CN104426896A (en) * 2013-09-10 2015-03-18 腾讯科技(北京)有限公司 Method and device for producing topic pages
CN104484171A (en) * 2014-12-11 2015-04-01 深圳市路通网络技术有限公司 System, method and associated equipment for designing terminal interface
CN104820589A (en) * 2015-04-24 2015-08-05 美通云动(北京)科技有限公司 Method and device for dynamically adapting webpage
CN105378732A (en) * 2013-07-18 2016-03-02 国际商业机器公司 Subject-matter analysis of tabular data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100856132B1 (en) * 2008-01-24 2008-09-03 이동규 System for managing web subjects
CN105378732A (en) * 2013-07-18 2016-03-02 国际商业机器公司 Subject-matter analysis of tabular data
CN104426896A (en) * 2013-09-10 2015-03-18 腾讯科技(北京)有限公司 Method and device for producing topic pages
CN104484171A (en) * 2014-12-11 2015-04-01 深圳市路通网络技术有限公司 System, method and associated equipment for designing terminal interface
CN104820589A (en) * 2015-04-24 2015-08-05 美通云动(北京)科技有限公司 Method and device for dynamically adapting webpage

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275743A (en) * 2018-03-16 2019-09-24 长城汽车股份有限公司 Skin change method, system and the vehicle at vehicle-mounted interface
CN112395098A (en) * 2019-08-19 2021-02-23 网易(杭州)网络有限公司 Application program interface calling method and device, storage medium and electronic equipment
CN112395098B (en) * 2019-08-19 2024-03-15 网易(杭州)网络有限公司 Application program interface calling method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106528765B (en) 2020-04-03

Similar Documents

Publication Publication Date Title
US7370364B2 (en) Managing content resources
US9219787B1 (en) Stateless cookie operations server
CN101990183B (en) Method, device and system for protecting user information
KR20160016764A (en) Systems and methods for controlling the distribution and viewing of digital art and imaging via the internet
CN108989885A (en) Video file trans-coding system, dividing method, code-transferring method and device
KR20160012998A (en) Systems and methods for decrypting digital art and imaging for display of the same
AU2006201516A1 (en) Service delivery platform
KR20160013845A (en) Case for a display device displaying digital imaging
CN105392136A (en) Method and device for access to router based on two-dimensional code
CN109218368A (en) Realize method, apparatus, electronic equipment and the readable medium of Http reverse proxy
CN102047239B (en) Defining, distributing and presenting device experiences
CN105991613A (en) Resource remote login method and system
CN106844364A (en) A kind of interconnected method of document information
CA3039509A1 (en) Method and system for establishing a communication between mobile computing devices
CN113328861A (en) Authority verification method, device and system
CN102638572B (en) Short-message sending service system based on Web Element mechanism and operating method thereof
CN106528765A (en) Publish and integration method and device for subject analysis
CN109560895A (en) Data transmission method and device
CN109905490B (en) Virtual simulation experiment sharing platform architecture
CN104539688B (en) A kind of retail shop's management system based on mPortal systems
CN105988814A (en) Interface generation method and apparatus
CN105788522A (en) LED display screen operation system based on cell phone control and control method thereof
CN102281260B (en) Generating method and server of monitoring rule
CN106357727A (en) Method and system to upload files to multiple servers simultaneously
CN110263563A (en) By means of the ad click data cochain method and its equipment of block chain

Legal Events

Date Code Title Description
C06 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