[go: up one dir, main page]

CN111736887A - A system, method, device and storage medium for accessing old equipment - Google Patents

A system, method, device and storage medium for accessing old equipment Download PDF

Info

Publication number
CN111736887A
CN111736887A CN202010373981.XA CN202010373981A CN111736887A CN 111736887 A CN111736887 A CN 111736887A CN 202010373981 A CN202010373981 A CN 202010373981A CN 111736887 A CN111736887 A CN 111736887A
Authority
CN
China
Prior art keywords
old
equipment
software
api specification
terminal
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
CN202010373981.XA
Other languages
Chinese (zh)
Other versions
CN111736887B (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.)
Guangdong Kamfu Technology Co ltd
Original Assignee
Guangdong Kamfu Technology 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 Guangdong Kamfu Technology Co ltd filed Critical Guangdong Kamfu Technology Co ltd
Priority to CN202010373981.XA priority Critical patent/CN111736887B/en
Publication of CN111736887A publication Critical patent/CN111736887A/en
Application granted granted Critical
Publication of CN111736887B publication Critical patent/CN111736887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W90/00Enabling technologies or technologies with a potential or indirect contribution to greenhouse gas [GHG] emissions mitigation

Landscapes

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

Abstract

本发明公开了一种利旧设备的访问系统,包括利旧终端、应用软件和综合智能适配服务模块,其中,利旧终端与利旧设备电性连接,利旧终端根据利旧设备API规范调用利旧设备;应用软件安装于利旧终端上,并通过软件提供商获取软件API规范;综合智能适配服务模块与应用软件连接,用于获取软件提供商提供的设备API规范;综合智能适配服务模块用于根据软件提供商提供的设备API规范和利旧设备API规范生成新的接口,进而使得软件提供商调用新的接口实现对利旧设备的调用。本发明解决了现有技术中旧终端机上软件升级后由于应用软件与终端机不兼容导致应用软件无法访问旧设备的问题。本发明还提供了一种利旧设备的访问方法、装置及存储介质。

Figure 202010373981

The invention discloses an access system for recycling equipment, comprising a recycling terminal, application software and a comprehensive intelligent adaptation service module, wherein the recycling terminal is electrically connected with the recycling equipment, and the recycling terminal is in accordance with the API specification of recycling equipment. Call the old equipment; the application software is installed on the old terminal, and the software API specification is obtained through the software provider; the integrated intelligent adaptation service module is connected with the application software to obtain the equipment API specification provided by the software provider; The configuration service module is used to generate a new interface according to the device API specification and the old device API specification provided by the software provider, so that the software provider can call the new interface to realize the call to the old device. The invention solves the problem in the prior art that the application software cannot access the old equipment due to the incompatibility between the application software and the terminal after the software on the old terminal is upgraded. The present invention also provides an access method, device and storage medium for recyclable equipment.

Figure 202010373981

Description

一种利旧设备的访问系统、方法、装置及存储介质A system, method, device and storage medium for accessing old equipment

技术领域technical field

本发明涉及利旧终端的访问控制,尤其涉及一种利旧设备的访问系统、方法、装置及存储介质。The present invention relates to access control of recyclable terminals, in particular to an access system, method, device and storage medium for recyclable devices.

背景技术Background technique

目前,现如今随着各个部门政务服务模式的推行,全国各个市各个区域的行政服务中心的服务内容越来越多,对于终端的多元化服务的需求越来越迫切,因此,就需要在原有的旧终端上安装更多的新的应用程序,而新的应用程序对于设备的调用方式与旧终端对于设备的调用方式完全不同,导致旧终端无法直接为新的应用程序提供相关服务,存在设备调用混乱的现象。由于新的应用程序与旧终端兼容,导致旧终端无法使用,若采购新的旧终端,势必会导致成本增加,同时旧终端也会浪费,不符合现如今的环保和可持续发展的概念。At present, with the implementation of the government service model of various departments, the service content of administrative service centers in various cities and regions across the country is increasing, and the demand for diversified services of terminals is becoming more and more urgent. More new applications are installed on the old terminal, and the way that the new application calls the device is completely different from the way that the old terminal calls the device, so that the old terminal cannot directly provide related services for the new application. Call chaos. Because the new application is compatible with the old terminal, the old terminal cannot be used. If new and old terminals are purchased, the cost will inevitably increase, and the old terminals will also be wasted, which is not in line with the current concept of environmental protection and sustainable development.

发明内容SUMMARY OF THE INVENTION

为了克服现有技术的不足,本发明的目的之一在于提供一种利旧设备的访问系统,其能够解决现有技术中由于利旧终端与新的应用软件无法兼容导致应用软件无法对利旧设备的调用的问题。In order to overcome the deficiencies of the prior art, one of the objectives of the present invention is to provide an access system for recyclable equipment, which can solve the problem that in the prior art due to the incompatibility between the recyclable terminal and the new application software, the application software cannot be used for the recyclable device. Device call problem.

本发明的目的之二在于提供一种利旧设备的访问方法,其能够解决现有技术中由于利旧终端与新的应用软件无法兼容导致应用软件无法对利旧设备的调用的问题。The second purpose of the present invention is to provide a method for accessing a recyclable device, which can solve the problem in the prior art that the application software cannot call the recyclable device due to the incompatibility of the recyclable terminal with the new application software.

本发明的目的之三在于提供一种利旧设备的访问装置,其能够解决现有技术中由于利旧终端与新的应用软件无法兼容导致应用软件无法对利旧设备的调用的问题。The third object of the present invention is to provide an access device for recyclable equipment, which can solve the problem in the prior art that the application software cannot call the recyclable equipment due to the incompatibility of the old terminal and the new application software.

本发明的目的之四在于提供一种存储介质,其能够解决现有技术中由于利旧终端与新的应用软件无法兼容导致应用软件无法对利旧设备的调用的问题。The fourth purpose of the present invention is to provide a storage medium, which can solve the problem in the prior art that the application software cannot call the old device due to the incompatibility of the old terminal and the new application software.

本发明的目的之一采用如下技术方案实现:One of the objects of the present invention adopts the following technical scheme to realize:

一种利旧设备的访问系统,所述访问系统包括利旧终端、应用软件和综合智能适配服务模块,其中,利旧终端与利旧设备电性连接,利旧终端根据利旧设备API规范调用利旧设备;应用软件安装于利旧终端上,并通过软件提供商获取软件API规范;综合智能适配服务模块与应用软件连接,用于获取软件提供商提供的设备API规范;综合智能适配服务模块用于根据软件提供商提供的设备API规范和利旧设备API规范生成新的接口,进而使得软件提供商调用新的接口实现对利旧设备的调用。An access system for recycling equipment, the access system includes recycling terminals, application software and a comprehensive intelligent adaptation service module, wherein the recycling terminals are electrically connected with recycling equipment, and recycling terminals are based on recycling equipment API specifications Call the old equipment; the application software is installed on the old terminal, and the software API specification is obtained through the software provider; the integrated intelligent adaptation service module is connected with the application software to obtain the equipment API specification provided by the software provider; The configuration service module is used to generate a new interface according to the device API specification and the old device API specification provided by the software provider, so that the software provider can call the new interface to realize the call to the old device.

进一步地,所述综合智能适配服务模块用于根据软件提供商提供的设备API规范对利旧设备API规范进行拆分、合并后生成新的接口。Further, the integrated intelligent adaptation service module is configured to split and merge the old device API specifications according to the device API specifications provided by the software provider to generate a new interface.

进一步地,所述利旧设备包括一个或多个,每个利旧设备均与利旧终端电性连接,利旧终端根据每个利旧设备API规范实现对对应利旧设备的调用。Further, the recycling device includes one or more devices, each recycling device is electrically connected to the recycling terminal, and the recycling terminal implements a call to the recycling device according to the API specification of each recycling device.

进一步地,所述利旧设备包括打印机、扫描仪、扩音器、录音器和摄像头中的一种或多种。Further, the recycling equipment includes one or more of a printer, a scanner, a loudspeaker, a sound recorder and a camera.

本发明的目的之二采用如下技术方案实现:The second purpose of the present invention adopts the following technical scheme to realize:

一种利旧设备的访问方法,应用于如本发明目的之一采用的一种利旧设备的访问系统,所述访问方法包括:An access method for recyclable equipment, applied to an access system for recyclable equipment adopted as one of the objectives of the present invention, the access method includes:

第一获取步骤:通过综合智能适配服务模块获取安装于利旧终端上的应用软件对应的软件提供商所提供的软件API规范,并根据所述软件API规范得出应用软件对利旧设备的新的调用方式;The first obtaining step: obtain the software API specification provided by the software provider corresponding to the application software installed on the old-fashioned terminal through the comprehensive intelligent adaptation service module, and obtain the application software's effect on the old-fashioned device according to the software API specification. new way of calling;

第二获取步骤:通过综合智能适配服务模块获取与利旧终端连接的利旧设备的设备API规范,并根据设备API规范得出利旧终端对利旧设备的旧的调用方式;The second obtaining step: obtain the device API specification of the recycling device connected to the recycling terminal through the integrated intelligent adaptation service module, and obtain the old calling method of the recycling terminal to the recycling device according to the device API specification;

转换步骤:通过综合智能适配服务模块根据利旧设备的新的调用方式对旧的调用方式进行封装并生成新的调用接口,进而使得应用软件通过新的调用接口以及应用软件对利旧设备的新的调用方式实现对所述利旧设备的调用。Conversion step: Encapsulate the old invocation mode according to the new invocation mode of the old device through the integrated intelligent adaptation service module and generate a new invocation interface, so that the application software can use the new invocation interface and the application software to call the old device. The new calling mode realizes the calling of the old device.

进一步地,所述调用方式包括调用接口和调用逻辑;所述转换步骤还包括:对旧的调用方式中的调用接口和调用步骤进行拆分、合并后生成新的调用接口。Further, the calling method includes a calling interface and calling logic; the converting step further includes: splitting and merging the calling interface and calling steps in the old calling method to generate a new calling interface.

进一步地,所述利旧设备包括一个或多个;所述转换步骤包括:通过综合智能适配服务模块根据每个利旧设备的新的调用方式对对应利旧设备的旧的调用方式进行封装后生成新的调用接口。Further, the recyclable equipment includes one or more; the conversion step includes: encapsulating the old invocation mode of the recyclable used equipment according to the new invocation mode of each recyclable device through the integrated intelligent adaptation service module Then generate a new calling interface.

进一步地,所述利旧设备包括打印机、扫描仪、扩音器、录音器和摄像头中的一种或多种。Further, the recycling equipment includes one or more of a printer, a scanner, a loudspeaker, a sound recorder and a camera.

本发明的目的之三采用如下技术方案实现:The third purpose of the present invention adopts the following technical scheme to realize:

一种利旧设备的访问装置,包括存储器和处理器,所述存储器上存储有可在处理器上运行的访问程序,所述访问程序为计算机程序,所述处理器执行所述访问程序时实现如本发明目的之二采用的一种利旧设备的访问方法的步骤。An access device for recycling equipment, comprising a memory and a processor, the memory stores an access program that can run on the processor, the access program is a computer program, and the processor executes the access program to achieve The steps of a method for accessing old equipment adopted as the second object of the present invention.

本发明的目的之四采用如下技术方案实现:The fourth purpose of the present invention adopts the following technical scheme to realize:

一种存储介质,所述存储介质为计算机可读存储介质,其上存储有访问程序,所述访问程序为计算机程序,所述访问程序被处理器执行时实现如本发明目的之二采用的一种利旧设备的访问方法的步骤。A storage medium, the storage medium is a computer-readable storage medium on which an access program is stored, the access program is a computer program, and when the access program is executed by a processor, one of the second objectives of the present invention is realized. Steps of a method of accessing a reclaimed device.

相比现有技术,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:

本发明将综合智能适配服务模块作为利旧终端与应用软件之间的中间,通过综合智能适配服务模块将利旧终端对利旧设备的旧的调用方式转换为应用软件对利旧设备的新的调用方式,进而实现安装于利旧终端上的应用软件对利旧设备的调用访问,实现了应用软件与利旧终端的兼容,解决了现有技术中由于利旧终端与新的应用软件的不兼容导致新的应用软件不能够对利旧设备的访问,实现了利旧终端的升级,大大节省了硬件成本。In the present invention, the comprehensive intelligent adaptation service module is used as the middle between the recycling terminal and the application software, and the old calling mode of the recycling terminal to the recycling equipment is converted into the application software to the recycling device through the comprehensive intelligent adaptation service module. The new calling method further realizes the calling and access of the application software installed on the old terminal to the old equipment, realizes the compatibility of the application software and the old terminal, and solves the problem of the existing technology due to the old terminal and the new application software. Due to the incompatibility of the new application software, the old equipment cannot be accessed, and the upgrade of the old terminal is realized, which greatly saves the hardware cost.

附图说明Description of drawings

图1为本发明提供的一种利旧设备的访问系统模块图;Fig. 1 is the access system module diagram of a kind of recycling equipment provided by the present invention;

图2为本发明提供的一种利旧设备的访问方法流程图;Fig. 2 is a flow chart of an access method of a used equipment provided by the present invention;

图3为本发明提供的一种利旧设备的访问装置模块图。FIG. 3 is a module diagram of an access device of a recyclable device provided by the present invention.

图中:11、存储器;12、处理器;13、通信总线;14、网络接口。In the figure: 11, memory; 12, processor; 13, communication bus; 14, network interface.

具体实施方式Detailed ways

下面,结合附图以及具体实施方式,对本发明做进一步描述,需要说明的是,在不相冲突的前提下,以下描述的各实施例之间或各技术特征之间可以任意组合形成新的实施例。The present invention will be further described below with reference to the accompanying drawings and specific embodiments. It should be noted that, on the premise of no conflict, the embodiments or technical features described below can be combined arbitrarily to form new embodiments. .

实施例一Example 1

如图1所示,本发明提供了一种利旧设备的访问系统,包括利旧终端、安装于利旧终端上的应用软件和综合智能适配服务模块。其中,利旧设备与利旧终端连接。As shown in FIG. 1 , the present invention provides an access system for recycling equipment, including recycling terminals, application software installed on the recycling terminals, and a comprehensive intelligent adaptation service module. Among them, the recycling equipment is connected with the recycling terminal.

综合智能适配服务模块也设于利旧终端上,本发明通过综合智能适配服务模块作为利旧终端与软件提供商之间的中间媒介,实现在旧终端上新的应用软件对旧设备的调用使得新的应用软件能够与旧设备之间兼容,也即是实现旧终端上安装新的应用软件的使用,旧终端的升级,可大大节省硬件成本。The comprehensive intelligent adaptation service module is also set on the old terminal, and the present invention uses the comprehensive intelligent adaptation service module as an intermediate medium between the old terminal and the software provider, so as to realize the new application software on the old terminal to the old equipment. The calling enables the new application software to be compatible with the old device, that is, to realize the use of the new application software installed on the old terminal, and the upgrade of the old terminal can greatly save the hardware cost.

一般来说,新的应用软件对于硬件设备的调用方式与旧终端对于硬件设备的调用方式不同,导致硬件设备无法对软件提供商提供相应的服务。比如,当调用打印机打印时,由于新的软件应用程序对硬件设备的调用方式与旧终端对于硬件设备的调用方式不同,因此,新的软件应用程序无法实现对打印机的调用,无法启动打印机进行打印操作。Generally speaking, the calling method of the new application software to the hardware device is different from the calling method of the old terminal to the hardware device, so that the hardware device cannot provide corresponding services to the software provider. For example, when the printer is called to print, the new software application cannot call the printer and start the printer for printing because the calling method of the new software application to the hardware device is different from the calling method of the old terminal to the hardware device. operate.

为了解决上述技术问题,本发明通过将综合智能适配服务模块应用于原有的利旧终端与新的应用软件之间,将新的应用软件的API(Application Program Interface,应用程序的调用接口)规范与利旧终端的API规范之间的转换,实现了新的应用软件对利旧设备的访问调用。也即是本发明根据新的应用软件的API规范对原有传统的利旧设备的调用逻辑进行封装生成新的接口,这样新的应用软件就可以根据自身的API规范以及新的接口对利旧设备的访问调用。其中,API就是操作系统留给应用程序的一个调用接口,应用程序通过调用操作系统的API而使操作系统去执行应用程序的命令。本实施例中的API规范是指应用软件对利旧设备的调用方式所遵循的规范、标准或逻辑等。In order to solve the above technical problems, the present invention applies the integrated intelligent adaptation service module between the original old terminal and the new application software, and uses the API (Application Program Interface, the calling interface of the application program) of the new application software. The conversion between the specification and the API specification of the old terminal realizes the access call of the new application software to the old device. That is, according to the API specification of the new application software, the present invention encapsulates the calling logic of the original traditional recycling equipment to generate a new interface, so that the new application software can use the API specification and the new interface to recycle the old equipment. Device access call. Among them, the API is a calling interface left by the operating system to the application program, and the application program makes the operating system execute the command of the application program by calling the API of the operating system. The API specification in this embodiment refers to the specification, standard or logic, etc. followed by the way of calling the old device by the application software.

例如,本实施例以打印机为例来说明:For example, this embodiment takes a printer as an example to illustrate:

旧终端对于硬件的调用第一步是查询打印机的打印状态,当获取到的打印机状态为正常时,再开始第二步调用打印API,进行pdf等文件的打印,最后再调用关闭打印机API进行打印机关闭操作。而新的软件应用程序对于打印机调用只有一个调用步骤,这个步骤就要完成打印机的获取状态、打印、关闭三个操作。因此,本实施例通过综合智能适配服务模块将旧终端对于调用打印机的三个步骤封装成一个新的接口,该新的接口中实现了旧终端调用打印机打印的逻辑,并将其封装形成接口API。这样新的软件应用程序可直接通过该接口API调用旧终端的打印机。The first step of calling the hardware from the old terminal is to query the printing status of the printer. When the obtained printer status is normal, then start the second step to call the printing API to print files such as pdf, and finally call the close printer API to print the printer. Close operation. The new software application program has only one calling step for the printer call, and this step needs to complete the three operations of obtaining the printer status, printing, and closing. Therefore, this embodiment encapsulates the three steps of calling the printer from the old terminal into a new interface through the integrated intelligent adaptation service module. The new interface implements the logic of the old terminal calling the printer to print, and encapsulates it to form an interface API. In this way, the new software application can directly call the printer of the old terminal through the interface API.

也即是说:对于新的应用软件,通过综合智能适配服务模块按照新的应用软件所对应的软件提供商提供的API规范生成对利旧设备的新的调用逻辑,进而实现对利旧设备的调用操作。That is to say: for the new application software, the integrated intelligent adaptation service module generates a new call logic for the old device according to the API specification provided by the software provider corresponding to the new application software, and then realizes the use of the old device. call operation.

对于利旧设备,通过综合智能适配服务模块获取利旧终端对利旧设备API规范生成对利旧设备的旧的调用逻辑,根据旧的调用逻辑实现对旧设备的调用。For the old device, the integrated intelligent adaptation service module obtains the old device API specification to generate the old call logic for the old device, and implements the call to the old device according to the old call logic.

通过综合智能适配服务模块当软件提供商对旧设备进行调用时,直接调用新的API接口,实现对旧设备的调用。Through the integrated intelligent adaptation service module, when the software provider calls the old device, it directly calls the new API interface to realize the call to the old device.

本发明通过综合智能适配服务模块,解决了不同应用软件对硬件设备调用方式的不兼容性,实现了新的应用软件在旧终端上的部署,同时也不影响旧设备的功能使用。The present invention solves the incompatibility of different application software to the calling mode of the hardware device by synthesizing the intelligent adaptation service module, realizes the deployment of the new application software on the old terminal, and does not affect the function use of the old device.

实施例二Embodiment 2

如图2所示,本发明还提供了另外一实施例,一种利旧设备的访问方法,应用于实施例一所提供的一种利旧设备的访问系统,包括以下步骤:As shown in FIG. 2 , the present invention also provides another embodiment, a method for accessing used equipment, which is applied to the system for accessing used equipment provided by the first embodiment, including the following steps:

步骤S1、通过综合智能适配服务模块获取安装于利旧终端上的应用软件对应的软件提供商所提供的软件API规范,并根据所述软件API规范得出应用软件对利旧设备的新的调用方式。其中,调用方式包括调用逻辑和调用接口。比如当需要对某个利旧设备进行调用时,根据调用逻辑来调用每个接口,进而实现对利旧设备的调用访问。Step S1, obtain the software API specification provided by the software provider corresponding to the application software installed on the old terminal through the comprehensive intelligent adaptation service module, and obtain the new value of the application software to the old equipment according to the software API specification. call method. Among them, the calling method includes calling logic and calling interface. For example, when a certain old device needs to be called, each interface is called according to the calling logic, so as to realize the call access to the old device.

步骤S2、通过综合智能适配服务模块获取与利旧终端连接的利旧设备的设备API规范,并根据设备API规范得出利旧终端对利旧设备的旧的调用方式。In step S2, the device API specification of the recyclable device connected to the recyclable terminal is obtained through the integrated intelligent adaptation service module, and the old calling method of the recyclable terminal to the recyclable device is obtained according to the device API specification.

新的应用软件自身具有一定的API规范,因此,其对利旧设备的调用方式与传统的利旧终端对利旧设备的调用方式不同。The new application software itself has certain API specifications, and therefore, its calling method to the old device is different from the calling method of the traditional old terminal to the old device.

步骤S3、通过综合智能适配服务模块根据利旧设备的新的调用方式对旧的调用方式进行封装并生成新的调用接口,进而使得应用软件通过新的调用接口以及应用软件对利旧设备的新的调用方式实现对所述利旧设备的调用。Step S3, encapsulate the old invocation mode and generate a new invocation interface according to the new invocation mode of the old equipment through the integrated intelligent adaptation service module, and then make the application software pass the new invocation interface and the application software to the old equipment. The new calling mode realizes the calling of the old device.

本发明通过综合智能适配服务模块实现旧的调用方式转换为新的调用方式,进而可实现新的应用软件对利旧设备的访问。比如,将多个旧的调用方式的调用接口合并成一个新的调用接口,可实现根据新的调用逻辑对新的调用接口的调用,实现利旧设备的访问。The present invention realizes the conversion of the old invocation mode into the new invocation mode through the integrated intelligent adaptation service module, thereby realizing the access of the new application software to the old equipment. For example, merging the calling interfaces of multiple old calling methods into a new calling interface can realize the calling of the new calling interface according to the new calling logic, and realize the access of the old device.

实施例三Embodiment 3

本发明提供了一种利旧设备的访问装置。如图3所示,本发明一实施例提供的利旧设备的访问装置的内部结构示意图。The present invention provides an access device for recycling old equipment. As shown in FIG. 3 , a schematic diagram of an internal structure of an access device for a recyclable device provided by an embodiment of the present invention is shown.

在本实施例中,利旧设备的访问装置可以是PC(Personal Computer,个人电脑),也可以是智能手机、平板电脑、便携计算机等终端设备。该利旧设备的访问装置至少包括:处理器12、通信总线13、网络接口14以及存储器11。In this embodiment, the access device of the used equipment may be a PC (Personal Computer, personal computer), or may be a terminal device such as a smart phone, a tablet computer, and a portable computer. The access device of the used equipment at least includes: a processor 12 , a communication bus 13 , a network interface 14 and a memory 11 .

其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是利旧设备的访问装置的内部存储单元,例如该利旧设备的访问装置的硬盘。存储器11在另一些实施例中也可以是利旧设备的访问装置的外部存储设备,例如利旧设备的访问装置上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括利旧设备的访问装置的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于利旧设备的访问装置的应用软件及各类数据,例如访问程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the access device of the recycling device, such as a hard disk of the access device of the recycling device. In other embodiments, the memory 11 may also be an external storage device of the access device of the old device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card) and so on. Further, the memory 11 may also include both an internal storage unit of an access device of a used device and an external storage device. The memory 11 can be used not only to store application software and various data, such as access program codes, etc. installed in the access device of the old equipment, but also to temporarily store data that has been output or will be output.

处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行访问程序等。In some embodiments, the processor 12 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip for executing program codes or processing stored in the memory 11 data, such as executing access programs, etc.

通信总线13用于实现这些组件之间的连接通信。The communication bus 13 is used to realize the connection communication between these components.

网络接口14可选的可以包括标准的有线接口、无线接口(如WI-FI接口),通常用于在该利旧设备的访问装置与其他电子设备之间建立通信连接。The network interface 14 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface), which is generally used to establish a communication connection between the access device of the old device and other electronic devices.

可选地,该利旧设备的访问装置还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在利旧设备的访问装置中处理的信息以及用于显示可视化的用户界面。Optionally, the access device of the old-fashioned device may further include a user interface, and the user interface may include a display, an input unit such as a keyboard, and an optional user interface may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, and the like. The display, which may also be appropriately referred to as a display screen or a display unit, is used for displaying information processed in the access device of the old device and for displaying a visual user interface.

图3仅示出了具有组件11-14以及访问程序的利旧设备的访问装置,本领域技术人员可以理解的是,图3示出的结构并不构成对利旧设备的访问装置的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。Fig. 3 only shows the access device of the recycled device having the components 11-14 and the access program. Those skilled in the art can understand that the structure shown in Fig. 3 does not constitute a limitation on the access device of the recycled device. Fewer or more components than shown may be included, or some components may be combined, or a different arrangement of components.

在图3所示的利旧设备的访问装置实施例中,存储器11中存储有访问程序;处理器12执行存储器11中存储的访问程序时实现如下步骤:In the embodiment of the access device of the recyclable device shown in FIG. 3 , an access program is stored in the memory 11; when the processor 12 executes the access program stored in the memory 11, the following steps are implemented:

步骤S1、通过综合智能适配服务模块获取安装于利旧终端上的应用软件对应的软件提供商所提供的软件API规范,并根据所述软件API规范得出应用软件对利旧设备的新的调用方式;Step S1, obtain the software API specification provided by the software provider corresponding to the application software installed on the old terminal through the comprehensive intelligent adaptation service module, and obtain the new value of the application software to the old equipment according to the software API specification. calling method;

步骤S2、通过综合智能适配服务模块获取与利旧终端连接的利旧设备的设备API规范,并根据设备API规范得出利旧终端对利旧设备的旧的调用方式;Step S2, obtain the device API specification of the recycling device connected with the recycling terminal through the comprehensive intelligent adaptation service module, and obtain the old calling mode of the recycling terminal to the recycling device according to the device API specification;

步骤S3、通过综合智能适配服务模块根据利旧设备的新的调用方式对旧的调用方式进行封装并生成新的调用接口,进而使得应用软件通过新的调用接口以及应用软件对利旧设备的新的调用方式实现对所述利旧设备的调用。Step S3, encapsulate the old invocation mode and generate a new invocation interface according to the new invocation mode of the old equipment through the integrated intelligent adaptation service module, and then make the application software pass the new invocation interface and the application software to the old equipment. The new calling mode realizes the calling of the old device.

实施例四Embodiment 4

本发明还提供了一种存储介质,所述存储介质为计算机可读存储介质,其上存储有访问程序,所述访问程序为计算机程序,所述访问程序被处理器执行时实现以下步骤:The present invention also provides a storage medium, the storage medium is a computer-readable storage medium, and an access program is stored thereon, the access program is a computer program, and the access program is executed by a processor to implement the following steps:

步骤S1、通过综合智能适配服务模块获取安装于利旧终端上的应用软件对应的软件提供商所提供的软件API规范,并根据所述软件API规范得出应用软件对利旧设备的新的调用方式;Step S1, obtain the software API specification provided by the software provider corresponding to the application software installed on the old terminal through the comprehensive intelligent adaptation service module, and obtain the new value of the application software to the old equipment according to the software API specification. calling method;

步骤S2、通过综合智能适配服务模块获取与利旧终端连接的利旧设备的设备API规范,并根据设备API规范得出利旧终端对利旧设备的旧的调用方式;Step S2, obtain the device API specification of the recycling device connected with the recycling terminal through the comprehensive intelligent adaptation service module, and obtain the old calling mode of the recycling terminal to the recycling device according to the device API specification;

步骤S3、通过综合智能适配服务模块根据利旧设备的新的调用方式对旧的调用方式进行封装并生成新的调用接口,进而使得应用软件通过新的调用接口以及应用软件对利旧设备的新的调用方式实现对所述利旧设备的调用。Step S3, encapsulate the old invocation mode and generate a new invocation interface according to the new invocation mode of the old equipment through the integrated intelligent adaptation service module, and then make the application software pass the new invocation interface and the application software to the old equipment. The new calling mode realizes the calling of the old device.

上述实施方式仅为本发明的优选实施方式,不能以此来限定本发明保护的范围,本领域的技术人员在本发明的基础上所做的任何非实质性的变化及替换均属于本发明所要求保护的范围。The above-mentioned embodiments are only preferred embodiments of the present invention, and cannot be used to limit the scope of protection of the present invention. Any insubstantial changes and substitutions made by those skilled in the art on the basis of the present invention belong to the scope of the present invention. Scope of protection claimed.

Claims (10)

1. The access system of the used equipment is characterized by comprising a used terminal, application software and a comprehensive intelligent adaptation service module, wherein the used terminal is electrically connected with the used equipment, and the used terminal calls the used equipment according to the API specification of the used equipment; the application software is installed on the used terminal, and a software API specification is obtained through a software provider; the comprehensive intelligent adaptation service module is connected with the application software and used for acquiring the equipment API specification provided by a software provider; the comprehensive intelligent adaptation service module is used for generating a new interface according to the equipment API specification and the old-fashioned equipment API specification provided by the software provider, so that the software provider calls the new interface to call the old-fashioned equipment.
2. The system according to claim 1, wherein the comprehensive intelligent adaptation service module is configured to split and merge the API specification of the legacy device according to the API specification of the device provided by the software provider to generate a new interface.
3. The system for accessing a legacy device according to claim 1, wherein the legacy device comprises one or more legacy devices, each legacy device is electrically connected to a legacy terminal, and the legacy terminal implements the call to the corresponding legacy device according to each legacy device API specification.
4. The system of claim 3, wherein the waste device comprises one or more of a printer, a scanner, a microphone, a sound recorder, and a camera.
5. An access method of a used device, applied to the access system of the used device as claimed in any one of claim 1, wherein the access method comprises:
a first acquisition step: acquiring a software API specification provided by a software provider corresponding to application software installed on the used terminal through a comprehensive intelligent adaptation service module, and obtaining a new calling mode of the application software to the used equipment according to the software API specification;
a second acquisition step: acquiring the equipment API specification of the used equipment connected with the used terminal through the comprehensive intelligent adaptation service module, and obtaining the old calling mode of the used terminal to the used equipment according to the equipment API specification;
a conversion step: the integrated intelligent adaptation service module encapsulates the old calling mode according to the new calling mode of the old-worn device and generates a new calling interface, and then the application software calls the old-worn device through the new calling interface and the new calling mode of the application software to the old-worn device.
6. The method according to claim 5, wherein the calling mode comprises calling an interface and calling logic; the converting step further comprises: and splitting and combining the calling interface and the calling step in the old calling mode to generate a new calling interface.
7. The method of claim 5, wherein the legacy devices comprise one or more of; the converting step includes: and encapsulating the old calling mode of the corresponding old-worn equipment by the comprehensive intelligent adaptation service module according to the new calling mode of each old-worn equipment to generate a new calling interface.
8. The method of claim 7, wherein the waste device comprises one or more of a printer, a scanner, a microphone, a sound recorder, and a camera.
9. An access device for a used device, comprising a memory and a processor, wherein the memory stores an access program operable on the processor, and the access program is a computer program, characterized in that: the steps of the method for accessing a legacy device according to any of claims 5-8 are implemented when the processor executes the access program.
10. A storage medium which is a computer-readable storage medium having an access program stored thereon, the access program being a computer program, characterized in that: the access program when executed by a processor implementing the steps of an access method for a legacy device according to any of claims 5-8.
CN202010373981.XA 2020-05-06 2020-05-06 An access system, method, device and storage medium for recycling used equipment Active CN111736887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010373981.XA CN111736887B (en) 2020-05-06 2020-05-06 An access system, method, device and storage medium for recycling used equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010373981.XA CN111736887B (en) 2020-05-06 2020-05-06 An access system, method, device and storage medium for recycling used equipment

Publications (2)

Publication Number Publication Date
CN111736887A true CN111736887A (en) 2020-10-02
CN111736887B CN111736887B (en) 2023-12-15

Family

ID=72646973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010373981.XA Active CN111736887B (en) 2020-05-06 2020-05-06 An access system, method, device and storage medium for recycling used equipment

Country Status (1)

Country Link
CN (1) CN111736887B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204396A (en) * 2021-05-21 2021-08-03 珠海金山网络游戏科技有限公司 Service processing system, method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6094689A (en) * 1998-02-13 2000-07-25 Hewlett-Packard Company System for coupling a host computer to an image scanner in which high level functions are migrated to the attached host computer
US20020159085A1 (en) * 2001-04-25 2002-10-31 Korst Roland F.A.M. Printer application adapter system
US20050138644A1 (en) * 2003-12-19 2005-06-23 Montecalvo Mark V. Method, apparatus, system, and article of manufacture for interfacing a device
CN101808427A (en) * 2010-03-23 2010-08-18 中兴通讯股份有限公司 Internet of things-based wireless communication terminal and application method thereof
US20120040762A1 (en) * 2009-02-19 2012-02-16 Sony Computer Entertainment Inc. Compatibility adapter and compatibility processing method
CN103155016A (en) * 2010-08-09 2013-06-12 象限系统有限公司 Integrating a new subsystem with an existing computing architecture
CN103399754A (en) * 2013-08-19 2013-11-20 银联商务有限公司 Software framework
CN107027162A (en) * 2017-06-06 2017-08-08 福建强闽信息科技有限公司 A kind of LoRa intelligent gateways and its application method, Internet of things system
CN110716974A (en) * 2019-09-29 2020-01-21 宜通世纪物联网研究院(广州)有限公司 Dynamic interaction method, system and storage medium for Internet of things equipment and platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6094689A (en) * 1998-02-13 2000-07-25 Hewlett-Packard Company System for coupling a host computer to an image scanner in which high level functions are migrated to the attached host computer
US20020159085A1 (en) * 2001-04-25 2002-10-31 Korst Roland F.A.M. Printer application adapter system
US20050138644A1 (en) * 2003-12-19 2005-06-23 Montecalvo Mark V. Method, apparatus, system, and article of manufacture for interfacing a device
US20120040762A1 (en) * 2009-02-19 2012-02-16 Sony Computer Entertainment Inc. Compatibility adapter and compatibility processing method
CN101808427A (en) * 2010-03-23 2010-08-18 中兴通讯股份有限公司 Internet of things-based wireless communication terminal and application method thereof
CN103155016A (en) * 2010-08-09 2013-06-12 象限系统有限公司 Integrating a new subsystem with an existing computing architecture
CN103399754A (en) * 2013-08-19 2013-11-20 银联商务有限公司 Software framework
CN107027162A (en) * 2017-06-06 2017-08-08 福建强闽信息科技有限公司 A kind of LoRa intelligent gateways and its application method, Internet of things system
CN110716974A (en) * 2019-09-29 2020-01-21 宜通世纪物联网研究院(广州)有限公司 Dynamic interaction method, system and storage medium for Internet of things equipment and platform

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
EDUARDO MOSQUEIRA-REY等: "A systematic approach to API usability: Taxonomy-derived criteria and a case study", SCIENCEDIRECT,OLD PERIPHERALS API COMPATIBILITY, vol. 97, pages 46 - 63 *
孙雪媛: "软件定义弹性光接入网中资源调度及服务功能链提供技术研究", 中国优秀硕士学位论文全文数据库 信息科技辑, no. 8, pages 136 - 138 *
李建军: "矿山井下主配设备安全预警关键技术研究", 中国博士学位论文全文数据库 工程科技Ⅰ辑, no. 12, pages 021 - 82 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204396A (en) * 2021-05-21 2021-08-03 珠海金山网络游戏科技有限公司 Service processing system, method and device

Also Published As

Publication number Publication date
CN111736887B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
CN106056530B (en) Method and device for displaying picture content in application
WO2019153549A1 (en) Method and apparatus for dynamically generating api, computer device and storage medium
US10235945B2 (en) Apparatus and method for controlling display in electronic device having processors
CN103955364A (en) Front end assembly method suitable for mobile phone
WO2016023160A1 (en) Method and device for loading view of application and electronic terminal
CN111158777B (en) Component calling method, device and computer readable storage medium
CN101763256A (en) Expansion application method, device and business system of business objects
CN112667415B (en) Data calling methods, devices, readable storage media and electronic equipment
CN113837939A (en) Image processing method and device
CN114816167A (en) Application icon display method, electronic device and readable storage medium
CN110244983A (en) Method for fixing serial number, terminal equipment and storage medium
CN113873450B (en) Short message configuration method, device, computer equipment and storage medium
CN111736887A (en) A system, method, device and storage medium for accessing old equipment
CN103399842A (en) File processing method and system in wireless communication equipment
CN115981788A (en) A distributed storage deployment method, device, equipment and storage medium
CN111985760A (en) Data content evaluation method, device, electronic device and storage medium
CN115481444B (en) File protection method and electronic equipment
CN118842971A (en) Thumbnail display method and electronic equipment
CN113612886B (en) Strange number processing method and computer-readable storage medium
CN103428397A (en) Image information processing method and device
CN108616416A (en) Student side cut-in method, teacher side, system and medium based on teaching software
CN114780996A (en) Permission setting method, device, equipment and medium based on label
CN116257340B (en) Streaming data processing methods, apparatus, computer equipment and storage media
CN119182768B (en) A method and electronic device for accessing the network
CN110795087B (en) Graphic element processing method, device and computer equipment for UML design diagram

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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20201002

Contract record no.: X2025980045018

Denomination of invention: A access system, method, device and storage medium for reusing equipment

Granted publication date: 20231215

License type: Common License

Record date: 20251216