CN112327719A - Method and system for realizing platform unified application interface library in intelligent park - Google Patents

Method and system for realizing platform unified application interface library in intelligent park Download PDF

Info

Publication number
CN112327719A
CN112327719A CN202011307550.XA CN202011307550A CN112327719A CN 112327719 A CN112327719 A CN 112327719A CN 202011307550 A CN202011307550 A CN 202011307550A CN 112327719 A CN112327719 A CN 112327719A
Authority
CN
China
Prior art keywords
service
application system
dag
interface
client application
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
CN202011307550.XA
Other languages
Chinese (zh)
Other versions
CN112327719B (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.)
Shandong High Speed Information Group Co Ltd
Original Assignee
Shandong High Speed Information Group 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 Shandong High Speed Information Group Co Ltd filed Critical Shandong High Speed Information Group Co Ltd
Priority to CN202011307550.XA priority Critical patent/CN112327719B/en
Publication of CN112327719A publication Critical patent/CN112327719A/en
Application granted granted Critical
Publication of CN112327719B publication Critical patent/CN112327719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24024Safety, surveillance

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method for realizing a unified application interface library of a central station in an intelligent park, and relates to the technical field of computers. The method comprises the following steps: establishing standard specifications for each application system, and expressing the standard specifications in a universal interface mode; then, implementing a universal interface based on the standard specification of an interface bus; and then the client application system calls and sends the service request through an interface, the service application system carries out service linkage processing in a mode of collaboratively arranging DAG, and the calling result is fed back to the client application system. The invention adopts the service scheduling center system which operates independently, receives the service request, the data request and the event request sent by the client application system through the service cooperative scheduling arrangement, and improves the service linkage effect and the concurrent access efficiency.

Description

Method and system for realizing platform unified application interface library in intelligent park
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method and a system for realizing a unified application interface library of a central station in an intelligent park.
Background
In the process of mutual access of the application systems of the intelligent park, for concurrent requests sent by the client application systems, the processing mode of the service application system is generally to put the client application system requests into a cache queue and sequentially poll the client application system requests according to the sequence. This manner of responding to customer service system requests has the disadvantage of not being able to efficiently process complex customer application system requests, especially when there are dependencies between multiple requests, such as a request that must result in its predecessor having been successfully executed or no predecessor, in which case the efficiency of processing the customer service system request is severely compromised.
Based on the defects in the prior art, the invention provides a method and a system for realizing a unified application interface library of a central station of an intelligent park, the unified application interface library is formulated, the request processing of a client application system is effectively organized through business collaborative scheduling and arrangement, and the concurrent access efficiency is improved.
Disclosure of Invention
The embodiment of the invention provides a method and a system for realizing a platform unified application interface library in an intelligent park, which effectively process the request of a client application system through a DAG (demand oriented architecture) collaborative arrangement and analysis mechanism and improve the service linkage effect and concurrent access efficiency.
In order to achieve the purpose, the invention discloses the following technical scheme:
in one aspect, the invention provides a method for implementing a unified application interface library of a central station of an intelligent park, which comprises the following steps:
establishing standard specifications of each application system, and expressing the standard specifications in a universal interface mode;
realizing a universal interface based on the standard specification of an interface bus;
the client application system calls and sends the service request through the interface, the service application system carries out service linkage processing in a mode of collaboratively arranging DAG, and the calling result is fed back to the client application system.
Based on the scheme, the method is optimized as follows:
further, the service application system performs service linkage processing in a mode of collaboratively arranging a DAG, and comprises the following steps:
coordinating and arranging DAG and carrying out DAG analysis;
it is determined whether there is a next node for the DAG,
if so, performing drive calling;
if not, the calling result information is fed back.
Based on the above steps, further, if there is a next node in the DAG, the driving call is performed, including:
firstly, judging an interface service driving queue based on information which is transmitted by a client application system and contains equipment types and equipment numbers;
then the service request is sent to an interface service driving queue cluster, and further sent to a sub-service cluster corresponding to the service driving queue cluster;
and then, completing drive calling by each hardware device or application system, analyzing the running program through DAG, and feeding back the generated result to the client application system.
Further, before the client application system sends the service request through the interface call, the method further includes the following steps:
the service application system establishes a service system based on the queue, and is used for receiving the request which is sent by the client application system and contains data and service and issuing corresponding events.
On the other hand, the invention provides a system for realizing a unified application interface library of a central station of an intelligent park, which comprises the steps of firstly establishing a standard specification of each application system, expressing the standard specification in a universal interface mode, and dividing each application system into a client application system and a service application system according to the active and passive relation of a data request;
the client application system sends a service request to the service application system through interface calling and receives calling result information returned by the service application system;
and the service application system receives the service request sent by the client application system, then carries out service linkage processing in a mode of collaboratively arranging DAG, and feeds back the calling result information to the client application system.
Based on the system, the service application system carries out service linkage processing in a mode of collaboratively arranging DAG, and specifically comprises the following steps: coordinating and arranging DAG and carrying out DAG analysis; judging whether the DAG has a next node or not, if so, carrying out drive calling; and if not, feeding back the calling result information to the client application system.
Further, the service application system performs a drive call, and specifically includes: determining an interface service driving queue based on information which is transmitted by a client application system and contains equipment types and equipment numbers; the service application system sends the service request to the interface service driving queue cluster and further sends the service request to a sub-service cluster corresponding to the service driving queue cluster; and each hardware device or application system completes drive calling, analyzes the running program through the DAG and feeds back the generated result to the client application system.
Furthermore, the service application system is also used for establishing a service system based on the queue, and is used for receiving a request which is sent by the client application system and contains data and service, and issuing a corresponding event.
The effect provided in the summary of the invention is only the effect of the embodiment, not all the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
the implementation method of the unified application interface library of the intelligent park comprises the steps of establishing standard specifications for each application system, and expressing the standard specifications in a universal interface mode; then, implementing a universal interface based on the standard specification of an interface bus; and then the client application system calls and sends the service request through an interface, the service application system carries out service linkage processing in a mode of collaboratively arranging DAG, and the calling result is fed back to the client application system. The invention adopts an independently operated service scheduling center system, receives the service request, the data request and the event request sent by the client application system through the service cooperative scheduling arrangement, and improves the service linkage effect and the concurrent access efficiency; in addition, the method is more suitable for landing of a park application scene on the basis of interconnection and intercommunication application, promotes linkage development of park services, and improves service linkage of the smart park and the fusion characteristic of the whole service.
The system for realizing the unified application interface library of the intelligent park radio station can realize the method of the first aspect and obtain the same effect.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flowchart of an embodiment of a method for implementing a unified application interface library for a central office of an intelligent park according to the present disclosure;
FIG. 2 is a flowchart illustrating another embodiment of a method for implementing a unified application interface library for stations in an intelligent park according to the present application;
FIG. 3 is a schematic diagram of a system for implementing a unified application interface library in an intelligent park according to an embodiment of the present disclosure;
reference numerals:
1-client application system, 2-service application system, 21-interface service driven queue cluster, 22-sub-service cluster.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
To facilitate an understanding of the embodiments, abbreviations and key terms referred to in the embodiments are explained and illustrated below.
A DAG: direct Acyclic Graph, Directed Acyclic Graph.
FIG. 1 is a flowchart illustrating an embodiment of a method for implementing a unified application interface library in an intelligent park.
Referring to fig. 1, the method of this embodiment includes the steps of:
establishing standard specifications of each application system, including specifications of services, data and events, and expressing the standard specifications in a universal interface mode;
realizing a universal interface based on the standard specification of an interface bus;
the client application system calls and sends the service request through the interface, the service application system carries out service linkage processing in a mode of collaboratively arranging DAG, and the calling result is fed back to the client application system.
Specifically, in the implementation method, the service application system performs service linkage processing in a manner of cooperatively arranging a DAG, and includes the following steps:
coordinating and arranging DAG and carrying out DAG analysis;
it is determined whether there is a next node for the DAG,
if so, performing drive calling;
if not, the calling result information is fed back.
Further, if the DAG has a next node, the method performs a drive call, including the following steps:
firstly, judging an interface service driving queue based on information which is transmitted by a client application system and contains equipment types and equipment numbers;
then the service request is sent to an interface service driving queue cluster, and further sent to a sub-service cluster corresponding to the service driving queue cluster;
and then, completing drive calling by each hardware device or application system, analyzing the running program through DAG, and feeding back the generated result to the client application system.
Before the client application system sends a service request through interface call, the method for implementing the unified application interface library of the intelligent park comprises the following steps:
the service application system establishes a service system based on the queue, and is used for receiving the request which is sent by the client application system and contains data and service and issuing corresponding events.
Fig. 2 is a flowchart illustrating an implementation method of a unified application interface library in an intelligent park according to another embodiment of the present disclosure.
Referring to fig. 2, the method of this embodiment is described by taking an intelligent campus client guest system as an example, and the implementation process is as follows:
establishing standard specifications of a visitor system, including specifications of services, data and events, and expressing the standard specifications in a universal interface mode;
the visitor system inputs important client information of the meeting in advance;
after the important client arrives at the park, the parking system or the access control system recognizes the client information, the visitor system submits a meeting important client arrival instruction and transmits a meeting client identification mark to the interface bus;
an interface bus orchestration DAG (directed acyclic graph) comprising: the client achieves the reminding reception- > VIP ladder control- > meeting room conference room intelligent door opening- > meeting room conference room intelligent regulation illumination brightness and temperature and humidity conditions;
performing DAG analysis operation, judging whether the DAG has a next node or not,
if not, analyzing the running program through the DAG, and feeding back the running result to the guest receiving system;
if yes, driving and calling are carried out, and the method comprises the following steps:
judging an interface service driving queue according to the equipment type and the equipment number, sending the service request to an interface service driving queue cluster (MQ), and further sending the service request to a sub-service cluster corresponding to the service driving queue cluster;
the system provides the following services: (ii) a 1. Pushing the arrival information of the important client to the mobile phone of the person in charge of reception in the park; 2. a linkage elevator control system is realized, and a special VIP elevator is appointed to arrive at an appointed floor for waiting; 3. the intelligent access control of the appointed meeting room is opened; 4. and the appointed meeting room realizes the adjustment of the brightness of lamplight, the position of a curtain, the temperature and humidity of an air conditioner and the like in a linkage manner according to the current environment.
And completing the drive calling, analyzing the operation program through the DAG, and feeding back the operation result to the guest receiving system.
Fig. 3 is a schematic structural diagram of an implementation system of a unified application interface library in an intelligent park according to an embodiment of the present application.
Referring to fig. 3, a system for implementing a unified application interface library of a central station of an intelligent park establishes a standard specification of each application system, and expresses the standard specification in a universal interface mode, and each application system is divided into a client application system 1 and a service application system 2 according to an active and passive relationship of a data request;
the client application system 1 sends a service request to the service application system through interface calling and receives calling result information returned by the service application system;
and the service application system 2 receives the service request sent by the client application system, then carries out service linkage processing in a mode of collaboratively arranging DAG, and feeds back the calling result information to the client application system.
Specifically, in the system, the service application system 2 performs service linkage processing in a manner of cooperatively arranging a DAG, and specifically includes: coordinating and arranging DAG and carrying out DAG analysis; judging whether the DAG has a next node or not, if so, carrying out drive calling; if not, the calling result information is fed back to the client application system 1.
More specifically, the service application system 2 performs a drive call, and specifically includes: determining an interface service driving queue based on the information which is transmitted by the client application system 1 and contains the equipment type and the equipment number; the service application system 2 sends the service request to the interface service driving queue cluster 21, and further sends the service request to a sub-service cluster 22 corresponding to the service driving queue cluster; and each hardware device or application system completes the drive call, analyzes the running program through the DAG and feeds back the generated result to the client application system 1.
The system for implementing the unified application interface library of the intelligent park comprises a platform, a database. The service application system 2 is further configured to establish a service system based on the queue, and is configured to receive a request sent by the client application system 1 about data and service, and issue a corresponding event.
According to the method and the system for realizing the unified application interface library of the intelligent park, which are provided by the embodiment of the application, the request processing of the client application system is effectively organized based on the client application system request processing mechanism of DAG collaborative arrangement through DAG collaborative arrangement, DAG analysis and other technical means, and the business linkage effect and the concurrent access efficiency are improved.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method for realizing a unified application interface library of a central station in an intelligent park is characterized by comprising the following steps:
establishing standard specifications of each application system, and expressing the standard specifications in a universal interface mode;
realizing a universal interface based on the standard specification of an interface bus;
the client application system calls and sends the service request through the interface, the service application system carries out service linkage processing in a mode of collaboratively arranging DAG, and the calling result is fed back to the client application system.
2. The method as claimed in claim 1, wherein the service application system performs the service linkage processing by means of the coordinated orchestration DAG, and comprises the following steps:
coordinating and arranging DAG and carrying out DAG analysis;
it is determined whether there is a next node for the DAG,
if so, performing drive calling;
if not, the calling result information is fed back.
3. The method as claimed in claim 2, wherein the step of making the driver call if there is a next node in the DAG comprises the steps of:
firstly, judging an interface service driving queue based on information which is transmitted by a client application system and contains equipment types and equipment numbers;
then the service request is sent to an interface service driving queue cluster, and further sent to a sub-service cluster corresponding to the service driving queue cluster;
and then, completing drive calling by each hardware device or application system, analyzing the running program through DAG, and feeding back the generated result to the client application system.
4. The method as claimed in claim 1, wherein before the client application system sends the service request through the interface call, the method further comprises the following steps:
the service application system establishes a service system based on the queue, and is used for receiving the request which is sent by the client application system and contains data and service and issuing corresponding events.
5. A realization system of a unified application interface library of a smart park is characterized in that standard specifications of all application systems are established and expressed in a universal interface mode, and all the application systems are divided into client application systems and service application systems according to the active and passive relations of data requests;
the client application system sends a service request to the service application system through interface calling and receives calling result information returned by the service application system;
and the service application system receives the service request sent by the client application system, then carries out service linkage processing in a mode of collaboratively arranging DAG, and feeds back the calling result information to the client application system.
6. The system of claim 5, wherein the service application system performs the service linkage processing by coordinating the arrangement of DAG, and comprises: coordinating and arranging DAG and carrying out DAG analysis; judging whether the DAG has a next node or not, if so, carrying out drive calling; and if not, feeding back the calling result information to the client application system.
7. The system of claim 6, wherein the service application system performs a driver call, and comprises: determining an interface service driving queue based on information which is transmitted by a client application system and contains equipment types and equipment numbers; the service application system sends the service request to the interface service driving queue cluster and further sends the service request to a sub-service cluster corresponding to the service driving queue cluster; and each hardware device or application system completes drive calling, analyzes the running program through the DAG and feeds back the generated result to the client application system.
8. The system of claim 5, wherein the service application system is further configured to establish a service framework based on the queue, for receiving a request sent by the client application system about the application system including data and services, and issuing a corresponding event.
CN202011307550.XA 2020-11-19 2020-11-19 Method and system for realizing unified application interface library of intelligent park central station Active CN112327719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011307550.XA CN112327719B (en) 2020-11-19 2020-11-19 Method and system for realizing unified application interface library of intelligent park central station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011307550.XA CN112327719B (en) 2020-11-19 2020-11-19 Method and system for realizing unified application interface library of intelligent park central station

Publications (2)

Publication Number Publication Date
CN112327719A true CN112327719A (en) 2021-02-05
CN112327719B CN112327719B (en) 2022-10-25

Family

ID=74321405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011307550.XA Active CN112327719B (en) 2020-11-19 2020-11-19 Method and system for realizing unified application interface library of intelligent park central station

Country Status (1)

Country Link
CN (1) CN112327719B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150278395A1 (en) * 2014-03-26 2015-10-01 Software Ag Method and system for transitive traversal service discovery
CN105893156A (en) * 2016-04-20 2016-08-24 北京云宏信达信息科技有限公司 Request processing method of storage and computing system and storage and computing system
CN108737168A (en) * 2018-05-08 2018-11-02 深圳大学 A kind of micro services framework applications method for auto constructing based on container
CN108880887A (en) * 2018-06-20 2018-11-23 山东大学 Accompany and attend to robot cloud service system and method based on micro services
US20190394259A1 (en) * 2017-03-17 2019-12-26 Oracle International Corporation Integrating logic in micro batch based event processing systems
CN110727834A (en) * 2019-09-30 2020-01-24 北京百度网讯科技有限公司 Directed acyclic graph acquisition method and device, electronic equipment and storage medium
CN110888721A (en) * 2019-10-15 2020-03-17 平安科技(深圳)有限公司 Task scheduling method and related device
CN111045791A (en) * 2019-12-16 2020-04-21 武汉智领云科技有限公司 Big data containerization central scheduling system and method
CN111147555A (en) * 2019-12-13 2020-05-12 苏州博纳讯动软件有限公司 Heterogeneous resource mixed arrangement method
CN111324965A (en) * 2020-03-04 2020-06-23 杭州群核信息技术有限公司 Cloud-based universal parameterized model analysis method and design system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150278395A1 (en) * 2014-03-26 2015-10-01 Software Ag Method and system for transitive traversal service discovery
CN105893156A (en) * 2016-04-20 2016-08-24 北京云宏信达信息科技有限公司 Request processing method of storage and computing system and storage and computing system
US20190394259A1 (en) * 2017-03-17 2019-12-26 Oracle International Corporation Integrating logic in micro batch based event processing systems
CN108737168A (en) * 2018-05-08 2018-11-02 深圳大学 A kind of micro services framework applications method for auto constructing based on container
CN108880887A (en) * 2018-06-20 2018-11-23 山东大学 Accompany and attend to robot cloud service system and method based on micro services
CN110727834A (en) * 2019-09-30 2020-01-24 北京百度网讯科技有限公司 Directed acyclic graph acquisition method and device, electronic equipment and storage medium
CN110888721A (en) * 2019-10-15 2020-03-17 平安科技(深圳)有限公司 Task scheduling method and related device
CN111147555A (en) * 2019-12-13 2020-05-12 苏州博纳讯动软件有限公司 Heterogeneous resource mixed arrangement method
CN111045791A (en) * 2019-12-16 2020-04-21 武汉智领云科技有限公司 Big data containerization central scheduling system and method
CN111324965A (en) * 2020-03-04 2020-06-23 杭州群核信息技术有限公司 Cloud-based universal parameterized model analysis method and design system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
康磊: "《高等学校电子信息类专业"十三五"规划教材 计算机组成原理 基于MIPS结构》", 30 June 2019 *

Also Published As

Publication number Publication date
CN112327719B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN109095297B (en) Ladder taking method, intelligent device and cloud server
EP3536647B1 (en) Authorization management and authorization request of elevator service request
CN110825535B (en) Job scheduling method and system
CN111311116B (en) Intelligent park-based vehicle scheduling method, device, equipment and storage medium
CN102012808B (en) SOA-based expansible distributed type framework under cloud computing condition
EP3806013A1 (en) Method and apparatus for carrying shelf
WO2022134497A1 (en) Method and system for real-time pickup and delivery of robot on the basis of stations
CN112332997B (en) Distribution network method of terminal equipment, terminal equipment and computer readable storage medium
CN108833471A (en) Internet of things service processing method, things-internet gateway and Internet of Things
CN109110592A (en) Elevator, server, smart machine and its boarding method
US20210149390A1 (en) Allocating an elevator car or an autonomous vehicle
CN110377369A (en) A kind of method, equipment and computer storage medium running small routine
CN100544507C (en) Realize the method for roaming control and roam charge in a kind of group system
CN112327719B (en) Method and system for realizing unified application interface library of intelligent park central station
CN108833167B (en) Communication optimization system and method based on edge calculation
CN110995668A (en) FC network communication device and method applied to ARINC653 operating system partition
CN107896242A (en) One kind service sharing method and device
CN116468224A (en) Intelligent rail transit calling system method and system
CN115402890A (en) Elevator dispatching method, device, electronic equipment and medium
CN113761085B (en) Method and device for processing order data
CN111680860B (en) Deterministic cross online matching method in space-time crowdsourcing platform
CN104361476A (en) Online account opening order processing method and system
CN109669793A (en) Object calling method in middleware process
Tariq et al. AI-enabled energy-efficient fog computing for Internet of Vehicles
CN112950153B (en) Centralized business arrangement method and system based on cloud edge collaborative 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
GR01 Patent grant
GR01 Patent grant