CN109783155A - Service Component management method, device, electronic equipment and storage medium - Google Patents
Service Component management method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109783155A CN109783155A CN201811617526.9A CN201811617526A CN109783155A CN 109783155 A CN109783155 A CN 109783155A CN 201811617526 A CN201811617526 A CN 201811617526A CN 109783155 A CN109783155 A CN 109783155A
- Authority
- CN
- China
- Prior art keywords
- service component
- database
- management method
- component
- load
- 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.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 24
- 238000003860 storage Methods 0.000 title claims abstract description 20
- 238000004590 computer program Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010422 painting Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 230000014759 maintenance of location Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of Service Component management methods, are applied to computer field, comprising: configure to the pattern and data of infrastructure component, obtain Service Component, Service Component is saved to database, so as to load Service Component from database when user needs to load Service Component.The invention also discloses a kind of Service Component managing device, electronic equipment and storage medium, can the Service Component that has saved of quick obtaining, reduce configured number, improve working efficiency.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of Service Component management method, device, electronic equipment and
Storage medium.
Background technique
With the rapid development of computer technology, business scenario be will be used wider and wider.Wherein, business scenario is by industry
Business parts assembling forms.Thus how to be managed to Service Component is the key that improve business scenario usage experience.
But in the prior art, there was only infrastructure component when assembled business scenario, needed if necessary to identical Service Component
Repeatedly, work repeats and lacks flexibility for configuration.
Summary of the invention
The main purpose of the present invention is to provide a kind of Service Component management method, device, electronic equipment and storage medium,
To improve the flexibility of existing business assembly management.
To achieve the above object, first aspect of the embodiment of the present invention provides a kind of Service Component management method, comprising:
The pattern and data of infrastructure component are configured, Service Component is obtained;
The Service Component is saved to database, so that when user needs to load the Service Component, from the data
The Service Component is loaded in library.
Second aspect of the embodiment of the present invention provides a kind of Service Component management method device, comprising:
Configuration module, for infrastructure component pattern and data configure, obtain Service Component;
Preserving module, for saving the Service Component to database, so that when user needs to load the Service Component
When, the Service Component is loaded from the database.
The third aspect of the embodiment of the present invention provides a kind of electronic equipment, comprising:
Memory, processor and storage are on a memory and the computer program that can run on a processor, feature exist
In the processor realizes the Service Component management method that first aspect of the embodiment of the present invention provides when executing described program.
Fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey
Sequence realizes the Service Component manager that first aspect of the embodiment of the present invention provides when the computer program is executed by processor
Method.
From the embodiments of the present invention it is found that Service Component management method provided by the invention, device, electronic equipment and depositing
Storage media is configured by pattern to infrastructure component and data, obtains Service Component, saves Service Component to database,
It, can the service groups that have saved of quick obtaining so as to load Service Component from database when user needs to load Service Component
Part reduces configured number, improves working efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those skilled in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is the flow diagram for the Service Component management method that first embodiment of the invention provides;
Fig. 2 is the flow diagram for the Service Component management method that second embodiment of the invention provides;
Fig. 3 is the structural schematic diagram for the Service Component managing device that third embodiment of the invention provides;
Fig. 4 shows the hardware structure diagram of a kind of electronic equipment.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality
Applying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, those skilled in the art
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is the flow diagram for the Service Component management method that first embodiment of the invention provides, it should
Method can be applied in electronic equipment, electronic equipment include: mobile phone, tablet computer (Portable Android Device,
PAD), laptop and personal digital assistant (Personal Digital Assistant, PDA) etc., this method is main
The following steps are included:
S101, the pattern and data of infrastructure component are configured, obtains Service Component;
Infrastructure component can be, but not limited to include view container, basic content, list, navigation, multimedia, map and painting canvas
Deng seven types.
Service Component involved in the embodiment of the present invention includes at least resource file, program file, signature file, configures and say
Prescribed paper.Wherein, resource file includes configured picture, text etc..Program file is required when including Service Component operation
Program element.Configuration instruction file includes function description and the keyword of the Service Component.Signature file is then to be based on
Whole property tool signs to the integrality of the resource file of the Service Component, program file, configuration instruction file.
S102, Service Component is saved to database, so as to load from database when user needs to load Service Component
Service Component.
It can be reserved for multiple Service Component in database.Wherein, the quantity of the Service Component of load can also be with for one
It is multiple.To needing, the quantity work of Service Component to be loaded is specific not to be limited the embodiment of the present invention.
In embodiments of the present invention, it is configured by pattern to infrastructure component and data, obtains Service Component, saved
Service Component can be obtained quickly to database so as to load Service Component from database when user needs to load Service Component
The Service Component saved is taken, configured number is reduced, improves working efficiency.
Referring to Fig. 2, Fig. 2 is the flow diagram for the Service Component management method that another embodiment of the invention provides,
This method can be applied in electronic equipment, electronic equipment include: mobile phone, tablet computer (Portable Android Device,
PAD), laptop and personal digital assistant (Personal Digital Assistant, PDA) etc., this method is main
The following steps are included:
S201, the pattern and data of infrastructure component are configured, obtains Service Component;
Infrastructure component can be, but not limited to include view container, basic content, list, navigation, multimedia, map and painting canvas
Deng seven types.
The pattern of infrastructure component is configured, for example, to background color, background picture, text color, text size etc.
Pattern is configured.The data of infrastructure component are configured, for example, specified data source is in JSON interface data, VPN data
Or database data.
S202, Service Component is stored in JSON object;
JSON object can by javascript access attribute, therefore, can to the configured pattern of infrastructure component and
Data are deposited in JSON object.
S203, using AJAX interface form, Service Component is saved in database, so that when user needs to load Service Component
When, Service Component is loaded from database.
AJAX interface can allow javascript to send HTTP request, carry out communicating acquisition data and information with database.Cause
Service Component is stored in database using AJAX interface form by this.When user needs to load Service Component, pass through AJAX
Interface sends HTTP request by javascript and is communicated with database, obtains the configuration parameter of Service Component.
Wherein, the principle of AJAX technology is instantiation xmlhttp object, uses this object and database communication.
More, can the parameter of Service Component be modified or is deleted.
In embodiments of the present invention, it is configured by pattern to infrastructure component and data, obtains Service Component, saved
Service Component can be obtained quickly to database so as to load Service Component from database when user needs to load Service Component
The Service Component saved is taken, configured number is reduced, improves working efficiency.
Referring to Fig. 3, Fig. 3 is the structural schematic diagram for the Service Component managing device that further embodiment of this invention provides, it should
Service Component managing device is built-in in electronic equipment, the device mainly includes:
Configuration module 301 and preserving module 302.
Configuration module 301, for infrastructure component pattern and data configure, obtain Service Component.
Infrastructure component can be, but not limited to include view container, basic content, list, navigation, multimedia, map and painting canvas
Deng seven types.
Service Component involved in the embodiment of the present invention includes at least resource file, program file, signature file, configures and say
Prescribed paper.Wherein, resource file includes configured picture, text etc..Program file is required when including Service Component operation
Program element.Configuration instruction file includes function description and the keyword of the Service Component.Signature file is then to be based on
Whole property tool signs to the integrality of the resource file of the Service Component, program file, configuration instruction file.
It can be reserved for multiple Service Component in database.Wherein, the quantity of the Service Component of load can also be with for one
It is multiple.To needing, the quantity work of Service Component to be loaded is specific not to be limited the embodiment of the present invention.
Preserving module 302, for saving Service Component to database, so that when user needs to load Service Component, from
Service Component is loaded in database.
Further, the present apparatus further includes storage module, which is used to Service Component being stored in JSON object
In.JSON object can be by javascript access attribute, therefore, can be depositing to the configured pattern of infrastructure component and data
It is put in JSON object.
Further, using AJAX interface form, Service Component is saved in database, so that when user needs to load business
When component, Service Component is loaded from database.AJAX interface can allow javascript to send HTTP request, carry out with database
Communication obtains data and information.Therefore, using AJAX interface form, Service Component is stored in database.When user needs to add
When carrying Service Component, HTTP request is sent by javascript by AJAX interface and is communicated with database, service groups are obtained
The configuration parameter of part.
In embodiments of the present invention, it is configured by pattern to infrastructure component and data, obtains Service Component, saved
Service Component can be obtained quickly to database so as to load Service Component from database when user needs to load Service Component
The Service Component saved is taken, configured number is reduced, improves working efficiency.
Fig. 4 is referred to, Fig. 4 shows the hardware structure diagram of a kind of electronic equipment.
Electronic equipment as described in this embodiment, comprising:
Memory 41, processor 42 and it is stored in the computer program that can be run on memory 41 and on a processor, located
Reason device realizes Service Component management method described in 1~embodiment illustrated in fig. 2 of earlier figures when executing the program.
Further, the electronic equipment further include:
At least one input equipment 43;At least one output equipment 44.
Above-mentioned memory 41,42 input equipment 43 of processor and output equipment 44 are connected by bus 45.
Wherein, input equipment 43 concretely camera, touch panel, physical button or mouse etc..Output equipment
44 concretely display screens.
Memory 41 can be high random access memory body (RAM, Random Access Memory) memory, can also
For non-labile memory (non-volatile memory), such as magnetic disk storage.Memory 41 can for storing one group
Program code is executed, processor 42 is coupled with memory 41.
Further, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages
Medium can be in the terminal being set in the various embodiments described above, which can be shown in earlier figures 4
Memory in embodiment.It is stored with computer program on the computer readable storage medium, when which is executed by processor
Realize Service Component management method described in 1~embodiment illustrated in fig. 2 of earlier figures.Further, which can store Jie
Matter can also be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), the various media that can store program code such as magnetic or disk.
Further, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages
Medium can be in the terminal being set in the various embodiments described above, which can be shown in earlier figures 4
Memory in embodiment.It is stored with computer program on the computer readable storage medium, when which is executed by processor
Realize Service Component management method described in earlier figures 1 or embodiment illustrated in fig. 2.Further, which can store Jie
Matter can also be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), the various media that can store program code such as magnetic or disk.
In multiple embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, embodiments described above is only schematical, for example, the division of the module, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple module or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling or direct-coupling or communication linkage can be through some interfaces, the INDIRECT COUPLING or communication linkage of module can
To be electrically mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module
The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple
On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in a processing module
It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this hair
Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
The above are the description to Service Component management method, device, electronic equipment and storage medium provided by the present invention,
For those of ordinary skill in the art, thought according to an embodiment of the present invention, in specific embodiments and applications
It will change, to sum up, the contents of this specification are not to be construed as limiting the invention.
Claims (10)
1. a kind of Service Component management method characterized by comprising
The pattern and data of infrastructure component are configured, Service Component is obtained;
The Service Component is saved to database, so that when user needs to load the Service Component, from the database
Load the Service Component.
2. Service Component management method according to claim 1, which is characterized in that described to save the Service Component to number
Before library, comprising:
The Service Component is stored in JSON object.
3. Service Component management method according to claim 1 or 2, which is characterized in that described to save the Service Component
Include: to database
Using AJAX interface form, the Service Component is saved in the database.
4. Service Component management method according to claim 3, which is characterized in that described to load institute from the database
Stating Service Component includes:
From the database, the configuration parameter of the Service Component is obtained.
5. a kind of Service Component managing device characterized by comprising
Configuration module, for infrastructure component pattern and data configure, obtain Service Component;
Preserving module, for saving the Service Component to database, so that when user needs to load the Service Component, from
The Service Component is loaded in the database.
6. Service Component managing device according to claim 5, which is characterized in that described device further include:
Storage module, for the Service Component to be stored in JSON object.
7. Service Component managing device according to claim 5 or 6, which is characterized in that the preserving module is specifically used for
Using AJAX interface form, the Service Component is saved in the database.
8. Service Component managing device according to claim 7, which is characterized in that the preserving module also particularly useful for from
In the database, the configuration parameter of the Service Component is obtained.
9. a kind of electronic equipment, comprising: memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, which is characterized in that when the processor executes the computer program, realize any one of Claims 1-4 institute
The each step in Service Component management method stated.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
When being executed by processor, each step in Service Component management method described in any one of Claims 1-4 is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811617526.9A CN109783155A (en) | 2018-12-27 | 2018-12-27 | Service Component management method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811617526.9A CN109783155A (en) | 2018-12-27 | 2018-12-27 | Service Component management method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109783155A true CN109783155A (en) | 2019-05-21 |
Family
ID=66498599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811617526.9A Pending CN109783155A (en) | 2018-12-27 | 2018-12-27 | Service Component management method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109783155A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110727457A (en) * | 2019-08-30 | 2020-01-24 | 平安证券股份有限公司 | Component management method, device, storage medium and electronic equipment |
CN111708519A (en) * | 2020-06-12 | 2020-09-25 | 北京思特奇信息技术股份有限公司 | Business component processing method, device, equipment and storage medium |
CN113127586A (en) * | 2019-12-31 | 2021-07-16 | 中国移动通信集团上海有限公司 | Information display method, device, equipment and computer storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495735A (en) * | 2011-12-14 | 2012-06-13 | 方正国际软件有限公司 | Web end UI (user interface) component application frame system |
CN103677789A (en) * | 2012-09-25 | 2014-03-26 | 深圳市金正方科技有限公司 | Table data displaying method and system based on GRID assembly |
CN103870266A (en) * | 2012-12-12 | 2014-06-18 | 杭州新世纪电子科技有限公司 | Method and system for generating page |
CN107678745A (en) * | 2017-09-25 | 2018-02-09 | 南京中新赛克科技有限责任公司 | System and method based on page assembly |
-
2018
- 2018-12-27 CN CN201811617526.9A patent/CN109783155A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495735A (en) * | 2011-12-14 | 2012-06-13 | 方正国际软件有限公司 | Web end UI (user interface) component application frame system |
CN103677789A (en) * | 2012-09-25 | 2014-03-26 | 深圳市金正方科技有限公司 | Table data displaying method and system based on GRID assembly |
CN103870266A (en) * | 2012-12-12 | 2014-06-18 | 杭州新世纪电子科技有限公司 | Method and system for generating page |
CN107678745A (en) * | 2017-09-25 | 2018-02-09 | 南京中新赛克科技有限责任公司 | System and method based on page assembly |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110727457A (en) * | 2019-08-30 | 2020-01-24 | 平安证券股份有限公司 | Component management method, device, storage medium and electronic equipment |
CN113127586A (en) * | 2019-12-31 | 2021-07-16 | 中国移动通信集团上海有限公司 | Information display method, device, equipment and computer storage medium |
CN111708519A (en) * | 2020-06-12 | 2020-09-25 | 北京思特奇信息技术股份有限公司 | Business component processing method, device, equipment and storage medium |
CN111708519B (en) * | 2020-06-12 | 2023-08-18 | 北京思特奇信息技术股份有限公司 | Service component processing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7624349B2 (en) | Declarative definition enabling graphical designer reuse | |
CN102694861B (en) | A kind of terminal application software sorting technique, Apparatus and system based on cloud | |
KR101531834B1 (en) | System for Resource Management in Mobile Cloud computing and Method thereof | |
CN109783155A (en) | Service Component management method, device, electronic equipment and storage medium | |
US9280370B2 (en) | System structure management device, system structure management method, and program | |
CN109783757B (en) | Method, device and system for rendering webpage, storage medium and electronic device | |
CN108279882B (en) | Framework generation method, device, equipment and computer readable medium | |
CN114244717B (en) | Configuration method and device of virtual network card resources, computer equipment and medium | |
CN104516908A (en) | Database access method and device | |
CN107959582A (en) | A kind of management method and device of example of cutting into slices | |
US9697266B1 (en) | Management of computing system element migration | |
CN104461649B (en) | chip compatible method and device | |
CN103780686A (en) | Method and system for customizing application approval procedure in cloud organization | |
CN110245128A (en) | Method for building up and device, storage medium, the electronic device of meta-model | |
CN106325999A (en) | Method and device for distributing resources of host machine | |
CN108874808A (en) | A kind of page elements interlock method, device and server | |
US20190140894A1 (en) | System and method for enabling hybrid integration platform through runtime auto-scalable deployment model for varying integration | |
CN110858160A (en) | Resource scheduling method and device, storage medium and processor | |
CN110941634A (en) | Data processing method and device, storage medium and electronic device | |
CN106856441A (en) | VIM systems of selection and device in NFVO | |
CN111176838B (en) | Method and device for distributing embedded vector to node in bipartite graph | |
CN109783170A (en) | Business scenario assembling method, device, electronic equipment and storage medium | |
CN111831320A (en) | Plug-in management method and device, electronic equipment and storage medium | |
CN112162731B (en) | Data expansion method, device, storage medium and electronic device | |
US20150160815A1 (en) | Visualizing migration of a resource of a distributed computing environment |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100088 Building 3 332, 102, 28 Xinjiekouwai Street, Xicheng District, Beijing Applicant after: QAX Technology Group Inc. Address before: 100088 Building 3 332, 102, 28 Xinjiekouwai Street, Xicheng District, Beijing Applicant before: BEIJING QIANXIN TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190521 |