CN113703757A - Micro-image or micro-service and application assembly method and system thereof - Google Patents

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

Info

Publication number
CN113703757A
CN113703757A CN202110820325.4A CN202110820325A CN113703757A CN 113703757 A CN113703757 A CN 113703757A CN 202110820325 A CN202110820325 A CN 202110820325A CN 113703757 A CN113703757 A CN 113703757A
Authority
CN
China
Prior art keywords
micro
assembly
service
parameter
services
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
CN202110820325.4A
Other languages
Chinese (zh)
Other versions
CN113703757B (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

Images

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-image or micro-service and application assembly method and system thereof, comprising the following steps: defining minimum units in a product as microimages or microservices of the product according to data requirements of a user, wherein each microimage or microservice comprises an input parameter and an output parameter, the format of the input parameter is & input parameter 1& input parameter 2& … & input parameter n, the format of the output parameter is & output parameter 1& output parameter 2& … & output parameter m, and n and m are positive integers; inputting corresponding input parameters into each micro picture or micro service can refresh the content of the micro picture or micro service, and the content can be displayed on a terminal and comprises picture, table and label data. The development of the micro portrait or the micro service can be agilely developed, and the development efficiency is high. The comprehensive image or service analysis display system based on any analysis model can be realized by randomly assembling the microimages or the microservices, and not only the data analysis result effect of the display layer, but also any depth relation layer can be seen.

Description

Micro-image 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-image and an application and assembly method and system thereof.
Background
In the existing products, project portraits or project services or unit portraits or unit services are simply described by making a single fixed portraits or services for projects or units, different users customize different portraits or services, but the actual portraits or services are varied and have complicated relationships. The user is hard to confirm the demand because the content is too much contained as a representation or a service, and the user does not make a decision easily, thereby causing the development team to fail to develop agilely.
In order to solve the above technical problems, the present application provides a micro-portrait or micro-service, which means that information of interest of a user, such as unit information, project information, financial information, enterprise information, and the like, is presented in the form of a table, a chart, and a label, and also can be a background service, and the content of the information is to maintain sufficient uniqueness, for example, the basic information of the unit can be abstracted into a micro-portrait or micro-service, the total expenditure amount of the user can be abstracted into a micro-portrait or micro-service, and the final user portrait user service can be formed by arbitrarily combining the micro-portrait or micro-service. Micro-portraits or micro-services and portraits services are more related than: the micro-portrait or micro-service is bricks, furniture or electric appliances; the portrait will be served as the entire house. Because there are intricate relationships between various microimages or microservices, such as peer association, subordinate drill-in or external association, etc. If only the portrait or the service is used for single description, the portrait or the service is thin, the inherent complexity of the portrait or the service cannot be reflected, the user confirmation is difficult, and the development period is long. However, this problem is well solved using the microimages or microservices of the present application.
Disclosure of Invention
In view of the defects in the prior art, an object of the present invention is to provide a method and a system for assembling a micro image or a micro service, and an application thereof, which can accelerate the confirmation process of the image or the service and the development efficiency of the image or the service.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a micro-picture or micro-service comprising:
defining minimum units in a product as microimages or microservices of the product according to data requirements of a user, wherein each microimage or microservice comprises an input parameter and an output parameter, the format of the input parameter is & input parameter 1& input parameter 2& … & input parameter n, the format of the output parameter is & output parameter 1& output parameter 2& … & output parameter m, and n and m are positive integers;
inputting corresponding input parameters into each micro picture or micro service can refresh the content of the micro picture or the micro service, and the content can be displayed on a terminal and comprises picture, table and label data;
if one micro image or micro service needs to be associated with other micro images or micro services, or other assembly images or assembly services, the micro image or micro service is taken as the associated micro image or micro service, or the assembly image or assembly service.
The micro-portrait or micro-service of the product is divided into three categories: a conditional micro-portrait or conditional micro-service, a subject micro-portrait or subject micro-service and a behavioral micro-portrait or behavioral micro-service;
the condition micro-portrait or the condition micro-service is used for finishing the modification of the filtering and screening conditions of the whole assembly portrait or the assembly service;
the main micro portrait or main micro service is all interface elements displayed to the user in the whole assembly portrait or assembly service, and examples of the interface elements include: unit information micro-representation or micro-service, project information micro-representation or micro-service, financial information micro-representation or micro-service, enterprise information micro-representation or micro-service, etc.
The behavior microportrait or the behavior microservice is used for completing certain specific function services.
An application assembly method of micro-pictures or micro-services, which is applied to the micro-pictures or the micro-services, comprises the following steps:
s100, hanging the existing micro portrait or micro service and newly developed micro portrait or micro service in the product into an application system of the product for subsequent portrait assembly or service assembly;
s200, inputting corresponding entry parameters to each micro portrait or each micro service in an application system of the product to refresh the content of the micro portrait or the micro service, wherein the content can be displayed on a terminal and comprises a map, a table and label data, and if one micro portrait or the micro service needs to be associated with other micro portraits or micro services or is associated with other assembly micro portraits or micro services, the entry parameters are used as the associated other micro portraits or micro services or the entry parameters of other assembly portraits or assembly services;
s300, when a user needs to assemble the microimages or the microservices, dragging each microimage or microservices needed by the user to an assembly image or an assembly service, and establishing an association relation according to the matching of the input parameters and the output parameters of each microimage or microservices to realize the application assembly of the microimages or microservices;
s400, inputting parameters to an assembly portrait or an assembly service, refreshing all micro portraits or micro services in the assembly portrait, wherein the assembly portrait or the assembly service is a set of portrait or service used by a final user, affecting the whole assembly portrait or the assembly service by modifying the condition micro portrait in the assembly portrait or the numerical value in the condition micro service, and dynamically and correlatively refreshing other internal micro portraits or internal micro services or external assembly portraits or external assembly services related to the assembly portrait or the assembly service by clicking any theme micro portrait or theme micro service in the assembly portrait or the assembly service;
if the name of an output parameter in the output parameter of one micro image or micro service is the same as the input parameter of another micro image or micro service, an association relationship can be established between the two micro images or micro services, the association relationship between the micro images or micro services comprises an internal association relationship and an external association relationship, the internal association relationship is an association relationship established inside one assembly image or assembly service, and the external association relationship is an association relationship established between the inside of one assembly image or assembly service and the other micro image or micro service or between the assembly image or the assembly service.
Further, the method as described above, the inner association comprises a sibling association, and the outer association comprises a subordinate drill-out relationship or an outer association.
Further, the method as described above, S300 includes: assembling any plurality of micro-pictures or micro-services to obtain an assembled picture or an assembled service; wherein, the parameter transmission relationship of each micro-portrait or micro-service is as follows:
assembling figures or parameters of the assembly service, and simultaneously influencing all the assembly figures or micro services in the assembly service;
if the internal correlation exists, the participation of one micro image or micro service influences the participation of other correlated internal micro images or micro services;
if the micro-image is externally associated, the participation of one micro-image or micro-service influences the input parameters of the external micro-image or micro-service or assembly image or assembly service;
after all the micro pictures or micro services or assembly pictures or assembly services receive the input parameters, the data and the display contents in the micro pictures or micro services or assembly pictures or assembly services are refreshed according to the latest input parameters.
Further, the method as described above, S400 includes:
(1) defining a common variable within an assembly representation or assembly service:
the var initAllParams is used for initialization and conditional microportrait or microservice parameter transmission;
var publicicilnnerparams for internal association dynamic use;
the first time a page is opened, publiclnnerparams ═ initAllParams;
when a query button is clicked on the upper side of the whole interface, filtering all micro-pictures or micro-services by using an initAllParams parameter;
if any internal association operation occurs, only the publicInnerParams is updated, and once the query button is clicked, the publicInnerParams value is refreshed to initAllParams;
(2) defining a common parameter processing function inside the assembly image or the assembly service front end:
function publicHandleParams(param){};
the param format is: parameter value 1& 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 parameter with the same name by receiving a new parameter each time;
(3) defining a common initialization function inside the assembly picture or assembly service front end:
calling during initialization or when a query button is clicked;
if the assembly portrait or assembly service has a reference, the following setInitAllParams function is called:
function setInitAllParams(param){};
the param format is: parameter value 1& parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initAllParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameter with the same name by receiving a new parameter each time;
after the data in the conditional microportrait or the microservice is changed, setInitAllParams is called;
(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 value 1& parameter value 2& … & parameter name n;
whxid is the unique ID of the microimage or microservice, which tells the assembly image or assembly service which microimage or microservice called the function;
the function is responsible for transferring the new publicInnerParams to the micro-image or the micro-service which establishes the internal association relation, and does not contain the micro-image or the micro-service which is currently participating in operation;
the microimage or microserver refreshes itself upon receiving publicInnerParams.
Further, the method as described above, further comprising:
s500, randomly distributing the assembly portrait or the assembly service to a workbench or randomly hanging the assembly portrait or the assembly service to other menus or functions of an application system of the product;
s600, each micro image or micro service is independently hung and displayed, wherein the condition micro image or the condition micro service is mainly used for displaying query conditions, the main micro image or the main micro service is mainly used for displaying various images, tables and characters, and the behavior micro image or the micro service is used for completing certain specific functional services.
A micro-portrait or micro-service application assembly system, comprising:
the hooking module is used for hooking the existing microimage or microservice in the product and the newly developed microimage or microservice to an application system of the product for subsequent assembly of images or assembly service;
the input module is used for inputting corresponding entry parameters to each micro portrait or each micro service in the application system of the product so as to refresh the content of the micro portrait or the micro service, wherein the content can be displayed on a terminal and comprises a map, a table and label data, and if one micro portrait or the micro service needs to be associated with other micro portraits or micro services or is associated with other assembled micro portraits or micro services, the entry parameters of the associated other micro portraits or micro services or the assembled portraits or assembled services are entered;
the assembling module is used for dragging each microimage or microservice required by a user to an assembling image or assembling service when the user needs to assemble the microimage or microservice, and establishing an incidence relation according to the matching of the input parameter and the output parameter of each microimage or microservice so as to realize the application assembling of the microimage or microservice;
the application module is used for refreshing all micro-pictures or micro-services in the assembly pictures by inputting parameters to the assembly pictures or the assembly services, the assembly pictures or the assembly services are set pictures or services used by end users, the whole assembly pictures or the assembly services are influenced by modifying the condition micro-pictures or the numerical values in the condition micro-services in the assembly pictures, and other internal micro-pictures or internal micro-services or external assembly pictures or external assembly services with which the association relationship is established are refreshed in dynamic association by clicking any theme micro-pictures or theme micro-services in the assembly pictures or the assembly services;
if the name of an output parameter in the output parameter of one microimage or the microservice is the same as the input parameter of another microimage or the microservice, an association relationship can be established between the two microimages or the microservices, the association relationship between the microimages or the microservices comprises an internal association relationship and an external association relationship, the internal association relationship is the association relationship established inside one assembly image or the assembly service, and the external association relationship is the association relationship established between the inside of one assembly image or the assembly service and other external microimages or microservices or between the assembly image or the assembly service.
Further, in the system as described above, the application module is specifically configured to:
(1) defining a common variable within an assembly representation or assembly service:
the var initAllParams is used for initialization and conditional microportrait or microservice parameter transmission;
var publicicilnnerparams for internal association dynamic use;
the first time a page is opened, publiclnnerparams ═ initAllParams;
when a query button is clicked on the upper side of the whole interface, filtering all micro-pictures or micro-services by using an initAllParams parameter;
if any internal association operation occurs, only the publicInnerParams is updated, and once the query button is clicked, the publicInnerParams value is refreshed to initAllParams;
(2) defining a common parameter processing function inside the assembly image or the assembly service front end:
function publicHandleParams(param){};
the param format is: parameter value 1& 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 parameter with the same name by receiving a new parameter each time;
(3) defining a common initialization function inside the assembly picture or assembly service front end:
calling during initialization or when a query button is clicked;
if the assembly portrait or assembly service has a reference, the following setInitAllParams function is called:
function setInitAllParams(param){};
the param format is: parameter value 1& parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initAllParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameter with the same name by receiving a new parameter each time;
after the data in the conditional microportrait or the microservice is changed, setInitAllParams is called;
(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 value 1& parameter value 2& … & parameter name n;
whxid is the unique ID of the microimage or microservice, which tells the assembly image or assembly service which microimage or microservice called the function;
the function is responsible for transferring the new publicInnerParams to the micro-image or the micro-service which establishes the internal association relation, and does not contain the micro-image or the micro-service which is currently participating in operation;
the microimage or microserver refreshes itself upon receiving publicInnerParams.
Further, the system as described above, further comprising:
the release module is used for randomly releasing the assembly portrait or the assembly service to a workbench or randomly hanging the assembly portrait or the assembly service to other menus or functions of an application system of the product;
the display module is used for hanging and displaying each micro-portrait or micro-service independently, 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 figures, tables and characters, and the behavior micro-portrait or the 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 stable content and format, and small change frequency, and the micro-portrait or micro-service only extracts the part common to various users or the stable part to form the micro-portrait or micro-service. The development of the micro-portrait or the micro-service can be agilely developed, and the development efficiency is high. The comprehensive image or service analysis display system based on any analysis model can be realized by randomly assembling the microimages or the microservices, and 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 diagram of a microimage or a microservice provided in an embodiment of the present invention;
fig. 2 is a schematic flowchart of an application assembly method of a micro-image or a micro-service according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating the relationship between microimages or microservices provided in an embodiment of the present invention;
FIG. 4 is a diagram illustrating a micro-portrait or micro-service parameter transmission relationship in an assembly image or assembly service provided in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an application assembly system for micro-imaging or micro-service provided in an embodiment of the present invention.
Detailed Description
In order to make the technical problems solved, the technical solutions adopted, and the technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be further described in detail with reference to the accompanying drawings.
The embodiment of the invention provides a micro image, which comprises: defining minimum units in a product as microimages or microservices of the product according to data requirements of a user, wherein each microimage or microservice comprises an input parameter and an output parameter, the format of the input parameter is & input parameter 1& input parameter 2& … & input parameter n, the format of the output parameter is & output parameter 1& output parameter 2& … & output parameter m, and n and m are positive integers; inputting corresponding input parameters into each micro picture or micro service can refresh the content of the micro picture or the micro service, and the content can be displayed on a terminal and comprises picture, table and label data; if one micro image or micro service needs to be associated with other micro images or micro services, or other assembly images or assembly services, the micro image or micro service is taken as the associated micro image or micro service, or the assembly image or assembly service.
Micro-portraits or micro-services of products may be exemplified by: any micro-representation or micro-service such as unit information micro-representation or micro-service, project information micro-representation or micro-service, financial information micro-representation or micro-service, enterprise information micro-representation or micro-service, etc.
In the embodiment of the invention, the definition of the microimage or the microservice data is defined according to the data requirement of a 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 frequently used by the user, or may be a tag data that is frequently concerned by the user, such as: the payment execution rate may also be a fixed set of chart combinations of user interest, such as one for execution rate chart and one for execution amount tag.
The embodiment of the invention also provides an application assembly method of the microimage or the microservice, as shown in figure 1, the method comprises the following steps:
s100, hanging the existing micro portrait or micro service in the product and the newly developed micro portrait or micro service into an application system of the product for subsequent portrait assembly or assembly service use.
In the embodiment of the invention, the hooking of the micro-image or the micro-service refers to hooking the existing or newly developed micro-image or the micro-service of a company into an application system. Each microimage or microservice may have an input parameter, i.e., input parameter, and may also have an output parameter, i.e., output parameter, with white portions representing input parameters and black portions representing output parameters in FIG. 2.
S200, inputting corresponding input parameters to each micro-portrait or micro-service in an application system of a product to refresh the content of the micro-portrait or the micro-service, wherein the content can be displayed on a terminal and comprises data of a map, a table and a label.
If one micro image or micro service needs to be associated with other micro images or micro services, or other assembly micro images or micro services, the micro image or micro service is taken as the associated micro image or micro service, or the assembly image or assembly service.
In the embodiment of the invention, the query of the microimages or the microservices is realized, a user can query any microimage or microservices, and the query result is the list of various tables, charts and label data. Queries of micro-portraits or micro-services may enable data queries in any combination, and may see the graphical effect of no assembly locations.
S300, when a user needs to assemble the micro portrait or the micro service, dragging each micro portrait or the micro service needed by the user to an assembly portrait or an assembly service, and establishing an association relation according to the matching of the input parameter and the output parameter of each micro portrait or the micro service, so as to realize the application assembly of the micro portrait or the micro service.
If the name of an output parameter in the output parameter of one microimage or the microservice is the same as the input parameter of another microimage or the microservice, an association relationship can be established between the two microimages or the microservices, the association relationship between the microimages or the microservices comprises an inner association relationship and an outer association relationship, the inner association relationship is the association relationship established inside one assembly image or the assembly service, and the outer association relationship is the association relationship established inside one assembly image or the assembly service and the other microimage or the microservice or the association relationship established between the assembly image or the assembly service.
S400, inputting parameters to an assembly portrait or an assembly service, refreshing all micro portraits or micro services in the assembly portrait, wherein the assembly portrait or the assembly service is a set of portrait or service used by an end user, influencing the whole assembly portrait or the assembly service by modifying the condition micro portrait in the assembly portrait or the numerical value in the condition micro service, and dynamically and correlatively refreshing other internal micro portraits or internal micro services or external assembly portraits or external assembly services which are correlatively established with the assembly portrait or any theme micro portrait or theme micro service in the assembly service by clicking the assembly portrait or the assembly service.
In the embodiment of the invention, the association relationship between the microimages or the microservices comprises an inner association relationship and an outer association relationship. The inner association includes sibling associations and the outer association includes subordinate drill-in (or outer association) relationships. As shown in fig. 3, the micro image 1 (or micro service 1) and the micro image 2 (or micro service 2) are related to each other externally, and the micro image 1 (or micro service 1) and the micro image 3 (or micro service 3) and the micro image 4 (or micro service 4) are related to each other internally. By the association relationship of the assembly pictures (or the assembly services), the relationship between the complex micro pictures (or the micro services) can be shown.
For example, as shown in fig. 4, an arbitrary plurality of microimages (or microservices) are assembled to obtain an assembly image (or assembly service); wherein, the parameter transmission relationship of each micro-portrait (or micro-service) is as follows:
assembling figures or parameters of the assembly service, and simultaneously influencing all the assembly figures or micro services in the assembly service; if the internal correlation exists, the participation of one micro image or micro service influences the participation of other correlated internal micro images or micro services; if the micro-image is externally associated, the participation of one micro-image or micro-service influences the input parameters of the external micro-image or micro-service or assembly image or assembly service; after all the micro pictures or micro services or assembly pictures or assembly services receive the input parameters, the data and the display contents in the micro pictures or micro services or assembly pictures or assembly services are refreshed according to the latest input parameters.
(1) Defining a common variable within an assembly representation or assembly service:
the var initAllParams is used for initialization and conditional microportrait or microservice parameter transmission;
var publicicilnnerparams for internal association dynamic use;
the first time a page is opened, publiclnnerparams ═ initAllParams;
when a query button is clicked on the upper side of the whole interface, filtering all micro-pictures or micro-services by using an initAllParams parameter;
if any internal association operation occurs, only the publicInnerParams is updated, and once the query button is clicked, the publicInnerParams value is refreshed to initAllParams;
(2) defining a common parameter processing function inside the assembly image or the assembly service front end:
function publicHandleParams(param){};
the param format is: parameter value 1& 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 parameter with the same name by receiving a new parameter each time;
(3) defining a common initialization function inside the assembly picture or assembly service front end:
when initializing or clicking a query (refresh) button;
if the assembly drawing (or assembly service) has an entry, the following setInitAllParams function is called:
function setInitAllParams(param){};
the param format is: parameter value 1& parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initAllParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameter with the same name by receiving a new parameter each time;
after the data in the conditional microportrait or the microservice is changed, setInitAllParams is called;
(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 value 1& parameter value 2& … & parameter name n;
whxid is the unique ID of the microimage or microservice, which tells the assembly image or assembly service which microimage or microservice called the function;
the function is responsible for transferring the new publicInnerParams to the micro-image or the micro-service which establishes the internal association relation, and does not contain the micro-image or the micro-service which is currently participating in operation;
the microimage or microserver refreshes itself upon receiving publicInnerParams.
The method further comprises the following steps:
s500, the assembly portrait or the assembly service is randomly distributed to a workbench or is randomly hung to other menus or functions of the application system of the product.
S600, each micro image or micro service is independently hung and displayed, wherein the condition micro image or the condition micro service is mainly used for displaying query conditions, the main micro image or the main micro service is mainly used for displaying various images, tables and characters, and the behavior micro image or the 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 microimage or the microservice are basically stable, the change frequency is not large, and the microimage or the microservice only extracts the part which is common to various users or the stable part to form the microimage or the microservice. The development of the micro-portrait or the micro-service can be agilely developed, and the development efficiency is high. The comprehensive image or service analysis display system based on any analysis model can be realized by randomly assembling the microimages or the microservices, and 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 above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiments of the present invention, there is also provided a micro-portrait or micro-service application assembly system, as shown in fig. 5, including:
the hanging module 100 is used for hanging the existing micro-portrait or micro-service in a product and the newly developed micro-portrait or micro-service into an application system of the product for subsequent portrait assembly or service assembly;
an input module 200, configured to input a corresponding entry parameter to each microimage or microservice in an application system of the product to refresh content of the microimage or microservice, where the content may be displayed on a terminal and includes a diagram, a table, and tag data, and if one microimage or microservice needs to be associated with another microimage or microservice, or is associated with another assembled microimage or microservice, the entry parameter is used as the associated microimage or microservice, or is used as an entry parameter of the assembled image or microservice;
the assembly module 300 is used for dragging each microimage or microservice required by a user to an assembly image or assembly service when the user needs to assemble the microimage or microservice, and establishing an association relation according to the matching of the input parameter and the output parameter of each microimage or microservice, so as to realize the application assembly of the microimage or microservice;
the application module 400 is used for refreshing all micro-pictures or micro-services in the assembly pictures by inputting parameters to the assembly pictures or the assembly services, wherein the assembly pictures or the assembly services are set pictures or services used by an end user, the whole assembly pictures or the assembly services are influenced by modifying the condition micro-pictures or the numerical values in the condition micro-services in the assembly pictures, and the internal micro-pictures or the internal micro-services or the external assembly pictures or the external assembly services which are related to the assembly pictures or the assembly services are refreshed in a dynamic correlation manner by clicking any theme micro-pictures or theme micro-services in the assembly pictures or the assembly services;
if the name of an output parameter in the output parameter of one micro image or micro service is the same as the input parameter of another micro image or micro service, an association relationship can be established between the two micro images or micro services, the association relationship between the micro images or micro services comprises an internal association relationship and an external association relationship, the internal association relationship is an association relationship established inside one assembly image or assembly service, and the external association relationship is an association relationship established between the inside of one assembly image or assembly service and other micro images or micro services or other external assembly images or assembly services.
The system further comprises:
and the publishing module is used for randomly publishing the assembly portrait or the assembly service to a workbench or randomly hanging the assembly portrait or the assembly service to other menus or functions of the application system of the product.
The system further comprises:
the display module is used for hanging and displaying each micro-portrait or micro-service independently, 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 figures, tables and characters, and the behavior micro-portrait or the micro-service is used for completing certain specific functional services.
It should be noted that the system of the present invention and the method described above belong to the same inventive concept, and detailed descriptions of specific embodiments are omitted.
By adopting the system of the embodiment of the invention, the content and the format of the micro-image are basically stable, the change frequency is not large, and the micro-image is only extracted from parts common to various users or more stable parts to form the micro-image. The development of the microportrait can be agilely developed, and the development efficiency is high. The comprehensive image or service analysis display system based on any analysis model can be realized by randomly assembling microimages or microservices, not only the data analysis result effect of the display layer, but also the relation layer with any depth can be seen
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is intended to include such modifications and variations.

Claims (10)

1. A micro-picture or micro-service, comprising:
defining minimum units in a product as microimages or microservices of the product according to data requirements of a user, wherein each microimage or microservice comprises an input parameter and an output parameter, the format of the input parameter is & input parameter 1& input parameter 2& … & input parameter n, the format of the output parameter is & output parameter 1& output parameter 2& … & output parameter m, and n and m are positive integers;
inputting corresponding input parameters into each micro picture or micro service can refresh the content of the micro picture or the micro service, and the content can be displayed on a terminal and comprises picture, table and label data;
if one micro image or micro service needs to be associated with other micro images or micro services, or other assembly images or assembly services, the micro image or micro service is taken as the associated micro image or micro service, or the assembly image or assembly service.
2. A microimage or microservice as claimed in claim 1, characterised in that the microimages or microservices of the product fall into three categories: a conditional micro-portrait or conditional micro-service, a subject micro-portrait or subject micro-service and a behavioral micro-portrait or behavioral micro-service;
the condition micro-portrait or the condition micro-service is used for finishing the modification of the filtering and screening conditions of the whole assembly portrait or the assembly service;
the main micro portrait or main micro service is all interface elements displayed to the user in the whole assembly portrait or assembly service, and examples of the interface elements include: unit information micro-representation or micro-service, project information micro-representation or micro-service, financial information micro-representation or micro-service, enterprise information micro-representation or micro-service, etc.
The behavior microportrait or the behavior microservice is used for completing certain specific function services.
3. An application assembly method of a micro-image or a micro-service, applied to the micro-image or the micro-service of claim 2, comprising:
s100, hanging the existing micro portrait or micro service and newly developed micro portrait or micro service in the product into an application system of the product for subsequent portrait assembly or service assembly;
s200, inputting corresponding entry parameters to each micro image or micro service in an application system of the product to refresh the content of the micro image or the micro service, wherein the content can be displayed on a terminal and comprises image, table and label data, and if one micro image or micro service needs to be associated with other micro images or micro services or associated with other assembly micro images or micro services, the entry parameters are used as the associated micro image or micro service or the assembly image or assembly service;
s300, when a user needs to assemble the microimages or the microservices, dragging each microimage or microservices needed by the user to an assembly image or an assembly service, and establishing an association relation according to the matching of the input parameters and the output parameters of each microimage or microservices to realize the application assembly of the microimages or microservices;
s400, refreshing all micro-pictures or micro-services in an assembly picture by inputting parameters to the assembly picture or the assembly service, wherein the assembly picture or the assembly service is a set of pictures or services used by a final user, influencing the whole assembly picture or the assembly service by modifying the condition micro-pictures or the numerical values in the condition micro-services in the assembly picture, and dynamically and correlatively refreshing the internal micro-pictures or the internal micro-services or the external assembly pictures or the external assembly service which are correlatively established with the assembly picture or any theme micro-pictures or the theme micro-services in the assembly service by clicking the assembly picture or the theme micro-services;
if the name of an output parameter in the output parameter of one micro image or micro service is the same as the input parameter of another micro image or micro service, an association relationship can be established between the two micro images or micro services, the association relationship between the micro images or micro services comprises an internal association relationship and an external association relationship, the internal association relationship is an association relationship established inside one assembly image or assembly service, and the external association relationship is an association relationship established between the inside of one assembly image or assembly service and other micro images or micro services or other assembly images or assembly services.
4. The method of claim 3, wherein the inner associative relationship comprises a sibling association and the outer associative relationship comprises a subordinate drill-in relationship or an external associative relationship.
5. The method of claim 3, wherein S300 comprises: assembling any plurality of micro-pictures or micro-services to obtain an assembled picture or an assembled service; wherein, the parameter transmission relationship of each micro-portrait or micro-service is as follows:
assembling figures or parameters of the assembly service, and simultaneously influencing all the assembly figures or micro services in the assembly service;
if the internal correlation exists, the participation of one micro image or micro service influences the participation of other correlated internal micro images or micro services;
if the micro-image is externally associated, the participation of one micro-image or micro-service influences the input parameters of the external micro-image or micro-service or assembly image or assembly service;
after all the micro pictures or micro services or assembly pictures or assembly services receive the input parameters, the data and the display contents in the micro pictures or micro services or assembly pictures or assembly services are refreshed according to the latest input parameters.
6. The method of claim 3, wherein S400 comprises:
(1) defining a common variable within an assembly representation or assembly service:
the var initAllParams is used for initialization and conditional microportrait or microservice parameter transmission;
var publicicilnnerparams for internal association dynamic use;
the first time a page is opened, publiclnnerparams ═ initAllParams;
when a query button is clicked on the upper side of the whole interface, filtering all micro-pictures or micro-services by using an initAllParams parameter;
if any internal association operation occurs, only the publicInnerParams is updated, and once the query button is clicked, the publicInnerParams value is refreshed to initAllParams;
(2) defining a common parameter processing function inside the assembly image or the assembly service front end:
function publicHandleParams(param){};
the param format is: parameter value 1& 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 parameter with the same name by receiving a new parameter each time;
(3) defining a common initialization function inside the assembly picture or assembly service front end:
calling during initialization or when a query button is clicked;
if the assembly portrait or assembly service has a reference, the following setInitAllParams function is called:
function setInitAllParams(param){};
the param format is: parameter value 1& parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initAllParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameter with the same name by receiving a new parameter each time;
after the data in the conditional microportrait or the microservice is changed, setInitAllParams is called;
(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 value 1& parameter value 2& … & parameter name n;
whxid is the unique ID of the microimage or microservice, which tells the assembly image or assembly service which microimage or microservice called the function;
the function is responsible for transferring the new publicInnerParams to the micro-image or the micro-service which establishes the internal association relation, and does not contain the micro-image or the micro-service which is currently participating in operation;
the microimage or microserver refreshes itself upon receiving publicInnerParams.
7. The method of any of claims 3-6, further comprising:
s500, randomly distributing the assembly portrait or the assembly service to a workbench or randomly hanging the assembly portrait or the assembly service to other menus or functions of an application system of the product;
s600, each micro image or micro service is independently hung and displayed, wherein the condition micro image or the condition micro service is mainly used for displaying query conditions, the main micro image or the main micro service is mainly used for displaying various images, tables and characters, and the behavior micro image or the micro service is used for completing certain specific functional services.
8. A micro-portrait or micro-service application assembly system for use in the method of any one of claims 3-7, comprising:
the hooking module is used for hooking the existing microimage or microservice in the product and the newly developed microimage or microservice to an application system of the product for subsequent assembly of images or assembly service;
the input module is used for inputting corresponding entry 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 the micro service, wherein the content can be displayed on a terminal and comprises a map, a table and label data, and if one micro portrait or micro service needs to be associated with other micro portraits or micro services or is associated with other assembly micro portraits or micro services, the entry parameters of the associated micro portrait or micro service or other assembly portraits or assembly services are entered;
the assembling module is used for dragging each microimage or microservice required by a user to an assembling image or assembling service when the user needs to assemble the microimage or microservice, and establishing an incidence relation according to the matching of the input parameter and the output parameter of each microimage or microservice so as to realize the application assembling of the microimage or microservice;
the application module is used for refreshing all micro-pictures or micro-services in the assembly pictures by inputting parameters to the assembly pictures or the assembly services, the assembly pictures or the assembly services are set pictures or services used by end users, the whole assembly pictures or the assembly services are influenced by modifying the condition micro-pictures or the numerical values in the condition micro-services in the assembly pictures, and other micro-pictures in the interior or other micro-services in the interior or other assembly pictures or external assembly services with which the association relationship is established are refreshed in a dynamic association manner by clicking any theme micro-pictures or theme micro-services in the assembly pictures or the assembly services;
if the name of an output parameter in the output parameter of one micro image or micro service is the same as the input parameter of another micro image or micro service, an association relationship can be established between the two micro images or micro services, the association relationship between the micro images or micro services comprises an internal association relationship and an external association relationship, the internal association relationship is an association relationship established inside one assembly image or assembly service, and the external association relationship is an association relationship established between the inside of one assembly image or assembly service and other micro images or micro services or other assembly images or assembly services.
9. The system of claim 8, wherein the application module is specifically configured to:
(1) defining a common variable within an assembly representation or assembly service:
the var initAllParams is used for initialization and conditional microportrait or microservice parameter transmission;
var publicicilnnerparams for internal association dynamic use;
the first time a page is opened, publiclnnerparams ═ initAllParams;
when a query button is clicked on the upper side of the whole interface, filtering all micro-pictures or micro-services by using an initAllParams parameter;
if any internal association operation occurs, only the publicInnerParams is updated, and once the query button is clicked, the publicInnerParams value is refreshed to initAllParams;
(2) defining a common parameter processing function inside the assembly image or the assembly service front end:
function publicHandleParams(param){};
the param format is: parameter value 1& 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 parameter with the same name by receiving a new parameter each time;
(3) defining a common initialization function inside the assembly picture or assembly service front end:
calling during initialization or when a query button is clicked;
if the assembly portrait or assembly service has a reference, the following setInitAllParams function is called:
function setInitAllParams(param){};
the param format is: parameter value 1& parameter value 2& … & parameter name n;
the function is responsible for stitching these parameters to initAllParams;
ensuring that the parameter names are not repeated, and updating the latest value of the old parameter with the same name by receiving a new parameter each time;
after the data in the conditional microportrait or the microservice is changed, setInitAllParams is called;
(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 value 1& parameter value 2& … & parameter name n;
whxid is the unique ID of the microimage or microservice, which tells the assembly image or assembly service which microimage or microservice called the function;
the function is responsible for transferring the new publicInnerParams to the micro-image or the micro-service which establishes the internal association relation, and does not contain the micro-image or the micro-service which is currently participating in operation;
the microimage or microserver refreshes itself upon receiving publicInnerParams.
10. The system of claim 8, further comprising:
the release module is used for randomly releasing the assembly portrait or the assembly service to a workbench or randomly hanging the assembly portrait or the assembly service to other menus or functions of an application system of the product;
and the display module is used for independently hanging and displaying each microportrait or each microservice, wherein the conditional microportrait or each conditional microservice is mainly used for displaying query conditions, the main microportrait or the main microservice is mainly used for displaying various figures, tables and characters, and the behavior microportrait or each microservice 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 true CN113703757A (en) 2021-11-26
CN113703757B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114942856A (en) * 2022-07-22 2022-08-26 浙江中控技术股份有限公司 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

Cited By (1)

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

Also Published As

Publication number Publication date
CN113703757B (en) 2024-02-13

Similar Documents

Publication Publication Date Title
US11055473B2 (en) Dynamic message display method, server, and terminal
US8001476B2 (en) Cellular user interface
US5640565A (en) Business card system
US10789317B2 (en) Apparatus and user device for providing feedback effect about posts on social network services
CN1711750A (en) Method and system for conducting image processing from a mobile client device
US20140033018A1 (en) Method and system for automatically generating social network site page based on electronic document content
CN106780635A (en) The picture adapting method and system of a kind of intelligent terminal
CN102394866A (en) Methods for sharing data and applications in near-field communication network and near-field communication network
CN113703757A (en) Micro-image or micro-service and application assembly method and system thereof
Majumder et al. Transformative power of technologies: cultural transfer and globalization
KR20030054104A (en) Contents personalization method and apparatus by aggregating multiple profiles
WO2023083172A1 (en) Expression processing method and apparatus, and electronic device, storage medium, and product
AU2011239885A9 (en) So-called HD-Web method for high-definition and all-screen compatibile internet contents
CN110866014A (en) Standard index data access and display method
TW202029126A (en) Systems and methods for personalized banner generation and display
CN110119954B (en) Method and device for generating tracking order of surgical tool
KR20190006270A (en) art information providing systems
Smith et al. Power, inequality, change and uncertainty: Viewing the world through the development prism
CN113110904B (en) Display method and device
Mikkonen et al. A purpose-based typology for systemic features enabling value co-creation in consumer information systems
Ettlinger Space in Online Virtual Worlds
JP2012003347A (en) Information processing system, information processing method and information processing program
de Carvalho et al. Lovecraft, the Lovecraftian, and Adaptation: Problems of Philosophy and Practice
Schade et al. Smart Retail in Smart Cities
Baetens The Photoromance: A Feminist Reading of Popular Culture

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