CN106354535A - Method and device for improving starting speed of payment terminal - Google Patents

Method and device for improving starting speed of payment terminal Download PDF

Info

Publication number
CN106354535A
CN106354535A CN201610785234.0A CN201610785234A CN106354535A CN 106354535 A CN106354535 A CN 106354535A CN 201610785234 A CN201610785234 A CN 201610785234A CN 106354535 A CN106354535 A CN 106354535A
Authority
CN
China
Prior art keywords
initialization
software module
payment terminal
module
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.)
Pending
Application number
CN201610785234.0A
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 Landi Commercial Equipment Co Ltd
Original Assignee
Fujian Landi Commercial Equipment 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 Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Priority to CN201610785234.0A priority Critical patent/CN106354535A/en
Publication of CN106354535A publication Critical patent/CN106354535A/en
Priority to PCT/CN2017/098241 priority patent/WO2018040970A1/en
Pending legal-status Critical Current

Links

Classifications

    • 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/445Program loading or initiating
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/4401Bootstrapping

Landscapes

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

Abstract

The invention relates to the technical field of payment devices, and particularly relates to a method and a device for improving the starting speed of a payment terminal. The method for improving the starting speed of the payment terminal includes the following steps: S1, obtaining a software module, which needs to initialize, in the payment terminal, wherein the software module is divided into several initialization sets; S2, according to the number of the initialization sets mentioned in S1, creating initialization processes with corresponding number in sequence; S3, according to the initialization processes, performing the initialization of the software module in the corresponding initialization sets in sequence, wherein the software module is initialized based on the sequence of the software module in the initialization sets. According to the payment terminal initialization process in the prior art, a program is loaded only after the initialization of each software module is completed in sequence. However, the method and device for improving the starting speed of the payment terminalis different from the prior art and has the following advantages that the initialization procedure is modified into multi-process initialization to be performed, the parallel processing ability of a multi-core processor is fully used, and the initialization time of a system is thus reduced.

Description

A kind of method and device improving payment terminal toggle speed
Technical field
The present invention relates to payment devices technical field is and in particular to a kind of method of raising payment terminal toggle speed and dress Put.
Background technology
With the development in domestic E-Payment market and payment technology, the software system of payment terminal is also increasingly complicated.Mesh Front payment terminal, all employ greatly the complex operations system based on linux or even android, and supports including ic card, magnetic Multiple peripheral hardware such as card, radio-frequency card, various communication modes drives, and it is many to achieve gui, device service, management and many applications etc. Plant software function.
After employing linux or Android system, because system is huge, add the payment related software of numerous increases Module needs to initialize, and toggle speed is very slow, about more than 20 seconds even close to one minute.This causes very very much not to client Become, also testing efficiency when producing is made a big impact.
Employ the payment terminal of operating system at present, initialization procedure is mostly that to complete each software module in order initial Ability loading procedure after change.Even if employing polycaryon processor, its initialization procedure is also that single task completes.Its start is slow, Initialization procedure is long.
Content of the invention
The technical problem to be solved is: improves processor in initial phase utilization rate, thus shorten being System initialization time, improve a kind of method and device of raising payment terminal toggle speed of starting up speed.
In order to solve above-mentioned technical problem, the technical solution used in the present invention is: provides a kind of payment terminal that improves to start The method of speed, comprises the steps:
Step s1: obtaining in payment terminal needs initialized software module, described software module is divided into multiple first Beginningization is gathered;
Software module in each described initialization set is pressed initialization order and is arranged;Software in described initialization set The division of module meets condition: does not have two software modules of initialization order dependence not to be placed on same initialization collection In conjunction;
Step s2: initialize the quantity of set according to step s1, create the initialization process of respective amount successively;
Step s3: the initialization of the software module in corresponding initialization set is executed successively according to described initialization process, Software module is initialized according to the order in initialization set;
After initialization process is carried out completing initialization, payment terminal initialization completes.
Preferably, the software module in the above-mentioned method of raising payment terminal toggle speed, in described initialization set Division meet condition particularly as follows: a, software module below depend on above software module initialization complete;B, one initial Change any software module initialization in set and do not rely on the software module in other initialization set;C, mutual not priority Two software modules of ordering relation, one is positioned in different initialization set.
Another technical scheme of the present invention is for providing a kind of device improving payment terminal toggle speed, comprising:
Division module, needs initialized software module for obtaining in payment terminal, described software module is divided into Multiple initialization set;
Software module in each described initialization set arranges in order;Software module in described initialization set Division meets following condition: two software modules that it doesn't matter is not placed in same initialization set, it is to avoid appoint for one Meaning software module is meaningless to wait the initialization of another software module;
Creation module, for the quantity according to the initialization set in division module, creates the initial of respective amount successively Change process;
Performing module, for executing the first of the software module corresponding in initialization set successively according to described initialization process Beginningization, after initialization process is carried out completing initialization, payment terminal initialization completes.
Preferably, the software module in the above-mentioned device of raising payment terminal toggle speed, in described initialization set Division meet condition particularly as follows: a, software module below depend on above software module initialization complete;B, one initial Change any software module initialization in set and do not rely on the software module in other initialization set;C, mutual not priority Two software modules of ordering relation, one is positioned in different initialization set.
The beneficial effects of the present invention is: the payment terminal initialization procedure being different from prior art is mostly complete in order Become ability loading procedure after each software module initialization, methods and apparatus of the present invention is by being revised as multi-process by initialization program Initialization execution, take full advantage of the parallel processing capability of polycaryon processor, shorten System Initialization time.For monokaryon Processor, this method also can shorten System Initialization time to a certain extent.Because passing through parallel work-flow, improve process Device utilization rate, when can avoid io consumption-type initialization obstruction to lead to now cannot be carried out other initialization operations and extend start Between.Provide the production work efficiency of payment terminal.
Brief description
Fig. 1 is the method flow diagram of the raising payment terminal toggle speed of the specific embodiment of the invention;
Fig. 2 is the structured flowchart of the device of raising payment terminal toggle speed of the specific embodiment of the invention;
Label declaration:
1st, improve the device of payment terminal toggle speed;11st, division module;12nd, creation module;13rd, performing module.
Specific embodiment
By describing the technology contents of the present invention in detail, being realized purpose and effect, below in conjunction with embodiment and coordinate attached Figure is explained.
The design of most critical of the present invention is: methods and apparatus of the present invention is by being revised as multi-process by initialization program Initialization execution, shorten payment terminal System Initialization time.
With the development of arm cortex series processors, the price of polycaryon processor constantly drops, and payment terminal is also opened Begin to use polycaryon processor.At present, the polycaryon processor of cortex series is all based on smp framework, and linux kernel can be automatic Multiple tasks are assigned on multiple processor cores and run, and be all transparent to application program and kernel-driven.
And it is currently based on the system of linux, including Android system, initialization procedure is all single task, including in kernel Initialization, and be used for space initialization procedure.The advantage of polycaryon processor so cannot be made full use of in startup stage.I.e. Make for single core processor, in the initialization procedure of single task, sometimes because waiting hardware to complete work (such as read file, inspection Survey peripheral hardware) and be blocked on certain initialization node, and now processor is idle, and also starting time is caused with certain impact.
Therefore, based on above-mentioned consideration, system initialization process can be allowed to run with multitask mode, to improve processor Utilization rate, allows more operational capabilities for initialization procedure.Excessively complicated in view of the initialization procedure in linux kernel, relate to And much memory management and task management initialize it is difficult to realize multitask, currently invention addresses improving user's space initialization Parallel ability improving toggle speed.
Refer to Fig. 1, the present invention provides a kind of method improving payment terminal toggle speed, comprises the steps:
Step s1: obtaining in payment terminal needs initialized software module, according to the initialization priority of each software module Relation, described software module is divided into multiple initialization set;
Software module in each described initialization set is pressed initialization order and is arranged;Software in described initialization set The division of module meets condition: two software modules not having initialization order dependence is not placed on same initialization In set;Avoid arbitrarily another software module of the meaningless wait of the software module initialization of one of payment terminal, waste etc. Treat the time;
Divide and meet condition particularly as follows: a, software module below depend on above software module initialization to complete;B, one Any software module initialization in individual initialization set does not rely on the software module in other initialization set;C, do not have mutually There are two software modules of sequencing relation, one is positioned in different initialization set.
Above-mentioned setting, it is to avoid one of payment terminal arbitrarily software module is meaningless to be waited at the beginning of another software module Beginningization, wastes the waiting time.
Step s2: initialize the quantity of set according to step s1, create the initialization process of respective amount successively;
Step s3: the initialization of the software module in corresponding initialization set is executed successively according to described initialization process, Software module is initialized according to the order in initialization set;
It is carried out completing after initialization etc. each initialization process, payment terminal initialization completes.Initialization program is carried out again Follow-up work
Refer to Fig. 2, the present invention also provides a kind of device 1 improving payment terminal toggle speed, comprising:
Division module 11, needs initialized software module for obtaining in payment terminal, described software module is divided To multiple initialization set;
Software module in each described initialization set arranges in order;Software module in described initialization set Division meets following condition: two software modules that it doesn't matter is not placed in same initialization set, it is to avoid appoint for one Meaning software module is meaningless to wait the initialization of another software module;
The division of the software module in described initialization set meets condition particularly as follows: a, software module below depend on Above software module initialization completes;It is initial that any software module initialization in b, an initialization set does not rely on other Change the software module in set;C, there is no mutually two software modules of sequencing relation, one is positioned different initialization In set.Above-mentioned setting, it is to avoid one of payment terminal arbitrarily software module is meaningless to be waited at the beginning of another software module Beginningization, wastes the waiting time.
Creation module 12, for the quantity according to the initialization set in division module, creates the first of respective amount successively Beginning process;
Performing module 13, for executing the software module corresponding in initialization set successively according to described initialization process Initialization, after initialization process is carried out completing initialization, payment terminal initialization completes.
In sum, the method and apparatus of the raising payment terminal toggle speed that the present invention provides passes through initialization program It is revised as the initialization execution of multi-process, take full advantage of the parallel processing capability of polycaryon processor, shorten system initialization Time.
For single core processor, the inventive method also can shorten System Initialization time to a certain extent.Because passing through Parallel work-flow, improves processor utilization, and io consumption-type initialization obstruction can be avoided to lead to now cannot be carried out at the beginning of other Beginningization operates and extends the available machine time.Improve the production work efficiency of payment terminal.
The foregoing is only embodiments of the invention, not thereby limit the present invention the scope of the claims, every using this The equivalents that bright description and accompanying drawing content are made, or directly or indirectly it is used in the technical field of correlation, all include in the same manner In the scope of patent protection of the present invention.

Claims (4)

1. a kind of method improving payment terminal toggle speed is it is characterised in that comprise the steps:
Step s1: obtaining in payment terminal needs initialized software module, and described software module is divided into multiple initialization Set;
Software module in each described initialization set is pressed initialization order and is arranged;Software module in described initialization set Division meet condition and be: do not have two software modules of initialization order dependence not to be placed on same initialization set In;
Step s2: initialize the quantity of set according to step s1, create the initialization process of respective amount successively;
Step s3: execute the initialization of the software module in corresponding initialization set, software according to described initialization process successively Module is initialized according to the order in initialization set;After initialization process is carried out completing initialization, payment terminal Initialization completes.
2. the method improving payment terminal toggle speed according to claim 1 is it is characterised in that described initialization set In the division of software module meet condition particularly as follows: a, software module below depend on above software module to initialize Become;Any software module initialization in b, an initialization set does not rely on the software module in other initialization set; C, there is no mutually two software modules of sequencing relation, one is positioned in different initialization set.
3. a kind of device improving payment terminal toggle speed is it is characterised in that include:
Division module, needs initialized software module for obtaining in payment terminal, described software module is divided into multiple Initialization set;
Software module in each described initialization set arranges in order;The division of the software module in described initialization set Meet following condition: do not have two software modules of initialization order dependence not to be placed in same initialization set;
Creation module, for the quantity according to the initialization set in division module, the initialization creating respective amount successively is entered Journey;
Performing module, for executing the initial of the software module corresponding in initialization set successively according to described initialization process Change, after initialization process is carried out completing initialization, payment terminal initialization completes.
4. the device improving payment terminal toggle speed according to claim 3 is it is characterised in that described initialization set In the division of software module meet condition particularly as follows: a, software module below depend on above software module to initialize Become;Any software module initialization in b, an initialization set does not rely on the software module in other initialization set; C, there is no mutually two software modules of sequencing relation, one is positioned in different initialization set.
CN201610785234.0A 2016-08-31 2016-08-31 Method and device for improving starting speed of payment terminal Pending CN106354535A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610785234.0A CN106354535A (en) 2016-08-31 2016-08-31 Method and device for improving starting speed of payment terminal
PCT/CN2017/098241 WO2018040970A1 (en) 2016-08-31 2017-08-21 Method and device for accelerating activation of payment terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610785234.0A CN106354535A (en) 2016-08-31 2016-08-31 Method and device for improving starting speed of payment terminal

Publications (1)

Publication Number Publication Date
CN106354535A true CN106354535A (en) 2017-01-25

Family

ID=57857557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610785234.0A Pending CN106354535A (en) 2016-08-31 2016-08-31 Method and device for improving starting speed of payment terminal

Country Status (2)

Country Link
CN (1) CN106354535A (en)
WO (1) WO2018040970A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040970A1 (en) * 2016-08-31 2018-03-08 福建联迪商用设备有限公司 Method and device for accelerating activation of payment terminal
CN110874242A (en) * 2018-09-03 2020-03-10 珠海全志科技股份有限公司 Method, device and system for initializing parallel start
CN111857844A (en) * 2020-06-19 2020-10-30 浪潮(北京)电子信息产业有限公司 Initialization method of multi-core processor and related device
CN112860352A (en) * 2021-03-17 2021-05-28 惠州Tcl移动通信有限公司 Application loading method and device, storage medium and terminal
CN114647464A (en) * 2022-05-19 2022-06-21 恒生电子股份有限公司 Application parallel start processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818868A (en) * 2006-03-10 2006-08-16 浙江大学 Multi-task parallel starting optimization of built-in operation system
CN103473095A (en) * 2013-09-10 2013-12-25 江苏中科梦兰电子科技有限公司 Accelerating initializing method for central processing unit (CPU) second level cache
CN104731614A (en) * 2015-03-05 2015-06-24 广东欧珀移动通信有限公司 Method and device for accelerating data loading in starting process

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6710764B1 (en) * 2000-05-09 2004-03-23 Logitech Europe S.A. Method and system for processing force feedback effects generated at a host for playback at a physical interaction device
CN106354535A (en) * 2016-08-31 2017-01-25 福建联迪商用设备有限公司 Method and device for improving starting speed of payment terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818868A (en) * 2006-03-10 2006-08-16 浙江大学 Multi-task parallel starting optimization of built-in operation system
CN103473095A (en) * 2013-09-10 2013-12-25 江苏中科梦兰电子科技有限公司 Accelerating initializing method for central processing unit (CPU) second level cache
CN104731614A (en) * 2015-03-05 2015-06-24 广东欧珀移动通信有限公司 Method and device for accelerating data loading in starting process

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018040970A1 (en) * 2016-08-31 2018-03-08 福建联迪商用设备有限公司 Method and device for accelerating activation of payment terminal
CN110874242A (en) * 2018-09-03 2020-03-10 珠海全志科技股份有限公司 Method, device and system for initializing parallel start
CN111857844A (en) * 2020-06-19 2020-10-30 浪潮(北京)电子信息产业有限公司 Initialization method of multi-core processor and related device
CN112860352A (en) * 2021-03-17 2021-05-28 惠州Tcl移动通信有限公司 Application loading method and device, storage medium and terminal
CN114647464A (en) * 2022-05-19 2022-06-21 恒生电子股份有限公司 Application parallel start processing method and device and electronic equipment

Also Published As

Publication number Publication date
WO2018040970A1 (en) 2018-03-08

Similar Documents

Publication Publication Date Title
CN106354535A (en) Method and device for improving starting speed of payment terminal
CN105487838A (en) Task-level parallel scheduling method and system for dynamically reconfigurable processor
CN103207797A (en) Capsule type custom-made updating method based on unified extensible firmware interface firmware system
CN102648453A (en) Distributed multi-core memory initialization
US9990216B2 (en) Providing hypercall interface for virtual machines
CN101344899A (en) Simulation test method and system of on-chip system
CN103645901A (en) Event chain based user interface plugin interaction method
CN103995778A (en) Script file generation method and device based on event and action
US11175919B1 (en) Synchronization of concurrent computation engines
US20170102955A1 (en) Software platform for embedded systems
CN104899369A (en) Simulator multithread running method using PERL scripts
TW201804318A (en) Processors, methods, and systems to identify stores that cause remote transactional execution aborts
CN104156234A (en) Multi-core processor starting and bootloader big-little endian mode adapting method device
CN102902526B (en) A kind of automation method to set up that realizes BMC and IP information by time delay
US20220100512A1 (en) Deterministic replay of a multi-threaded trace on a multi-threaded processor
CN115168130A (en) Chip testing method and device, electronic equipment and storage medium
US20160314089A1 (en) Allocating virtual resources to root pci bus
CN114185874A (en) Big data based modeling method and device, development framework and equipment
Weerasinghe et al. An exploratory evaluation of replacing ESB with microservices in service-oriented architecture
US10922146B1 (en) Synchronization of concurrent computation engines
Chen et al. Me3D: A model-driven methodology expediting embedded device driver development
CN103218251A (en) Method and device for validating multi-core system level chip
US9836323B1 (en) Scalable hypervisor scheduling of polling tasks
CN113051173B (en) Method, device, computer equipment and storage medium for arranging and executing test flow
CN113220368A (en) Storage client resource isolation method, system, terminal and storage medium

Legal Events

Date Code Title Description
C06 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

Application publication date: 20170125

RJ01 Rejection of invention patent application after publication