CN109891385A - A kind of method and terminal for installing POS machine initial configuration information - Google Patents
A kind of method and terminal for installing POS machine initial configuration information Download PDFInfo
- Publication number
- CN109891385A CN109891385A CN201980000051.5A CN201980000051A CN109891385A CN 109891385 A CN109891385 A CN 109891385A CN 201980000051 A CN201980000051 A CN 201980000051A CN 109891385 A CN109891385 A CN 109891385A
- Authority
- CN
- China
- Prior art keywords
- file
- initial configuration
- configuration information
- initialization
- installation
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The present invention provides a kind of method and terminal for installing POS machine initial configuration information, by the first initial configuration information for receiving server-side configuration, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine, the download address of configuration file corresponding with the second initial configuration information is received according to the second initial configuration information, the corresponding configuration file of the second initial configuration information is downloaded according to the download address and the configuration file is installed, configuration file corresponding with the second initial configuration information that POS machine is adapted to can be obtained from the first initial configuration information according to demand, and download and install the configuration file, improve the flexibility of the corresponding configuration file of initial configuration information of installation POS machine, it avoids because of customized production PO The too high problem of cost caused by S machine, has saved cost.
Description
Technical field
The present invention relates to computer software fields more particularly to it is a kind of install POS machine initial configuration information method and
Terminal.
Background technique
Domestic electronic payments industry flourished in recent years, and POS machine credit card transaction is also obtained as one of important branch
Obtained tremendous development.And with the rise of mobile payment, POS machine credit card transaction receives great impact, each POS machine terminal factory
Commercial city is proposed the intelligent POS machine product of oneself, and in addition to cCredit card payment function, intelligent POS machine can also be supported by installing app
The Zhi Fuyu cash register of the channels such as Fu Bao, wechat payment, Unionpay's wallet, QQ wallet, Baidu's wallet, Jingdone district wallet, furthermore can also be
Member's integrating system is added in intelligent POS machine, more store management systems, promotion system, card certificate check and write off the functions such as system
App supports scene under line abundant, while making trade company's cash register convenient, facilitates trade company's management, statistics, promotes and market.
In order to adapt to diversified, the changeable demand that intelligent POS machine uses, the producing and selling and process for using of terminal
Great change has occurred, the client of original intelligence POS machine customizes Launcher, boot animation, preset client by customized production
Specific terminal certificate, firmware, the purpose that can be directly used after purchasing using the softwares such as APP, realization, and now quickly variation
Business demand, may cause the intelligent POS machine of a batch originally customized can not meet demand, it is desirable that the intelligence dispatched from the factory
Again brush machine customizes app to POS machine, virtually increases human input cost, and be easy error;The intelligent POS machine newly purchased is wanted
Customized production again is asked, increases the complexity of factory's line production, the client the more, and then production management cost is higher.And for
Intelligent POS machine can be sold to different dealers until final by the same agent (affiliate) of terminal producer buying
Using client, the customized demand that will lead to intelligent POS machine is more and more, can not reach different final in the direct customized production of producing line
The purpose that client directly uses, and for directly buying the personal user using intelligent POS machine, if meeting the customization of its people
Demand then needs higher cost.
Therefore, the cost needed by customized production intelligence POS machine is too high, and intelligent POS machine installs initial configuration information
Flexibility ratio it is poor.
Summary of the invention
The technical problems to be solved by the present invention are: provide it is a kind of install POS machine initial configuration information method and end
End can be improved the flexibility of the initial configuration information of installation POS machine.
In order to solve the above-mentioned technical problem, a kind of technical solution that the present invention uses are as follows:
A method of installation POS machine initial configuration information, comprising:
S1, the first initial configuration information for receiving server-side configuration;
S2, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine,
With receiving the downloading of configuration file corresponding with the second initial configuration information according to the second initial configuration information
Location;
S3, it is downloaded described in the corresponding configuration file of the second initial configuration information and installation according to the download address
Configuration file.
In order to solve the above-mentioned technical problem, the another technical solution that the present invention uses are as follows:
A kind of terminal for installing POS machine initial configuration information, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the processor perform the steps of when executing the computer program
S1, the first initial configuration information for receiving server-side configuration;
S2, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine,
With receiving the downloading of configuration file corresponding with the second initial configuration information according to the second initial configuration information
Location;
S3, it is downloaded described in the corresponding configuration file of the second initial configuration information and installation according to the download address
Configuration file.
The beneficial effects of the present invention are: the first initial configuration information by receiving server-side configuration, according to described
The second initial configuration information that first initial configuration acquisition of information is adapted to the POS machine, according to second initialization
Configuration information receives the download address of configuration file corresponding with the second initial configuration information, according to the download address
It downloads the corresponding configuration file of the second initial configuration information and the configuration file is installed, it can be according to demand from first
Configuration file corresponding with the second initial configuration information that POS machine is adapted to is obtained in initial configuration information, and is downloaded and pacified
Fill the configuration file, improve installation POS machine the corresponding configuration file of initial configuration information flexibility, avoid because
The too high problem of cost caused by customized production POS machine, has saved cost.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram of installation POS machine initial configuration information of the embodiment of the present invention;
Fig. 2 is a kind of terminal structure schematic diagram of installation POS machine initial configuration information of the embodiment of the present invention;
Fig. 3 is a kind of details flow chart of the method for installation POS machine initial configuration information of the embodiment of the present invention;
Label declaration:
1, the terminal of POS machine initial configuration information is installed;2, memory;3, processor.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached
Figure is explained.
The most critical design of the present invention is: determining that POS machine is suitable according to the first initial configuration information that server-side configures
The the second initial configuration information matched, and download installation.
Fig. 1 is please referred to, a method of installation POS machine initial configuration information, comprising:
S1, the first initial configuration information for receiving server-side configuration;
S2, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine,
With receiving the downloading of configuration file corresponding with the second initial configuration information according to the second initial configuration information
Location;
S3, it is downloaded described in the corresponding configuration file of the second initial configuration information and installation according to the download address
Configuration file.
As can be seen from the above description, the beneficial effects of the present invention are: the first initialization by receiving server-side configuration is matched
Confidence breath, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine, according to
The second initial configuration information receives the download address of configuration file corresponding with the second initial configuration information, root
The corresponding configuration file of the second initial configuration information is downloaded according to the download address and the configuration file is installed, it can
Configuration text corresponding with the second initial configuration information that POS machine is adapted to is obtained from the first initial configuration information according to demand
Part, and download and the configuration file is installed, improve the spirit of the corresponding configuration file of initial configuration information of installation POS machine
Activity, the too high problem of cost, has saved cost caused by avoiding because of customized production POS machine.
Further, include: before the S1
Terminal models and sequence number are sent to server-side, concurrently acts the request for obtaining the first initial configuration information;
The first initial configuration information include initial configuration ID, initial configuration title, initial configuration explanation,
Match flag and app list;
The first initial configuration information is corresponding with the preset initialization essential information of the server-side;
The preset initialization essential information includes initial configuration name corresponding with the terminal models and sequence number
Title, institutional affiliation, affiliated industry and configuration instruction.
Seen from the above description, due to the first initial configuration information and the preset initialization essential information of the server-side
It is corresponding, and the preset initialization essential information includes initial configuration name corresponding with the terminal models and sequence number
Title, institutional affiliation, affiliated industry and configuration instruction, therefore by sending terminal models and sequence number to server-side, convenient for obtaining
The first initial configuration information corresponding with the terminal models and sequence number, improves suitability.
Further, it is received in the S2 according to the second initial configuration information and is believed with second initial configuration
The download address for ceasing corresponding configuration file includes:
The initial configuration ID, terminal models and sequence number are sent to service according to the second initial configuration information
End receives the corresponding download address of initialization task detail determined according to the initial configuration ID that server-side is sent;
The initialization task detail is corresponding with the preset initialization detail configuration of the server-side;
The initialization detail configuration includes certificate, OTA, boot animation, app and parameter.
Seen from the above description, server-side can basis and the corresponding initial configuration ID of the second initial configuration information it is true
Determine initialization task detail to be downloaded, ensure that the accuracy of downloading.
Further, the corresponding configuration of the second initial configuration information is downloaded according to the download address in the S3
File includes:
It is corresponding that the corresponding initialization task detail of the second initial configuration information is downloaded according to the download address
Second downloading file;
Second download file includes certificate file, boot animation file, OTA file, app and Parameter File;
Breakpoint transmission is supported in the downloading of the second downloading file.
Seen from the above description, second download file includes certificate file, boot animation file, OTA file, app
And Parameter File, the diversity of downloading is improved, the downloading of the second downloading file supports breakpoint transmission, has saved the time,
Improve the flexibility of downloading.
Further, the step S2 further include:
Receive the md5 value and size of the first downloading file corresponding with the initialization task detail that server-side is sent;
Include: before the configuration file is installed in the step S3
The second downloading file is verified according to the md5 value of the first downloading file and size.
Seen from the above description, the second downloading file is verified according to the md5 of the first downloading file and size,
The accuracy for improving downloading avoids downloading mistake.
Further, installing the configuration file in the step S3 includes:
The root certificate for including in the certificate file is installed;
It is whether legal that the boot animation file, OTA file, app and Parameter File are verified according to the root certificate;
If so, installing the boot animation file, OTA file, app and Parameter File;
Otherwise, then refuse to install.
Seen from the above description, boot animation file, OTA file, app are verified by the root certificate in installation certificate file
With the legitimacy of Parameter File, the safety of installation is improved.
Further, the installation highest priority of certificate file in the second downloading file is set;
The installation priority that the OTA file is arranged is higher than the installation priority of the app.
It seen from the above description, can by the way that the installation highest priority of certificate file in the second downloading file is arranged
To verify after installing certificate file to OTA file, app and Parameter File, guarantee the safety of installation;By first pacifying
Dress OTA file provides basis for the installation of app, guarantees going on smoothly for app installation.
Further, after the step S3 further include:
Configuration file after installation is verified, initialization installation results are sent to the server-side;
Receive the initialization task detail state updated according to the initialization installation results that server-side is sent.
Seen from the above description, the first of POS machine is intuitively understood convenient for user by the initialization task detail state
Beginningization installation results are convenient for later maintenance.
Further, the initialization task detail state includes that the corresponding error code of task of failed download and mistake are retouched
It states.
Seen from the above description, the corresponding error code of task of the failed download in the initialization task detail state and
Error description can facilitate adjustment of the user to the installation progress adaptability of the initial configuration information of POS machine.
Further, after receiving initialization task detail state further include:
According to the initialization task detail status display initialization result, the initialization result includes terminal serial
Number, terminal models, downloading file type, downloading file name, file size, downloading result and error description.
Seen from the above description, quick convenient for user according to the initialization task detail status display initialization result
The problem of encountering during the initial configuration information of location and installation POS machine also facilitates user to the subsequent dimension of POS machine
Shield.
Referring to figure 2., a kind of terminal for installing POS machine initial configuration information, including memory, processor and be stored in
On memory and the computer program that can run on a processor, the processor are realized following when executing the computer program
Step:
S1, the first initial configuration information for receiving server-side configuration;
S2, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine,
With receiving the downloading of configuration file corresponding with the second initial configuration information according to the second initial configuration information
Location;
S3, it is downloaded described in the corresponding configuration file of the second initial configuration information and installation according to the download address
Configuration file.
As can be seen from the above description, the beneficial effects of the present invention are: the first initialization by receiving server-side configuration is matched
Confidence breath, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine, according to
The second initial configuration information receives the download address of configuration file corresponding with the second initial configuration information, root
The corresponding configuration file of the second initial configuration information is downloaded according to the download address and the configuration file is installed, it can
Configuration text corresponding with the second initial configuration information that POS machine is adapted to is obtained from the first initial configuration information according to demand
Part, and download and the configuration file is installed, improve the spirit of the corresponding configuration file of initial configuration information of installation POS machine
Activity, the too high problem of cost, has saved cost caused by avoiding because of customized production POS machine.
Further, include: before the S1
Terminal models and sequence number are sent to server-side, concurrently acts the request for obtaining the first initial configuration information;
The first initial configuration information include initial configuration ID, initial configuration title, initial configuration explanation,
Match flag and app list;
The first initial configuration information is corresponding with the preset initialization essential information of the server-side;
The preset initialization essential information includes initial configuration name corresponding with the terminal models and sequence number
Title, institutional affiliation, affiliated industry and configuration instruction.
Seen from the above description, due to the first initial configuration information and the preset initialization essential information of the server-side
It is corresponding, and the preset initialization essential information includes initial configuration name corresponding with the terminal models and sequence number
Title, institutional affiliation, affiliated industry and configuration instruction, therefore by sending terminal models and sequence number to server-side, convenient for obtaining
The first initial configuration information corresponding with the terminal models and sequence number, improves suitability.
Further, it is received in the S2 according to the second initial configuration information and is believed with second initial configuration
The download address for ceasing corresponding configuration file includes:
The initial configuration ID, terminal models and sequence number are sent to service according to the second initial configuration information
End receives the corresponding download address of initialization task detail determined according to the initial configuration ID that server-side is sent;
The initialization task detail is corresponding with the preset initialization detail configuration of the server-side;
The initialization detail configuration includes certificate, OTA, boot animation, app and parameter.
Seen from the above description, server-side can basis and the corresponding initial configuration ID of the second initial configuration information it is true
Determine initialization task detail to be downloaded, ensure that the accuracy of downloading.
Further, the corresponding configuration of the second initial configuration information is downloaded according to the download address in the S3
File includes:
It is corresponding that the corresponding initialization task detail of the second initial configuration information is downloaded according to the download address
Second downloading file;
Second download file includes certificate file, boot animation file, OTA file, app and Parameter File;
Breakpoint transmission is supported in the downloading of the second downloading file.
Seen from the above description, second download file includes certificate file, boot animation file, OTA file, app
And Parameter File, the diversity of downloading is improved, the downloading of the second downloading file supports breakpoint transmission, has saved the time,
Improve speed of download.
Further, the step S2 further include:
Receive the md5 value and size of the first downloading file corresponding with the initialization task detail that server-side is sent;
Include: before the configuration file is installed in the step S3
The second downloading file is verified according to the md5 value of the first downloading file and size.
Seen from the above description, the second downloading file is verified according to the md5 of the first downloading file and size,
The accuracy for improving downloading avoids downloading mistake.
Further, installing the configuration file in the step S3 includes:
The root certificate for including in the certificate file is installed;
It is whether legal that the boot animation file, OTA file, app and Parameter File are verified according to the root certificate;
If so, installing the boot animation file, OTA file, app and Parameter File;
Otherwise, then refuse to install.
Seen from the above description, OTA file, app and Parameter File are verified by the root certificate in installation certificate file
Legitimacy improves the safety of installation.
Further, the installation highest priority of certificate file in the second downloading file is set;
The installation priority that the OTA file is arranged is higher than the installation priority of the app.
It seen from the above description, can by the way that the installation highest priority of certificate file in the second downloading file is arranged
To verify after installing certificate file to OTA file, app and Parameter File, guarantee the safety of installation;By first pacifying
Dress OTA file provides basis for the installation of app, guarantees going on smoothly for app installation.
Further, after the step S3 further include:
Configuration file after installation is verified, initialization installation results are sent to the server-side;
Receive the initialization task detail state updated according to the initialization installation results that server-side is sent.
Seen from the above description, the first of POS machine is intuitively understood convenient for user by the initialization task detail state
Beginningization installation results are convenient for later maintenance.
Further, the initialization task detail state includes that the corresponding error code of task of failed download and mistake are retouched
It states.
Seen from the above description, the corresponding error code of task of the failed download in the initialization task detail state and
Error description can facilitate adjustment of the user to the installation progress adaptability of the initial configuration information of POS machine.
Further, after receiving initialization task detail state further include:
According to the initialization task detail status display initialization result, the initialization result includes terminal serial
Number, terminal models, downloading file type, downloading file name, file size, downloading result and error description.
Seen from the above description, quick convenient for user according to the initialization task detail status display initialization result
The problem of encountering during the initial configuration information of location and installation POS machine also facilitates user to the subsequent dimension of POS machine
Shield.
Embodiment one
Fig. 1 is please referred to, a method of installation POS machine initial configuration information, comprising:
The default initialization essential information of S01, server-side, the initialization essential information include and the terminal models and sequence
The corresponding initial configuration title of row number, institutional affiliation, affiliated industry and configuration instruction;
The default initialization detail configuration of S02, server-side, the initialization detail configuration including certificate, OTA, boot animation,
App and parameter;
Wherein, the certificate effect is the safety distinguished the terminal of different clients and reinforce POS machine;It can basis
Business needs to give specific terminal distribution distinctive certificate, can also be according to terminal institutional affiliation, to the terminal under same mechanism point
With identical certificate, each terminal distribution difference certificate to same mechanism is avoided to cause unnecessary trouble;
Wherein, the OTA includes Launcher, certain firmware, the bottom layer driving etc. of customization, the POS machine of different clients
Usage scenario there is a situation where it is different, it is therefore desirable to the Launcher of custom fitting, while the external equipment of POS machine may also
There is a situation where different, needs certain firmware and bottom layer driving, above-mentioned software can be packaged into zip as OTA and be stored in clothes
Business end;
Wherein, the boot animation is customization requirement, including client's brand LOGO and ad content etc., described to open
Motor-driven picture is packaged using scheduled format;
Wherein, the app carries business demand, provides the diversification of POS machine service scenarios, passes through pass in server-side
The conditions such as the search of key word or affiliated industry scan for, and can quickly select the app needed;
Wherein, the parameter includes the parameter of various app and the parameter of other configurations, and the parameter configuration of various app is having
Operative configuration is carried out on body app, the other configurations parameter that terminal needs independent can be separately configured;
Further, the including but not limited to above configuration of the preset initialization detail configuration of server-side, can be according to reality
Border demand determines, for example, can configuration to the OTA carry out fractionation refinement, split into bottom firmware, bottom software, outer
If driving and being separately configured one by one;The configuration of app can be configured individually by specific app is independent, such as payment clothes
Business packet app, can interact the configuration of interface UI according to the characteristics of payment services packet app;
Further, described after the preset initialization detail of client installation server-side configures corresponding configuration file
The update of app and parameter is also safeguarded in server-side, realizes unified management of the server-side to the app and parameter, client exists
Be capable of the update of real-time perfoming app and parameter during subsequent use to meet actual demand, in addition, be not limited only to app and
The update of parameter, the newly-increased of app, the update of Launcher and boot animation and the reparation of bottom layer driving and bug upgrading all may be used
To be completed in server-side, therefore, can be configured in server-side for the corresponding initialization detail of demand customization of client and subsequent
Update detail configuration.
S03, initialization detail configuration is associated with the initialization essential information, when subsequent terminal is carrying out
When initial configuration information is installed, corresponding institutional affiliation can be searched according to terminal models and sequence number, according to described affiliated
The corresponding initialization detail configuration of authority match.
S04, terminal models and sequence number are sent to server-side, concurrently acts the request for obtaining the first initial configuration information;
The first initial configuration information include initial configuration ID, initial configuration title, initial configuration explanation,
Match flag and app list;
The first initial configuration information is corresponding with the preset initialization essential information of the server-side;
Wherein, server-side can search corresponding initialization essential information according to the terminal models and sequence number that terminal is sent;
The app list in POS machine for showing preset app.
S1, the first initial configuration information for receiving server-side configuration;
S2, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine,
With receiving the downloading of configuration file corresponding with the second initial configuration information according to the second initial configuration information
Location;
Wherein, it is received and the second initial configuration information pair in the S2 according to the second initial configuration information
The download address for the configuration file answered includes:
The initial configuration ID, terminal models and sequence number are sent to service according to the second initial configuration information
End receives the corresponding download address of initialization task detail determined according to the initial configuration ID that server-side is sent;
The initialization task detail is corresponding with the preset initialization detail configuration of the server-side;
Wherein, server-side is inquired preset initialization detail according to the initial configuration ID that terminal is sent and is configured, according to institute
It states initialization detail configuration and generates and match the corresponding initialization task detail of ID with the initialization;
It wherein, further include receiving initialization task ID, the initialization task ID is related to the initialization task detail
Connection.
The initialization task ID is to be associated according to initial configuration ID, terminal, and then can be positioned according to terminal
Initialization task ID, the final initialization result that initialization task records this terminal are success or failure;Basis simultaneously
Initialization task detail associated by initialization task ID, is also able to know that the result of each detail of initialization task.
S3, it is downloaded described in the corresponding configuration file of the second initial configuration information and installation according to the download address
Configuration file.
Wherein, the corresponding configuration file of the second initial configuration information is downloaded according to the download address in the S3
Include:
It is corresponding that the corresponding initialization task detail of the second initial configuration information is downloaded according to the download address
Second downloading file;
Second download file includes certificate file, boot animation file, OTA file, app and Parameter File;
Breakpoint transmission is supported in the downloading of the second downloading file.
Embodiment two
Fig. 1 is please referred to, the present embodiment and the difference of embodiment one are:
The step S2 further include:
Receive the md5 value and size of the first downloading file corresponding with the initialization task detail that server-side is sent;
Include: before the configuration file is installed in the step S3
The second downloading file is verified according to the md5 value of the first downloading file and size.
Installing the configuration file in the step S3 includes:
The root certificate for including in the certificate file is installed;
It is whether legal that the boot animation file, OTA file, app and Parameter File are verified according to the root certificate;
If so, installing the boot animation file, OTA file, app and Parameter File;
Otherwise, then refuse to install.
Wherein, the installation highest priority of certificate file in the second downloading file is set;
The installation priority that the OTA file is arranged is higher than the installation priority of the app;
Wherein, the sequence for installing the configuration file can determine according to the actual situation, preferably successively install certificate
File, boot animation file, OTA file, using APP and Parameter File;
Wherein, the downloading and installation of app can determine according to the actual situation, and preferably Multi-thread synchronization carries out, to mention
The efficiency of height downloading and installation app.
Embodiment three
Fig. 1 and Fig. 3 are please referred to, the present embodiment and the difference of embodiment one are:
After the step S3 further include:
Configuration file after installation is verified, initialization installation results are sent to the server-side;
Receive the initialization task detail state updated according to the initialization installation results that server-side is sent;
Wherein, if in the configuration file including OTA file, first terminal is carried out before verifying the configuration file
Restart;
Wherein, the initialization task detail state includes the corresponding error code of task and error description of failed download;
Specifically, the initialization task detail state is used to record the most termination of POS machine installation initial configuration information
Fruit and detail, the initialization task detail state include that initialization task detail record state and initialization task detail update
State;
The record content of the initialization task detail record state is corresponding with the step S2, i.e., asks in terminal initiation
After asking, server-side searches the corresponding configuration file of the second initial configuration information according to request, and records the initialization task
Detail record state is to have issued;
The record content of the initialization task detail more new state is corresponding with the step S3, i.e., in terminal according to institute
It is described first after stating the corresponding configuration file of download address downloading the second initial configuration information and the configuration file being installed
Beginning task detail more new state can be according to the configuration file misregistration code and error description to failed download;
Wherein, after receiving initialization task detail state further include:
According to the initialization task detail status display initialization result, the initialization result includes terminal serial
Number, terminal models, downloading file type, downloading file name, file size, downloading result and error description, wherein including
Initialization result display module, the initialization result display module is for showing the initialization result.
Example IV
Referring to figure 2., a kind of terminal 1 for installing POS machine initial configuration information, including memory 2, processor 3 and deposit
The computer program that can be run on memory 2 and on processor 3 is stored up, when the processor 3 executes the computer program
Realize the step in embodiment one.
Embodiment five
Referring to figure 2., a kind of terminal 1 for installing POS machine initial configuration information, including memory 2, processor 3 and deposit
The computer program that can be run on memory 2 and on processor 3 is stored up, when the processor 3 executes the computer program
Realize the step in embodiment two.
Embodiment six
Referring to figure 2., a kind of terminal 1 for installing POS machine initial configuration information, including memory 2, processor 3 and deposit
The computer program that can be run on memory 2 and on processor 3 is stored up, when the processor 3 executes the computer program
Realize the step in embodiment one.
In conclusion a kind of method and terminal for installing POS machine initial configuration information provided by the invention, passes through reception
First initial configuration information of server-side configuration, is adapted to according to the first initial configuration acquisition of information with the POS machine
The second initial configuration information, according to the second initial configuration information receive with the second initial configuration information pair
The download address for the configuration file answered downloads the corresponding configuration text of the second initial configuration information according to the download address
Part simultaneously installs the configuration file, can obtain second with POS machine adaptation from the first initial configuration information according to demand
The corresponding configuration file of initial configuration information, and download and the configuration file is installed, improve the initialization of installation POS machine
The flexibility of the corresponding configuration file of configuration information, the too high problem of cost caused by avoiding because of customized production POS machine are saved
Cost downloads the erection sequence of file by reasonable arrangement second, ensure that the safety and conjunction of the installation of the second downloading file
Rationality;The installation results of initial configuration information are installed by record POS machine and are shown, facilitates user and is quickly located in
The problem of being encountered during the initial configuration information for installing POS machine, and carry out the debugging and processing of adaptability.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include
In scope of patent protection of the invention.
Claims (20)
1. a kind of method for installing POS machine initial configuration information characterized by comprising
S1, the first initial configuration information for receiving server-side configuration;
S2, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine, according to
The second initial configuration information receives the download address of configuration file corresponding with the second initial configuration information;
S3, the corresponding configuration file of the second initial configuration information is downloaded according to the download address and the configuration is installed
File.
2. the method for installation POS machine initial configuration information according to claim 1, which is characterized in that before the S1
Include:
Terminal models and sequence number are sent to server-side, concurrently acts the request for obtaining the first initial configuration information;
The first initial configuration information includes initial configuration ID, initial configuration title, initial configuration explanation, matching
Mark and app list;
The first initial configuration information is corresponding with the preset initialization essential information of the server-side;
The preset initialization essential information includes initial configuration title corresponding with the terminal models and sequence number, institute
Belong to mechanism, affiliated industry and configuration instruction.
3. the method for installation POS machine initial configuration information according to claim 2, which is characterized in that root in the S2
The download address of configuration file corresponding with the second initial configuration information is received according to the second initial configuration information
Include:
The initial configuration ID, terminal models and sequence number are sent to server-side according to the second initial configuration information,
Receive the corresponding download address of initialization task detail determined according to the initial configuration ID that server-side is sent;
The initialization task detail is corresponding with the preset initialization detail configuration of the server-side;
The initialization detail configuration includes certificate, OTA, boot animation, app and parameter.
4. the method for installation POS machine initial configuration information according to claim 3, which is characterized in that root in the S3
Downloading the corresponding configuration file of the second initial configuration information according to the download address includes:
The corresponding initialization task detail corresponding second of the second initial configuration information is downloaded according to the download address
Download file;
Second download file includes certificate file, boot animation file, OTA file, app and Parameter File;
Breakpoint transmission is supported in the downloading of the second downloading file.
5. the method for installation POS machine initial configuration information according to claim 4, which is characterized in that the step S2
Further include:
Receive the md5 value and size of the first downloading file corresponding with the initialization task detail that server-side is sent;
Include: before the configuration file is installed in the step S3
The second downloading file is verified according to the md5 value of the first downloading file and size.
6. the method for installation POS machine initial configuration information according to claim 4 or 5, which is characterized in that the step
The configuration file is installed in S3 includes:
The root certificate for including in the certificate file is installed;
It is whether legal that the boot animation file, OTA file, app and Parameter File are verified according to the root certificate;
If so, installing the boot animation file, OTA file, app and Parameter File;
Otherwise, then refuse to install.
7. the method for installation POS machine initial configuration information according to claim 6, which is characterized in that setting described the
The installation highest priority of certificate file in two downloading files;
The installation priority that the OTA file is arranged is higher than the installation priority of the app.
8. the method for installation POS machine initial configuration information according to claim 6, which is characterized in that the step S3
Later further include:
Configuration file after installation is verified, initialization installation results are sent to the server-side;
Receive the initialization task detail state updated according to the initialization installation results that server-side is sent.
9. the method for installation POS machine initial configuration information according to claim 8, which is characterized in that
The initialization task detail state includes the corresponding error code of task and error description of failed download.
10. the method for installation POS machine initial configuration information according to claim 8 or claim 9, which is characterized in that receiving
To after initialization task detail state further include:
According to the initialization task detail status display initialization result, the initialization result includes terminal serial number, end
Hold model, downloading file type, downloading file name, file size, downloading result and error description.
11. a kind of terminal for installing POS machine initial configuration information, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, which is characterized in that the processor realized when executing the computer program with
Lower step:
S1, the first initial configuration information for receiving server-side configuration;
S2, the second initial configuration information being adapted to according to the first initial configuration acquisition of information with the POS machine, according to
The second initial configuration information receives the download address of configuration file corresponding with the second initial configuration information;
S3, the corresponding configuration file of the second initial configuration information is downloaded according to the download address and the configuration is installed
File.
12. it is according to claim 11 installation POS machine initial configuration information terminal, which is characterized in that the S1 it
Before include:
Terminal models and sequence number are sent to server-side, concurrently acts the request for obtaining the first initial configuration information;
The first initial configuration information includes initial configuration ID, initial configuration title, initial configuration explanation, matching
Mark and app list;
The first initial configuration information is corresponding with the preset initialization essential information of the server-side;
The preset initialization essential information includes initial configuration title corresponding with the terminal models and sequence number, institute
Belong to mechanism, affiliated industry and configuration instruction.
13. the terminal of installation POS machine initial configuration information according to claim 12, which is characterized in that in the S2
With receiving the downloading of configuration file corresponding with the second initial configuration information according to the second initial configuration information
Location includes:
The initial configuration ID, terminal models and sequence number are sent to server-side according to the second initial configuration information,
Receive the corresponding download address of initialization task detail determined according to the initial configuration ID that server-side is sent;
The initialization task detail is corresponding with the preset initialization detail configuration of the server-side;
The initialization detail configuration includes certificate, OTA, boot animation, app and parameter.
14. the terminal of installation POS machine initial configuration information according to claim 13, which is characterized in that in the S3
Downloading the corresponding configuration file of the second initial configuration information according to the download address includes:
The corresponding initialization task detail corresponding second of the second initial configuration information is downloaded according to the download address
Download file;
Second download file includes certificate file, boot animation file, OTA file, app and Parameter File;
Breakpoint transmission is supported in the downloading of the second downloading file.
15. the terminal of installation POS machine initial configuration information according to claim 14, which is characterized in that the step
S2 further include:
Receive the md5 value and size of the first downloading file corresponding with the initialization task detail that server-side is sent;
Include: before the configuration file is installed in the step S3
The second downloading file is verified according to the md5 value of the first downloading file and size.
16. the terminal of installation POS machine initial configuration information according to claim 14 or 15, which is characterized in that described
The configuration file is installed in step S3 includes:
The root certificate for including in the certificate file is installed;
It is whether legal that the boot animation file, OTA file, app and Parameter File are verified according to the root certificate;
If so, installing the boot animation file, OTA file, app and Parameter File;
Otherwise, then refuse to install.
17. the terminal of installation POS machine initial configuration information according to claim 16, which is characterized in that described in setting
The installation highest priority of certificate file in second downloading file;
The installation priority that the OTA file is arranged is higher than the installation priority of the app.
18. the terminal of installation POS machine initial configuration information according to claim 16, which is characterized in that the step
After S3 further include:
Configuration file after installation is verified, initialization installation results are sent to the server-side;
Receive the initialization task detail state updated according to the initialization installation results that server-side is sent.
19. the terminal of installation POS machine initial configuration information according to claim 18, which is characterized in that
The initialization task detail state includes the corresponding error code of task and error description of failed download.
20. the terminal of installation POS machine initial configuration information described in 8 or 19 according to claim 1, which is characterized in that connecing
After receiving initialization task detail state further include:
According to the initialization task detail status display initialization result, the initialization result includes terminal serial number, end
Hold model, downloading file type, downloading file name, file size, downloading result and error description.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/071142 WO2020142981A1 (en) | 2019-01-10 | 2019-01-10 | Method for installing initial configuration information of pos machine, and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109891385A true CN109891385A (en) | 2019-06-14 |
CN109891385B CN109891385B (en) | 2023-02-10 |
Family
ID=66938494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201980000051.5A Active CN109891385B (en) | 2019-01-10 | 2019-01-10 | Method and terminal for installing POS machine initialization configuration information |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109891385B (en) |
WO (1) | WO2020142981A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111866855A (en) * | 2020-07-17 | 2020-10-30 | 江苏海全科技有限公司 | Intelligent terminal initialization activation method |
CN112099863A (en) * | 2020-09-21 | 2020-12-18 | 南京芯驰半导体科技有限公司 | Method and device for updating startup picture and computer readable storage medium |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020117545A1 (en) * | 2000-06-07 | 2002-08-29 | Metrologic Instruments, Inc. | Method of and system for producing images of objects using planar laser illumination beams and image detection arrays |
CN103116505A (en) * | 2012-11-16 | 2013-05-22 | 福建联迪商用设备有限公司 | Downloading method capable of automatic matching |
CN103295341A (en) * | 2013-05-16 | 2013-09-11 | 中国工商银行股份有限公司 | POS (point-of-sales) safety certification device, POS safety certification system and POS device safety certification method |
CA2820342A1 (en) * | 2012-06-28 | 2013-12-28 | Jean-Marie WHITE | Application discovery |
CN103914324A (en) * | 2013-01-08 | 2014-07-09 | 海尔集团公司 | Method for automatically burning firmware of embedded equipment, and system thereof |
EP2930616A1 (en) * | 2014-04-11 | 2015-10-14 | Samsung Electronics Co., Ltd. | Device and method for generating application package |
CN105260213A (en) * | 2015-10-30 | 2016-01-20 | 中国民生银行股份有限公司 | Intelligent POS machine initialization method and device |
CN105933150A (en) * | 2016-04-20 | 2016-09-07 | 努比亚技术有限公司 | OTA upgrade method, device and system |
CN106484470A (en) * | 2016-09-29 | 2017-03-08 | 努比亚技术有限公司 | The processing method of application program installation kit, device and server |
CN106934278A (en) * | 2017-03-20 | 2017-07-07 | 福建超汇信息技术有限公司 | Software installation method and its system based on barcode scanning equipment |
CN107133166A (en) * | 2017-03-24 | 2017-09-05 | 国家电网公司 | A kind of Remote configuration and management method of Android test systems |
CN107181795A (en) * | 2017-05-05 | 2017-09-19 | 恒鸿达科技有限公司 | A kind of convenient packaging process of wireless security terminal firmware and system |
US20170322789A1 (en) * | 2016-05-04 | 2017-11-09 | Hon Hai Precision Industry Co., Ltd. | System and method for automatically installing application |
CN107506207A (en) * | 2017-07-07 | 2017-12-22 | 上海汇尔通信息技术有限公司 | The safe verification method and terminal of a kind of POS |
CN107908430A (en) * | 2017-11-01 | 2018-04-13 | 福建新大陆支付技术有限公司 | A kind of method and POS machine of configuration POS file system |
US20180173516A1 (en) * | 2016-12-21 | 2018-06-21 | Quanta Computer Inc. | System and method for remotely updating firmware |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107992308B (en) * | 2017-11-22 | 2020-10-20 | 竞技世界(北京)网络技术有限公司 | Plug-in management method for android terminal application program |
-
2019
- 2019-01-10 WO PCT/CN2019/071142 patent/WO2020142981A1/en active Application Filing
- 2019-01-10 CN CN201980000051.5A patent/CN109891385B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020117545A1 (en) * | 2000-06-07 | 2002-08-29 | Metrologic Instruments, Inc. | Method of and system for producing images of objects using planar laser illumination beams and image detection arrays |
CA2820342A1 (en) * | 2012-06-28 | 2013-12-28 | Jean-Marie WHITE | Application discovery |
CN103116505A (en) * | 2012-11-16 | 2013-05-22 | 福建联迪商用设备有限公司 | Downloading method capable of automatic matching |
CN103914324A (en) * | 2013-01-08 | 2014-07-09 | 海尔集团公司 | Method for automatically burning firmware of embedded equipment, and system thereof |
CN103295341A (en) * | 2013-05-16 | 2013-09-11 | 中国工商银行股份有限公司 | POS (point-of-sales) safety certification device, POS safety certification system and POS device safety certification method |
EP2930616A1 (en) * | 2014-04-11 | 2015-10-14 | Samsung Electronics Co., Ltd. | Device and method for generating application package |
CN105260213A (en) * | 2015-10-30 | 2016-01-20 | 中国民生银行股份有限公司 | Intelligent POS machine initialization method and device |
CN105933150A (en) * | 2016-04-20 | 2016-09-07 | 努比亚技术有限公司 | OTA upgrade method, device and system |
US20170322789A1 (en) * | 2016-05-04 | 2017-11-09 | Hon Hai Precision Industry Co., Ltd. | System and method for automatically installing application |
CN106484470A (en) * | 2016-09-29 | 2017-03-08 | 努比亚技术有限公司 | The processing method of application program installation kit, device and server |
US20180173516A1 (en) * | 2016-12-21 | 2018-06-21 | Quanta Computer Inc. | System and method for remotely updating firmware |
CN106934278A (en) * | 2017-03-20 | 2017-07-07 | 福建超汇信息技术有限公司 | Software installation method and its system based on barcode scanning equipment |
CN107133166A (en) * | 2017-03-24 | 2017-09-05 | 国家电网公司 | A kind of Remote configuration and management method of Android test systems |
CN107181795A (en) * | 2017-05-05 | 2017-09-19 | 恒鸿达科技有限公司 | A kind of convenient packaging process of wireless security terminal firmware and system |
CN107506207A (en) * | 2017-07-07 | 2017-12-22 | 上海汇尔通信息技术有限公司 | The safe verification method and terminal of a kind of POS |
CN107908430A (en) * | 2017-11-01 | 2018-04-13 | 福建新大陆支付技术有限公司 | A kind of method and POS machine of configuration POS file system |
Non-Patent Citations (2)
Title |
---|
SEUNGWON NA等: "Design and implementation of sync engine for automatic installation system of PDA application programs", 《PROCEEDINGS 2003 IEEE INTERNATIONAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE IN ROBOTICS AND AUTOMATION. COMPUTATIONAL INTELLIGENCE IN ROBOTICS AND AUTOMATION FOR THE NEW MILLENNIUM》 * |
贾发明: "面向IBM P系列小型机系统的自动化配置工具的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111866855A (en) * | 2020-07-17 | 2020-10-30 | 江苏海全科技有限公司 | Intelligent terminal initialization activation method |
CN111866855B (en) * | 2020-07-17 | 2021-01-08 | 江苏海全科技有限公司 | Intelligent terminal initialization activation method |
CN112099863A (en) * | 2020-09-21 | 2020-12-18 | 南京芯驰半导体科技有限公司 | Method and device for updating startup picture and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109891385B (en) | 2023-02-10 |
WO2020142981A1 (en) | 2020-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102622241B (en) | A kind of method for upgrading software and device | |
CN100442712C (en) | Method and system for realizing network terminal equipment configuration automatic updating | |
US20060168573A1 (en) | Method and apparatus for building an electronic product | |
CN110096424B (en) | Test processing method and device, electronic equipment and storage medium | |
GB2422987A (en) | Method of providing content to a wireless computing device | |
CA2698066A1 (en) | System and method for remotely compiling multi-platform native applications for mobile devices | |
EP1906305B1 (en) | Method and system for data preparation and communication between software applications | |
CN109656597A (en) | Firmware upgrade method, device and computer readable storage medium | |
CN108874437B (en) | Online cloud updating method for android application program | |
CN101986740A (en) | JAVA card | |
CN109891385A (en) | A kind of method and terminal for installing POS machine initial configuration information | |
CN107122219A (en) | The acquisition methods and device of installation file | |
KR101373550B1 (en) | System for platform system based on network | |
CN109002314A (en) | Oftware updating method, device, electronic equipment and storage medium | |
CN109032661A (en) | System version method for customizing, device and intelligent terminal | |
CN104267979A (en) | Method and device for starting applications on Launcher and terminal | |
WO2015015406A1 (en) | System for distributing software applications to pos payment terminals | |
US11017380B1 (en) | Systems and methods for EMV terminal device testing using EMV card emulation | |
CN116643761A (en) | Customized mirror image manufacturing and deploying method, device, terminal and medium | |
CN112463199A (en) | System upgrading method and terminal | |
CN109451357A (en) | Method for smart television optimization OEM order production upgrading | |
CN115390873A (en) | Time frequency equipment firmware upgrading method based on single chip microcomputer and readable access medium | |
CN114237634A (en) | Application release risk identification method, device, equipment, medium and program product | |
CN113608752A (en) | Method, system and device for installing intelligent network card system and readable storage medium | |
CN107315602B (en) | Application program upgrading method and terminal |
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 |