CN113703757B - Micro portrait or micro service and application assembly method and system thereof - Google Patents

Micro portrait or micro service and application assembly method and system thereof Download PDF

Info

Publication number
CN113703757B
CN113703757B CN202110820325.4A CN202110820325A CN113703757B CN 113703757 B CN113703757 B CN 113703757B CN 202110820325 A CN202110820325 A CN 202110820325A CN 113703757 B CN113703757 B CN 113703757B
Authority
CN
China
Prior art keywords
micro
portraits
service
services
assembly
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110820325.4A
Other languages
Chinese (zh)
Other versions
CN113703757A (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 Uyu Government Software Co ltd
Original Assignee
Beijing Uyu Government Software 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 Uyu Government Software Co ltd filed Critical Beijing Uyu Government Software Co ltd
Priority to CN202110820325.4A priority Critical patent/CN113703757B/en
Publication of CN113703757A publication Critical patent/CN113703757A/en
Application granted granted Critical
Publication of CN113703757B publication Critical patent/CN113703757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a micro portrait or micro service and an application assembly method and a system thereof, wherein the method comprises the following steps: defining the minimum unit in a product as a micro-portrait or micro-service of the product according to the data requirement of a user, wherein each micro-portrait or micro-service comprises an input parameter and an output parameter, the input parameter is in the format of input parameter 1, input parameter 2, … and input parameter n, the output parameter is in the format of output parameter 1, output parameter 2, …, output parameter m, n and m are positive integers; inputting the corresponding input parameters into each micro-portrait or micro-service can refresh the contents of the micro-portrait or micro-service, and the contents can be displayed on the terminal, including the graph, the table and the label data. The development of the micro portrait or the micro service can be agilely developed, and the development efficiency is high. The image or service analysis and display system based on any analysis model can be realized by randomly assembling micro images or micro services, so that not only the data analysis result effect of the display layer but also any depth relation layer can be seen.

Description

Micro portrait or micro service and application assembly method and system thereof
Technical Field
The invention relates to the field of product development, in particular to a micro-portrait and an application assembly method and system thereof.
Background
In the existing product, the project portrait or project service or unit portrait or unit service is simply to describe the single fixed portrait or service of the project or unit, and different users customize different portraits or services, but the actual portraits or services are varied and the relationship is complicated. The user confirms the requirement is difficult, because the user contains too much content as one portrait or service, and the user is not good to make a decision, so that a development team cannot conduct agile development.
In order to solve the above technical problems, the present application proposes a micro portrait or micro service, which means that user care information, such as unit information, project information, financial information, enterprise information, etc., is presented in forms of tables, charts, labels, and may be background service, meanwhile, the content of these information should keep enough unity, for example, the basic information of the unit may be abstracted into a micro portrait or micro service, the total expense amount of the user may be abstracted into a micro portrait or micro service, and the final user portrait user service may be formed by arbitrarily combining these micro portraits or micro services. The relationship of micro portraits or micro services to portrayal services is comparable to: the micro portraits or micro services are bricks, furniture or appliances; the portrayal total service is the whole house. Because of the intricate relationships between the various micro portraits or micro services, such as peer association, down-drilling or external association, etc. If only a single description of the portrait or the service is used, the portrait or the service is thinner, the inherent complexity of the portrait or the service cannot be reflected, the user is difficult to confirm, and the development period is longer. However, the use of micro portraits or micro-services of the present application can solve this problem well.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention aims to provide a micro-portrait or micro-service and an application assembly method and system thereof, which can accelerate the confirmation process of the assembled portrait or the assembled service and the development efficiency of the assembled portrait or the assembled service.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
a micro portrait or micro service comprising:
defining the minimum unit in a product as a micro-portrait or micro-service of the product according to the data requirement of a user, wherein each micro-portrait or micro-service comprises an input parameter and an output parameter, the input parameter is in the format of input parameter 1, input parameter 2, … and input parameter n, the output parameter is in the format of output parameter 1, output parameter 2, …, output parameter m, n and m are positive integers;
inputting corresponding input parameters into each micro portrait or micro service can refresh the content of the micro portrait or micro service, and the content can be displayed on a terminal and comprises a graph, a table and tag data;
if one micro portrait or micro service needs to be associated with other micro portraits or micro services or other assembly portraits or assembly services, the micro portraits or micro services or the assembly portraits or assembly services are taken as the input parameters of the associated micro portraits or micro services.
The micro portraits or micro services of the products are divided into three categories: a conditional micro-portrayal or conditional micro-service, a subject micro-portrayal or subject micro-service and a behavioral micro-portrayal or behavioral micro-service;
the condition micro portrait or the condition micro service is used for completing the modification of the filtering and screening conditions of the whole assembly portrait or the assembly service;
the subject micro portraits or subject micro services are all interface elements displayed to the user within the entire assembly portraits or assembly services, which can be exemplified by: a unit information micro-portrayal or micro-service, a project information micro-portrayal or micro-service, a financial information micro-portrayal or micro-service, an enterprise information micro-portrayal or micro-service, etc.
The behavioral micro portrayal or behavioral micro service is used to accomplish some specific functional services.
An application assembling method of a micro portrait or micro service, which is applied to the micro portrait or micro service, comprises the following steps:
s100, hanging the existing micro portraits or micro services and newly developed micro portraits or micro services in a product into an application system of the product for subsequent assembly of the portraits or assembly services;
s200, inputting corresponding access to each micro portrait or micro service in an application system of the product so as to refresh the content of the micro portrait or micro service, wherein the content can be displayed on a terminal and comprises a graph, a table and tag data, and if one micro portrait or micro service needs to be associated with other micro portraits or micro services or other assembled micro portraits or micro services, the access to the corresponding micro portraits or micro services or the access to other assembled portraits or assembled services is adopted as the access to the corresponding micro portraits or micro services;
s300, when a user needs to assemble a micro portrait or a micro service, dragging each micro portrait or micro service needed by the user to the assembly portrait or the assembly service, and then establishing an association relationship according to the matching of the input parameters and the output parameters of each micro portrait or micro service to realize the application assembly of the micro portrait or the micro service;
s400, refreshing all micro-portraits or micro-services in an assembled portraits or an assembled service by inputting parameters into the assembled portraits or the assembled service, wherein the assembled portraits or the assembled service is a complete set of portraits or services used for an end user, influencing the whole assembled portraits or the assembled service by modifying the numerical value in the conditional micro-portraits or the conditional micro-services in the assembled portraits, and dynamically associated refreshing other internal micro-portraits or internal micro-services or external assembled portraits or external assembled services which establish association relation with the assembled portraits or the assembled service by clicking any topic micro-portraits or topic micro-services in the assembled portraits or the assembled service;
if the name of one output parameter in the output parameter of one micro portrait or micro service is the same as the name of the input parameter of the other micro portrait or micro service, an association relationship can be established between the two micro portraits or micro services, wherein the association relationship between the micro portraits or micro services comprises an inner association relationship and an outer association relationship, the inner association relationship is the association relationship established in one assembly portrait or assembly service, and the outer association relationship is the association relationship established in one assembly portrait or assembly service and other micro portraits or micro services or between the assembly portraits or assembly services.
Further, in the method described above, the inner association relationship includes a peer association, and the outer association relationship includes a lower drilling relationship or an outer association relationship.
Further, as described above, S300 includes: assembling any plurality of micro portraits or micro services to obtain an assembled portraits or assembled services; wherein, the parameter transfer relation of each micro portrait or micro service is as follows:
the entry of the assembly portraits or assembly services affects all the micro portraits or micro services within the assembly portraits or assembly services at the same time;
if the internal association is the case, the out-taking of one micro portrait or micro service affects the in-taking of other already associated internal micro portraits or micro services;
if the connection is external, the output parameters of one micro portrait or micro service affect the input parameters of the external micro portrait or micro service or assembly portrait or assembly service;
after receiving the entry, all micro portraits or micro services or assembly portraits or assembly services refresh the data and display contents inside the micro portraits or micro services or assembly portraits or assembly services according to the latest entry.
Further, as described above, S400 includes:
(1) Defining a common variable within an assembled portrayal or an assembled service:
var initAllParams for initializing and conditioning micro portraits or micro-service parametric use;
var publicInnerParams for internal associative dynamic use;
when the page is first opened, publicInnerParams=initAllParams;
when a query button is clicked above the whole interface, all micro images or micro services are filtered by using initAllParams parameters;
updating only publicInnerParams if any inter-association operations occur, and refreshing publicInnerParams to initAllParams upon clicking the query button;
(2) Defining a common parameter processing function in the front end of the assembly image or the assembly service:
function publicHandleParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to publicInnerParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
(3) Defining a common initialization function inside the assembly picture or the assembly service front end:
calling when initializing or clicking a query button;
if the assembled portraits or the assembled services have an entry, the following setinitallpams function is called:
function setInitAllParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initallpams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
calling setInitAllParams after data in the conditional micro-portraits or micro-services are changed;
(4) A common control function is defined inside the assembly picture or assembly service front-end,
function publicInnerControl(whxid,param){
publicHandleParams(param);
};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
whxid is the unique identification ID of the micro portrayal or micro service, the function used to tell the assembly portrayal or assembly service which micro portrayal or micro service is invoked;
the function is responsible for transmitting the new publicInnerParams to the micro-portraits or micro-services which establish the internal association relationship and do not contain the micro-portraits or micro-services which are currently making the operation of the parameters;
the micro portraits or micro services refresh themselves after receiving publicInnerParams.
Further, the method as described above, further comprising:
s500, the assembly portrait or the assembly service is randomly issued to a workbench or randomly hung on other menus or functions of an application system of the product;
s600, each micro portrait or micro service is independently hung and then displayed, wherein the condition micro portrait or the condition micro service is mainly used for displaying query conditions, the main micro portrait or the main micro service is mainly used for displaying various charts, tables and characters, and the behavior micro portrait or micro service is used for completing certain specific functional services.
An application assembly system for a micro portrait or micro service, comprising:
the hooking module is used for hooking the existing micro-portraits or micro-services and newly developed micro-portraits or micro-services in the product into an application system of the product for subsequent portrait or service assembly;
the input module is used for inputting corresponding access to each micro portrait or micro service in the application system of the product so as to refresh the content of the micro portrait or micro service, wherein the content can be displayed on a terminal and comprises a graph, a table and tag data, and if one micro portrait or micro service needs to be associated with other micro portraits or micro services or other micro portraits or micro services are associated, the access to the micro portraits or the micro services is taken as the access to the associated other micro portraits or micro services or the assembly portraits or the assembly services;
the assembly module is used for dragging each micro portrait or micro service required by a user to the assembly portrait or the assembly service when the user needs to assemble the micro portrait or the micro service, and establishing an association relation according to the matching of the input parameters and the output parameters of each micro portrait or the micro service so as to realize the application assembly of the micro portrait or the micro service;
the application module is used for refreshing all micro-portraits or micro-services in the assembled portraits or the assembled services by inputting parameters into the assembled portraits or the assembled services, wherein the assembled portraits or the assembled services are complete portraits or services used by end users, influencing the whole assembled portraits or the assembled services by modifying the values in the conditional micro-portraits or the conditional micro-services in the assembled portraits, and dynamically associated refreshing other internal micro-portraits or internal micro-services or external assembled portraits or external assembled services which are associated with the assembled portraits or the assembled services by clicking any topic micro-portraits or topic micro-services in the assembled portraits or the assembled services;
if the name of one output parameter in the output parameter of one micro portrait or micro service is the same as the name of the input parameter of the other micro portrait or micro service, an association relationship can be established between the two micro portraits or micro services, wherein the association relationship between the micro portraits or micro services comprises an inner association relationship and an outer association relationship, the inner association relationship is the association relationship established in one assembly portrait or assembly service, and the outer association relationship is the association relationship established between the interior of one assembly portrait or assembly service and other external micro portraits or micro services, or between the assembly portraits or assembly services.
Further, in the system as described above, the application module is specifically configured to:
(1) Defining a common variable within an assembled portrayal or an assembled service:
var initAllParams for initializing and conditioning micro portraits or micro-service parametric use;
var publicInnerParams for internal associative dynamic use;
when the page is first opened, publicInnerParams=initAllParams;
when a query button is clicked above the whole interface, all micro images or micro services are filtered by using initAllParams parameters;
updating only publicInnerParams if any inter-association operations occur, and refreshing publicInnerParams to initAllParams upon clicking the query button;
(2) Defining a common parameter processing function in the front end of the assembly image or the assembly service:
function publicHandleParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to publicInnerParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
(3) Defining a common initialization function inside the assembly picture or the assembly service front end:
calling when initializing or clicking a query button;
if the assembled portraits or the assembled services have an entry, the following setinitallpams function is called:
function setInitAllParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initallpams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
calling setInitAllParams after data in the conditional micro-portraits or micro-services are changed;
(4) A common control function is defined inside the assembly picture or assembly service front-end,
function publicInnerControl(whxid,param){
publicHandleParams(param);
};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
whxid is the unique identification ID of the micro portrayal or micro service, the function used to tell the assembly portrayal or assembly service which micro portrayal or micro service is invoked;
the function is responsible for transmitting the new publicInnerParams to the micro-portraits or micro-services which establish the internal association relationship and do not contain the micro-portraits or micro-services which are currently making the operation of the parameters;
the micro portraits or micro services refresh themselves after receiving publicInnerParams.
Further, the system as described above, further comprising:
the release module is used for releasing the assembly portrait or the assembly service to a workbench at will or hanging the assembly portrait or the assembly service at will in other menus or functions of an application system of the product;
the display module is used for independently hanging each micro portrait or micro service and then displaying, wherein the condition micro portrait or the condition micro service is mainly used for displaying query conditions, the main micro portrait or the main micro service is mainly used for displaying various charts, tables and characters, and the behavior micro portrait or micro service is used for completing certain specific functional services.
The invention has the beneficial effects that: the micro-portrait or micro-service of the invention has basically stable content and format, little change frequency, and the micro-portrait or micro-service only extracts the common part or relatively stable part of various users to form the micro-portrait or micro-service. The development of micro portraits or micro services can be agilely developed, and the development efficiency is high. The image or service analysis and display system based on any analysis model can be realized by randomly assembling micro images or micro services, so that not only the data analysis result effect of the display layer but also any depth relation layer can be seen.
Drawings
FIG. 1 is a schematic illustration of a micro-portrait or micro-service provided in an embodiment of the present invention;
FIG. 2 is a flow chart of an application assembly method for micro portraits or micro services according to an embodiment of the present invention;
FIG. 3 is a schematic representation of the relationship between micro portraits or micro-services provided in an embodiment of the invention;
FIG. 4 is a schematic diagram of the transfer relationship of micro portraits or micro-service parameters in an assembly portraits or assembly service provided in an embodiment of the present invention;
FIG. 5 is a schematic diagram of an application assembly system for micro portrayal or micro-service according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems solved, the technical scheme adopted and the technical effects achieved by the invention more clear, the technical scheme of the embodiment of the invention will be further described in detail with reference to the accompanying drawings.
The embodiment of the invention provides a micro image, which comprises the following steps: defining the minimum unit in a product as a micro-portrait or micro-service of the product according to the data requirement of a user, wherein each micro-portrait or micro-service comprises an input parameter and an output parameter, the input parameter is in the format of input parameter 1, input parameter 2, … and input parameter n, the output parameter is in the format of output parameter 1, output parameter 2, …, output parameter m, n and m are positive integers; inputting corresponding input parameters into each micro portrait or micro service can refresh the content of the micro portrait or micro service, and the content can be displayed on a terminal and comprises a graph, a table and tag data; if one micro portrait or micro service needs to be associated with other micro portraits or micro services or other assembly portraits or assembly services, the micro portraits or micro services or the assembly portraits or assembly services are taken as the input parameters of the associated micro portraits or micro services.
Micro portrayal or micro-service of a product can be exemplified by: a unit information micro-portrait or micro-service, a project information micro-portrait or micro-service, a financial information micro-portrait or micro-service, an enterprise information micro-portrait or micro-service, or the like.
In the embodiment of the invention, the definition of the micro portrait or micro service data is defined according to the data requirement of the user, and the definition principle is the minimum unit which can be approved by the user. For example, the micro portrait or micro service may be a report that is frequently used by the user, or may be tag data that is frequently concerned by the user, such as: the payment execution rate may also be a set of fixed user-concerned chart combinations, such as one execution rate chart and one execution amount label.
The embodiment of the invention also provides an application assembling method of the micro portrait or the micro service, as shown in fig. 1, the method comprises the following steps:
s100, hanging the existing micro portraits or micro services and newly developed micro portraits or micro services in the product into an application system of the product for subsequent portrait or service assembly.
In the embodiment of the invention, the hanging of the micro portrait or the micro service refers to hanging the micro portrait or the micro service existing or newly developed by a company into an application system of the company. Each micro-portrait or micro-service may have an input parameter, or input parameter, and may have an output parameter, or output parameter, with the white portion representing the input parameter and the black portion representing the output parameter in fig. 2.
S200, inputting corresponding access parameters to each micro portrait or micro service in the application system of the product so as to refresh the content of the micro portrait or micro service, wherein the content can be displayed on a terminal and comprises a picture, a table and tag data.
If one micro portrait or micro service needs to be associated with other micro portraits or micro services or other assembled micro portraits or micro services, the output parameters of the micro portraits or micro services are taken as the input parameters of the associated micro portraits or micro services or the assembled portraits or assembled services.
In the embodiment of the invention, a user can inquire about any micro portrait or micro service, and the inquired result is the listing of various tables, charts and tag data. The querying of a micro portrayal or micro-service can implement any combination of data queries and can see the diagramming effect of no assembled locations.
S300, when the user needs to assemble the micro portraits or the micro services, dragging each micro portraits or the micro services needed by the user to the assembly portraits or the assembly services, and then establishing an association relation according to the matching of the input parameters and the output parameters of each micro portraits or the micro services to realize the application assembly of the micro portraits or the micro services.
If the name of one output parameter in the output parameter of one micro portrait or micro service is the same as the input parameter of the other micro portrait or micro service, the association relationship between the two micro portraits or micro services can be established, and the association relationship between the micro portraits or micro services comprises an inner association relationship and an outer association relationship, wherein the inner association relationship refers to the association relationship established in one assembly portrait or assembly service, and the outer association relationship refers to the association relationship established in one assembly portrait or assembly service and other micro portraits or micro services or between the assembly portraits or assembly services.
S400, refreshing all micro-portraits or micro-services in an assembled portraits or an assembled service by inputting parameters into the assembled portraits or the assembled service, wherein the assembled portraits or the assembled service is a complete set of portraits or services used for an end user, influencing the whole assembled portraits or the assembled service by modifying the numerical value in the conditional micro-portraits or the conditional micro-services in the assembled portraits, and dynamically associated refreshing other internal micro-portraits or internal micro-services or external assembled portraits or external assembled services which are associated with the assembled portraits or the assembled service by clicking any topic micro-portraits or topic micro-services in the assembled portraits or the assembled service.
In the embodiment of the invention, the association relationship between the micro portraits or micro services comprises an inner association relationship and an outer association relationship. The inner association relationship includes a peer association, and the outer association relationship includes a lower drilling (or external association) relationship. As shown in fig. 3, the micro portrayal 1 (or micro service 1) and the micro portrayal 2 (or micro service 2) belong to an external association, and the micro portrayal 1 (or micro service 1) and the micro portrayal 3 (or micro service 3) and the micro portrayal 4 (or micro service 4) belong to an internal association. By assembling the association relationship of portraits (or assembly services), the relationship between complex micro portraits (or micro services) can be revealed.
For example, as shown in fig. 4, any of a plurality of micro portraits (or micro services) are assembled to obtain an assembled portraits (or assembly services); wherein, the parameter transfer relation of each micro portrait (or micro service) is as follows:
the entry of the assembly portraits or assembly services affects all the micro portraits or micro services within the assembly portraits or assembly services at the same time; if the internal association is the case, the out-taking of one micro portrait or micro service affects the in-taking of other already associated internal micro portraits or micro services; if the connection is external, the output parameters of one micro portrait or micro service affect the input parameters of the external micro portrait or micro service or assembly portrait or assembly service; after receiving the entry, all micro portraits or micro services or assembly portraits or assembly services refresh the data and display contents inside the micro portraits or micro services or assembly portraits or assembly services according to the latest entry.
(1) Defining a common variable within an assembled portrayal or an assembled service:
var initAllParams for initializing and conditioning micro portraits or micro-service parametric use;
var publicInnerParams for internal associative dynamic use;
when the page is first opened, publicInnerParams=initAllParams;
when a query button is clicked above the whole interface, all micro images or micro services are filtered by using initAllParams parameters;
updating only publicInnerParams if any inter-association operations occur, and refreshing publicInnerParams to initAllParams upon clicking the query button;
(2) Defining a common parameter processing function in the front end of the assembly image or the assembly service:
function publicHandleParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to publicInnerParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
(3) Defining a common initialization function inside the assembly picture or the assembly service front end:
invoked upon initialization or upon clicking a query (refresh) button;
if the assembled portraits (or assembly services) have an entry, the following setinitallpams function is called:
function setInitAllParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initallpams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
calling setInitAllParams after data in the conditional micro-portraits or micro-services are changed;
(4) A common control function is defined inside the assembly picture or assembly service front-end,
function publicInnerControl(whxid,param){
publicHandleParams(param);
};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
whxid is the unique identification ID of the micro portrayal or micro service, the function used to tell the assembly portrayal or assembly service which micro portrayal or micro service is invoked;
the function is responsible for transmitting the new publicInnerParams to the micro-portraits or micro-services which establish the internal association relationship and do not contain the micro-portraits or micro-services which are currently making the operation of the parameters;
the micro portraits or micro services refresh themselves after receiving publicInnerParams.
The method further comprises the steps of:
s500, the assembly portrait or the assembly service is arbitrarily released to a workbench or is arbitrarily hung on other menus or functions of an application system of the product.
S600, each micro portrait or micro service is independently hung and then displayed, wherein the condition micro portrait or the condition micro service is mainly used for displaying query conditions, the main micro portrait or the main micro service is mainly used for displaying various charts, tables and characters, and the behavior micro portrait or micro service is used for completing certain specific functional services.
By adopting the method of the embodiment of the invention, the content and the format of the micro-portrait or the micro-service are basically stable, the change frequency is not large, and the micro-portrait or the micro-service is only the common part or the relatively stable part of various users is extracted to form the micro-portrait or the micro-service. The development of micro portraits or micro services can be agilely developed, and the development efficiency is high. The image or service analysis and display system based on any analysis model can be realized by randomly assembling micro images or micro services, so that not only the data analysis result effect of the display layer but also any depth relation layer can be seen.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
According to another aspect of an embodiment of the present invention, there is also provided an application assembly system of a micro portrait or micro service, as shown in fig. 5, including:
a hooking module 100 for hooking existing micro portraits or micro services and newly developed micro portraits or micro services in a product into an application system of the product for subsequent use in assembling portraits or assembly services;
an input module 200, configured to input a corresponding entry into each micro portrait or micro service in the application system of the product to refresh the content of the micro portrait or micro service, where the content may be displayed on a terminal, and includes a graph, a table, and tag data, and if one micro portrait or micro service needs to be associated with another micro portrait or micro service, or associated with another micro portrait or micro service, the entry is taken as the entry of the associated micro portrait or micro service, or the entry of the assembled portrait or service;
the assembly module 300 is used for, when a user needs to assemble a micro portrait or a micro service, dragging each micro portrait or micro service needed by the user to the assembly portrait or the assembly service, and then establishing an association relationship according to the matching of the input parameters and the output parameters of each micro portrait or micro service to realize the application assembly of the micro portrait or micro service;
an application module 400, configured to refresh all micro portraits or micro services in the assembled portraits or the assembled services by inputting parameters into the assembled portraits or the assembled services, where the assembled portraits or the assembled services are complete portraits or services used by end users, influence the whole assembled portraits or the assembled services by modifying values in conditional micro portraits or conditional micro services in the assembled portraits, and dynamically associate and refresh internal micro portraits or internal micro services or external assembled portraits or external assembled services with which an association relationship is established by clicking any topic micro portraits or topic micro services in the assembled portraits or the assembled services;
if the name of one output parameter in the output parameter of one micro portrait or micro service is the same as the name of the input parameter of the other micro portrait or micro service, an association relationship can be established between the two micro portraits or micro services, wherein the association relationship between the micro portraits or micro services comprises an inner association relationship and an outer association relationship, the inner association relationship is the association relationship established in one assembly portrait or assembly service, and the outer association relationship is the association relationship established between the interior of one assembly portrait or assembly service and other micro portraits or micro services or between other external assembly portraits or assembly services.
The system further comprises:
and the release module is used for randomly releasing the assembly portrait or the assembly service to a workbench or randomly hooking other menus or functions of an application system of the product.
The system further comprises:
the display module is used for independently hanging each micro portrait or micro service and then displaying, wherein the condition micro portrait or the condition micro service is mainly used for displaying query conditions, the main micro portrait or the main micro service is mainly used for displaying various charts, tables and characters, and the behavior micro portrait or micro service is used for completing certain specific functional services.
It should be noted that, the system and the method of the present invention belong to the same inventive concept, and detailed description is omitted.
By adopting the system of the embodiment of the invention, the content and the format of the micro-portrait are basically stable, the change frequency is not large, and the micro-portrait is only extracted to form the micro-portrait by the common part or the relatively stable part of various users. The development of the micro-image can be agilely developed, and the development efficiency is high. The system can realize the omnibearing image or service analysis and display system based on any analysis model by randomly assembling micro images or micro services, not only can display the data analysis result effect of a layer, but also can see any depth relation layer
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. A method of assembling a micro portrait or micro service application, comprising:
s100, hanging the existing micro portraits or micro services and newly developed micro portraits or micro services in a product into an application system of the product for subsequent assembly of the portraits or assembly services;
s200, inputting corresponding access to each micro portrait or micro service in an application system of the product to refresh the content of the micro portrait or micro service, wherein the content can be displayed on a terminal and comprises a graph, a table and tag data, and if one micro portrait or micro service needs to be associated with other micro portraits or micro services or other micro portraits or micro services are assembled, the access to the micro portraits or micro services is taken as the access to the associated micro portraits or micro services or the access to the assembly portraits or the assembly services;
s300, when a user needs to assemble a micro portrait or a micro service, dragging each micro portrait or micro service needed by the user to the assembly portrait or the assembly service, and then establishing an association relationship according to the matching of the input parameters and the output parameters of each micro portrait or micro service to realize the application assembly of the micro portrait or the micro service;
s400, refreshing all micro-portraits or micro-services in an assembled portraits or an assembled service by inputting parameters into the assembled portraits or the assembled service, wherein the assembled portraits or the assembled service is a complete set of portraits or services used for an end user, influencing the whole assembled portraits or the assembled service by modifying the numerical value in the conditional micro-portraits or the conditional micro-services in the assembled portraits or the assembled service, and dynamically associating the refreshed internal micro-portraits or the internal micro-services or the external assembled portraits or the external assembled services with any topic micro-portraits or topic micro-services in the assembled portraits or the assembled service;
if the name of one output parameter in the output parameter of one micro portrait or micro service is the same as the name of the input parameter of the other micro portrait or micro service, an association relationship can be established between the two micro portraits or micro services, wherein the association relationship between the micro portraits or micro services comprises an inner association relationship and an outer association relationship, the inner association relationship is the association relationship established in one assembly portrait or assembly service, and the outer association relationship is the association relationship established in one assembly portrait or assembly service and other micro portraits or micro services or other assembly portraits or assembly services.
2. A method as recited in claim 1, wherein the inner association comprises a peer association and the outer association comprises a subordinate drilling relationship or an outer association.
3. The method of claim 1, wherein S300 comprises: assembling any plurality of micro portraits or micro services to obtain an assembled portraits or assembled services; wherein, the parameter transfer relation of each micro portrait or micro service is as follows:
the entry of the assembly portraits or assembly services affects all the micro portraits or micro services within the assembly portraits or assembly services at the same time;
if the internal association is the case, the out-taking of one micro portrait or micro service affects the in-taking of other already associated internal micro portraits or micro services;
if the connection is external, the output parameters of one micro portrait or micro service affect the input parameters of the external micro portrait or micro service or assembly portrait or assembly service;
after receiving the entry, all micro portraits or micro services or assembly portraits or assembly services refresh the data and display contents inside the micro portraits or micro services or assembly portraits or assembly services according to the latest entry.
4. The method of claim 1, wherein S400 comprises:
(1) Defining a common variable within an assembled portrayal or an assembled service:
var initAllParams for initializing and conditioning micro portraits or micro-service parametric use;
var publicInnerParams for internal associative dynamic use;
when the page is first opened, publicInnerParams=initAllParams;
when a query button is clicked above the whole interface, all micro images or micro services are filtered by using initAllParams parameters;
updating only publicInnerParams if any inter-association operations occur, and refreshing publicInnerParams to initAllParams upon clicking the query button;
(2) Defining a common parameter processing function in the front end of the assembly image or the assembly service:
function publicHandleParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to publicInnerParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
(3) Defining a common initialization function inside the assembly picture or the assembly service front end:
calling when initializing or clicking a query button;
if the assembled portraits or the assembled services have an entry, the following setinitallpams function is called:
function setInitAllParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initallpams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
calling setInitAllParams after data in the conditional micro-portraits or micro-services are changed;
(4) A common control function is defined inside the assembly picture or assembly service front-end,
function publicInnerControl(whxid,param){
publicHandleParams(param);
};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
whxid is the unique identification ID of the micro portrayal or micro service, the function used to tell the assembly portrayal or assembly service which micro portrayal or micro service is invoked;
the function is responsible for transmitting the new publicInnerParams to the micro-portraits or micro-services which establish the internal association relationship and do not contain the micro-portraits or micro-services which are currently making the operation of the parameters;
the micro portraits or micro services refresh themselves after receiving publicInnerParams.
5. The method of any one of claims 1-4, further comprising:
s500, the assembly portrait or the assembly service is randomly issued to a workbench or randomly hung on other menus or functions of an application system of the product;
and S600, each micro portrait or micro service is independently hung and then displayed, wherein the condition micro portrait or condition micro service is mainly used for displaying query conditions, and the main micro portrait or main micro service is mainly used for displaying various charts, tables and characters and behavior micro portraits or micro services and is used for completing certain specific functional services.
6. An application assembly system for micro portraits or micro services, applied to the method of any of claims 1-5, comprising:
the hooking module is used for hooking the existing micro-portraits or micro-services and newly developed micro-portraits or micro-services in the product into an application system of the product for subsequent portrait or service assembly;
the input module is used for inputting corresponding access to each micro portrait or micro service in the application system of the product so as to refresh the content of the micro portrait or micro service, wherein the content can be displayed on a terminal and comprises a graph, a table and tag data, and if one micro portrait or micro service needs to be associated with other micro portraits or micro services or other assembly micro portraits or micro services, the access is taken as the access of the associated micro portraits or micro services or other assembly portraits or assembly services;
the assembly module is used for dragging each micro portrait or micro service required by a user to the assembly portrait or the assembly service when the user needs to assemble the micro portrait or the micro service, and establishing an association relation according to the matching of the input parameters and the output parameters of each micro portrait or the micro service so as to realize the application assembly of the micro portrait or the micro service;
the application module is used for refreshing all micro-portraits or micro-services in the assembled portraits or the assembled services by inputting parameters into the assembled portraits or the assembled services, wherein the assembled portraits or the assembled services are complete portraits or services used for end users, influencing the whole assembled portraits or the assembled services by modifying the values in the conditional micro-portraits or the conditional micro-services in the assembled portraits, and dynamically associated refreshing internal other micro-portraits or internal micro-services or external other assembled portraits or external assembled services which are related with the assembled portraits or the assembled services by clicking any topic micro-portraits or topic micro-services in the assembled portraits or the assembled services;
if the name of one output parameter in the output parameter of one micro portrait or micro service is the same as the name of the input parameter of the other micro portrait or micro service, an association relationship can be established between the two micro portraits or micro services, wherein the association relationship between the micro portraits or micro services comprises an inner association relationship and an outer association relationship, the inner association relationship is the association relationship established in one assembly portrait or assembly service, and the outer association relationship is the association relationship established in one assembly portrait or assembly service and other micro portraits or micro services or other assembly portraits or assembly services.
7. The system of claim 6, wherein the application module is specifically configured to:
(1) Defining a common variable within an assembled portrayal or an assembled service:
the varinitallpams are used for initializing and conditioning micro-portraits or micro-service parameter transmission;
var publicInnerParams for internal associative dynamic use;
when the page is first opened, publicInnerParams=initAllParams;
when a query button is clicked above the whole interface, all micro images or micro services are filtered by using initAllParams parameters;
updating only publicInnerParams if any inter-association operations occur, and refreshing publicInnerParams to initAllParams upon clicking the query button;
(2) Defining a common parameter processing function in the front end of the assembly image or the assembly service:
function publicHandleParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to publicInnerParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
(3) Defining a common initialization function inside the assembly picture or the assembly service front end:
calling when initializing or clicking a query button;
if the assembled portraits or the assembled services have an entry, the following setinitallpams function is called:
function setInitAllParams(param){};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initallpams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameters with the same name by receiving the new parameters each time;
calling setInitAllParams after data in the conditional micro-portraits or micro-services are changed;
(4) A common control function is defined inside the assembly picture or assembly service front-end,
function publicInnerControl(whxid,param){
publicHandleParams(param);
};
the param format is: parameter name 1=parameter value 1& parameter name 2=parameter value 2& … & parameter name n;
whxid is the unique identification ID of the micro portrayal or micro service, the function used to tell the assembly portrayal or assembly service which micro portrayal or micro service is invoked;
the function is responsible for transmitting the new publicInnerParams to the micro-portraits or micro-services which establish the internal association relationship and do not contain the micro-portraits or micro-services which are currently making the operation of the parameters;
the micro portraits or micro services refresh themselves after receiving publicInnerParams.
8. The system of claim 6, further comprising:
the release module is used for releasing the assembly portrait or the assembly service to a workbench at will or hanging the assembly portrait or the assembly service at will in other menus or functions of an application system of the product;
and the display module is used for independently hanging each micro portrait or micro service and displaying the micro portrait or micro service, wherein the condition micro portrait or the condition micro service is mainly used for displaying the query condition, and the main micro portrait or the main micro service is mainly used for displaying various charts, tables and characters and the behavior micro portrait or micro service and is used for completing certain specific functional services.
CN202110820325.4A 2021-07-20 2021-07-20 Micro portrait or micro service and application assembly method and system thereof Active CN113703757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110820325.4A CN113703757B (en) 2021-07-20 2021-07-20 Micro portrait or micro service and application assembly method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110820325.4A CN113703757B (en) 2021-07-20 2021-07-20 Micro portrait or micro service and application assembly method and system thereof

Publications (2)

Publication Number Publication Date
CN113703757A CN113703757A (en) 2021-11-26
CN113703757B true CN113703757B (en) 2024-02-13

Family

ID=78649029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110820325.4A Active CN113703757B (en) 2021-07-20 2021-07-20 Micro portrait or micro service and application assembly method and system thereof

Country Status (1)

Country Link
CN (1) CN113703757B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114942856B (en) * 2022-07-22 2022-11-04 浙江中控技术股份有限公司 Data processing method and device of micro-service system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120708A (en) * 2018-08-31 2019-01-01 北京神州泰岳软件股份有限公司 Construction method, call method and the device of business module based on micro services component
CN111353813A (en) * 2020-02-20 2020-06-30 苏宁云计算有限公司 Image analysis method, system, computer device and storage medium
CN112232965A (en) * 2020-10-13 2021-01-15 宁波一量科技有限公司 Asset allocation and investment portfolio management system based on block chain
CN112286567A (en) * 2020-09-24 2021-01-29 上海航天化工应用研究所 Micro-service generation method and system based on semantic matching
CN112328221A (en) * 2020-11-06 2021-02-05 深圳壹账通智能科技有限公司 Data structure conversion method and device based on microservice framework and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120708A (en) * 2018-08-31 2019-01-01 北京神州泰岳软件股份有限公司 Construction method, call method and the device of business module based on micro services component
CN111353813A (en) * 2020-02-20 2020-06-30 苏宁云计算有限公司 Image analysis method, system, computer device and storage medium
CN112286567A (en) * 2020-09-24 2021-01-29 上海航天化工应用研究所 Micro-service generation method and system based on semantic matching
CN112232965A (en) * 2020-10-13 2021-01-15 宁波一量科技有限公司 Asset allocation and investment portfolio management system based on block chain
CN112328221A (en) * 2020-11-06 2021-02-05 深圳壹账通智能科技有限公司 Data structure conversion method and device based on microservice framework and computer equipment

Also Published As

Publication number Publication date
CN113703757A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
Schmidt et al. Taking CSCW seriously: Supporting articulation work
US8010940B2 (en) Methods and apparatus for designing a workflow process using inheritance
US8239226B2 (en) Methods and apparatus for combining properties and methods from a plurality of different data sources
US20040187140A1 (en) Application framework
US8224853B2 (en) Methods and apparatus for updating a plurality of data fields in an electronic form
JP2005522755A (en) Definition of approval process for approval request (definition)
JP2005531083A (en) Prototyping a graphical user interface
CN113703757B (en) Micro portrait or micro service and application assembly method and system thereof
US20210103862A1 (en) Methods and apparatus for exposing workflow process definitions as business objects
Del-Corte-Lora et al. Mediating effect of creativity between breadth of knowledge and innovation
JP6963062B1 (en) Information processing device and information processing method
US7996758B2 (en) Methods and apparatus for storing data associated with an electronic form
US20070208777A1 (en) Methods and apparatus for designing a workflow process using resource maps and process maps
US20070143305A1 (en) Methods and apparatus for storing functions associated with an electronic form
Frandian et al. Implementation of CRM (Customer Relationship Management) at UPT Public Health Center Perbaungan Web-Based
Sołtysik-Piorunkiewicz The evaluation method of Web 2.0/3.0 usability in e-health knowledge management system
Leist et al. From Business Engineering to Digital Engineering: The Role of Metamodeling in Digital Transformation
US20070136367A1 (en) Methods and apparatus for dynamically modifying a business object definition
US20070130138A1 (en) Methods and apparatus for storing a collaboratively designed workflow process
Coakes et al. Specifications in context: stakeholders, systems and modelling of conflict
Niehaves et al. Conceptual modeling-an epistemological foundation
JP7070864B2 (en) Business automation system using object actions on Excel sheet
de Boer et al. Structuring software architecture project memories
Rizescu The role of enterprise portals in enterprise integration
Southon Health Information Management and the Health System

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