CN110992607A - Method for accessing terminal by interface protocol mode - Google Patents

Method for accessing terminal by interface protocol mode Download PDF

Info

Publication number
CN110992607A
CN110992607A CN201911153857.6A CN201911153857A CN110992607A CN 110992607 A CN110992607 A CN 110992607A CN 201911153857 A CN201911153857 A CN 201911153857A CN 110992607 A CN110992607 A CN 110992607A
Authority
CN
China
Prior art keywords
interface protocol
application
terminal
accessing
functions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911153857.6A
Other languages
Chinese (zh)
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.)
Fujian Newland Payment Technology Co ltd
Original Assignee
Fujian Newland Payment 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 Fujian Newland Payment Technology Co ltd filed Critical Fujian Newland Payment Technology Co ltd
Priority to CN201911153857.6A priority Critical patent/CN110992607A/en
Publication of CN110992607A publication Critical patent/CN110992607A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0009Details of the software in the checkout register, electronic cash register [ECR] or point of sale terminal [POS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms

Landscapes

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

Abstract

The invention discloses a method for accessing a terminal in an interface protocol mode, which comprises the following steps: reading the application, and calling the corresponding interface protocol from the interface protocol library according to the task in the application so as to execute the corresponding function; the interface protocol library is integrated in the application, and the application runs on the terminal. Through the interface protocol mode and the unified access mode, developers who access the equipment are simpler and easier, and the development cost is reduced.

Description

Method for accessing terminal by interface protocol mode
Technical Field
The invention relates to the field of android intelligent devices, in particular to a method for accessing a terminal in an interface protocol mode.
Background
The existing android intelligent device is various and has various functions. However, due to the functions realized based on the android system, the diversity of the functions cannot be separated from the android system, so that the functions of some devices are in communication. However, since the access SDKs provided by the devices produced by different manufacturers are different, even different SDKs exist in multiple devices produced by manufacturers, the adaptation is troublesome when a developer accesses the devices, the development is difficult, and the uniformity is lacking.
Disclosure of Invention
In order to solve the problems of complexity, development difficulty and lack of uniformity of calling of the same function of different equipment in the prior art, the invention provides a unified access mode through an interface protocol mode, so that a developer accessing the equipment is simpler and easier, and the development cost is reduced. The specific scheme is as follows:
a method for accessing a terminal by an interface protocol mode comprises the following steps: reading the application, and calling the corresponding interface protocol from the interface protocol library according to the task in the application so as to execute the corresponding function; the interface protocol library is integrated in the application, and the application runs on the terminal.
Preferably, the functions further include that the developed applications run on different terminals to call the same function.
Preferably, the interface protocol library is a jar packet or an aar packet.
Preferably, the terminal is an android intelligent device.
The invention has uniform calling interface on the same function through interface protocol, different equipment manufacturers and different equipment of the same manufacturer, and new equipment can be seamlessly accessed under the existing application, thereby unifying the standardization of the equipment. In addition, developers can access different devices only by concerning the functional interface and not concerning the difference between different devices, and the development cost is greatly reduced.
Drawings
The method for accessing a terminal through an interface protocol according to the present invention is described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of the application framework of the present invention.
Detailed Description
According to the invention, based on the modes that different devices call the same function and the like, the application developed by a developer abstracts a layer of interface protocol on the basis of the same functions, and the interface protocol is packaged into a jar packet or aar packet form and provided for the developer, and the developer integrates the interface protocol packet into the application of the developer, thereby calling the related functions. The equipment manufacturer realizes related functions according to the interface protocol and then provides calling in a service form, so that a developer can operate the application among different equipment only by concerning the calling of the interface protocol, and one-time development and multi-place operation are realized.
Fig. 1 shows the contents related to the present invention. The specific implementation process comprises the following steps:
reading the application, and calling the corresponding interface protocol from the interface protocol library according to the task in the application so as to execute the corresponding function; the interface protocol library is integrated in the application, and the application runs on the terminal.
Preferably, the functions further include that the developed applications run on different terminals to call the same function.
Preferably, the interface protocol library is a jar packet or an aar packet.
Preferably, the terminal is an android intelligent device.
Taking a cash register as an example, a method for accessing a terminal in an interface protocol mode is specifically introduced. For example, although there are various android intelligent cash register devices on the market, the main functions are: reading card, scanning code, printing, collecting money and the like, wherein the mainstream REP software on the cash register comprises the following software: komai, Yinbao, etc. In order to facilitate the cash register to access cash registers of different models and call the functions, the functions are abstracted into an interface uniformly and a jar package is generated and provided to an ERP software developer for integrated call, as follows:
Figure BDA0002284285840000021
the cash register manufacturer realizes related functions according to the interface, as follows:
Figure BDA0002284285840000031
therefore, ERP software merchants can realize the functions of reading cards, scanning codes, printing and collecting money on cash registers of different models according to the interface.
The embodiments in the above embodiments can be further combined or replaced, and the embodiments are only used for describing the preferred embodiments of the present invention, and do not limit the concept and scope of the present invention, and various changes and modifications made to the technical solution of the present invention by those skilled in the art without departing from the design idea of the present invention belong to the protection scope of the present invention.

Claims (4)

1. A method for accessing a terminal through an interface protocol, comprising:
reading the application, and calling the corresponding interface protocol from the interface protocol library according to the task in the application so as to execute the corresponding function; the interface protocol library is integrated in the application, and the application runs on the terminal.
2. The method of claim 1, wherein the functions further comprise the developed applications running on different terminals invoking the same functions.
3. The method of claim 1, wherein the interface protocol library is jar packet or aar packet.
4. The method for accessing the terminal through the interface protocol according to any one of claims 1 to 3, wherein the terminal is an android smart device.
CN201911153857.6A 2019-11-22 2019-11-22 Method for accessing terminal by interface protocol mode Pending CN110992607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911153857.6A CN110992607A (en) 2019-11-22 2019-11-22 Method for accessing terminal by interface protocol mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911153857.6A CN110992607A (en) 2019-11-22 2019-11-22 Method for accessing terminal by interface protocol mode

Publications (1)

Publication Number Publication Date
CN110992607A true CN110992607A (en) 2020-04-10

Family

ID=70085623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911153857.6A Pending CN110992607A (en) 2019-11-22 2019-11-22 Method for accessing terminal by interface protocol mode

Country Status (1)

Country Link
CN (1) CN110992607A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929593A (en) * 2011-08-12 2013-02-13 中国科学院声学研究所 Method for achieving Android system to be compatible with internal application
CN103324486A (en) * 2013-07-03 2013-09-25 中国船舶重工集团公司第七二四研究所 Method for realizing software version adaptive configuration by utilizing loose-coupling architecture
CN103399754A (en) * 2013-08-19 2013-11-20 银联商务有限公司 Software framework
JP2015079431A (en) * 2013-10-18 2015-04-23 株式会社日立製作所 Business system cooperation apparatus and cooperation method therefor
CN106020921A (en) * 2016-05-16 2016-10-12 广东天波信息技术股份有限公司 Peripheral application transplantation method and system
CN206505504U (en) * 2017-02-17 2017-09-19 上海动联信息技术股份有限公司 A kind of quick flat board cashier's machine of integrated-type
CN107861850A (en) * 2017-11-30 2018-03-30 瑞斯康达科技发展股份有限公司 One kind interrupts checking system and its application method, computer equipment, storage medium
CN108920220A (en) * 2018-06-06 2018-11-30 北京奇虎科技有限公司 A kind of method, apparatus and terminal of function call
CN109710340A (en) * 2019-01-18 2019-05-03 北京顺丰同城科技有限公司 Software tool call method and device, software tool packaging method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929593A (en) * 2011-08-12 2013-02-13 中国科学院声学研究所 Method for achieving Android system to be compatible with internal application
CN103324486A (en) * 2013-07-03 2013-09-25 中国船舶重工集团公司第七二四研究所 Method for realizing software version adaptive configuration by utilizing loose-coupling architecture
CN103399754A (en) * 2013-08-19 2013-11-20 银联商务有限公司 Software framework
JP2015079431A (en) * 2013-10-18 2015-04-23 株式会社日立製作所 Business system cooperation apparatus and cooperation method therefor
CN106020921A (en) * 2016-05-16 2016-10-12 广东天波信息技术股份有限公司 Peripheral application transplantation method and system
CN206505504U (en) * 2017-02-17 2017-09-19 上海动联信息技术股份有限公司 A kind of quick flat board cashier's machine of integrated-type
CN107861850A (en) * 2017-11-30 2018-03-30 瑞斯康达科技发展股份有限公司 One kind interrupts checking system and its application method, computer equipment, storage medium
CN108920220A (en) * 2018-06-06 2018-11-30 北京奇虎科技有限公司 A kind of method, apparatus and terminal of function call
CN109710340A (en) * 2019-01-18 2019-05-03 北京顺丰同城科技有限公司 Software tool call method and device, software tool packaging method and device

Similar Documents

Publication Publication Date Title
CN109002362B (en) Service method, device and system and electronic equipment
RU2488888C2 (en) Method of access to applications in secure mobile environment
CN109062617B (en) Application method of platform supporting multiple types of equipment and mobile terminal
US20180302124A1 (en) Nfc "split stack" architecture
US11016769B1 (en) Method and apparatus for processing information
CN111984263B (en) Method, device, equipment and medium for running second system application on first system
EP2563057B1 (en) Method for data exchange between a secure element and a terminal, secure element, and terminal
US7823133B2 (en) Smart card device and method for debug and software development
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
US7571231B2 (en) Method and protocol for mediating communication between software applications
US8533747B2 (en) Method and system for selecting one or more integrated circuit card interface devices
WO2023208012A1 (en) Program processing method and apparatus, program running method and apparatus, terminal, smart card and storage medium
CN110992607A (en) Method for accessing terminal by interface protocol mode
CN110852139A (en) Biometric feature recognition method, biometric feature recognition device, biometric feature recognition equipment and storage medium
CN109558915A (en) A kind of smart card operation method and apparatus
CN114492691A (en) Hardware calling method and device for IC card application and intelligent IC card
US9870217B2 (en) Toolkit event configuration of applets on a card computing device with installation parameters
CN110009463B (en) Data communication processing system and method
CN112667441A (en) Service module scheduling method, system and storage medium based on fault-tolerant function
CN108536455B (en) Chip control method and terminal equipment
CN111523872A (en) Transaction processing method and device, mobile terminal and computer readable storage medium
CN110889104B (en) Data acquisition method and device for Android system equipment
CN111045746B (en) Code expansion method and framework
CN108345461A (en) Using update method and device and computer readable storage medium
WO2013191374A1 (en) Rf payment terminal for script file-based credit card processing

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200410