[go: up one dir, main page]

CN113342356B - Client framework operation and management configuration method - Google Patents

Client framework operation and management configuration method Download PDF

Info

Publication number
CN113342356B
CN113342356B CN202110539034.8A CN202110539034A CN113342356B CN 113342356 B CN113342356 B CN 113342356B CN 202110539034 A CN202110539034 A CN 202110539034A CN 113342356 B CN113342356 B CN 113342356B
Authority
CN
China
Prior art keywords
client
hardware
framework
drive
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110539034.8A
Other languages
Chinese (zh)
Other versions
CN113342356A (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.)
Inspur Software Co Ltd
Original Assignee
Inspur Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN202110539034.8A priority Critical patent/CN113342356B/en
Publication of CN113342356A publication Critical patent/CN113342356A/en
Application granted granted Critical
Publication of CN113342356B publication Critical patent/CN113342356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a client framework operation and management configuration method, relating to the technical field of client operation; creating a client framework which comprises a client and a background server, wherein a window application program of the client is integrated and developed, dlls related to hardware are packaged, a calling method is packaged into an API, a corresponding front end of the client is developed, the client framework, a hardware access standard, a hardware interface standard called by software and a deployment implementation configuration document are displayed, a hardware drive is compiled through the background server according to the hardware interface requirement, the hardware drive is audited and stored as a hardware resource, the client framework is operated on a government affair network through a connecting agent, corresponding hardware is configured and accessed into corresponding software, the client is deployed according to deployment document guidance of the corresponding front end of the client, the client guidance is started by the background server, a terminal where the client is located selects a matched hardware component, the hardware component is updated after comparison and verification are completed, and configuration processing is completed.

Description

一种客户端框架运行及管理配置方法A client framework operation and management configuration method

技术领域technical field

本发明公开一种方法,涉及客户端运行技术领域,具体地说是一种客户端框架运行及管理配置方法。The invention discloses a method and relates to the technical field of client operation, in particular to a method for client frame operation and management configuration.

背景技术Background technique

当前部署在各种服务大厅的客户端应用软件,往往需要连接各种硬件设备或服务组件(如身份证读卡器、摄像头、指纹仪、签字板等)才能进行使用。而由于软件的推广性强,虽然软件和硬件一对一配套使用,但当软件推广至其他地区使用不同硬件时,容易导致对接方式出现问题。比如由于每个项目上购买的硬件设备品牌、型号不尽相同,导致实施中软件无法做到即部署即使用,由于硬件设备的不同品牌、型号对接接口各异,业务软件需要判断各硬件设备品牌、型号嵌入不同的对接代码,导致研发上代码难以维护,兼容性差。Client application software currently deployed in various service halls often needs to be connected to various hardware devices or service components (such as ID card readers, cameras, fingerprint readers, signature pads, etc.) before they can be used. Due to the strong promotion of the software, although the software and hardware are used in a one-to-one manner, when the software is promoted to other regions and uses different hardware, it is easy to cause problems in the docking method. For example, due to the different brands and models of hardware equipment purchased on each project, the software cannot be deployed and used immediately during implementation. Since different brands and models of hardware equipment have different docking interfaces, business software needs to judge the brand of each hardware equipment , The model is embedded with different docking codes, which makes it difficult to maintain the codes in R&D and has poor compatibility.

发明内容Contents of the invention

本发明针对现有技术的问题,提供一种客户端框架运行及管理配置方法,提高软件部署效率,降低软件开发及维护难度,将软件开发从繁琐的硬件对接中解放出来。Aiming at the problems of the prior art, the present invention provides a client framework operation and management configuration method, which improves the efficiency of software deployment, reduces the difficulty of software development and maintenance, and liberates software development from tedious hardware docking.

本发明提出的具体方案是:The concrete scheme that the present invention proposes is:

一种客户端框架运行及管理配置方法,创建客户端框架,包括客户端和后台服务器,其中整合开发客户端window应用程序,封装硬件相关的dll,将调用方法包装成API,并开发客户端相应前端,展示客户端框架、硬件接入标准、软件调用硬件接口标准以及实施部署配置文档,A client framework operation and management configuration method, creating a client framework, including a client and a background server, in which the client window application program is integrated and developed, hardware-related dll is packaged, the calling method is packaged into an API, and the corresponding client is developed The front end shows the client framework, hardware access standards, software call hardware interface standards and implementation deployment configuration documents,

基于客户端框架审核硬件驱动,并存储为硬件资源,Audit hardware drivers based on the client framework and store them as hardware resources,

通过连接代理运行客户端框架于政务网络,配置相应硬件并接入相应软件,依据客户端相应前端实施部署文档指引,部署后台服务器启动客户端,指引客户端所在终端选择匹配的硬件组件并完成对比验证后更新硬件相应驱动,完成配置处理。Run the client framework on the government network through the connection agent, configure the corresponding hardware and access the corresponding software, implement the deployment document guidance according to the corresponding front end of the client, deploy the background server to start the client, guide the terminal where the client is located to select matching hardware components and complete the comparison After verification, update the corresponding hardware driver and complete the configuration process.

优选地,所述的一种客户端框架运行及管理配置方法中基于.NET Framework4.5.2框架整合开发客户端window应用程序,包含相应通信架构,并以Http形式监听指定端口,接收软件方指令并返回对应数据。Preferably, in the described client framework operation and management configuration method, the client window application program is integrated and developed based on the .NET Framework4.5.2 framework, which includes a corresponding communication framework, and listens to a designated port in the form of Http, receives instructions from the software side and Return the corresponding data.

优选地,所述的一种客户端框架运行及管理配置方法中基于指定.NET Framework版本根据硬件接口要求编写硬件的.net版本驱动,基于客户端框架审核硬件驱动,利用后台服务器的编译器自动将驱动源码编译成平台标准驱动包,存储为硬件资源。Preferably, in the described a kind of client frame operation and management configuration method, based on the specified .NET Framework version, the .net version driver of the hardware is written according to the hardware interface requirements, and the hardware driver is audited based on the client framework, and the compiler of the background server is used to automatically Compile the driver source code into a platform standard driver package and store it as a hardware resource.

优选地,所述的一种客户端框架运行及管理配置方法中基于前端框架VUE开发客户端相应前端,并在网页中引入mdjs.js、mdjs.custom.css相关组件进行终端适配。Preferably, in the above-mentioned client framework operation and management configuration method, the corresponding front end of the client is developed based on the front-end framework VUE, and related components of mdjs.js and mdjs.custom.css are introduced into the web page for terminal adaptation.

优选地,所述的一种客户端框架运行及管理配置方法中基于websocket通信实现客户端所在终端与后台服务器通信,进行双向数据传输。Preferably, in the described client framework operation and management configuration method, based on websocket communication, the terminal where the client is located communicates with the background server for two-way data transmission.

优选地,所述的一种客户端框架运行及管理配置方法中基于WCF通信方式客户端运行框架与相应硬件的驱动程序进行通信。Preferably, in the client framework operation and management configuration method, the client operation framework communicates with the driver of the corresponding hardware based on the WCF communication mode.

一种客户端,包含在客户端框架中,被整合开发客户端window应用程序,封装硬件相关的dll,将调用方法包装成API,并具有客户端相应前端,展示客户端框架、硬件接入标准、软件调用硬件接口标准以及实施部署配置文档,并基于客户端框架审核硬件驱动,将硬件驱动存储为硬件资源,A client, included in the client framework, is integrated to develop the client window application program, encapsulates hardware-related dll, packages the call method into an API, and has a corresponding front end of the client, showing the client framework and hardware access standards , The software calls the hardware interface standard and implements the deployment configuration document, and reviews the hardware driver based on the client framework, stores the hardware driver as a hardware resource,

所述客户端框架通过连接代理运行于政务网络,配置相应硬件并接入相应软件,依据客户端相应前端实施部署文档指引,部署后台服务器启动客户端,指引客户端所在终端选择匹配的硬件组件并完成对比验证后更新硬件相应驱动,完成配置处理。The client framework runs on the government network through a connection agent, configures corresponding hardware and accesses corresponding software, implements the deployment document guidance according to the corresponding front end of the client, deploys the background server to start the client, guides the terminal where the client is located to select a matching hardware component and After the comparison verification is completed, the corresponding hardware driver is updated to complete the configuration process.

一种客户端终端,安装所述的一种客户端。A client terminal is installed with the client.

本发明的有益之处是:The benefits of the present invention are:

本发明提供一种客户端框架运行及管理配置方法,.利用本发明方法硬件和软件两方无需直接对接,去除软硬件对接的繁琐过程,提高了开发效率,同时利用客户端前端指引即可完成部署,减轻了客户端运行及硬件驱动研发、管理配置的部署负担,降低软件开发及维护难度,提高软件部署效率。The present invention provides a client frame operation and management configuration method. Using the method of the present invention, the hardware and software do not need to be directly connected, the cumbersome process of software and hardware connection is eliminated, and the development efficiency is improved. At the same time, it can be completed by using the client front-end guidance Deployment reduces the deployment burden of client operation and hardware driver development, management and configuration, reduces the difficulty of software development and maintenance, and improves the efficiency of software deployment.

附图说明Description of drawings

图1是本发明方法应用框架示意图。Fig. 1 is a schematic diagram of the application framework of the method of the present invention.

图2是本发明方法各方通信方式和运转流程示意图。Fig. 2 is a schematic diagram of the communication mode and operation flow of all parties in the method of the present invention.

具体实施方式Detailed ways

下面结合附图和具体实施例对本发明作进一步说明,以使本领域的技术人员可以更好地理解本发明并能予以实施,但所举实施例不作为对本发明的限定。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, so that those skilled in the art can better understand the present invention and implement it, but the examples given are not intended to limit the present invention.

本发明提供一种客户端框架运行及管理配置方法,创建客户端框架,包括客户端和后台服务器,其中整合开发客户端window应用程序,封装硬件相关的dll,将调用方法包装成API,并开发客户端相应前端,展示客户端框架、硬件接入标准、软件调用硬件接口标准以及实施部署配置文档,The present invention provides a client frame operation and management configuration method, creating a client frame, including a client and a background server, in which the client window application program is integrated and developed, hardware-related dll is packaged, and the calling method is packaged into an API, and developed The corresponding front end of the client shows the client framework, hardware access standards, software call hardware interface standards and implementation deployment configuration documents,

基于客户端框架审核硬件驱动,并存储为硬件资源,Audit hardware drivers based on the client framework and store them as hardware resources,

通过连接代理运行客户端框架于政务网络,配置相应硬件并接入相应软件,依据客户端相应前端实施部署文档指引,部署后台服务器启动客户端,指引客户端所在终端选择匹配的硬件组件并完成对比验证后更新硬件相应驱动,完成配置处理。Run the client framework on the government network through the connection agent, configure the corresponding hardware and access the corresponding software, implement the deployment document guidance according to the corresponding front end of the client, deploy the background server to start the client, guide the terminal where the client is located to select matching hardware components and complete the comparison After verification, update the corresponding hardware driver and complete the configuration process.

利用本发明方法去除软件方和硬件方的直接对接模式,以运行平台为中心,统一对外接口。拥有多种硬件资源,有特定的配置页面,减少实施工作量,软件部署效率更高。The method of the invention removes the direct docking mode between the software side and the hardware side, and takes the operation platform as the center to unify the external interface. With a variety of hardware resources and specific configuration pages, the implementation workload is reduced and the software deployment is more efficient.

具体应用中,在本发明的一些实施例中,创建客户端框架,包括两部分组成:C#客户端+Java后台服务器。基于.NET Framework 4.5.2框架开发客户端,包含了WCF、Http、Websocket等通信架构,封装了各种硬件相关的dll,并将调用方法包装成API,当其启动后会以Http形式监听指定端口,接收软件方指令并返回对应数据。而Java后台服务器包含相应功能。并在客户端利用前端框架VUE开发客户端前端,通过路由切换的方式实现页面跳转展示,网页内容包括的客户端框架介绍、硬件接入标准、软件调用硬件接口标准、实施部署配置文档等皆以MarkDown文档格式书写,网页引入mdjs.js、mdjs.custom.css等相关组件进行适配,网页采取自适应布局以应对各种分辨率的终端,客户端框架使用者可通过手机或电脑等互联网设备随时查看框架最新动向。In specific applications, in some embodiments of the present invention, the client framework is created, which consists of two parts: C# client + Java background server. The client is developed based on the .NET Framework 4.5.2 framework, which includes WCF, Http, Websocket and other communication architectures, encapsulates various hardware-related dlls, and wraps the calling method into an API. When it starts, it will monitor the specified in the form of Http Port, receiving software instructions and returning corresponding data. The Java background server contains corresponding functions. And on the client side, use the front-end framework VUE to develop the front-end of the client, and realize page jump display through routing switching. Written in MarkDown document format, the webpage introduces mdjs.js, mdjs.custom.css and other related components for adaptation, and the webpage adopts an adaptive layout to cope with terminals with various resolutions. The device checks the latest developments in the framework at any time.

了解本厂家硬件需要实现的接口,在指定.NET Framework版本上根据文件与接口的要求编写硬件的.net版本驱动。将源代码压缩包上传至客户端的服务器,压缩包中包含硬件dll和编写的解决方案的所有代码文件,经客户端框架平台审核后决定是否通过,若通过平台将启动后台服务器的Visual Studio编译器自动将驱动源码编译成平台标准驱动包,正式成为客户端硬件资源。编译好的驱动包可存放全国可访问中心驱动服务器中,共享给各项目使用。Understand the interface that the manufacturer's hardware needs to implement, and write the .net version driver of the hardware according to the requirements of the file and interface on the specified .NET Framework version. Upload the source code compressed package to the client server. The compressed package contains the hardware dll and all the code files of the written solution. After being reviewed by the client framework platform, it will be decided whether to pass it. If it passes the platform, the Visual Studio compiler of the background server will be started Automatically compile the driver source code into a platform standard driver package, which officially becomes the client hardware resource. The compiled driver package can be stored in the driver server of the National Accessibility Center and shared with each project.

客户端框架通过连接代理运行于政务网络,连接代理连通互联网与政务网两个网络,同步驱动到项目上,项目本地使用连接代理对硬件做配置,选择硬件型号,测试硬件可用性等。The client framework runs on the government network through the connection agent. The connection agent connects the two networks of the Internet and the government network, and drives to the project synchronously. The project locally uses the connection agent to configure the hardware, select the hardware model, and test the availability of the hardware.

相应软件在客户端前端网站上找到对应接口和调用示例,譬如,软件方要调用身份证读卡器实现读卡功能,找到接口如表1,引入iGovFw.js接口适配文件,获取IDCardReader对象,终端内部将以反射的形式自动寻找对应程序集(Assembly)并加载里面包含的方法。获取对象成功则可按编码示例实现所需业务功能。The corresponding software finds the corresponding interface and calling example on the client front-end website. For example, the software side needs to call the ID card reader to realize the card reading function, find the interface as shown in Table 1, import the iGovFw.js interface adaptation file, and obtain the IDCardReader object. The terminal will automatically find the corresponding assembly (Assembly) in the form of reflection and load the methods contained in it. If the object is successfully obtained, the required business functions can be realized according to the coding example.

表1Table 1

Figure BDA0003070899240000051
Figure BDA0003070899240000051

依据客户端前端发布的实施部署文档指引,部署后台服务器后启动客户端,客户端可以插件的形式运行,在后台管理页面通过选中需要部署配置的终端机器,服务器将命令机器和管理页面在指定的Websocket通信房间进行协作交互,按照界面指引为该终端选择匹配的硬件组件,客户端通过硬件版本号、本地配置与平台已经编译好的对应驱动文件MD5信息对比结果,决定是否要更新或下载驱动,处理完毕后返回对应处理结果。According to the implementation deployment document guidelines released by the front end of the client, after deploying the background server and starting the client, the client can run in the form of a plug-in. On the background management page, by selecting the terminal machine that needs to be deployed and configured, the server will command the machine and the management page to run on the specified The Websocket communication room performs collaborative interaction, and selects matching hardware components for the terminal according to the interface guidelines. The client decides whether to update or download the driver by comparing the hardware version number, local configuration and the MD5 information of the corresponding driver file compiled by the platform. After the processing is completed, the corresponding processing result is returned.

在本发明的另一些实施例中,参考图2,在后台配置界面向终端发送指令的时候,后台界面和对应终端采用的是websocket通信的方式,websocket是一种全双工通讯的协议,使得客户端和服务器之间的数据交换变得更加简单,只需要完成一次握手,两者之间就直接可以创建持久性的连接,并进行双向数据传输。In other embodiments of the present invention, referring to FIG. 2, when the background configuration interface sends instructions to the terminal, the background interface and the corresponding terminal adopt a websocket communication method, and websocket is a full-duplex communication protocol, so that The data exchange between the client and the server becomes easier. Only one handshake is required, and a persistent connection can be created directly between the two, and two-way data transmission can be performed.

终端下载指定驱动,是通过后台返回的json格式的文件描述信息来执行的,文件描述格式如下:The terminal downloads the specified driver through the file description information in json format returned by the background. The file description format is as follows:

[{"AbsolutePath":"D:\Project\GZDev.Cef\bin\tempDir\4290bf19c70db819b4ca7a80ebabca3c","RelativePath":"cef.pak","FileHashCode":"4290bf19c70db819b4ca7a80ebabca3c","FileSize":4124993},{"AbsolutePath":"D:\Project\GZDev.Cef\bin\tempDir\27066572e7871c7a4eccc870d4ab6718","RelativePath":"CefSharp.BrowserSubprocess.Core.dll","FileHashCode":"27066572e7871c7a4eccc870d4ab6718","FileSize":859648},{"AbsolutePath":"D:\Project\GZDev.Cef\bin\tempDir\549cedccdfb686568cf902a48b01ec5d","RelativePath":"CefSharp.Core.dll","FileHashCode":"549cedccdfb686568cf902a48b01ec5d","FileSize":1257984},{"AbsolutePath":"D:\Project\GZDev.Cef\bin\tempDir\6d78126737c164c87a59d9c2c0f48e6a","RelativePath":"CefSharp.dll","FileHashCode":"6d78126737c164c87a59d9c2c0f48e6a","FileSize":193024},{"AbsolutePath":"D:\Project\GZDev.Cef\bin\tempDir\7d09b56b90ba227f32f65b85da05108f","RelativePath":"CefSharp.WinForms.dll","FileHashCode":"7d09b56b90ba227f32f65b85da05108f","FileSize":28672},…][{"AbsolutePath":"D:\Project\GZDev.Cef\bin\tempDir\4290bf19c70db819b4ca7a80ebabca3c","RelativePath":"cef.pak","FileHashCode":"4290bf19c70db819b4ca7a80ebabca3c","FileSize":3}12{"9 AbsolutePath":"D:\Project\GZDev.Cef\bin\tempDir\27066572e7871c7a4eccc870d4ab6718", "RelativePath":"CefSharp.BrowserSubprocess.Core.dll", "FileHashCode":"27066572e7871c7a4eccc8180d48ize",9{FileHashCode":"27066572e7871c7a4eccc8180d48}ab8,9{ "AbsolutePath": "D:\Project\GZDev.Cef\bin\tempDir\549cedccdfb686568cf902a48b01ec5d", "RelativePath": "CefSharp.Core.dll", "FileHashCode": "549cedccdfb686568cf902a48b01ec5d", }9,2FileSize AbsolutePath":"D:\Project\GZDev.Cef\bin\tempDir\6d78126737c164c87a59d9c2c0f48e6a","RelativePath":"CefSharp.dll","FileHashCode":"6d78126737c164c87a59d9c2c0f48e6a","FileSize":193024},{"AbsolutePath": "D:\Project\GZDev.Cef\bin\tempDir\7d09b56b90ba227f32f65b85da05108f","RelativePath":"CefSharp.WinForms.dll","FileHashCode":"7d09b56b90ba227f32f65b85da05108f","FileSize2}:28...

文件描述的数据结构定义:The data structure definition of the file description:

(1).AbsolutePath:在临时文件夹的绝对路径(1).AbsolutePath: Absolute path in the temporary folder

(2).RelativePath:相对路径(2).RelativePath: relative path

(3).FileHashCode:文件哈希(驱动文件生成的MD5,每个文件都有自身的唯一值)(3).FileHashCode: file hash (MD5 generated by the driver file, each file has its own unique value)

(4).FileSize:文件大小(4).FileSize: file size

终端依据FileHashCode字段去平台指定的网址下载文件并校验,并将文件按描述的路径放置。The terminal downloads and verifies the file from the URL specified by the platform according to the FileHashCode field, and places the file according to the path described.

根据硬件配置运行平台,检查外置扩展目录是否存在对应的驱动,如无驱动会从中心服务器动态下载驱动,之后打开驱动进程,运行框架使用WCF通信方式与该驱动进程通信,完成硬件调用并获取驱动运行结果,然后运行框架将结果数据格式化为与硬件无关的标准格式返回给业务系统。其中运行框架相当于exe包,拥有的硬件资源,对软件方开放的接口都包含在iGovFw.js该资源中,以Http形式向终端本地端口发送命令的。只要终端设置自启动运行平台exe,运行平台会持续监听指定端口,以达到相互通信的目的,随时对软件方的调用指令进行回复。Run the platform according to the hardware configuration and check whether there is a corresponding driver in the external extension directory. If there is no driver, it will dynamically download the driver from the central server, and then open the driver process. The running framework uses WCF communication to communicate with the driver process to complete the hardware call and obtain Drive the running results, and then run the framework to format the result data into a hardware-independent standard format and return it to the business system. Among them, the running framework is equivalent to the exe package, and the hardware resources it owns and the interfaces open to the software side are included in the iGovFw.js resource, which sends commands to the local port of the terminal in the form of Http. As long as the terminal is set to self-start the running platform exe, the running platform will continue to monitor the designated port to achieve the purpose of mutual communication and reply to the calling instructions of the software side at any time.

本发明方法在应用中,例如某项目上机器的身份证读卡器有A型号,还有U型号,项目人员可联系硬件厂家,查看运行平台的硬件对接指南,完成对应要求也通过平台的审核后,项目实施人员部署好客户端运行框架的后台Java服务器,打开机器上的C#客户端exe,在后台实施部署页面中选取需要控制的机器,查找资源库中的硬件类型(身份证),按实际情况配置硬件型号后,可通过远程测试程序进一步验证是否配置正确,确认配置无误之后告知软件对接方,软件参照运行平台硬件调用接口文档,通过IDCardReader类下的read方法调用读卡器读取身份证,再根据约定好返回的数据结构,实现业务需求,不用再担心硬件型号造成代码不通用、难以维护的情况发生。In the application of the method of the present invention, for example, the ID card reader of the machine on a certain project has a model A and a model U, and the project personnel can contact the hardware manufacturer to check the hardware docking guide of the operating platform, and complete the corresponding requirements and pass the audit of the platform Finally, the project implementer deploys the background Java server of the client running framework, opens the C# client exe on the machine, selects the machine to be controlled in the background implementation deployment page, searches for the hardware type (ID card) in the resource library, and presses After configuring the hardware model in the actual situation, you can further verify whether the configuration is correct through the remote test program. After confirming that the configuration is correct, inform the software docking party. The software refers to the hardware call interface document of the running platform, and calls the card reader to read the identity through the read method under the IDCardReader class. Then, according to the agreed data structure to be returned, the business needs are realized, and there is no need to worry about the situation that the code is not universal and difficult to maintain due to the hardware model.

同理,类似机器连接的高拍仪、扫描仪等,都可在客户端运行框架的硬件资源库里找到对应的驱动,后台服务器配置好机器后,轻轻松松可以使项目上线,随着项目的扩大,开发部署的优势会越发明显。万一出现硬件资源库找不到的对应驱动的情况,可联系运行平台开发人员进行相关对接。In the same way, the corresponding drivers can be found in the hardware resource library of the client running framework for similar high-speed cameras and scanners connected to the machine. After the background server configures the machine, the project can be launched easily. The advantages of development and deployment will become more and more obvious. In case the corresponding driver cannot be found in the hardware resource library, you can contact the developer of the running platform for relevant docking.

本发明还提供一种客户端,包含在客户端框架中,被整合开发客户端window应用程序,封装硬件相关的dll,将调用方法包装成API,并具有客户端相应前端,展示客户端框架、硬件接入标准、软件调用硬件接口标准以及实施部署配置文档,并基于客户端框架审核硬件驱动,将硬件驱动存储为硬件资源,The present invention also provides a client, which is included in the client frame, is integrated to develop the client window application program, encapsulates hardware-related dlls, packages the calling method into an API, and has a corresponding front end of the client to display the client frame, Hardware access standards, software call hardware interface standards, and implementation of deployment configuration documents, and review hardware drivers based on the client framework, store hardware drivers as hardware resources,

所述客户端框架通过连接代理运行于政务网络,配置相应硬件并接入相应软件,依据客户端相应前端实施部署文档指引,部署后台服务器启动客户端,指引客户端所在终端选择匹配的硬件组件并完成对比验证后更新硬件相应驱动,完成配置处理。The client framework runs on the government network through a connection agent, configures corresponding hardware and accesses corresponding software, implements the deployment document guidance according to the corresponding front end of the client, deploys the background server to start the client, guides the terminal where the client is located to select a matching hardware component and After the comparison verification is completed, the corresponding hardware driver is updated to complete the configuration process.

以及一种客户端终端,安装所述的一种客户端。本发明客户端及客户端终端在客户端框架中的信息交互、执行相应程序过程等内容,由于与本发明方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。And a client terminal, where the client is installed. The information interaction between the client and the client terminal in the client frame of the present invention, the execution of corresponding program processes, etc., are based on the same idea as the method embodiment of the present invention, and the specific content can refer to the description in the method embodiment of the present invention. Here No longer.

需要说明的是,上述本发明方法较佳实施例的各流程中是所有的步骤都是必须的,可以根据实际的需要忽略某些步骤。各步骤的执行顺序不是固定的,可以根据需要进行调整。It should be noted that all the steps in the processes of the above-mentioned preferred embodiments of the method of the present invention are necessary, and some steps can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as required.

以上所述实施例仅是为充分说明本发明而所举的较佳的实施例,本发明的保护范围不限于此。本技术领域的技术人员在本发明基础上所作的等同替代或变换,均在本发明的保护范围之内。本发明的保护范围以权利要求书为准。The above-mentioned embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or transformations made by those skilled in the art on the basis of the present invention are all within the protection scope of the present invention. The protection scope of the present invention shall be determined by the claims.

Claims (5)

1. A client Framework operation and management configuration method is characterized in that a client Framework is created and comprises a client and a background server, wherein a NET Framework 4.5.2 Framework is used for integrating and developing a client window application program, a corresponding communication Framework is included, a designated port is monitored in an Http mode, a software instruction is received, corresponding data is returned, a dll related to hardware is packaged, and a calling method is packaged into an API;
developing a corresponding front end of a client, displaying a client frame, a hardware access standard, a software calling hardware interface standard and an implementation deployment configuration document, wherein the corresponding front end of the client is developed based on a front end frame VUE, and relevant components of MarkDown-It and MarkDown-It-Css are introduced into a webpage for terminal adaptation,
auditing the hardware drive based on the client Framework and storing the hardware drive as a hardware resource, wherein the network version drive is compiled according to the hardware interface requirement based on the specified NET Framework version, auditing the hardware drive based on the client Framework, automatically compiling the drive source code into a platform standard drive packet by utilizing a compiler of a background server and storing the drive source code as the hardware resource,
the method comprises the steps that a connection agent runs a client framework on a government affair network, corresponding hardware is configured and corresponding software is accessed, deployment document guidance is implemented according to a corresponding front end of a client, a deployment background server starts the client, a terminal where the client is located is guided to select a matched hardware component, comparison and verification are completed, then corresponding drive of the hardware is updated, and configuration processing is completed.
2. The method for client framework operation and management configuration according to claim 1, wherein the communication between the terminal where the client is located and the background server is realized based on websocket communication, and bidirectional data transmission is performed.
3. The method as claimed in claim 2, wherein the client framework is configured to communicate with a driver of the corresponding hardware based on WCF communication.
4. A client is characterized by being contained in a client Framework, wherein a NET Framework 4.5.2 Framework is used for integrating and developing a client window application program, a corresponding communication Framework is contained, an appointed port is monitored in an Http mode, a software instruction is received, corresponding data is returned, dll related to hardware is packaged, and a calling method is packaged into an API;
developing a corresponding front end of a client, displaying a client frame, a hardware access standard, a software calling hardware interface standard and implementing a deployment configuration document, wherein the corresponding front end of the client is developed based on a front end frame VUE, and relevant components of MarkDown-It and MarkDown-It-Css are introduced into a webpage for terminal adaptation,
auditing the hardware drive based on the client Framework and storing the hardware drive as a hardware resource, wherein the network version drive is compiled according to the hardware interface requirement based on the specified NET Framework version, auditing the hardware drive based on the client Framework, automatically compiling the drive source code into a platform standard drive packet by utilizing a compiler of a background server and storing the drive source code as the hardware resource,
the method comprises the steps that a connection agent runs a client framework on a government affair network, corresponding hardware is configured and corresponding software is accessed, deployment document guidance is implemented according to a corresponding front end of a client, a deployment background server starts the client, a terminal where the client is located is guided to select a matched hardware component, comparison and verification are completed, then corresponding drive of the hardware is updated, and configuration processing is completed.
5. A client terminal, characterized in that a client according to claim 4 is installed.
CN202110539034.8A 2021-05-18 2021-05-18 Client framework operation and management configuration method Active CN113342356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110539034.8A CN113342356B (en) 2021-05-18 2021-05-18 Client framework operation and management configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110539034.8A CN113342356B (en) 2021-05-18 2021-05-18 Client framework operation and management configuration method

Publications (2)

Publication Number Publication Date
CN113342356A CN113342356A (en) 2021-09-03
CN113342356B true CN113342356B (en) 2023-03-28

Family

ID=77470895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110539034.8A Active CN113342356B (en) 2021-05-18 2021-05-18 Client framework operation and management configuration method

Country Status (1)

Country Link
CN (1) CN113342356B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253629B (en) * 2021-12-23 2024-03-22 广州华银医学检验中心有限公司 External device calling method and device, computer device and storage medium
CN114816358A (en) * 2022-04-19 2022-07-29 浪潮软件股份有限公司 A service platform development method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0902067D0 (en) * 2008-02-15 2009-03-25 Connotech Experts Conseils Inc Method of bootstrapping an authenticated data session configuration
CN101969391A (en) * 2010-10-27 2011-02-09 北京邮电大学 Cloud platform supporting fusion network service and operating method thereof

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6266709B1 (en) * 1996-07-01 2001-07-24 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server failure reporting process
US5768510A (en) * 1996-07-01 1998-06-16 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server application enabler system
US20020124245A1 (en) * 2000-08-14 2002-09-05 Alvin Maddux Method and apparatus for advanced software deployment
US20050220286A1 (en) * 2001-02-27 2005-10-06 John Valdez Method and apparatus for facilitating integrated access to communications services in a communication device
US7707563B2 (en) * 2003-01-10 2010-04-27 Nexaweb Technologies Inc System and method for network-based computing
US20050027657A1 (en) * 2003-08-01 2005-02-03 Yuri Leontiev Distinguishing legitimate hardware upgrades from unauthorized installations of software on additional computers
US20050198618A1 (en) * 2004-03-03 2005-09-08 Groupe Azur Inc. Distributed software fabrication system and process for fabricating business applications
US10318284B2 (en) * 2008-06-02 2019-06-11 International Business Machines Corporation System and method of generating and managing computing tasks
US8320272B2 (en) * 2010-02-12 2012-11-27 Alcatel Lucent Method and apparatus for controlling access technology selection
CN104077502A (en) * 2013-03-27 2014-10-01 苏州精易会信息技术有限公司 Software protection method in software encryption way
CN103475517B (en) * 2013-09-04 2016-06-29 青岛海信宽带多媒体技术有限公司 Optical network terminal and hardware configuration parameter storing method thereof
CN106911648B (en) * 2015-12-23 2019-12-24 阿里巴巴集团控股有限公司 A kind of environment isolation method and equipment
US10409565B2 (en) * 2017-03-30 2019-09-10 Ice Tea Group Llc Pixel perfect real-time web application framework
US10789058B2 (en) * 2018-05-30 2020-09-29 Microsoft Technology Licensing, Llc Extensibility of unified platform
CN109240654A (en) * 2018-07-24 2019-01-18 武汉空心科技有限公司 Development approach and system based on template
CN110750282B (en) * 2019-10-14 2021-04-02 支付宝(杭州)信息技术有限公司 Method and device for running application program and GPU node
CN112199197B (en) * 2020-10-23 2023-07-18 网易(杭州)网络有限公司 Server management method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0902067D0 (en) * 2008-02-15 2009-03-25 Connotech Experts Conseils Inc Method of bootstrapping an authenticated data session configuration
CN101969391A (en) * 2010-10-27 2011-02-09 北京邮电大学 Cloud platform supporting fusion network service and operating method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Research and application of intelligent control of agricultural machinery based on hardware and software collaborative design;Yongwei Tang;<2017 IEEE 3rd Information Technology and Mechatronics Engineering Conference>;20171130;全文 *
嵌入式网络管理平台的研究;黄鹏等;《计算机测量与控制》;20100625(第06期);全文 *

Also Published As

Publication number Publication date
CN113342356A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
US8612947B2 (en) System and method for remotely compiling multi-platform native applications for mobile devices
US9311284B2 (en) Methods and systems for enabling the provisioning and execution of a platform-independent application
AU2010229053B2 (en) Device dependent on-demand compiling and deployment of mobile applications
US7155381B2 (en) Module for developing wireless device applications using an integrated emulator
CN105760201B (en) A kind of starting method and apparatus of embedded equipment
CN113342356B (en) Client framework operation and management configuration method
US20140298318A1 (en) Computer-executable application packaging method, computer-executable device and storage media performing the same
CN112835975B (en) Method for deploying, updating and calling intelligent contracts in blockchain
CN110580183A (en) Mobile application modularization implementation method
CN111930382B (en) Application page access method, device and equipment
CN105718313A (en) Application operation method and device
CN108111555A (en) For controlling the method and system of installation kit downloading process
CN108628626B (en) Development environment building method, code updating method and device
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
KR101005498B1 (en) Mobile phone application verification system using test library and method
CN117093286B (en) Plug-in generation method, device, equipment and computer readable storage medium
KR101117165B1 (en) Web platform unit for mobile terminal connectioned web-application program in heterogeneous operating system
CN107704277A (en) Plug-in loading method and system
CN115658042A (en) Hybrid application component type development method, system, device and storage medium
EP1598739A1 (en) Native compile method, native compile preprocessing method, computer program, and server
JP4173862B2 (en) How to load applications deployed in terminals and chip cards
CN112764836B (en) Method and device for running fast application and electronic equipment
CN114090070A (en) Application program installation package file processing method and electronic equipment
CN107124446A (en) Application program method for down loading, server and terminal
CN112612531A (en) Application program starting method and device, electronic equipment and 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