CN109885779A - Management subsystem method, apparatus, computer installation and storage medium - Google Patents
Management subsystem method, apparatus, computer installation and storage medium Download PDFInfo
- Publication number
- CN109885779A CN109885779A CN201910018373.4A CN201910018373A CN109885779A CN 109885779 A CN109885779 A CN 109885779A CN 201910018373 A CN201910018373 A CN 201910018373A CN 109885779 A CN109885779 A CN 109885779A
- Authority
- CN
- China
- Prior art keywords
- subsystem
- association requests
- interface
- gate system
- request
- 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
Links
- 238000009434 installation Methods 0.000 title claims abstract description 49
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000012546 transfer Methods 0.000 claims abstract description 21
- 230000015654 memory Effects 0.000 claims description 27
- TVEXGJYMHHTVKP-UHFFFAOYSA-N 6-oxabicyclo[3.2.1]oct-3-en-7-one Chemical compound C1C2C(=O)OC1C=CC2 TVEXGJYMHHTVKP-UHFFFAOYSA-N 0.000 claims 1
- 238000011161 development Methods 0.000 abstract description 6
- 238000007726 management method Methods 0.000 description 41
- 230000006870 function Effects 0.000 description 17
- 238000004891 communication Methods 0.000 description 9
- 230000005611 electricity Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000007774 longterm Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 241000700605 Viruses Species 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 229910052799 carbon Inorganic materials 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 210000004258 portal system Anatomy 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Abstract
The present invention provides a kind of management subsystem method, comprising: configures a middle converting interface for gate system;Wherein, gate system association requests transmitted by described at least one subsystem of transfer interface;The gate system parses the association requests, and obtains return value corresponding to the association requests;And the gate system calls the middle converting interface that acquired return value is returned at least one described subsystem with preset format.The present invention also provides device, computer installation and the storage mediums of realizing the management subsystem method.Multiple URL transfers, which may be implemented, using a middle converting interface in the present invention requests, and reduces the exploitation of subsystem repeatability, shortens the development cycle.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of management subsystem method, apparatus, computer installation and
Storage medium.
Background technique
Currently, developer need to carry out respectively exploitation configuration so that the multiple subsystem can to each subsystem in enterprise
With access interface service.However, such allocation plan will lead to the development of repeatability.In addition, also to walk multiple frameworks
Wall process is evaluated and opens, process is many and diverse.
Summary of the invention
In view of the foregoing, it is necessary to propose a kind of management subsystem method, apparatus, computer installation and storage medium,
To solve the technical issues of subsystem needs overlapping development.
The first aspect of the present invention provides a kind of management subsystem method, applied to the first computer including gate system
In device, which comprises
For the gate system configure a middle converting interface, wherein the gate system from the transfer interface to
Association requests transmitted by a few subsystem, at least one described subsystem are installed in second computer device, wherein institute
Stating middle converting interface is api interface;
The gate system parses the association requests, and obtains return value corresponding to the association requests;And
The gate system call the middle converting interface by acquired return value with preset format return to it is described extremely
A few subsystem.
Preferably, gate system correlation transmitted by from the transfer interface at least one described subsystem
After request, and the association requests are being parsed, and before obtaining return value corresponding to the association requests further include:
When receiving the association requests, one is shown at least one described subsystem and logins the page, it is described to login
The page is used to submit authentication information at least one described subsystem;
The authentication information is received, and at least one described subsystem is verified according to the received authentication information of institute
Identity, determine whether at least one described subsystem passes through authentication;
Wherein, when at least one described subsystem passes through authentication, the association requests are parsed;And
When at least one described subsystem is not over authentication, continue to show institute at least one described subsystem
It states and logins the page.
Preferably, the association requests carry the address URL and the URL parameter of interface to be visited, wherein the parsing institute
Association requests are stated, and obtains return value corresponding to the association requests and includes:
The received association requests of parsing, obtain the URL of interface to be visited from the association requests;And
Access the URL of the interface to be visited, and according to the URL parameter in the association requests from the interface to be visited
Obtain return value.
Preferably, the association requests carry the address URL of interface to be visited, but without carrying URL parameter,
In, the parsing association requests, and obtain return value corresponding to the association requests and include:
The notice for feeding back the URL parameter is sent at least one described subsystem;
Receive the URL parameter transmitted by least one described subsystem;And
The URL of the interface to be visited is accessed, and is obtained and is returned from the interface to be visited according to the received URL parameter of institute
Value.
Preferably, at least one described subsystem is multiple application systems that different times are developed respectively by different vendor,
The multiple application system is mutually independent.
Preferably, the type of the association requests includes POST request, GET request, PUT request, DELETE request, described
POST request is for updating resource information, and the GET request is for obtaining/query resource information, and the PUT request is for increasing
Resource information, the DELETE request is for deleting resource information.
Preferably, after acquired return value is returned at least one described subsystem by the gate system, further includes:
For at least one described subsystem request to create record, wherein the request record includes at least one described son
The time of system transmission association requests;
The request record is periodically obtained, and at least one described subsystem is calculated when default according to request record
The interior frequency for sending the association requests;And
When the frequency being calculated is greater than a preset value, issues and warn according to preset warning way.
Second aspect of the present invention provides a kind of computer installation, and the computer installation includes memory and processor, institute
It states memory and realizes the subsystem for executing at least one described instruction for storing at least one instruction, the processor
Management method.
Third aspect present invention provides a kind of computer readable storage medium, and the computer-readable recording medium storage has
At least one instruction, at least one described instruction realize the management subsystem method when being executed by processor.
Fourth aspect present invention provides a kind of management subsystem device, and described device includes:
Configuration module, for configuring a middle converting interface for the gate system of the first computer installation, wherein the portal
System association requests transmitted by described at least one subsystem of transfer interface, at least one described subsystem are installed on
In second computer device, wherein the middle converting interface is api interface;
Execution module parses the association requests for triggering the gate system, and it is right to obtain the association requests institute
The return value answered;And
The execution module, be also used to trigger the gate system call the middle converting interface by acquired return value with
Preset format returns at least one described subsystem.
Management subsystem method, apparatus, computer installation and storage medium described in the embodiment of the present invention, by for door
One middle converting interface of family system configuration, wherein the gate system is sent out from described at least one subsystem of transfer interface
The association requests sent;The gate system parses the association requests, and obtains return value corresponding to the association requests;And
The gate system calls the middle converting interface that acquired return value is returned at least one described son with preset format
System.Multiple URL transfers, which may be implemented, using a middle converting interface in the present invention requests, and reduces the exploitation of subsystem repeatability, shortens
Development cycle.
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
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is the application environment architecture diagram for the management subsystem method that the embodiment of the present invention one provides.
Fig. 2 is the flow chart of management subsystem method provided by Embodiment 2 of the present invention.
Fig. 3 is the structure chart for the management subsystem device that the embodiment of the present invention three provides.
Fig. 4 is the schematic diagram for the first computer installation that the embodiment of the present invention four provides.
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying example, the present invention will be described in detail.It should be noted that in the absence of conflict, the embodiment of the present invention and embodiment
In feature can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment one
As shown in fig.1, the application environment architecture diagram of the management subsystem method provided for the embodiment of the present invention one.
Management subsystem method of the present invention is applied to be filled in first computer installation and one or more second computers
It sets in constituted environment.For example, in the environment being made of the first computer installation 3 and at least one second computer device 4.
First computer installation 3 can be filled by any traditional cable network and/or wireless network and second computer
Set 4 communication connections.The cable network can be any type of traditional wire communication, such as internet, local area network.The nothing
Gauze network can for conventional wireless communication any type, such as radio, Wireless Fidelity (Wireless Fidelity,
WIFI), honeycomb, satellite, broadcast etc..Wireless communication technique may include, but be not limited to, global system for mobile communications (Global
System for Mobile Communications, GSM), General Packet Radio Service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (W-
CDMA), CDMA2000, IMT single carrier (IMT Single Carrier), enhanced data rates for gsm evolution (Enhanced
Data Rates for GSM Evolution, EDGE), it is Long Term Evolution (Long-Term Evolution, LTE), advanced
Long Term Evolution, time-division Long Term Evolution (Time-Division LTE, TD-LTE), high performance radio local area network
(High Performance Radio Local Area Network, HiperLAN), high performance radio wide area network (High
Performance Radio Wide Area Network, HiperWAN), local multiple spot distribute business (Local
Multipoint Distribution Service, LMDS), full micro-wave access global inter communication (Worldwide
Interoperability for Microwave Access, WiMAX), ZigBee protocol (ZigBee), bluetooth, orthogonal frequency division multiplexing
It is empty with technology (Flash Orthogonal Frequency-Division Multiplexing, Flash-OFDM), large capacity
Division multiple access (High Capacity Spatial Division Multiple Access, HC-SDMA), General Mobile electricity
Letter system (Universal Mobile Telecommunications System, UMTS), Universal Mobile Telecommunications System time-division
Duplexing (UMTS Time-Division Duplexing, UMTS-TDD), evolved high-speed packet access (Evolved High
Speed Packet Access, HSPA+), TD SDMA (Time Division Synchronous Code
Division Multiple Access, TD-SCDMA), evolution data optimization (Evolution-Data Optimized,
EV-DO), Digital Enhanced Cordless Communications (Digital Enhanced Cordless Telecommunications, DECT) and
Other.
In the present embodiment, first computer installation 3 can be portal server.The second computer device 4
It can be server generally in the art.
Embodiment two
Fig. 2 is the flow chart of management subsystem method provided by Embodiment 2 of the present invention.
In the present embodiment, the management subsystem method can be applied in the first computer installation, for need into
First computer installation of row management subsystem can directly integrate method of the invention on the first computer installation and be provided
The function for management subsystem, or with the shape of Software Development Kit (Software Development Kit, SDK)
Formula operates on the first computer installation.
As shown in Fig. 2, the management subsystem method specifically includes following steps, the process according to different requirements,
The sequence of step can change in figure, and certain steps can be omitted.
S1, the first computer installation are that gate system configures a middle converting interface.The gate system passes through the transfer
Association requests transmitted by least one subsystem in interface second computer device.
In one embodiment, the middle converting interface is api interface (Application Programming
Interface, application programming interface).
In one embodiment, at least one described subsystem can be different times developed respectively by different vendor it is more
A application system.The multiple application system is mutually independent.In one embodiment, the multiple application system can pacify
Loaded in the same second computer device, or it is separately mounted in different second computer devices.
In one embodiment, each subsystem at least one described subsystem has the subscriber authentication of oneself
Module and rights management policy.In the present embodiment, the gate system can be to every height at least one described subsystem
The user of system carries out unified management, achievees the purpose that single-sign-on, Unified Identity verifying.
In one embodiment, at least one described subsystem can be each operation system of enterprises.For example,
At least one subsystem includes, but are not limited to Human Resource Management System, email distribution and reception system, financial system of enterprise etc.
Deng.
The Human Resource Management System can be used for managing in-service employee, ex-employee, employee demission rate of enterprise etc..
The email distribution and reception system be used for for enterprise employee from each other receiving and dispatching mail realize information transmitting etc..
The financial system is for managing the data such as wages, company operation cost, the profit of enterprise staff.
In one embodiment, the type of association requests transmitted by least one described subsystem includes, but are not limited to
POST request, GET request, PUT request, DELETE request etc..The POST request can be used for updating resource information, GET
Request can be used for acquisition/query resource information, and the PUT request can be used for increasing resource information, the DELETE request
It can be used for deleting resource information.Generally, to the increasing of resource, delete, change, look into operation, can by POST request or
GET request is completed, it can does not need to use PUT request and DELETE request.
In the first embodiment, the association requests carry URL (the Uniform Resource of interface to be visited
Locator, uniform resource locator) address, URL parameter.
In a second embodiment, the association requests carry URL (the Uniform Resource of interface to be visited
Locator, uniform resource locator) address, but without carrying URL parameter.
S2, the gate system association requests transmitted by least one subsystem described in the transfer interface.
In one embodiment, the type of the association requests can be POST request, GET request, PUT request, or
Other kinds of request such as DELETE request.
When S3, the gate system receive the association requests, one is shown at least one described subsystem and is logined
The page, it is described login the page for supply at least one subsystem submission authentication information (such as username and password).
S4, the gate system from it is described login the page and receive the identity that at least one described subsystem is submitted test
Demonstrate,prove information, and verify the identity of at least one subsystem according to the received authentication information of institute, determine described in extremely
Whether a few subsystem passes through authentication.
If at least one described subsystem executes step S5 by authentication.If at least one described subsystem does not have
By authentication, step S3 is returned to, the gate system continues to login the page described in displaying at least one described subsystem.
It should be noted that in other embodiments, directly executing step S5 after S2 can also be executed the step.It does not wrap
Step S3-S4 is included, the identity of at least one subsystem is not verified.
S5, the gate system parse the association requests, and obtain return value corresponding to the association requests.
In the first embodiment, when the association requests carry the URL (UniformResource of interface to be visited
Locator, uniform resource locator) address and when URL parameter, the parsing association requests, and obtain the correlation and ask
The corresponding return value is asked to include:
(a1) the received association requests of parsing, obtain the URL of interface to be visited from the association requests.
(a2) URL of the interface to be visited is accessed, and according to the URL parameter in the association requests from described to be visited
Interface obtains return value.
In a second embodiment, it when the association requests carry the address URL of interface to be visited, but does not carry
When URL parameter, the parsing association requests, and obtain return value corresponding to the association requests and include:
(b1) notice for feeding back the URL parameter is sent at least one described subsystem.
Wherein, the URL parameter is sent to the portal when receiving the notice by least one described subsystem
System.
(b2) URL parameter transmitted by least one described subsystem is received.
(b3) URL of the interface to be visited is accessed, and is obtained according to the received URL parameter of institute from the interface to be visited
Return value.
It is described that S6, the gate system call the middle converting interface to return to acquired return value with preset format
At least one subsystem.At least one described subsystem is available to return value corresponding to the association requests as a result,.
In one embodiment, the preset format is JSON format.
It should be noted that occupied bandwidth is small, since JSON format is compression so as to preferably save server
Resource, less network latency accelerate network transfer speeds.
In other embodiments, the gate system also further,
(c1) when acquired return value is returned at least one described subsystem, at least one described subsystem
Request to create record.
In one embodiment, request record includes, but are not limited at least one described subsystem and sends correlation to ask
Time for asking, the time that return value is returned to at least one subsystem.In other embodiments, the request record is gone back
It may further include association requests transmitted by least one described subsystem and acquired with the association requests pair
The return value answered.
Specifically, the time that at least one described subsystem sends association requests, which can refer to, receives the association requests
The system time of the first computer installation of Shi Suoshu, the time that return value is returned at least one subsystem can be with
Refer to the system time of first computer installation when return value is returned at least one described subsystem.
(c2) the request record is periodically obtained, and at least one described subsystem is calculated pre- according to request record
If sending the frequency of the association requests in the time (such as 1 minute, 1 hour, half a day or one day).
(c3) judge whether frequency be calculated is greater than a preset value.Described in being greater than when the frequency being calculated
When preset value, issues and warn according to preset warning way.When the frequency being calculated is less than or equal to the preset value
When, then do not send out warning described.
It should be noted that issuing warning when the frequency being calculated is greater than the preset value, warning can be passed through
Prompt user, which detects the whether middle virus of at least one described subsystem, causes at least one described subsystem in the preset time
The interior frequency for sending the association requests is greater than the preset value.
In one embodiment, the preset warning way includes, but are not limited in first computer installation
It shows the pre-set information warning of screen display, send the information warning to preset terminal device.In conclusion this hair
Bright management subsystem method as described in the examples, by configuring a middle converting interface for gate system;The gate system from
Association requests transmitted by described at least one subsystem of transfer interface, parse the association requests, and obtain the phase
Close the corresponding return value of request;And the gate system calls the middle converting interface by acquired return value with preset lattice
Formula returns at least one described subsystem, and multiple URL transfers thus may be implemented using a middle converting interface and request, reduce son
The exploitation of system repeatability, shortens the development cycle.
Above-mentioned Fig. 2 describes management subsystem method of the invention in detail, below with reference to the 3rd~4 figure, to the realization son
The functional module of the software service of method for managing system and the hardware device framework progress for realizing the management subsystem method
It introduces.
It should be appreciated that the embodiment is only purposes of discussion, do not limited by this structure in patent claim.
Embodiment three
As shown in fig.3, being the structure chart for the management subsystem device that the embodiment of the present invention three provides.
In some embodiments, the management subsystem device 30 is run in the first computer installation.First meter
Calculation machine device is by being connected to the network second computer device.The management subsystem device 30 may include multiple by program generation
Functional module composed by code section.The program code of each program segment in the management subsystem device 30 can store in
In the memory of one computer installation, and as performed by least one processor of first computer installation, (in detail with realization
See that Fig. 2 is described) management subsystem function.
In the present embodiment, function of the management subsystem device 30 according to performed by it can be divided into multiple function
It can module.The functional module may include: configuration module 301, execution module 302.The so-called module of the present invention refers to one kind
Performed by least one processor and the series of computation machine program segment of fixed function can be completed, be stored in
In reservoir.In the present embodiment, it will be described in detail in subsequent embodiment about the function of each module.It should be noted that described
Management subsystem device 30 can also be integrated into a system with the gate system of first computer installation.
Configuration module 301 is that the gate system of the first computer installation configures a middle converting interface.The gate system is logical
Cross association requests transmitted by least one subsystem in the transfer interface second computer device.
In one embodiment, the middle converting interface is api interface (Application Programming
Interface, application programming interface).
In one embodiment, at least one described subsystem can be different times developed respectively by different vendor it is more
A application system.The multiple application system is mutually independent.In one embodiment, the multiple application system can pacify
Loaded in the same second computer device, or it is separately mounted in different second computer devices.
In one embodiment, each subsystem at least one described subsystem has the subscriber authentication of oneself
Module and rights management policy.In the present embodiment, the gate system can be to every height at least one described subsystem
The user of system carries out unified management, achievees the purpose that single-sign-on, Unified Identity verifying.
In one embodiment, at least one described subsystem can be each operation system of enterprises.For example,
At least one subsystem includes, but are not limited to Human Resource Management System, email distribution and reception system, financial system of enterprise etc.
Deng.
The Human Resource Management System can be used for managing in-service employee, ex-employee, employee demission rate of enterprise etc..
The email distribution and reception system be used for for enterprise employee from each other receiving and dispatching mail realize information transmitting etc..
The financial system is for managing the data such as wages, company operation cost, the profit of enterprise staff.
In one embodiment, the type of association requests transmitted by least one described subsystem includes, but are not limited to
POST request, GET request, PUT request, DELETE request etc..The POST request can be used for updating resource information, GET
Request can be used for acquisition/query resource information, and the PUT request can be used for increasing resource information, the DELETE request
It can be used for deleting resource information.Generally, to the increasing of resource, delete, change, look into operation, can by POST request or
GET request is completed, it can does not need to use PUT request and DELETE request.
In the first embodiment, the association requests carry URL (the Uniform Resource of interface to be visited
Locator, uniform resource locator) address, URL parameter.
In a second embodiment, the association requests carry URL (the Uniform Resource of interface to be visited
Locator, uniform resource locator) address, but without carrying URL parameter.
Gate system association requests transmitted by least one subsystem described in the transfer interface.
In one embodiment, the type of the association requests can be POST request, GET request, PUT request, or
Other kinds of request such as DELETE request.
Execution module 302 triggers the gate system to described when the gate system receives the association requests
At least one subsystem shows one and logins the page, and the page of logining is for testing at least one subsystem submission identity
It demonstrate,proves information (such as username and password).
Execution module 302 triggers the gate system and receives the authentication information, and is tested according to the received identity of institute
The identity of at least one subsystem described in Information Authentication is demonstrate,proved, determines whether at least one described subsystem passes through authentication.
If at least one described subsystem, by authentication, execution module 302 triggers described in the gate system parsing
Association requests, and obtain return value corresponding to the association requests.If at least one described subsystem is tested not over identity
Card, execution module 302 trigger the gate system and continue to login the page described in displaying at least one described subsystem.
It should be noted that in other embodiments, execution module 302 can also be in the gate system from the transfer
After association requests transmitted by interface at least one described subsystem, triggers the gate system parsing correlation and ask
It asks, and obtains return value corresponding to the association requests.The identity of at least one subsystem is not verified.
Execution module 302 triggers the gate system and parses the association requests, and obtains corresponding to the association requests
Return value.
In the first embodiment, when the association requests carry URL (the Uniform Resource of interface to be visited
Locator, uniform resource locator) address and when URL parameter, the parsing association requests, and obtain the correlation and ask
The corresponding return value is asked to include:
(a1) the received association requests of parsing, obtain the URL of interface to be visited from the association requests.
(a2) URL of the interface to be visited is accessed, and according to the URL parameter in the association requests from described to be visited
Interface obtains return value.
In a second embodiment, it when the association requests carry the address URL of interface to be visited, but does not carry
When URL parameter, the parsing association requests, and obtain return value corresponding to the association requests and include:
(b1) notice for feeding back the URL parameter is sent at least one described subsystem.
Wherein, the URL parameter is sent to the portal when receiving the notice by least one described subsystem
System.
(b2) URL parameter transmitted by least one described subsystem is received.
(b3) URL of the interface to be visited is accessed, and is obtained according to the received URL parameter of institute from the interface to be visited
Return value.
Execution module 302 triggers the gate system and calls the middle converting interface by acquired return value with preset lattice
Formula returns at least one described subsystem.At least one described subsystem is available right to the association requests institute as a result,
The return value answered.
In one embodiment, the preset format is JSON format.
It should be noted that occupied bandwidth is small, since JSON format is compression so as to preferably save server
Resource, less network latency accelerate network transfer speeds.
In other embodiments, execution module 302 also trigger the gate system further,
(c1) when acquired return value is returned at least one described subsystem, at least one described subsystem
Request to create record.
In one embodiment, request record includes, but are not limited at least one described subsystem and sends correlation to ask
Time for asking, the time that return value is returned to at least one subsystem.In other embodiments, the request record is gone back
It may further include association requests transmitted by least one described subsystem and acquired with the association requests pair
The return value answered.
Specifically, the time that at least one described subsystem sends association requests, which can refer to, receives the association requests
The system time of the first computer installation of Shi Suoshu, the time that return value is returned at least one subsystem can be with
Refer to the system time of first computer installation when return value is returned at least one described subsystem.
(c2) the request record is periodically obtained, and at least one described subsystem is calculated pre- according to request record
If sending the frequency of the association requests in the time (such as 1 minute, 1 hour, half a day or one day).
(c3) judge whether frequency be calculated is greater than a preset value.Described in being greater than when the frequency being calculated
When preset value, issues and warn according to preset warning way.When the frequency being calculated is less than or equal to the preset value
When, then do not send out warning described.
It should be noted that issuing warning when the frequency being calculated is greater than the preset value, warning can be passed through
Prompt user, which detects the whether middle virus of at least one described subsystem, causes at least one described subsystem in the preset time
The interior frequency for sending the association requests is greater than the preset value.
In one embodiment, the preset warning way includes, but are not limited in first computer installation
It shows the pre-set information warning of screen display, send the information warning to preset terminal device.
In conclusion management subsystem device described in the embodiment of the present invention, by being configured in one for gate system
Converting interface, wherein gate system association requests transmitted by described at least one subsystem of transfer interface;Parsing
The association requests, and obtain return value corresponding to the association requests;And the triggering gate system calls the transfer
Acquired return value is returned at least one described subsystem with preset format by interface, so that utilizing a middle converting interface
Multiple URL transfer requests may be implemented, reduce the exploitation of subsystem repeatability, shorten the development cycle.
Example IV
As shown in fig.4, the structural schematic diagram of the first computer installation provided for the embodiment of the present invention four.In the present invention
In preferred embodiment, first computer installation 3 is total including memory 31, the communication of at least one processor 32, at least one
Line 33 and gate system 34.It will be understood by a person skilled in the art that the structure of the first computer installation shown in Fig. 3 is not
The restriction for constituting the embodiment of the present invention, either bus topology, is also possible to star structure, first computer installation
3 can also include than illustrating other more or fewer hardware perhaps software or different component layouts.
In some embodiments, first computer installation 3 can be according to the finger for being previously set or storing including one kind
It enables, the automatic terminal for carrying out numerical value calculating and/or information processing, hardware includes but is not limited to microprocessor, dedicated integrated electricity
Road, programmable gate array, digital processing unit and embedded device etc..
It should be noted that first computer installation 3 is only for example, other electricity that are existing or being likely to occur from now on
Sub- product is such as adaptable to the present invention, should also be included within protection scope of the present invention, and is incorporated herein by reference.
In some embodiments, the memory 31 is used to store program code and various data, such as is mounted on described
Management subsystem device 30 in first computer installation 3, and in the operational process of the first computer installation 3 realize high speed,
It is automatically completed the access of program or data.The memory 31 include read-only memory (Read-Only Memory, ROM),
Random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-Only
Memory, PROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read-Only Memory,
EPROM), disposable programmable read-only memory (One-time Programmable Read-Only Memory, OTPROM), electricity
Sub- erasing type can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory,
EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, disk are deposited
Reservoir, magnetic tape storage or any other the computer-readable medium that can be used in carrying or storing data.
In some embodiments, at least one described processor 32 can be made of integrated circuit, such as can be by single
The integrated circuit of encapsulation is formed, and is also possible to be made of the integrated circuit that multiple identical functions or different function encapsulate, be wrapped
Include one or more central processing unit (Central Processing unit, CPU), microprocessor, digital processing chip,
The combination etc. of graphics processor and various control chips.At least one described processor 32 is first computer installation 3
Control core (Control Unit) is led to using all parts of entire first computer installation 3 of various interfaces and connection
It crosses operation or executes the program or module being stored in the memory 31, and call and be stored in the memory 31
Data to execute the various functions and processing data of the first computer installation 3, such as are executed in second computer device 4
The function of the management of subsystem.
In some embodiments, at least one communication bus 33 is arranged to realize the memory 31 and described
Connection communication between at least one processor 32 etc..
Although being not shown, first computer installation 3 can also include to all parts power power supply (such as electricity
Pond), it is preferred that power supply can be logically contiguous by electric power controller and at least one described processor 32, to pass through electricity
Source control device realizes the functions such as management charging, electric discharge and power managed.Power supply can also include one or more
Direct current or AC power source, recharging device, power failure detection circuit, power adapter or inverter, power supply status instruction
The random components such as device.First computer installation 3 can also include multiple sensors, bluetooth module, Wi-Fi module etc.,
This is repeated no more.
It should be appreciated that the embodiment is only purposes of discussion, do not limited by this structure in patent claim.
The above-mentioned integrated unit realized in the form of software function module, can store and computer-readable deposit at one
In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer
Device (can be server, PC etc.) or processor (processor) execute each embodiment the method for the present invention
Part.
In a further embodiment, in conjunction with Fig. 3, the first computer dress is can be performed at least one described processor 32
Set 3 operating device and the types of applications program (management subsystem device 30 as mentioned) of installation, program code etc., example
Such as, above-mentioned modules.
Program code is stored in the memory 31, and at least one described processor 32 can call the memory 31
The program code of middle storage is to execute relevant function.For example, modules described in Fig. 3 are stored in the memory 31
In program code, and as performed by least one described processor 32, to realize the function of the modules to reach
The purpose that the subsystem 41 of second computer device 4 is managed.
In one embodiment of the invention, the memory 31 stores multiple instruction, the multiple instruction by it is described extremely
The performed purpose managed with the subsystem 41 realized to second computer device 4 of a few processor 32.
Specifically, at least one described processor 32 can refer to the corresponding implementation of Fig. 2 to the concrete methods of realizing of above-metioned instruction
The description of correlation step in example, this will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed device, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module
It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
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 unit, it can and it is in one place, or may be distributed over multiple
In network unit.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 one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " is not excluded for other units or, odd number is not excluded for plural number.The multiple units stated in device claim
Or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to indicate name
Claim, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference
Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention
Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. a kind of management subsystem method, applied in the first computer installation including gate system, which is characterized in that described
Method includes:
A middle converting interface is configured for the gate system, wherein the gate system is from the transfer interface at least one
Association requests transmitted by a subsystem, at least one described subsystem are installed in second computer device, wherein in described
Converting interface is api interface;
The gate system parses the association requests, and obtains return value corresponding to the association requests;And
The gate system calls the middle converting interface that acquired return value is returned to described at least one with preset format
A subsystem.
2. management subsystem method as described in claim 1, which is characterized in that the gate system connects from the middle converting interface
After receiving association requests transmitted by least one described subsystem, and the association requests are being parsed, and described in acquisition
Before return value corresponding to association requests further include:
When receiving the association requests, one is shown at least one described subsystem and logins the page, it is described to login the page
For submitting authentication information at least one described subsystem;
Receive the authentication information, and according to received authentication information verify the body of at least one subsystem
Part, determine whether at least one described subsystem passes through authentication;
Wherein, when at least one described subsystem passes through authentication, the association requests are parsed;And
When at least one described subsystem is not over authentication, continue to step on described in displaying at least one described subsystem
Enter the page.
3. management subsystem method as described in claim 1, which is characterized in that the association requests carry interface to be visited
The address URL and URL parameter, wherein parsing association requests, and obtain return value corresponding to the association requests
Include:
The received association requests of parsing, obtain the URL of interface to be visited from the association requests;And
The URL of the interface to be visited is accessed, and is obtained according to the URL parameter in the association requests from the interface to be visited
Return value.
4. management subsystem method as described in claim 1, which is characterized in that the association requests carry interface to be visited
The address URL, but without carrying URL parameter, wherein parsing association requests, and obtain the association requests institute
Corresponding return value includes:
The notice for feeding back the URL parameter is sent at least one described subsystem;
Receive the URL parameter transmitted by least one described subsystem;And
The URL of the interface to be visited is accessed, and return value is obtained from the interface to be visited according to the received URL parameter of institute.
5. management subsystem method as described in claim 1, which is characterized in that at least one described subsystem is different times
The multiple application systems developed respectively by different vendor, the multiple application system are mutually independent.
6. management subsystem method as described in claim 1, which is characterized in that the type of the association requests includes that POST is asked
It asks, GET request, PUT request, DELETE request, the POST request is for updating resource information, and the GET request is for obtaining
/ query resource information is taken, the PUT request is for increasing resource information, and the DELETE request is for deleting resource information.
7. management subsystem method as described in claim 1, which is characterized in that the gate system is by acquired return value
After returning at least one described subsystem, further includes:
For at least one described subsystem request to create record, wherein the request record includes at least one described subsystem
Send the time of association requests;
The request record is periodically obtained, and at least one described subsystem is calculated within a preset time according to request record
Send the frequency of the association requests;And
When the frequency being calculated is greater than a preset value, issues and warn according to preset warning way.
8. a kind of computer installation, which is characterized in that the computer installation includes memory and processor, and the memory is used
In storing at least one instruction, the processor is realized for executing at least one described instruction as any in claim 1 to 7
One management subsystem method.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has at least one
Instruction, at least one described instruction realize the management subsystem as described in any one of claim 1 to 7 when being executed by processor
Method.
10. a kind of management subsystem device, which is characterized in that described device includes:
Configuration module, for configuring a middle converting interface for the gate system of the first computer installation, wherein the gate system
The association requests transmitted by described at least one subsystem of transfer interface, at least one described subsystem are installed on second
In computer installation, wherein the middle converting interface is api interface;
Execution module parses the association requests for triggering the gate system, and obtains corresponding to the association requests
Return value;And
The execution module is also used to trigger the gate system and calls the middle converting interface by acquired return value with default
Format return at least one described subsystem.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910018373.4A CN109885779B (en) | 2019-01-09 | 2019-01-09 | Subsystem management method, device, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910018373.4A CN109885779B (en) | 2019-01-09 | 2019-01-09 | Subsystem management method, device, computer device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109885779A true CN109885779A (en) | 2019-06-14 |
CN109885779B CN109885779B (en) | 2024-04-02 |
Family
ID=66925771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910018373.4A Active CN109885779B (en) | 2019-01-09 | 2019-01-09 | Subsystem management method, device, computer device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109885779B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324780A (en) * | 2020-02-28 | 2020-06-23 | 北京三快在线科技有限公司 | Storage method, transmission method, device and storage medium of product data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005033351A (en) * | 2003-07-09 | 2005-02-03 | Hitachi Information Technology Co Ltd | Packet relaying apparatus |
US7111086B1 (en) * | 2002-02-22 | 2006-09-19 | Vmware, Inc. | High-speed packet transfer in computer systems with multiple interfaces |
CN101931715A (en) * | 2009-06-19 | 2010-12-29 | 中兴通讯股份有限公司 | Customer service system and cross-platform monitoring method therein |
CN106210099A (en) * | 2016-07-18 | 2016-12-07 | 珠海格力电器股份有限公司 | Data handling system and method |
CN108243183A (en) * | 2017-12-20 | 2018-07-03 | 北京车和家信息技术有限公司 | Integrated control method, system and the computer equipment of gate system |
CN108717435A (en) * | 2018-05-16 | 2018-10-30 | 腾讯科技(深圳)有限公司 | Webpage loading method, information processing method, computer equipment and storage medium |
-
2019
- 2019-01-09 CN CN201910018373.4A patent/CN109885779B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7111086B1 (en) * | 2002-02-22 | 2006-09-19 | Vmware, Inc. | High-speed packet transfer in computer systems with multiple interfaces |
JP2005033351A (en) * | 2003-07-09 | 2005-02-03 | Hitachi Information Technology Co Ltd | Packet relaying apparatus |
CN101931715A (en) * | 2009-06-19 | 2010-12-29 | 中兴通讯股份有限公司 | Customer service system and cross-platform monitoring method therein |
CN106210099A (en) * | 2016-07-18 | 2016-12-07 | 珠海格力电器股份有限公司 | Data handling system and method |
CN108243183A (en) * | 2017-12-20 | 2018-07-03 | 北京车和家信息技术有限公司 | Integrated control method, system and the computer equipment of gate system |
CN108717435A (en) * | 2018-05-16 | 2018-10-30 | 腾讯科技(深圳)有限公司 | Webpage loading method, information processing method, computer equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324780A (en) * | 2020-02-28 | 2020-06-23 | 北京三快在线科技有限公司 | Storage method, transmission method, device and storage medium of product data |
Also Published As
Publication number | Publication date |
---|---|
CN109885779B (en) | 2024-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110476402B (en) | Method, device and communication system for creating network slice | |
US10412021B2 (en) | Optimizing placement of virtual machines | |
CN108370341B (en) | Resource allocation method, virtual network function manager and network element management system | |
CN109845303B (en) | Management method and management unit for network slices | |
US20170070599A1 (en) | Client-initiated leader election in distributed client-server systems | |
CN109327490B (en) | Method and server for deploying cloud service component | |
CN109710340A (en) | Software tool call method and device, software tool packaging method and device | |
CN108108252B (en) | Global unique ID generation method, system and storage medium | |
CN107959582A (en) | A kind of management method and device of example of cutting into slices | |
CN109660421A (en) | Method, apparatus, server and the storage medium of flexible scheduling resource | |
CN107944000A (en) | Flight freight rate update method, device, electronic equipment, storage medium | |
CN109614227A (en) | Task resource concocting method, device, electronic equipment and computer-readable medium | |
CN110324403A (en) | Dynamic divides library method for routing, device, server and storage medium | |
WO2023045552A1 (en) | Service deployment method, service deployment system, electronic device, and storage medium | |
CN109815712A (en) | User right management-control method, device, computer installation and readable storage medium storing program for executing | |
CN107025146A (en) | A kind of document generating method, device and system | |
CN107615711A (en) | System for event propagation | |
CN109885779A (en) | Management subsystem method, apparatus, computer installation and storage medium | |
CN113986539A (en) | Method, device, electronic equipment and readable storage medium for realizing pod fixed IP | |
CN110430142A (en) | Method and apparatus for controlling flow | |
CN108702300A (en) | Polymerization notice service based on cloud | |
CN109634630A (en) | Application program update method, apparatus, electronic equipment and storage medium | |
CN116325705A (en) | Managing task flows in an edge computing environment | |
CN109710447A (en) | For the method, apparatus of data access, medium and calculate equipment | |
CN109144884A (en) | Program error localization method, device and computer readable storage medium |
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 |