CN107172180B - Peripheral platform system and operation method and use method thereof - Google Patents

Peripheral platform system and operation method and use method thereof Download PDF

Info

Publication number
CN107172180B
CN107172180B CN201710415046.3A CN201710415046A CN107172180B CN 107172180 B CN107172180 B CN 107172180B CN 201710415046 A CN201710415046 A CN 201710415046A CN 107172180 B CN107172180 B CN 107172180B
Authority
CN
China
Prior art keywords
peripheral platform
communication service
local communication
service module
browser
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
CN201710415046.3A
Other languages
Chinese (zh)
Other versions
CN107172180A (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.)
Shenzhen Chengcheng Information Co ltd
Original Assignee
Chainway Information 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 Chainway Information Technology Co ltd filed Critical Chainway Information Technology Co ltd
Priority to CN201710415046.3A priority Critical patent/CN107172180B/en
Publication of CN107172180A publication Critical patent/CN107172180A/en
Application granted granted Critical
Publication of CN107172180B publication Critical patent/CN107172180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention discloses a peripheral platform system, which comprises a client and a remote server, wherein the client comprises a browser, a local communication service module and a peripheral platform, the browser is used for requesting data from the remote server, starting the local communication service module and sending a peripheral platform calling instruction to the local communication service module, and the browser regularly lifts data returned by the peripheral platform in the local communication service module; the local communication service module is used for starting the peripheral platform; the peripheral platform is used for calling equipment to collect data, and the equipment is used for returning the collected data to the peripheral platform; the peripheral platform is also used for returning the acquired data to the local communication service module; the local communication service module is also used for transmitting the collected data to the remote server.

Description

Peripheral platform system and operation method and use method thereof
Technical Field
The invention relates to a peripheral platform system and an operation method and a use method thereof.
Background
In the prior art, a local program is usually called by a tag. The disadvantages of calling a local program by a tag include: the local application program is called through the tag, the parameter transmission has word number limitation, and a large amount of data cannot be transmitted to the application program. For example, in the case of making a card through a web page, a large amount of data such as basic information of a student, fingerprint feature codes, face feature codes and the like needs to be written into the card. The local program can not present complex and diversified data on the browser in time.
Disclosure of Invention
In order to overcome the problems in the prior art, the invention provides a peripheral platform system and an operation method and a use method thereof.
In order to achieve the purpose, the peripheral platform system comprises a client and a remote server, wherein the client comprises a browser and a peripheral platform, the browser is used for requesting data from the remote server and calling the peripheral platform, and the browser regularly requests to obtain the data uploaded to the remote server by the peripheral platform; the peripheral platform is used for calling the equipment to collect data, and the peripheral platform transmits the data collected by the equipment to the remote server.
The peripheral platform calling equipment comprises but is not limited to a card sender, a camera and/or a fingerprint instrument.
The peripheral platform system is started through the label.
The operation method of the peripheral platform system comprises the following steps:
firstly, a browser requests data from a remote server;
secondly, the browser calls an external mobile device platform;
thirdly, the peripheral platform calls equipment to collect data;
fourthly, the peripheral platform transmits the data acquired by the equipment to a remote server;
and fifthly, the browser requests to acquire data uploaded to the remote server by the peripheral platform at regular time.
Preferably, the peripheral platform system comprises a client and a remote server, the client comprises a browser, a local communication service module and a peripheral platform, the browser is used for requesting data from the remote server, starting the local communication service module and sending a peripheral platform calling instruction to the local communication service module, and the browser periodically lifts data returned by the peripheral platform in the local communication service module; the local communication service module is used for starting the peripheral platform; the peripheral platform is used for calling equipment to collect data, and the equipment is used for returning the collected data to the peripheral platform; the peripheral platform is also used for returning the acquired data to the local communication service module; the local communication service module is also used for transmitting the collected data to the remote server.
The peripheral platform calling equipment comprises but is not limited to a card sender, a camera and/or a fingerprint instrument.
The peripheral platform system is started through the label.
Preferably, the operation method of the peripheral platform system includes the following steps:
firstly, the browser requests data from a remote server, and starts a local communication service module;
secondly, the browser sends a peripheral platform calling instruction to the local communication service module;
thirdly, the local communication service module starts a peripheral platform; the peripheral platform calls equipment to collect data, and the equipment returns the collected data to the peripheral platform;
fourthly, the peripheral platform returns the acquired data to the local communication service module;
and fifthly, the browser regularly lifts data returned by the peripheral platform in the local communication service module, and meanwhile, the local communication service module sends the acquired data to the remote server.
Preferably, the method for using the peripheral platform system comprises the following steps:
firstly, installing a peripheral platform, registering a chainway to a system: a/protocol, namely appointing to start a local communication service module of the peripheral platform;
the second step is that: the browser executes chainway: if yes, a local communication service module is started, the local communication service module is a local WEB service supporting an HTTP protocol, and a port 10000 is set by default; after the browser executes the starting command, the thread executes http: // localhost:10000/service is PSOT request of address, the parameter includes the required service name and service data, the overtime time is set to 30 seconds, and the call is circulated continuously until the receiving response of the local service is obtained; after the browser receives the response, the browser starts to circularly request result response until correct response is obtained;
the third step: after the local communication service module obtains a browser request, calling a corresponding peripheral module;
the fourth step: the browser requests the result from the local communication service module, and the local communication service module responds and returns.
The invention has the following advantages: compared with the prior art, the peripheral platform system provided by the invention can quickly and effectively realize direct and frequent communication between the browser and the local program by constructing a service based on HTTP locally and communicating the browser and the local application program. The peripheral platform can be divided into different peripheral modules aiming at various hardware, and the starting speed is improved and the computer consumption is reduced according to the module which starts response every time the service.
Drawings
Fig. 1 is a schematic structural diagram of a peripheral platform system according to a first embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a peripheral platform system according to a second embodiment of the present invention.
Detailed Description
The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
As shown in fig. 1, the peripheral platform system according to the first embodiment of the present invention includes a client and a remote server, where the client includes a browser and a peripheral platform, the browser is configured to request data from the remote server and call the peripheral platform, and the browser periodically requests to obtain data uploaded by the peripheral platform to the remote server; the peripheral platform is used for calling the equipment to collect data, and the peripheral platform transmits the data collected by the equipment to the remote server.
The peripheral platform calling equipment comprises but is not limited to a card sender, a camera and/or a fingerprint instrument.
The peripheral platform system is started through the label.
The operation method of the peripheral platform system according to the first embodiment of the present invention includes the following steps:
firstly, a browser requests data from a remote server;
secondly, the browser calls an external mobile device platform;
thirdly, the peripheral platform calls equipment to collect data;
fourthly, the peripheral platform transmits the data acquired by the equipment to a remote server;
and fifthly, the browser requests to acquire data uploaded to the remote server by the peripheral platform at regular time.
As shown in fig. 2, the peripheral platform system according to the second embodiment of the present invention includes a client and a remote server, where the client includes a browser, a local communication service module and a peripheral platform, the browser is configured to request data from the remote server, start the local communication service module, send a command for calling the peripheral platform to the local communication service module, and lift data returned by the peripheral platform in the local communication service module at regular time; the local communication service module is used for starting the peripheral platform; the peripheral platform is used for calling equipment to collect data, and the equipment is used for returning the collected data to the peripheral platform; the peripheral platform is also used for returning the acquired data to the local communication service module; the local communication service module is also used for transmitting the collected data to the remote server.
The difference between the peripheral platform system according to the second embodiment and the first embodiment is that the peripheral platform is started in the first embodiment, the local communication service module is started in the second embodiment, and then the local communication service module starts different peripheral modules according to different service requirements.
The first embodiment can only extract the data ID and then request the data ID to the remote server, and the second embodiment is equivalent to local request, so that the time consumption of the network is saved.
Similar to the first embodiment, the peripheral platform invoking device described in the second embodiment includes, but is not limited to, a card issuer, a camera and/or a fingerprint device.
The peripheral platform system is started through the label.
The operation method of the peripheral platform system according to the second embodiment includes the steps of:
firstly, the browser requests data from a remote server, and starts a local communication service module;
secondly, the browser sends a peripheral platform calling instruction to the local communication service module;
thirdly, the local communication service module starts a peripheral platform; the peripheral platform calls equipment to collect data, and the equipment returns the collected data to the peripheral platform;
fourthly, the peripheral platform returns the acquired data to the local communication service module;
and fifthly, the browser regularly lifts data returned by the peripheral platform in the local communication service module, and meanwhile, the local communication service module sends the acquired data to the remote server.
The peripheral platform can be divided into different peripheral modules aiming at various hardware, and the corresponding modules are started each time according to the business, so that the starting speed is improved, and the computer consumption is reduced.
In a preferred embodiment, the method for using the peripheral platform system comprises the following steps:
firstly, installing a peripheral platform, registering a chainway to a system: a/protocol, namely appointing to start a local communication service module of the peripheral platform;
the second step is that: the browser executes chainway: if yes, starting a local communication service module, wherein the local communication service module is equivalent to a local WEB service supporting an HTTP protocol and defaults to a port 10000; after the browser executes the starting command, the thread executes http: // localhost:10000/service is the PSOT request of the address (the parameter contains the required service name and service data: serviceName: ickff data:
{ \\ "IC \ consists of: \\\\\\ "ICkh \: \\ "CW 78963254 \" UID \ which: \\ "e 14adb65\ for \" fkcs \ is: 2, \\ "bot \ comprises: 0, \\ "fkrq \ consists of: \\ "2014-06-19 \" klx \ ": 83, \\ "lc 1\ for: \\ "0.00 \", Ic2\ "0.00 \", Ic3 \: \\ "0.00 \ and \" Ic4\ comprises: \\ "0.00 \ and \" |1\ comprises: 0, \\\\\ 2\ for: 0, \\\\\ 3\ for: 0, \\\\\ 4\ for: 0, \\ "mn 1\ for: 0, \\ "mn 2\ for: 0, \\ "mn 3\ for: 0, \\ "mn 4\ for: 0, \\ "pw \ for: \\\\\ "pxcx \": \\ "C1 \", and \ "pxjgbh \": \\ "142000001 \" pxlx \ ": 6, \\ "5 c1\ consists of: 0, \\ "sc 2\ consists of: 0, \\ "sc 3\ consists of: 0, \\ "sc 4\ consists of: 0, \\ "xm \ for: ' Lining
\\\ "xs 1 \": 0, \\ "xs 10\ for: 0, \\ "xs 11\ for: 0, \\ "xs 12\ for: 0, \\ "xs 13\ for: 0, \\ "xs 14\ for: 0, \\ "xs 15\ for: 0, \\ "xs 16\ for: 0, \\ "xs 2\ for: 0, \\ "xs 3\ for: 0, \\ "xs 4\ for: 0, \\ "xs 5\ for: 0, \\ "xs 6\ for: 0, \\ "xs 7\ for: 0, \\ "xs 8\ for: 0, \\ "x 59\ is: 0, \\ "xybh \ for: \\ "14200000100048 \" zjh \: \\\\\\\ "zwsfyz \: 1, \\ "zwtz 1 \: \\ 0301581a0000fdfef006e002e002c000c000cO00800080008000800080008000800080008000c0025f6b00010000000000000000000000002193d05e22a20ebe5922d23e2625e59e6aaa571e2a2c4dbe713183de33bb243e434266 e1c43657e488d13bf6d8f169f371129bf522be93f48b4643f233d 541452f 1819a6bc7135c3745210939d 1c0f9d65b3c7b24ebfa7585341ec98683619f 8e8b 60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000: \\ "030160140000 fffecc 07e801e801e0006000200020000000000000000000000000000000000008002327e00010000000000000000000000001b13959e5394985e6514c3be2c1a55be 81 c 119e53de481f183e13aa291e592d18de643459de343a 66bfd97e4741163e350cd6bf20a5d2ff4526d 2f 2d2c923c2a29133d271016ba 09b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 \ 0000000000000000000000000000 }) (the contents in the above parentheses are service data containing parameters such as personnel basic information, fingerprint information, etc.) is set to 30 seconds until a local service response is received, and continuously called in a loop; starting to circularly request result response after the browser receives the response until correct response is obtained;
the third step: after the local communication service module obtains a browser request, calling a corresponding peripheral module; such as serviceName: ickff, issuing IC card, calling card sender module; transmitting the data into a card sender module for card sending, and recording an operation result;
the fourth step: the browser requests the result from the local communication service module, and the local communication service module responds and returns.
Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.

Claims (3)

1. The peripheral platform system is characterized by comprising a client and a remote server, wherein the client comprises a browser, a local communication service module and a peripheral platform, the browser is used for requesting data from the remote server, starting the local communication service module and sending a peripheral platform calling instruction to the local communication service module, and the browser is used for regularly lifting data returned by the peripheral platform in the local communication service module; the local communication service module is used for starting the peripheral platform; the peripheral platform is used for calling equipment to collect data, and the equipment is used for returning the collected data to the peripheral platform; the peripheral platform is also used for returning the acquired data to the local communication service module; the local communication service module is also used for sending the acquired data to a remote server;
the operation method of the peripheral platform system comprises the following steps:
firstly, the browser requests data from a remote server, and starts a local communication service module;
secondly, the browser sends a peripheral platform calling instruction to the local communication service module;
thirdly, the local communication service module starts a peripheral platform; the peripheral platform calls equipment to collect data, and the equipment returns the collected data to the peripheral platform;
fourthly, the peripheral platform returns the acquired data to the local communication service module;
fifthly, the browser extracts data returned by the peripheral platform in the local communication service module at regular time, and meanwhile, the local communication service module sends the acquired data to the remote server;
the use method of the peripheral platform system comprises the following steps:
firstly, installing a peripheral platform, registering a chainway:// protocol to a system, and appointing to start a local communication service module of the peripheral platform;
the second step is that: the browser executes the chainway://, and starts a local communication service module which is a local WEB service supporting the HTTP protocol and defaults to a port 10000; after the browser executes the starting command, the thread executes http:// localhost, wherein 10000/service is POST request of address, the parameter comprises required service name and service data, the overtime is set to be 30 seconds, and the call is continuously circulated until receiving response of the local communication service module is obtained; after the browser receives the response, the browser starts to circularly request result response until correct response is obtained;
the third step: after the local communication service module obtains a browser request, calling a corresponding peripheral module;
the fourth step: the browser requests the result from the local communication service module, and the local communication service module responds and returns.
2. The peripheral platform system of claim 1, wherein the peripheral platform invoking device includes but is not limited to a card issuer, a camera and/or a fingerprint scanner.
3. The peripheral platform system according to claim 2, wherein the peripheral platform system is enabled by a tag.
CN201710415046.3A 2017-06-05 2017-06-05 Peripheral platform system and operation method and use method thereof Active CN107172180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710415046.3A CN107172180B (en) 2017-06-05 2017-06-05 Peripheral platform system and operation method and use method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710415046.3A CN107172180B (en) 2017-06-05 2017-06-05 Peripheral platform system and operation method and use method thereof

Publications (2)

Publication Number Publication Date
CN107172180A CN107172180A (en) 2017-09-15
CN107172180B true CN107172180B (en) 2020-06-16

Family

ID=59824276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710415046.3A Active CN107172180B (en) 2017-06-05 2017-06-05 Peripheral platform system and operation method and use method thereof

Country Status (1)

Country Link
CN (1) CN107172180B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947577A (en) * 2019-03-05 2019-06-28 厦门哲林软件科技有限公司 A kind of computer peripheral equipment information collecting method, device and computer equipment
CN112164159B (en) * 2020-09-27 2022-07-08 青岛海信智慧生活科技股份有限公司 Smart hotel-based remote card issuing method and device
CN113158166B (en) * 2021-05-20 2024-04-19 中国工商银行股份有限公司 Peripheral calling method, system, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146119A (en) * 2007-10-25 2008-03-19 珠海金山软件股份有限公司 A device and method for browser-cross self-adapted call of local function
CN101895431A (en) * 2010-08-20 2010-11-24 烽火通信科技股份有限公司 RIA-based high-performance Web transmission network management system and implementation method thereof
CN103279375A (en) * 2013-06-19 2013-09-04 百度在线网络技术(北京)有限公司 Method and device for running application programs in browser
CN104468698A (en) * 2014-10-11 2015-03-25 杭州盈高科技有限公司 Cross-browser webpage communication system and method
CN106202537A (en) * 2016-07-26 2016-12-07 江苏神州信源系统工程有限公司 A kind of realize the method that browser-cross front end is mutual with terminal local

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7114177B2 (en) * 2001-03-28 2006-09-26 Geotrust, Inc. Web site identity assurance
CN101719093B (en) * 2009-12-09 2011-11-23 上海普元信息技术股份有限公司 System and method for realizing cross-browser Javascript debugging in enterprise Web application system
CN105872102B (en) * 2016-06-06 2018-12-18 武汉理工大学 A kind of File Upload and Download method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146119A (en) * 2007-10-25 2008-03-19 珠海金山软件股份有限公司 A device and method for browser-cross self-adapted call of local function
CN101895431A (en) * 2010-08-20 2010-11-24 烽火通信科技股份有限公司 RIA-based high-performance Web transmission network management system and implementation method thereof
CN103279375A (en) * 2013-06-19 2013-09-04 百度在线网络技术(北京)有限公司 Method and device for running application programs in browser
CN104468698A (en) * 2014-10-11 2015-03-25 杭州盈高科技有限公司 Cross-browser webpage communication system and method
CN106202537A (en) * 2016-07-26 2016-12-07 江苏神州信源系统工程有限公司 A kind of realize the method that browser-cross front end is mutual with terminal local

Also Published As

Publication number Publication date
CN107172180A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN107172180B (en) Peripheral platform system and operation method and use method thereof
CN101965581B (en) System and method for installing smart card applet
EP2278535A1 (en) Provision of a tag-based service using a broker server
CN107346570B (en) Visual visiting system
CN109461234A (en) Reserve access method, device, computer equipment and storage medium
US9530107B2 (en) Method, apparatus, and system for providing a service
US20190333040A1 (en) Method of accessing payment terminal, terminal and non-volatile readable storage medium
CN106415591A (en) Electronic device, system and method for nfc
CN101960823B (en) Portable data carrier comprising a cat interpreter
EP2764479B1 (en) Transaction system
US5739510A (en) Card reader terminal and method for the multi-applicative operation of such a terminal
CN112927548A (en) Mechanical garage vehicle taking method and system and storage medium
CN108805512B (en) Attendance information recording method, equipment and system thereof
EP2229649A1 (en) Method and system for entering data into a web page
CN100524298C (en) Databases synchronization
CN102420838A (en) System capable of accessing point-of-sale (POS) terminal equipment via Web
CN104601616B (en) A kind of methods, devices and systems logging in Wireless Application Protocol website
CN107515790A (en) The system of electronic equipment
CN113971615A (en) Vehicle insurance reporting method and device, electronic equipment and medium
KR100663498B1 (en) Apparatus and method for improving web service using a user identity module of terminal , and the system thereof
EP2764480A1 (en) Transaction system
CN114221964A (en) Access request processing method and device, computer equipment and storage medium
CN106315320A (en) Intelligent ID recognition elevator control system and control method
CN111445594A (en) Card punching method, device and system based on intelligent hardware
EP2869544A1 (en) Call processing method and device

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518101 Floor 9, plant 2, Daqian industrial plant, Longchang Road, district 67, Bao'an District, Shenzhen, Guangdong Province

Patentee after: Shenzhen Chengcheng Information Co.,Ltd.

Address before: 518101 Floor 9, plant 2, Daqian industrial plant, Longchang Road, district 67, Bao'an District, Shenzhen, Guangdong Province

Patentee before: CHAINWAY INFORMATION TECHNOLOGY Co.,Ltd.