WO2020134536A1 - 支付应用的定制开发方法、装置、计算机设备和存储介质 - Google Patents

支付应用的定制开发方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2020134536A1
WO2020134536A1 PCT/CN2019/114634 CN2019114634W WO2020134536A1 WO 2020134536 A1 WO2020134536 A1 WO 2020134536A1 CN 2019114634 W CN2019114634 W CN 2019114634W WO 2020134536 A1 WO2020134536 A1 WO 2020134536A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource file
device operation
application
hash value
operation service
Prior art date
Application number
PCT/CN2019/114634
Other languages
English (en)
French (fr)
Inventor
涂钦魁
王绍林
Original Assignee
百富计算机技术(深圳)有限公司
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 百富计算机技术(深圳)有限公司 filed Critical 百富计算机技术(深圳)有限公司
Priority to US17/785,822 priority Critical patent/US20230351050A1/en
Publication of WO2020134536A1 publication Critical patent/WO2020134536A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated

Definitions

  • This application relates to the field of computer technology, and in particular, to a customized development method, device, computer equipment, and storage medium for payment applications.
  • POS point of sale, payment terminals
  • platforms customized for POS terminals have appeared on the market.
  • the current platform customized for POS terminals uses hard-coded methods to meet the needs of users. This hard-coded method allows users to resubmit codes when implementing their own new functions and waits for the platform to be released before use. The update time is longer.
  • a customized development method for payment applications includes:
  • the writing the resource file to the device operation service includes:
  • the acquiring the corresponding resource file from the device operation service through the device operation interface includes:
  • the method further includes:
  • the acquiring the resource file from the device operation service through the device operation interface and storing it in the storage space of the application includes:
  • the third hash value of the resource file stored in the storage space of the application is obtained through the device operation interface, and the third Before the four hashes, it also includes:
  • a customized development device for payment applications includes:
  • the obtaining module is used to obtain the resource file uploaded by the user terminal to the application market server through the application market client;
  • a writing module used to write the resource file to the device operation service
  • a storage module configured to obtain the resource file from the device operation service through the device operation interface and store it in the application storage space
  • the loading module is configured to load the resource file saved in the storage space of the application through the application and execute the function of the resource file.
  • the writing module includes:
  • a decryption unit used to obtain the system public key, and use the system public key to decrypt the signature information of the resource file to obtain the first hash value of the resource file;
  • a calling unit used to call a system algorithm, and calculate the second hash value of the resource file by using the system algorithm
  • a comparing unit configured to compare the first hash value and the second hash value
  • the writing unit is configured to write the resource file, the name of the resource file, and the hash value of the resource file to the device operation service when the first hash value and the second hash value are consistent.
  • a computer device includes a memory and a processor.
  • the memory stores a computer program
  • the processor implements the computer program to implement the steps of the foregoing method.
  • a computer-readable storage medium having stored thereon a computer program, which when executed by a processor implements the steps of the above method.
  • the above-mentioned customized development method, device, computer equipment and storage medium of the payment application obtain the resource file uploaded by the user terminal to the application market server through the application market client, and write the resource file into the device operation service, and the resource file is implemented by the user himself , So that users can complete customization according to their own needs, and realize the universality of the customized development platform of the payment application. Obtain the resource file from the device operation service through the device operation interface and save it in the application storage space, so that the resource file can be obtained directly from the application storage space, saving the resource file from the device operation service time.
  • 1 is an application environment diagram of a customized development method of a payment application in an embodiment
  • FIG. 2 is a schematic flowchart of a method for customizing development of a payment application in an embodiment
  • FIG. 3 is a schematic flowchart of the steps of writing resource files in an embodiment
  • FIG. 5 is a schematic flowchart of steps for updating resource files in an embodiment
  • FIG. 6 is a schematic flowchart of steps of updating resource files in another embodiment
  • FIG. 7 is a schematic flowchart of steps for completing a response operation in an embodiment
  • FIG. 9 is a structural block diagram of a custom development device for payment applications in an embodiment
  • FIG. 10 is a structural block diagram of a custom development device for payment applications in another embodiment
  • FIG. 11 is an internal structure diagram of a computer device in an embodiment.
  • the payment application customization development method provided by the embodiment of the present application may be applied in the application environment shown in FIG. 1.
  • the POS terminal 102 communicates with other computer devices 104 through an interface.
  • the POS terminal 102 may be a fixed POS machine or a mobile POS machine.
  • a method for customizing the development of a payment application is provided.
  • the method is applied to the POS terminal in FIG. 1 as an example for illustration, including the following steps:
  • Step 202 Obtain the resource file uploaded by the user terminal to the application market server through the application market client.
  • the resource file refers to the specific content that the user realizes according to his own needs.
  • the POS terminal abstractly forms a device operation interface according to the user's needs, and then the user develops a specific function according to the device operation interface, thereby obtaining a resource file that can realize a customized function. Then the user signs the resource file to obtain the signature information of the resource file, and the user terminal uploads the resource file and the signature information of the resource file to the application market server. The POS terminal downloads the resource file uploaded by the user terminal and the signature information of the resource file from the application market server through the application market client.
  • Step 204 Write the resource file to the device operation service.
  • the POS terminal calls the device management interface through the application market client to store the resource file in the cache area, and then verifies whether the signature information of the resource file is correct. If it is correct, the resource file, the name of the resource file, and the hash value of the resource file are written Into the database of equipment operation services. If it is incorrect, the resource file is not written.
  • Step 206 Obtain the resource file from the device operation service through the device operation interface and save it in the storage space of the application.
  • the POS terminal obtains the resource file from the device operation service through the device operation interface of the application and saves it in the storage space of the application. Further, when the application stores the resource file for the first time, the resource file is directly obtained from the device operation service and stored in the storage space of the application. When the application has stored the resource file, it is necessary to first determine whether there is an update to the resource file in the device operation service. If there is an update, the application has replaced the resource file that has been stored. If there is no update, there is no need to obtain resource files from the device operation service again.
  • Step 208 Load the resource file saved in the storage space of the application through the application and execute the function of the resource file.
  • the POS terminal calls the system interface through the operation device interface of the application to load the resource file stored in the storage space of the application to perform the function of the resource file.
  • the above-mentioned custom development method of payment application obtains the resource file uploaded by the user terminal to the application market server through the application market client, and writes the resource file into the device operation service.
  • the resource file is implemented by the user himself, so that the user can according to his needs
  • the customization is completed, and the universality of the customized development platform of the payment application is realized.
  • the step of writing the resource file into the device operation service includes:
  • Step 302 Obtain the system public key, and use the system public key to decrypt the signature information of the resource file to obtain the first hash value of the resource file.
  • the public key refers to the non-secret half of the key pair used with the public key algorithm.
  • the public key is usually used to encrypt session keys, verify digital signatures, or encrypt data that can be decrypted with the corresponding private key.
  • Hash value is the value obtained by logical operation through the data of the file content. Even if the two files are named the same but the file contents are different, their hash values are also different. Similarly, the two files have the same content but different names, and their hash values are also the same. Therefore, the hash value can be used as verification information of whether the file is complete and whether it has been tampered with.
  • the POS terminal when the POS terminal writes the resource file into the device operation service through the file operation interface, it first obtains the system public key, uses the system public key to decrypt the signature information of the resource file, and obtains the hash value of the resource file after decryption.
  • step 304 the system algorithm is called, and the second hash value of the resource file is calculated using the system algorithm.
  • step 306 the first hash value and the second hash value are compared.
  • Step 308 When the first hash value and the second hash value are consistent, write the resource file, the name of the resource file, and the hash value of the resource file into the device operation service.
  • the POS terminal invokes the file operation interface of the device operation service through the device management interface, and stores the resource file and the signature information of the resource file in the cache area. Then, the POS terminal uses the system public key to decrypt the signature information of the resource file, obtain the hash value of the resource file, and then call the system algorithm to calculate the hash value of the resource file. Compare whether the hash values of the same resource file obtained by the two methods are the same. If they are the same, it means that the resource file has not been tampered with and is correct. Then read the resource file from the cache area, but not the signature information of the resource file, and write the resource file, the name of the resource file and the hash value of the resource file into the database of the device operation service through the database operation interface.
  • the device operation service does not save the resource file and passes the file.
  • the operation interface returns the error message.
  • the custom development method of the above payment application uses the public key to decrypt the hash value and the system algorithm to calculate the hash value, and compares the hash value of the same resource file obtained by the two methods to determine whether the resource file is being downloaded. Whether there is an error in the process can ensure the accuracy and completeness of the resource file.
  • obtaining the corresponding resource file from the device operation service through the device operation interface includes:
  • Step 402 Obtain the name of the device operation interface.
  • the name of the device operation interface of the application on the POS terminal is unique, and the name of each device operation interface matches the corresponding resource file, and is uniquely matched.
  • the device operation interface is an interface implemented by the POS terminal according to the user's business requirements.
  • the POS terminal sends the implemented device operation interface to the user, and is used to instruct the user to complete the specific function implementation according to the device operation interface.
  • the name of the device operation interface may be, but not limited to, a user-defined name.
  • the POS terminal obtains the unique identifier of the device operation interface of the application according to the application operated by the user.
  • Step 404 Match the name of the device operation interface with the name of the resource file in the device operation service.
  • the POS terminal will acquire the name of the device operation interface of the application, and then access the device operation service through the device operation interface of the application, and obtain the name of the resource file stored in the storage space of the device operation service in the device operation service . Then the POS terminal matches the name of the operation interface of the device with the name of the resource file.
  • Step 406 When the name of the device operation interface and the name of the resource file in the device operation service match successfully, obtain a resource file whose name matches successfully.
  • the method of matching the name of the device operation interface and the name of the resource file may be keyword matching.
  • the POS terminal can first extract the keyword from the name of the device operation interface, and then match the extracted keyword with the name of the resource file in the device operation service. When the name of the matched resource file contains the keyword, the match is determined. success. Then, it is determined that the resource file that matches successfully is a file that needs to be obtained, and the resource file whose name matches successfully is obtained.
  • the keyword of the name of the device operation interface is obtained, and the name of the resource file in the device operation service is searched according to the keyword to match.
  • the name of the device operation interface and the resource file in the device operation service When the name matching is successful, the resource file with the successful name matching is obtained, and the keyword matching of the name makes it possible to accurately obtain the corresponding resource file, thereby completing the response quickly.
  • the method further includes:
  • Step 502 Obtain the first version number of the resource file through the device management interface and send the first version number to the application market server.
  • the first version number is used to instruct the application market server to obtain the second version of the resource file on the application market server Number, and compare the first version number with the second version number.
  • the POS terminal loads the resource file in the device operation service through the device management interface and obtains the first version number of the resource file. Then, the POS terminal calls the device management interface through the application market client to obtain the first version number of the resource file and uploads it to the application market server. The first version number is used to instruct the application market server to obtain the first version number of the resource file on the application market server. Two version numbers, and compare the two version numbers.
  • Step 504 When the first version number and the second version number are inconsistent, receive a new resource file returned by the application market server.
  • Step 506 Replace the resource file in the device operation service with a new resource file.
  • the first version number and the second version number are inconsistent, it is determined that there is an updated resource file on the application market server.
  • the updated resource file is also uploaded to the application market server by the user terminal.
  • the file operation interface of the device operation service is called again, and the resource file of the second version number downloaded from the server is verified in the same way.
  • the resource file of the second version number is written to the device operation service. Then replace the resource file with the first version number in the device operation service with the resource file with the second version number.
  • the resource file is obtained from the device operation service through the device operation interface and stored in the application storage space, including:
  • Step 602 Obtain the third hash value of the resource file stored in the storage space of the application through the device operation interface, and obtain the fourth hash value of the resource file of the device operation service.
  • the POS terminal invokes the system interface through the device operation interface to execute the function of the resource file, it is necessary to first verify whether there is an updated resource file. Then, the POS terminal calls the device operation interface of the application to obtain the third hash value of the resource file in the storage space of the application, and the third hash value of the resource file is stored in the local memory. Then the POS terminal continues to call the device operation interface of the application to access the device operation service, determine the resource file matching the device operation interface name from the device operation service, and obtain the fourth hash value of the resource file with the matching name.
  • Step 604 Compare the third hash value with the fourth hash value.
  • Step 606 When the third hash value and the fourth hash value are inconsistent, it is determined that the resource file is updated, and then a new resource file is obtained from the device operation service through the device operation interface.
  • Step 608 Replace the resource file stored in the storage space of the application with a new resource file.
  • the POS terminal compares the third hash value and the fourth hash value.
  • the third hash value and the fourth hash value are consistent, it is determined that there is no update in the resource file, and then the memory space of the application is returned.
  • the third hash value and the fourth hash value are inconsistent, it is determined that the resource file is updated, then a new resource file is obtained from the device operation service, and the memory space of the application is returned, and the new resource file is replaced and saved in the application Resource files in the storage space of the server, and replace the hash value of the resource file in the local memory with the hash value of the new resource file.
  • the above custom development method of payment application obtains the hash value of the resource file stored in the storage space of the application from the local memory and compares it with the hash value of the resource file stored in the device operation service to determine the resource file Whether there is an update.
  • the hash values of the two are inconsistent, it means that there is an update of the resource file, and then the resource file in the memory corresponding to the application is updated, so that the resource file can be automatically updated, and the latest function is provided to the user in time.
  • the method before acquiring the third hash value of the resource file stored in the storage space of the application through the device operation interface and acquiring the fourth hash value of the resource file of the device operation service, the method further includes:
  • the POS terminal when it receives the user's operation instruction for the application, it calls the corresponding device operation interface according to the operation instruction, and then determines whether there is an updated resource file through the corresponding device operation interface. When there is an updated resource file, first update the resource file in the storage space of the application, and then load and execute the function of the resource file through the corresponding device operation interface to complete the response to the user. If there is no updated resource file, the POS terminal can directly call the corresponding device operation interface to obtain the corresponding resource file from the storage space of the application according to the user's operation instruction on the application, and then execute the function of the resource file to complete response.
  • each time the POS terminal receives the user's operation instruction it first calls the corresponding device operation interface to determine whether there is an updated resource file, so that the resource file in the application's storage space can be updated in time .
  • the POS terminal can also automatically update the resource file.
  • the POS terminal can preset the time for automatic update, for example, every few hours or days. When the POS terminal reaches the specified duration, it can automatically call the corresponding device operation interface to determine whether the resource file in the storage space of the application is updated. The POS terminal automatically updates the resource file every certain period of time, so that the POS terminal can also update the resource file when it has not received the user's operation instruction for a long time.
  • the POS terminal calls a resource file to complete the response operation.
  • the application on the POS terminal receives the user operation, and obtains the operation handle from the device operation interface according to the operation.
  • the hash value of the corresponding resource file is obtained from the device operation service and stored in the application In the corresponding storage space. Then obtain the resource file and save it in the storage space corresponding to the application.
  • the POS terminal calls the system interface through the device operation interface to load the resource file, and returns the operation handle to the application through the device operation interface.
  • the POS terminal first verifies whether the resource file in the device operation service is updated to determine whether the resource file in the application needs to be updated.
  • the application invokes the device operation interface through the operation handle to obtain the hash value of the corresponding resource file in the device operation service, and then obtains the hash value of the resource file in the storage space of the application, and compares the hash values of the two. If they do not match, it is determined that the resource file is updated. Then, the updated resource file in the device operation service is obtained, the resource file in the storage space of the application is replaced, and the result is returned to the application.
  • the application calls the device operation interface through the operation handle, and calls the system interface through the device operation interface to load the updated resource file to complete the response to the operation.
  • the customized development method of the payment application includes:
  • the POS terminal obtains the resource file uploaded by the user terminal to the application market server through the application market client.
  • the POS terminal obtains the system public key and decrypts the signature information of the resource file using the system public key to obtain the first hash value of the resource file; the POS terminal calls the system algorithm and uses the system algorithm to calculate the second hash value of the resource file .
  • the POS terminal compares the first hash value and the second hash value; when the first hash value and the second hash value are consistent, the POS terminal compares the resource file, the name of the resource file, and the hash value of the resource file Write device operation service.
  • the POS terminal obtains the first version number of the resource file through the device management interface and sends the first version number to the application market server, where the first version number is used to instruct the application market server to obtain the resource file on the application market server The second version number, and compare the first version number with the second version number.
  • the POS terminal receives the new resource file returned by the application market server; the new resource file is used to replace the resource file in the device operation service.
  • the POS terminal obtains the name of the device operation interface, and matches the name of the device operation interface with the name of the resource file in the device operation service.
  • the POS terminal receives the operation on the application, and calls the corresponding device operation interface according to the operation.
  • the POS terminal obtains the third hash value of the resource file stored in the storage space of the application through the device operation interface, and obtains the fourth hash value of the resource file of the device operation service.
  • the POS terminal compares the third hash value with the fourth hash value; when the third hash value and the fourth hash value are inconsistent, it is determined that the resource file is updated, and the POS terminal operates from the device through the device operation interface Get new resource files from the service.
  • the POS terminal replaces the resource file stored in the storage space of the application with a new resource file.
  • the POS terminal loads the resource file stored in the storage space of the application through the application and executes the function of the resource file.
  • the above custom development method for payment applications obtains the resource file uploaded by the user terminal to the application market server through the application market client, which can realize the customization function of the user's business requirements and has great flexibility. And use the system public key to decrypt the signature information of the resource file to obtain the hash value of the resource file, and then use the system algorithm to calculate the hash value of the resource file, if the two hash values are consistent, it proves that the resource file is complete, Then write the resource file to the equipment operation service of the POS terminal. Use two methods to determine the hash value of the same resource file to determine the integrity and accuracy of the resource file.
  • the resource file on the server may be updated, the POS terminal obtains the first version number corresponding to the resource file in the application storage space from the local memory, and uploads the first version number to the application market server to indicate the application
  • the market server obtains the second version number of the resource file on the application market server, and compares the first version number with the second version number. If the version number is different, the resource file on the server is obtained to update the device operation in the POS terminal Resource files in the service.
  • the POS terminal calls the corresponding device operation interface to obtain the corresponding resource file from the device operation service and stores it in the storage space corresponding to the application, so that when the resource file is called again, it can be directly obtained from the application storage space, saving The time called from the device operation service, so that the response can be completed quickly.
  • the POS terminal When receiving the user's operation on the application, the POS terminal obtains the third hash value of the resource file stored in the memory corresponding to the application through the device operation interface, and obtains the fourth hash value of the resource file of the device operation service, Comparing the third hash value and the fourth hash value, if they are not consistent, a new resource file is obtained from the device operation service to replace the resource file in the storage space of the application, thereby updating the resource file in the storage space of the application.
  • the problem of waiting for a new version to be released due to the usual way of solidifying code can be avoided, which helps to improve the stability of the custom development platform of the payment application and the convenience of updating resource files.
  • FIG. 8 it is a process in which a user adds a new function to a POS terminal in an embodiment.
  • PayDroid is an Android system customized for POS terminals, and POS terminals run on the Android system.
  • APP1, APP2, device operation service and application market client are multiple applications in POS terminal.
  • the device operation interface and APP1 and APP2 form a runnable application program, and the device management interface and the application market client form a runnable application program.
  • the application market server is a server corresponding to the application market client.
  • the POS terminal downloads the resource file uploaded by the user terminal and the signature information of the resource file from the application market server through the application market client.
  • the POS terminal calls the device management interface through the application market client to store the resource file in the cache area, and then verifies whether the signature information of the resource file is correct. If it is correct, the resource file, the name of the resource file, and the hash value of the resource file are written to the device operation Service database.
  • the resource file is obtained from the device operation service through the device operation interface of the application and saved in the storage space of the application.
  • the POS terminal invokes the system interface through the application's operating device interface to load the resource file stored in the application's storage space to perform the function of the resource file.
  • the user wants to add a new function to the POS terminal.
  • the new function is that only APP1 can swipe a bank card, and APP2 can only swipe a membership card.
  • the POS terminal obtains the user's requirement that only the bank card can be swiped on APP1 and the membership card can be swiped on APP2, and two device operation interfaces are created according to this demand. Then the POS terminal obtains the resource file that can realize this function from the application market server through the application market client, and saves the resource file through the device management interface. Then call the file operation interface of the device operation service through the device management interface to write the resource file into the database of the device operation service.
  • the POS terminal invokes the device operation interface of APP1 and the device operation interface of APP2 to read the resource file from the database of the device operation service and save the resource file in the storage space corresponding to APP1 and APP2.
  • the device operation interface is called to first determine whether the resource file is updated. If there is an update, the resource file in the application storage space is updated, and then the resource file is obtained from the corresponding APP storage space and loaded. To achieve the function of the resource file. If there is no update, the resource file in the storage space of the APP is directly loaded to execute the function of the resource file.
  • steps in the flowcharts of FIGS. 1-8 are displayed in order according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps may be executed in other orders. Moreover, at least some of the steps in FIGS. 1-8 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or stages The execution order of is not necessarily sequential, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.
  • a customized development device for payment applications including: an acquisition module 902, a writing module 904, a storage module 906, and a loading module 908, where:
  • the obtaining module 902 is used to obtain the resource file uploaded by the user terminal to the application market server through the application market client.
  • the writing module 904 is used to write the resource file to the device operation service.
  • the storage module 906 is used to obtain a resource file from the device operation service through the device operation interface and store it in the application storage space.
  • the loading module 908 is used to load the resource file saved in the storage space of the application through the application and execute the function of the resource file.
  • the above-mentioned customized development device for payment applications obtains the resource file uploaded by the user terminal to the application market server through the application market client, and writes the resource file into the device operation service.
  • the resource file is implemented by the user himself, so that the user can meet his needs
  • the customization is completed, and the universality of the customized development platform of the payment application is realized.
  • the writing module 904 includes a decryption unit 1002, a call 1004, a comparison file acquisition unit 1006, and a writing unit 1008. among them,
  • the decryption unit 1002 is used to obtain the system public key, and use the system public key to decrypt the signature information of the resource file to obtain the first hash value of the resource file.
  • the calling unit 1004 is used to call a system algorithm and calculate the second hash value of the resource file by using the system algorithm.
  • the comparing unit 1006 is used to compare the first hash value and the second hash value.
  • the writing unit 1008 is configured to write the resource file, the name of the resource file, and the hash value of the resource file to the device operation service when the first hash value and the second hash value are consistent.
  • the hash value obtained by decrypting with the public key and the hash value calculated by using the system algorithm are compared to see if the hash value of the same resource file obtained by the two methods is the same to determine whether the resource file is being downloaded Whether there is an error in the process can ensure the accuracy and completeness of the resource file.
  • the storage module is also used to: obtain the name of the device operation interface; match the name of the device operation interface with the name of the resource file in the device operation service; when the name of the device operation interface and the device operation service When the name of the resource file matches successfully, obtain a resource file with a successful name match.
  • the keyword of the name of the device operation interface the name of the resource file in the device operation service is searched for and matched according to the keyword.
  • the keyword matching of the name makes it possible to obtain the corresponding resource file accurately, so as to complete the response quickly.
  • the payment application customization development device further includes: a replacement module.
  • the replacement module is used to obtain the first version number of the resource file through the device management interface and send the first version number to the application market server.
  • the first version number is used to instruct the application market server to obtain the first version number of the resource file on the application market server The second version number, and compare the first version number with the second version number; when the first version number and the second version number are inconsistent, receive the new resource file returned by the application market server; replace the device operation with the new resource file Resource files in the service.
  • the storage module is further configured to: obtain a third hash value of the resource file stored in the storage space of the application through the device operation interface, and obtain a fourth hash value of the resource file of the device operation service; The third hash value and the fourth hash value are compared; when the third hash value and the fourth hash value are inconsistent, it is determined that the resource file is updated, and then a new resource file is obtained from the device operation service through the device operation interface ; Use new resource files to replace resource files stored in the application's storage space.
  • the customized development device of the payment application obtains the hash value of the resource file stored in the storage space of the application from the local memory and compares it with the hash value of the resource file stored in the device operation service to determine the resource file Whether there is an update.
  • the hash values of the two are inconsistent, it means that there is an update of the resource file, and then the resource file in the memory corresponding to the application is updated, so that the resource file can be automatically updated, and the latest function is provided to the user in time.
  • the device further includes: a calling module.
  • the calling module is used to: receive the operation on the application, and call the corresponding device operation interface according to the operation.
  • Each module in the above-mentioned customized development device for payment applications may be implemented in whole or in part by software, hardware, and combinations thereof.
  • the above modules may be embedded in the hardware form or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided.
  • the computer device may be a POS terminal, and its internal structure may be as shown in FIG. 11.
  • the computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer programs.
  • the internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with external terminals through a network connection.
  • the computer program is executed by the processor to implement a customized development method for payment applications.
  • the display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball, or a touchpad provided on the computer device housing , Can also be an external keyboard, touchpad or mouse.
  • FIG. 11 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied.
  • the specific computer equipment may It includes more or fewer components than shown in the figure, or some components are combined, or have a different component arrangement.
  • a computer device which includes a memory and a processor.
  • a computer program is stored in the memory, and when the processor executes the computer program, the steps of the custom development method of the payment application described above are implemented.
  • a computer-readable storage medium is provided on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned customized development method of a payment application are implemented.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain (Synchlink) DRAM
  • SLDRAM synchronous chain (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

一种支付应用的定制开发方法、装置、计算机设备和存储介质。该方法包括:通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件(202);将资源文件写入设备操作服务(204);通过设备操作接口从设备操作服务中获取资源文件,并保存在应用的存储空间中(206);通过应用加载保存在应用的存储空间中的资源文件,并执行资源文件的功能(208)。采用本方案能够将业务功能的具体实现内容作为资源文件,并配置对应的设备操作接口,从而由通常的固化代码的方式改进为可由用户灵活定制的动态方式,不需要长时间等待新版本的发布,从而可以快速响应用户。

Description

支付应用的定制开发方法、装置、计算机设备和存储介质 技术领域
本申请涉及计算机技术领域,特别是涉及一种支付应用的定制开发方法、装置、计算机设备和存储介质。
背景技术
随着POS(point of sale,支付终端)的大规模使用,用户对POS终端的需求也不断增多。为了实现用户的不同需求,市面上出现了为POS终端定制的平台。但目前这种为POS终端定制的平台是使用硬编码的方式来实现用户的需求,这种硬编码的方式使得用户在实现自己的新功能时需要重新提交代码,并等待平台发布后才能使用,更新的时间较长。
技术问题
基于此,有必要针对上述技术问题,提供一种能够快速更新的支付应用的定制开发方法、装置、计算机设备和存储介质。
技术解决方案
一种支付应用的定制开发方法,所述方法包括:
通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件;
将所述资源文件写入设备操作服务;
通过设备操作接口从所述设备操作服务中获取所述资源文件,并保存在应用的存储空间中;
通过所述应用加载所述保存在应用的存储空间中的所述资源文件,并执行所述资源文件的功能。
在一个实施例中,所述将所述资源文件写入设备操作服务,包括:
获取系统公钥,利用所述系统公钥对资源文件的签名信息进行解密,得到所述资源文件的第一哈希值;
调用系统算法,利用所述系统算法计算所述资源文件的第二哈希值;
比较所述第一哈希值和所述第二哈希值;
当所述第一哈希值和所述第二哈希值一致时,将所述资源文件、资源文件的名称和资源文件的哈希值写入所述设备操作服务。
在其中一个实施例中,所述通过所述设备操作接口从设备操作服务中获取对应的资源文件,包括:
获取所述设备操作接口的名称;
将所述设备操作接口的名称和设备操作服务中的资源文件的名称进行匹配;
当所述设备操作接口的名称和所述设备操作服务中的资源文件的名称匹配成功时,获取名称匹配成功的资源文件。
在其中一个实施例中, 所述将所述资源文件写入设备操作服务之后,还包括:
通过设备管理接口获取所述资源文件的第一版本号,并将所述第一版本号发送给应用市场服务器,所述第一版本号用于指示所述应用市场服务器获取所述应用市场服务器上的所述资源文件的第二版本号,并将所述第一版本号和所述第二版本号进行对比;
当所述第一版本号和所述第二版本号不一致时,接收所述应用市场服务器返回的新的资源文件;
采用所述新的资源文件替换所述设备操作服务中的资源文件。
在其中一个实施例中, 所述通过设备操作接口从所述设备操作服务中获取所述资源文件,并保存在应用的存储空间中,包括:
通过所述设备操作接口获取所述保存在应用的存储空间中的所述资源文件的第三哈希值,并获取设备操作服务的资源文件的第四哈希值;
将所述第三哈希值和所述第四哈希值进行对比;
当所述第三哈希值和所述第四哈希值不一致时,判定所述资源文件存在更新,则通过设备操作接口从设备操作服务中获取新的资源文件;
采用所述新的资源文件替换所述保存在应用的存储空间中的所述资源文件。
在一个实施例中, 其特征在于,所述通过所述设备操作接口获取所述保存在应用的存储空间中的所述资源文件的第三哈希值,并获取设备操作服务的资源文件的第四哈希值之前,还包括:
接收对所述应用的操作,根据所述操作调用对应的设备操作接口。
一种支付应用的定制开发装置,所述装置包括:
获取模块,用于通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件;
写入模块,用于将所述资源文件写入设备操作服务;
存储模块,用于通过设备操作接口从所述设备操作服务中获取所述资源文件,并保存在应用的存储空间中;
加载模块,用于通过所述应用加载所述保存在应用的存储空间中的所述资源文件,并执行所述资源文件的功能。
在一个实施例中,所述写入模块包括:
解密单元,用于获取系统公钥,利用所述系统公钥对资源文件的签名信息进行解密,得到所述资源文件的第一哈希值;
调用单元,用于调用系统算法,利用所述系统算法计算所述资源文件的第二哈希值;
比较单元,用于比较所述第一哈希值和所述第二哈希值;
写入单元,用于当所述第一哈希值和所述第二哈希值一致时,将所述资源文件、资源文件的名称和资源文件的哈希值写入所述设备操作服务。
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述方法的步骤。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述方法的步骤。
有益效果
上述支付应用的定制开发方法、装置、计算机设备和存储介质,通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件,将该资源文件写入设备操作服务,该资源文件由用户自己实现,使得用户能够根据自己的需求完成定制,实现了该支付应用的定制开发平台的通用性。通过设备操作接口从设备操作服务中获取该资源文件,并保存在应用的存储空间中,使得可以直接从该应用的存储空间中直接获取资源文件,节省了从设备操作服务中调取资源文件的时间。再通过该应用加载保存在应用的存储空间中的该资源文件,并执行该资源文件的功能,避免采用通常的固化代码的方式导致需要等待新版本发布的问题,有助于提高该支付应用的定制开发平台的稳定性以及资源文件更新的便捷性。
附图说明
图1为一个实施例中支付应用的定制开发方法的应用环境图;
图2为一个实施例中支付应用的定制开发方法的流程示意图;
图3为一个实施例中写入资源文件的步骤的流程示意图;
图4为一个实施例中获取资源文件的步骤的流程示意图;
图5为一个实施例中更新资源文件的步骤的流程示意图;
图6为另一个实施例中更新资源文件的步骤的流程示意图;
图7为一个实施例中完成响应操作的步骤的流程示意图;
图8为一个实施例中增加新功能的步骤的流程示意图;
图9为一个实施例中支付应用的定制开发装置的结构框图;
图10为另一个实施例中支付应用的定制开发装置的结构框图;
图11为一个实施例中计算机设备的内部结构图。
本发明的实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例提供的支付应用的定制开发方法,可以应用于如图1所示的应用环境中。其中,POS终端102通过接口与其它计算机设备104进行通信。POS终端102可以是固定POS机或移动POS机等。
在一个实施例中,如图2所示,提供了一种支付应用的定制开发方法,以该方法应用于图1中的POS终端为例进行说明,包括以下步骤:
步骤202,通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件。
其中,资源文件是指用户根据自己的需求实现的具体内容。
具体地,当用户存在新的需求时,POS终端根据用户的需求抽象形成设备操作接口,然后用户根据该设备操作接口来开发具体的功能,从而得到能够实现定制功能的资源文件。接着用户对资源文件进行签名,得到资源文件的签名信息,用户终端将资源文件及资源文件的签名信息上传至应用市场服务器。POS终端通过应用市场客户端从该应用市场服务器上下载用户终端上传的资源文件及资源文件的签名信息。
步骤204,将资源文件写入设备操作服务。
具体地,POS终端通过应用市场客户端调用设备管理接口把资源文件存储到缓存区,然后验证资源文件的签名信息是否正确,正确则将资源文件、资源文件的名称和资源文件的哈希值写入设备操作服务的数据库。如不正确,则不写入该资源文件。
步骤206,通过设备操作接口从设备操作服务中获取资源文件,并保存在应用的存储空间中。
具体地,POS终端将资源文件写入设备操作服务后,通过应用的设备操作接口从设备操作服务中获取该资源文件,并保存到该应用的存储空间中。进一步地,当该应用是首次存储该资源文件时,直接从设备操作服务中获取将该资源文件,并存储在该应用的存储空间中。当该应用已存储该资源文件时,则需先判断设备操作服务中的资源文件是否存在更新,若存在更新,则替换该应用已存储该资源文件。若不存在更新,则无需重新从设备操作服务中获取资源文件。
步骤208,通过应用加载保存在应用的存储空间中的资源文件,并执行资源文件的功能。
具体地,POS终端通过该应用的操作设备接口调用系统接口,加载存储在该应用的存储空间中的资源文件,以执行该资源文件的功能。
上述支付应用的定制开发方法,通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件,将该资源文件写入设备操作服务,该资源文件由用户自己实现,使得用户能够根据自己的需求完成定制,实现了该支付应用的定制开发平台的通用性。通过设备操作接口从设备操作服务中获取该资源文件,并保存在应用的存储空间中,使得可以直接从该应用的存储空间中直接获取资源文件,节省了从设备操作服务中调取资源文件的时间。再通过该应用加载保存在应用的存储空间中的该资源文件,并执行该资源文件的功能,避免采用通常的固化代码的方式导致需要等待新版本发布的问题,有助于提高该支付应用的定制开发平台的稳定性以及资源文件更新的便捷性。
在一个实施例中,如图3所示,将资源文件写入设备操作服务的步骤,包括:
步骤302,获取系统公钥,利用系统公钥对资源文件的签名信息进行解密,得到资源文件的第一哈希值。
其中,公钥是指与公钥算法一起使用的密钥对中非秘密的一半。公钥通常用于加密会话密钥、验证数字签名,或加密可以用相应的私钥解密的数据。哈希值是通过文件内容的数据通过逻辑运算的到的数值。即使两个文件的命名相同但文件内容不同,它们的哈希值也是不同的。类似的,两个文件的内容相同但命名不同,它们的哈希值也是相同的。因此哈希值可作为文件是否完整、是否被篡改的验证信息。
具体地,POS终端通过文件操作接口将资源文件写入设备操作服务时,先获取系统公钥,利用系统公钥对资源文件的签名信息进行解密,解密后得到资源文件的哈希值。
步骤304,调用系统算法,利用系统算法计算资源文件的第二哈希值。
步骤306,比较第一哈希值和第二哈希值。
步骤308,当第一哈希值和第二哈希值一致时,将资源文件、资源文件的名称和资源文件的哈希值写入设备操作服务。
具体地,POS终端通过设备管理接口调用设备操作服务的文件操作接口,将资源文件和资源文件的签名信息存储到缓存区。然后POS终端利用系统公钥对资源文件的签名信息进行解密,得到资源文件的哈希值后,再调用系统算法计算资源文件的哈希值。比较两种方式的得到的同一个资源文件的哈希值是否相同,如果相同的话,说明该资源文件未被篡改,是正确的。接着从缓存区读取资源文件,但不读取资源文件的签名信息,通过数据库操作接口将资源文件、资源文件的名称和资源文件的哈希值写入设备操作服务的数据库中。如果两种方式得到的同一个资源文件的哈希值不一致的话,说明资源文件可能在下载过程中被篡改或者下载出错导致资源文件发生了改变,则设备操作服务不保存该资源文件,并通过文件操作接口返回写入错误的信息。
上述支付应用的定制开发方法,通过利用公钥解密得到哈希值和利用系统算法计算得到哈希值,比较两种方式得到的同一个资源文件的哈希值是否相同,以确定资源文件在下载过程中是否出错,能够确保资源文件的准确性和完整性。
在一个实施例中,如图4所示,通过设备操作接口从设备操作服务中获取对应的资源文件,包括:
步骤402,获取设备操作接口的名称。
具体地,POS终端上的应用的设备操作接口的名称是唯一的,每个设备操作接口的名称和对应的资源文件是相匹配的,并且是唯一匹配的。该设备操作接口是POS终端根据用户的业务需求实现的接口,POS终端将实现的设备操作接口发送给用户,用于指示用户根据该设备操作接口完成具体的功能实现。该设备操作接口的名称可以但不限于用户自定义的名称等。POS终端根据用户操作的应用,获取该应用的设备操作接口的唯一标识。
步骤404,将设备操作接口的名称和设备操作服务中的资源文件的名称进行匹配。
具体地,POS终端将获取的该应用的设备操作接口的名称,然后通过该应用的设备操作接口访问设备操作服务,在设备操作服务中获取存储在设备操作服务的存储空间中的资源文件的名称。然后POS终端将该设备操作接口的名称和资源文件的名称进行匹配。
步骤406,当设备操作接口的名称和设备操作服务中的资源文件的名称匹配成功时,获取名称匹配成功的资源文件。
具体地,设备操作接口的名称和资源文件的名称进行匹配的方式可以是关键词匹配。POS终端可以先从设备操作接口的名称中提取关键词,然后将提取的关键词和设备操作服务中的资源文件的名称进行匹配,当匹配到资源文件的名称中含有该关键词时,确定匹配成功。则判定该匹配成功的资源文件为需要获取的文件,获取该名称匹配成功的资源文件。
上述支付应用的定制开发方法,通过获取设备操作接口的名称的关键词,根据关键词查找设备操作服务中的资源文件的名称进行匹配,当设备操作接口的名称和设备操作服务中的资源文件的名称匹配成功时,获取名称匹配成功的资源文件,通过名称的关键词匹配使得能准确地获取对应资源文件,从而快速地完成响应。
在一个实施例中,如图5所示,将资源文件写入设备操作服务之后,还包括:
步骤502,通过设备管理接口获取资源文件的第一版本号,并将第一版本号发送给应用市场服务器,第一版本号用于指示应用市场服务器获取应用市场服务器上的资源文件的第二版本号,并将第一版本号和第二版本号进行对比。
具体地,POS终端通过设备管理接口加载该设备操作服务中的资源文件,并获取资源文件的第一版本号。接着POS终端通过应用市场客户端调用设备管理接口获取该资源文件的第一版本号并上传到应用市场服务器,该第一版本号用于指示应用市场服务器获取该应用市场服务器上的资源文件的第二版本号,并将两个版本号进行对比。
步骤504,当第一版本号和第二版本号不一致时,接收应用市场服务器返回的新的资源文件。
步骤506,采用新的资源文件替换设备操作服务中的资源文件。
具体地,当第一版本号和第二版本号不一致时,判定该应用市场服务器上存在更新的资源文件。该更新的资源文件同样为用户终端上传至应用市场服务器的。则再次调用设备操作服务的文件操作接口,利用相同的方式对从服务器上下载的第二版本号的资源文件进行验证,验证成功后将第二版本号的资源文件写入设备操作服务。然后用第二版本号的资源文件替换掉设备操作服务中的第一版本号的资源文件。通过POS终端的设备操作服务中的资源文件的版本号和服务器上的资源文件的版本号进行对比,以判断是否存在更新,从而能够及时地更新POS终端的资源文件,使得POS终端具有更全面的功能,从而给用户提供更全面的服务。
在另一个实施例中,如图6所示,通过设备操作接口从设备操作服务中获取资源文件,并保存在应用的存储空间中,包括:
步骤602,通过设备操作接口获取保存在应用的存储空间中的资源文件的第三哈希值,并获取设备操作服务的资源文件的第四哈希值。
具体地,POS终端通过设备操作接口调用系统接口执行资源文件的功能时,需要先验证是否存在更新的资源文件。则POS终端调用该应用的设备操作接口获取该应用的存储空间中的资源文件的第三哈希值,该资源文件的第三哈希值保存在本地内存中。然后POS终端继续调用该应用的设备操作接口访问设备操作服务,从设备操作服务中确定与该设备操作接口名称相匹配的资源文件,获取名称匹配的资源文件的第四哈希值。
步骤604,将第三哈希值和第四哈希值进行对比。
步骤606,当第三哈希值和第四哈希值不一致时,判定资源文件存在更新,则通过设备操作接口从设备操作服务中获取新的资源文件。
步骤608,采用新的资源文件替换保存在应用的存储空间中的资源文件。
具体地,POS终端比较第三哈希值和第四哈希值,当第三哈希值和第四哈希值一致时,判定资源文件不存在更新,则返回该应用的内存空间。获取该应用的内存空间中的资源文件并执行相应操作。当第三哈希值和第四哈希值不一致时,判定资源文件存在更新,则从设备操作服务中获取新的资源文件,并返回该应用的内存空间,用新的资源文件替换保存在应用的存储空间中的资源文件,同时将该采用新的资源文件的哈希值替换本地内存中的资源文件的哈希值。
上述支付应用的定制开发方法,通过从本地内存中获取存储在应用的存储空间中的资源文件的哈希值,并与设备操作服务中存储的资源文件的哈希值进行对比,以判断资源文件是否存在更新。当两者的哈希值不一致时,说明资源文件存在更新,则更新应用对应的内存中的资源文件,使得能够自动实现资源文件的更新,及时提供给用户最新的功能。
在其中一个实施例中,通过设备操作接口获取保存在应用的存储空间中的资源文件的第三哈希值,并获取设备操作服务的资源文件的第四哈希值之前,还包括:
接收对应用的操作,根据操作调用对应的设备操作接口。
具体地,当POS终端接收到用户对应用的操作指令时,根据该操作指令调用对应的设备操作接口,再通过该对应的设备操作接口确定是否存在更新的资源文件。当存在更新的资源文件时,先更新应用的存储空间中的资源文件,再通过对应的设备操作接口加载并执行该资源文件的功能,以完成对用户的响应。若不存在更新的资源文件,则POS终端可直接根据用户对应用的操作指令,调用对应的设备操作接口从该应用的存储空间中获取对应的资源文件,然后执行该资源文件的功能,以完成响应。通过接收用户对应用的操作指令,使得POS终端在每次接收用户的操作指令时,都先调用对应的设备操作接口确定是否存在更新的资源文件,从而能够及时更新应用的存储空间中的资源文件。
在本实施例中,POS终端还可以自动实现资源文件的更新。POS终端可以预先设置自动更新的时间,例如,每隔几个小时或几天。POS终端达到指定时长时,可自动调用对应的设备操作接口确定该应用的存储空间中的资源文件是否存在更新。通过POS终端每隔一段时间内自动实现资源文件的更新,使得POS终端长时间未接收到用户的操作指令时,也能实现资源文件的更新。
如图7所示,为一个实施例中POS终端调用资源文件完成响应操作的过程。具体地,POS终端上的应用接收用户操作,根据该操作向设备操作接口获取操作句柄,设备操作接口返回操作句柄之前,先从设备操作服务中获取对应的资源文件的哈希值保存在该应用对应的存储空间中。再获取资源文件,同样保存在该应用对应的存储空间中。然后POS终端通过设备操作接口调用系统接口加载该资源文件,并通过设备操作接口将操作句柄返回给该应用。当该应用再次接收用户操作时,POS终端先验证设备操作服务中的资源文件是否存在更新,以确定该应用中的资源文件是否需要更新。则该应用通过操作句柄调用设备操作接口获取设备操作服务中的对应的资源文件的哈希值,再获取该应用的存储空间中的资源文件的哈希值,比较两者的哈希值,当不一致时,判定资源文件存在更新。则获取设备操作服务中的更新的资源文件,替换该应用的存储空间中的资源文件,并返回结果给该应用。该应用通过操作句柄调用设备操作接口,并通过设备操作接口调用系统接口加载该更新的资源文件,以完成对该操作的响应。
在一个实施例中,该支付应用的定制开发方法包括:
POS终端通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件。
接着,POS终端获取系统公钥,利用系统公钥对资源文件的签名信息进行解密,得到资源文件的第一哈希值;POS终端调用系统算法,利用系统算法计算资源文件的第二哈希值。
进一步地,POS终端比较第一哈希值和第二哈希值;当第一哈希值和第二哈希值一致时,POS终端将资源文件、资源文件的名称和资源文件的哈希值写入设备操作服务。
可选地,POS终端通过设备管理接口获取资源文件的第一版本号,并将第一版本号发送给应用市场服务器,第一版本号用于指示应用市场服务器获取应用市场服务器上的资源文件的第二版本号,并将第一版本号和第二版本号进行对比。
接着,当第一版本号和第二版本号不一致时,POS终端接收应用市场服务器返回的新的资源文件;采用新的资源文件替换设备操作服务中的资源文件。
接着,POS终端获取设备操作接口的名称,将设备操作接口的名称和设备操作服务中的资源文件的名称进行匹配。
进一步地,当设备操作接口的名称和设备操作服务中的资源文件的名称匹配成功时,获取名称匹配成功的资源文件,并保存在应用的存储空间中。
可选地,POS终端接收对应用的操作,根据操作调用对应的设备操作接口。
接着,POS终端通过设备操作接口获取保存在应用的存储空间中的资源文件的第三哈希值,并获取设备操作服务的资源文件的第四哈希值。
接着,POS终端将第三哈希值和第四哈希值进行对比;当第三哈希值和第四哈希值不一致时,判定资源文件存在更新,则POS终端通过设备操作接口从设备操作服务中获取新的资源文件。
进一步地,POS终端采用新的资源文件替换保存在应用的存储空间中的资源文件。
接着,POS终端通过应用加载保存在应用的存储空间中的资源文件,并执行资源文件的功能。
上述支付应用的定制开发方法,通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件,能够实现用户业务需求的定制功能,具有极大的灵活性。并利用系统公钥对资源文件的签名信息进行解密,得到资源文件的哈希值,再利用系统算法计算该资源文件的哈希值,若两个哈希值一致,则证明该资源文件完整,则将资源文件写POS终端的设备操作服务中。使用两种方式确定同一个资源文件的哈希值,以确定资源文件的完整性和准确性。接着,服务器上的资源文件可能存在更新,则POS终端从本地内存中获取应用的存储空间中的资源文件对应的第一版本号,并将该第一版本号上传应用市场服务器,用于指示应用市场服务器获取应用市场服务器上的资源文件的第二版本号,并将第一版本号和第二版本号进行对比,若版本号不同则获取服务器上的资源文件,以更新POS终端中的设备操作服务中的资源文件。接着POS终端调用对应的设备操作接口从设备操作服务中获取对应的资源文件,并存储在该应用对应的存储空间中,使得再次调用该资源文件时能够直接从该应用的存储空间中获取,节省从设备操作服务中调用的时间,从而能够快速地完成响应。当POS终端接收到用户对该应用的操作时,通过设备操作接口获取存储在应用对应的内存中的资源文件的第三哈希值,并获取设备操作服务的资源文件的第四哈希值,比较第三哈希值和第四哈希值,若不一致,则从设备操作服务中获取新的资源文件替换该应用的存储空间中的资源文件,从而更新应用的存储空间中的资源文件。采用该方法,能够避免通常的固化代码的方式导致需要等待新版本发布的问题,有助于提高该支付应用的定制开发平台的稳定性以及资源文件更新的便捷性。
如图8所示,为一个实施例中用户将一个新功能增加到POS终端的过程。
PayDroid是针对POS终端定制的安卓系统,POS终端在该安卓系统上运行。APP1、APP2、设备操作服务和应用市场客户端为POS终端中的多个应用。设备操作接口和APP1、APP2组成可运行的应用程序,设备管理接口和应用市场客户端组成可运行的应用程序。应用市场服务器为应用市场客户端所对应的服务器。当用户存在业务需求时,POS终端根据用户的业务需求抽象为定制的设备操作接口,然后由用户根据该设备操作接口实现对应的定制功能。用户将实现该定制功能的代码打包压缩为资源文件,并对该压缩文件进行签名,再上传到应用市场服务器。POS终端通过应用市场客户端从该应用市场服务器上下载用户终端上传的资源文件及资源文件的签名信息。POS终端通过应用市场客户端调用设备管理接口把资源文件存储到缓存区,然后验证资源文件的签名信息是否正确,正确则将资源文件、资源文件的名称和资源文件的哈希值写入设备操作服务的数据库。通过应用的设备操作接口从设备操作服务中获取该资源文件,并保存到该应用的存储空间中。POS终端通过该应用的操作设备接口调用系统接口,加载存储在该应用的存储空间中的资源文件,以执行该资源文件的功能。
例如,用户希望在POS终端增加一个新功能,该新功能为在APP1只能刷银行卡,APP2只能刷会员卡。POS终端获取用户要在APP1只能刷银行卡,APP2只能刷会员卡的这种需求,根据这种需求创建两个设备操作接口。然后POS终端通过应用市场客户端从应用市场服务器获取能实现这个功能的资源文件,通过设备管理接口保存资源文件。再通过设备管理接口调用设备操作服务的文件操作接口将资源文件写入设备操作服务的数据库中。POS终端调用APP1的设备操作接口和APP2的设备操作接口从设备操作服务的数据库中读取资源文件,将资源文件保存在APP1和APP2对应的存储空间中。当需要此功能时,调用设备操作接口先判断该资源文件是否存在更新,若存在更新,则更新应用的存储空间中的资源文件,再从对应的APP的存储空间中获取该资源文件并加载,以实现该资源文件的功能。若不存在更新,则直接加载APP的存储空间中的资源文件,执行该资源文件的功能。
应该理解的是,虽然图1-8流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1-8中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图9所示,提供了一种支付应用的定制开发装置,包括:获取模块902、写入模块904、存储模块906和加载模块908,其中:
获取模块902,用于通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件。
写入模块904,用于将资源文件写入设备操作服务。
存储模块906,用于通过设备操作接口从设备操作服务中获取资源文件,并保存在应用的存储空间中。
加载模块908,用于通过应用加载保存在应用的存储空间中的资源文件,并执行资源文件的功能。
上述支付应用的定制开发装置,通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件,将该资源文件写入设备操作服务,该资源文件由用户自己实现,使得用户能够根据自己的需求完成定制,实现了该支付应用的定制开发平台的通用性。通过设备操作接口从设备操作服务中获取该资源文件,并保存在应用的存储空间中,使得可以直接从该应用的存储空间中直接获取资源文件,节省了从设备操作服务中调取资源文件的时间。将资源文件作为一个插件,再通过该应用调用对应的接口加载保存在应用的存储空间中的该资源文件,并执行该资源文件的功能,避免采用通常的固化代码的方式导致需要等待新版本发布的问题,有助于提高该支付应用的定制开发平台的稳定性以及资源文件更新的便捷性。
在一个实施例中,如图10所示,写入模块904包括:解密单元1002、调用1004、比较文件获取单元1006和写入单元1008。其中,
解密单元1002,用于获取系统公钥,利用系统公钥对资源文件的签名信息进行解密,得到资源文件的第一哈希值。
调用单元1004,用于调用系统算法,利用系统算法计算资源文件的第二哈希值。
比较单元1006,用于比较第一哈希值和第二哈希值。
写入单元1008,用于当第一哈希值和第二哈希值一致时,将资源文件、资源文件的名称和资源文件的哈希值写入设备操作服务。
上述支付应用的定制开发装置,通过利用公钥解密得到哈希值和利用系统算法计算得到哈希值,比较两种方式得到的同一个资源文件的哈希值是否相同,以确定资源文件在下载过程中是否出错,能够确保资源文件的准确性和完整性。
在一个实施例中,该存储模块还用于:获取设备操作接口的名称;将设备操作接口的名称和设备操作服务中的资源文件的名称进行匹配;当设备操作接口的名称和设备操作服务中的资源文件的名称匹配成功时,获取名称匹配成功的资源文件。通过获取设备操作接口的名称的关键词,根据关键词查找设备操作服务中的资源文件的名称进行匹配,当设备操作接口的名称和设备操作服务中的资源文件的名称匹配成功时,获取名称匹配成功的资源文件,通过名称的关键词匹配使得能准确地获取对应资源文件,从而快速地完成响应。
在一个实施例中,该支付应用的定制开发装置还包括:替换模块。替换模块用于:通过设备管理接口获取资源文件的第一版本号,并将第一版本号发送给应用市场服务器,第一版本号用于指示应用市场服务器获取应用市场服务器上的资源文件的第二版本号,并将第一版本号和第二版本号进行对比;当第一版本号和第二版本号不一致时,接收应用市场服务器返回的新的资源文件;采用新的资源文件替换设备操作服务中的资源文件。通过POS终端的设备操作服务中的资源文件的版本号和服务器上的资源文件的版本号进行对比,以判断是否存在更新,从而能够及时地更新POS终端的资源文件,使得POS终端具有更全面的功能,从而给用户提供更全面的服务。
在一个实施例中,存储模块还用于:通过设备操作接口获取保存在应用的存储空间中的资源文件的第三哈希值,并获取设备操作服务的资源文件的第四哈希值;将第三哈希值和第四哈希值进行对比;当第三哈希值和第四哈希值不一致时,判定资源文件存在更新,则通过设备操作接口从设备操作服务中获取新的资源文件;采用新的资源文件替换保存在应用的存储空间中的资源文件。该支付应用的定制开发装置,通过从本地内存中获取存储在应用的存储空间中的资源文件的哈希值,并与设备操作服务中存储的资源文件的哈希值进行对比,以判断资源文件是否存在更新。当两者的哈希值不一致时,说明资源文件存在更新,则更新应用对应的内存中的资源文件,使得能够自动实现资源文件的更新,及时提供给用户最新的功能。
在一个实施例中,该装置还包括:调用模块。调用模块用于:接收对应用的操作,根据操作调用对应的设备操作接口。通过接收用户对应用的操作指令,使得POS终端在每次接收用户的操作指令时,都先调用对应的设备操作接口确定是否存在更新的资源文件,从而能够及时更新应用的存储空间中的资源文件。
关于支付应用的定制开发装置的具体限定可以参见上文中对于支付应用的定制开发方法的限定,在此不再赘述。上述支付应用的定制开发装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,该计算机设备可以是POS终端,其内部结构图可以如图11所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种支付应用的定制开发方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图11中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述支付应用的定制开发方法的步骤。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述支付应用的定制开发方法的步骤。
技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink) DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (10)

  1. 一种支付应用的定制开发方法,所述方法包括:
    通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件;
    将所述资源文件写入设备操作服务;
    通过设备操作接口从所述设备操作服务中获取所述资源文件,并保存在应用的存储空间中;
    通过所述应用加载所述保存在应用的存储空间中的所述资源文件,并执行所述资源文件的功能。
  2. 根据权利要求1所述的方法,其特征在于,所述将所述资源文件写入设备操作服务,包括:
    获取系统公钥,利用所述系统公钥对资源文件的签名信息进行解密,得到所述资源文件的第一哈希值;
    调用系统算法,利用所述系统算法计算所述资源文件的第二哈希值;
    比较所述第一哈希值和所述第二哈希值;
    当所述第一哈希值和所述第二哈希值一致时,将所述资源文件、资源文件的名称和资源文件的哈希值写入所述设备操作服务。
  3. 根据权利要求1所述的方法,其特征在于,所述通过所述设备操作接口从设备操作服务中获取对应的资源文件,包括:
    获取所述设备操作接口的名称;
    将所述设备操作接口的名称和设备操作服务中的资源文件的名称进行匹配;
    当所述设备操作接口的名称和所述设备操作服务中的资源文件的名称匹配成功时,获取名称匹配成功的资源文件。
  4. 根据权利要求1所述的方法,其特征在于,所述将所述资源文件写入设备操作服务之后,还包括:
    通过设备管理接口获取所述资源文件的第一版本号,并将所述第一版本号发送给应用市场服务器,所述第一版本号用于指示所述应用市场服务器获取所述应用市场服务器上的所述资源文件的第二版本号,并将所述第一版本号和所述第二版本号进行对比;
    当所述第一版本号和所述第二版本号不一致时,接收所述应用市场服务器返回的新的资源文件;
    采用所述新的资源文件替换所述设备操作服务中的资源文件。
  5. 根据权利要求4所述的方法,其特征在于,所述通过设备操作接口从所述设备操作服务中获取所述资源文件,并保存在应用的存储空间中,包括:
    通过所述设备操作接口获取所述保存在应用的存储空间中的所述资源文件的第三哈希值,并获取设备操作服务的资源文件的第四哈希值;
    将所述第三哈希值和所述第四哈希值进行对比;
    当所述第三哈希值和所述第四哈希值不一致时,判定所述资源文件存在更新,则通过设备操作接口从设备操作服务中获取新的资源文件;
    采用所述新的资源文件替换所述保存在应用的存储空间中的所述资源文件。
  6. 根据权利要求5所述的方法,其特征在于,所述通过所述设备操作接口获取所述保存在应用的存储空间中的所述资源文件的第三哈希值,并获取设备操作服务的资源文件的第四哈希值之前,还包括:
    接收对所述应用的操作,根据所述操作调用对应的设备操作接口。
  7. 一种支付应用的定制开发装置,其特征在于,所述装置包括:
    获取模块,用于通过应用市场客户端获取用户终端上传至应用市场服务器的资源文件;
    写入模块,用于将所述资源文件写入设备操作服务;
    存储模块,用于通过设备操作接口从所述设备操作服务中获取所述资源文件,并保存在应用的存储空间中;
    加载模块,用于通过所述应用加载所述保存在应用的存储空间中的所述资源文件,并执行所述资源文件的功能。
  8. 根据权利要求7所述的装置,其特征在于,所述写入模块包括:
    解密单元,用于获取系统公钥,利用所述系统公钥对资源文件的签名信息进行解密,得到所述资源文件的第一哈希值;
    调用单元,用于调用系统算法,利用所述系统算法计算所述资源文件的第二哈希值;
    比较单元,用于比较所述第一哈希值和所述第二哈希值;
    写入单元,用于当所述第一哈希值和所述第二哈希值一致时,将所述资源文件、资源文件的名称和资源文件的哈希值写入所述设备操作服务。
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至5中任一项所述方法的步骤。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至5中任一项所述的方法的步骤。
PCT/CN2019/114634 2018-12-28 2019-10-31 支付应用的定制开发方法、装置、计算机设备和存储介质 WO2020134536A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/785,822 US20230351050A1 (en) 2018-12-28 2019-10-31 Method and apparatus for custom development of payment application, computer device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811626262.3A CN109766084B (zh) 2018-12-28 2018-12-28 支付应用的定制开发方法、装置、计算机设备和存储介质
CN201811626262.3 2018-12-28

Publications (1)

Publication Number Publication Date
WO2020134536A1 true WO2020134536A1 (zh) 2020-07-02

Family

ID=66452206

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/114634 WO2020134536A1 (zh) 2018-12-28 2019-10-31 支付应用的定制开发方法、装置、计算机设备和存储介质

Country Status (3)

Country Link
US (1) US20230351050A1 (zh)
CN (1) CN109766084B (zh)
WO (1) WO2020134536A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766084B (zh) * 2018-12-28 2021-04-23 百富计算机技术(深圳)有限公司 支付应用的定制开发方法、装置、计算机设备和存储介质
CN111695987A (zh) * 2020-06-15 2020-09-22 北京同邦卓益科技有限公司 客户注册的处理方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040172276A1 (en) * 2003-02-28 2004-09-02 Fujitsu Limited POS system
CN104834530A (zh) * 2015-05-27 2015-08-12 百富计算机技术(深圳)有限公司 一种pos应用程序的开发方法及云端服务器
CN106371866A (zh) * 2016-08-29 2017-02-01 福建联迪商用设备有限公司 Pos终端应用包的下载方法、装置及通讯方法
CN108549555A (zh) * 2018-04-10 2018-09-18 Tcl通力电子(惠州)有限公司 客制化软件的处理方法、嵌入式系统设备及存储介质
CN109766084A (zh) * 2018-12-28 2019-05-17 百富计算机技术(深圳)有限公司 支付应用的定制开发方法、装置、计算机设备和存储介质

Family Cites Families (72)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU3722399A (en) * 1998-05-06 1999-11-23 Jcp Computer Services Ltd Processing apparatus and method
US6983371B1 (en) * 1998-10-22 2006-01-03 International Business Machines Corporation Super-distribution of protected digital content
US6275978B1 (en) * 1998-11-04 2001-08-14 Agilent Technologies, Inc. System and method for term localization differentiation using a resource bundle generator
US6393420B1 (en) * 1999-06-03 2002-05-21 International Business Machines Corporation Securing Web server source documents and executables
US7017143B1 (en) * 1999-12-01 2006-03-21 Microsoft Corporation External resource files for application development and management
US7243335B1 (en) * 2000-02-17 2007-07-10 Microsoft Corporation Method and system for reducing coding complexity by providing intelligent manipulable defaults
EP1493243B1 (en) * 2002-04-09 2014-10-22 TELEFONAKTIEBOLAGET LM ERICSSON (publ) Secure file transfer
US7660421B2 (en) * 2002-06-28 2010-02-09 Hewlett-Packard Development Company, L.P. Method and system for secure storage, transmission and control of cryptographic keys
JP4201556B2 (ja) * 2002-09-13 2008-12-24 富士通株式会社 センタ・システムにおける情報処理方法及びアクセス権限管理方法
JP2007535204A (ja) * 2003-12-18 2007-11-29 松下電器産業株式会社 認証プログラム実行方法
CA2566801A1 (en) * 2004-07-14 2006-01-19 Matsushita Electric Industrial Co., Ltd. Method for authenticating and executing an application program
US7603257B1 (en) * 2004-10-15 2009-10-13 Apple Inc. Automated benchmarking of software performance
GB0524008D0 (en) * 2005-11-25 2006-01-04 Ibm Method and system for controlling the processing of requests for web resources
CN100396132C (zh) * 2005-12-16 2008-06-18 北京金山软件有限公司 一种实现无线终端程序更新的方法
US7840540B2 (en) * 2006-04-20 2010-11-23 Datascout, Inc. Surrogate hashing
US7526530B2 (en) * 2006-05-05 2009-04-28 Adobe Systems Incorporated System and method for cacheing web files
CN101110694A (zh) * 2006-07-19 2008-01-23 上海卡友信息服务有限公司 分布式业务系统中应用终端设备软件更新的方法和装置
KR101303532B1 (ko) * 2006-10-31 2013-09-03 티티아이 인벤션스 씨 엘엘씨 암호 해싱을 이용한 바이러스 위치파악
US20080115141A1 (en) * 2006-11-15 2008-05-15 Bharat Welingkar Dynamic resource management
KR100915467B1 (ko) * 2007-02-28 2009-09-03 강재호 인터랙티브 쇼핑파일 제공시스템 및 제공방법
US8620260B2 (en) * 2007-04-27 2013-12-31 American Express Travel Related Services Company, Inc. Payment application download to mobile phone and phone personalization
EP2196911A4 (en) * 2007-07-20 2010-10-06 Hui Lin CONSTRUCTION AND METHOD FOR ENCRYPTING A DIGITAL INFORMATION MEMORY CARD
JP4234770B1 (ja) * 2007-10-10 2009-03-04 株式会社東芝 再生装置および再生制御方法
US20090210702A1 (en) * 2008-01-29 2009-08-20 Palm, Inc. Secure application signing
US20090328028A1 (en) * 2008-06-25 2009-12-31 O'rourke Connor Electronic documents and methods for updating resource files for an application
US8347287B2 (en) * 2008-10-03 2013-01-01 Hewlett-Packard Development Company, L.P. System and method for localizing a server application using a client-side translator
CN101710436B (zh) * 2009-12-01 2011-12-14 中国建设银行股份有限公司 一种控制pos终端的方法、系统以及pos终端管理设备
JP5365502B2 (ja) * 2009-12-24 2013-12-11 富士通株式会社 ファイル管理装置、ファイル管理プログラム、およびファイル管理方法
US8612399B2 (en) * 2010-06-01 2013-12-17 Kabushiki Kaisha Toshiba Alteration detecting apparatus and alteration detecting method
US8707339B2 (en) * 2010-07-30 2014-04-22 CSC Holdings, LLC System and method for detecting hacked modems
JP5073032B2 (ja) * 2010-09-27 2012-11-14 株式会社東芝 情報出力装置、情報処理システムおよび情報処理方法
US9148466B2 (en) * 2010-10-05 2015-09-29 Yahoo! Inc. Presenting modules in a browser
US8533164B2 (en) * 2010-12-09 2013-09-10 International Business Machines Corporation Method and tool to overcome VIOS configuration validation and restoration failure due to DRC name mismatch
US8880669B2 (en) * 2011-03-03 2014-11-04 Cisco Technology, Inc. Method and apparatus to detect unidentified inventory
JP2013138300A (ja) * 2011-12-28 2013-07-11 Fuji Xerox Co Ltd 画像形成装置及びプログラム
US8626774B2 (en) * 2012-01-23 2014-01-07 Qualcomm Innovation Center, Inc. Location based apps ranking for mobile wireless computing and communicating devices
CN102662652A (zh) * 2012-03-05 2012-09-12 北京千橡网景科技发展有限公司 用于定制个性化应用的方法和设备
US9251026B2 (en) * 2012-03-31 2016-02-02 Bmc Software, Inc. Application instrumentation code extension
US20130311598A1 (en) * 2012-05-16 2013-11-21 Apple Inc. Cloud-based data item sharing and collaboration among groups of users
US8826373B2 (en) * 2012-07-14 2014-09-02 Sharp Laboratories Of America, Inc. Methods and systems for sharing digital assets
CN103678319B (zh) * 2012-09-03 2019-03-26 腾讯科技(深圳)有限公司 资源文件更新方法、装置和系统及服务器
US9398053B2 (en) * 2012-12-02 2016-07-19 Microsoft Technology Licensing, Llc Efficient data transmission between computing devices
JP5920260B2 (ja) * 2013-03-19 2016-05-18 富士ゼロックス株式会社 通信システム、中継装置及びプログラム
US20150073911A1 (en) * 2013-09-12 2015-03-12 Lucy Ma Zhao Point of sale item payment option systems and methods
US9804862B2 (en) * 2013-12-02 2017-10-31 Crowdin, Inc. Translatable texts identification in in-context localization utilizing pseudo-language and an external server
JP6265733B2 (ja) * 2013-12-25 2018-01-24 キヤノン株式会社 権限管理サーバー及び権限管理方法
US9501270B2 (en) * 2014-03-31 2016-11-22 Google Technology Holdings LLC System and method for providing customized resources on a handheld electronic device
JP6167990B2 (ja) * 2014-05-27 2017-07-26 パナソニックIpマネジメント株式会社 署名検証システム、検証装置、及び署名検証方法
CN104503741A (zh) * 2014-12-01 2015-04-08 北京金和软件股份有限公司 一种制作和发布app一体化的系统
US10218723B2 (en) * 2014-12-05 2019-02-26 Reversing Labs Holding Gmbh System and method for fast and scalable functional file correlation
US9690549B2 (en) * 2015-03-25 2017-06-27 Ca, Inc. Editing software products using text mapping files
US20160317933A1 (en) * 2015-05-01 2016-11-03 Lucidlogix Technologies Ltd. Automatic game support content generation and retrieval
WO2017027484A1 (en) * 2015-08-09 2017-02-16 Ramasamy Celambarasan System and method for microshare based content funding and distribution
US9424135B1 (en) * 2015-12-30 2016-08-23 International Business Machines Corporation Migration of large data from on-line content management to archival content management
KR101772554B1 (ko) * 2016-02-02 2017-08-30 주식회사 코인플러그 파일에 대한 노터리 서비스를 제공하고 상기 노터리 서비스를 사용하여 기록된 파일에 대한 검증을 수행하는 방법 및 서버
US10178171B2 (en) * 2016-04-21 2019-01-08 Samsung Electronics Company, Ltd. Content management system for distribution of content
CN107528713B (zh) * 2016-06-22 2019-01-11 腾讯科技(深圳)有限公司 一种数据转移sdk的升级方法及装置
US10250572B2 (en) * 2016-09-29 2019-04-02 Amazon Technologies, Inc. Logic repository service using encrypted configuration data
CN106569863B (zh) * 2016-11-10 2020-01-17 福州智永信息科技有限公司 基于资源和代码模块化的安卓app资源更新和修复的方法
CN106843978B (zh) * 2017-01-23 2020-04-03 北京乐盟互动科技有限公司 一种sdk接入方法及系统
US10430792B2 (en) * 2017-03-15 2019-10-01 Sujay Abhay Phadke Transaction device
US10540364B2 (en) * 2017-05-02 2020-01-21 Home Box Office, Inc. Data delivery architecture for transforming client response data
US10572295B2 (en) * 2017-05-05 2020-02-25 Micro Focus Llc Ordering of interface adapters in virtual machines
US10949088B1 (en) * 2017-07-21 2021-03-16 EMC IP Holding Company LLC Method or an apparatus for having perfect deduplication, adapted for saving space in a deduplication file system
CN107423101B (zh) * 2017-08-01 2020-07-14 武大吉奥信息技术有限公司 一种应用程序插件网格化发布与管理方法及系统
US10860346B2 (en) * 2017-08-15 2020-12-08 Sap Se Server-side internationalization framework for web applications
US10404713B2 (en) * 2017-09-29 2019-09-03 Zott, Inc. Multi-source broadcasting architecture
US10885576B2 (en) * 2017-12-29 2021-01-05 Paypal, Inc. Website tracking system
US11226939B2 (en) * 2017-12-29 2022-01-18 Dropbox, Inc. Synchronizing changes within a collaborative content management system
US11853685B2 (en) * 2018-01-23 2023-12-26 Oracle International Corporation Transformation of resource files using mapped keys for tracking content location
US10620934B2 (en) * 2018-01-24 2020-04-14 Citrix Systems, Inc. Systems and methods for versioning a cloud environment for a device
US10887634B2 (en) * 2018-07-26 2021-01-05 Wangsu Science & Technology Co., Ltd. Video resource file acquisition method and management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040172276A1 (en) * 2003-02-28 2004-09-02 Fujitsu Limited POS system
CN104834530A (zh) * 2015-05-27 2015-08-12 百富计算机技术(深圳)有限公司 一种pos应用程序的开发方法及云端服务器
CN106371866A (zh) * 2016-08-29 2017-02-01 福建联迪商用设备有限公司 Pos终端应用包的下载方法、装置及通讯方法
CN108549555A (zh) * 2018-04-10 2018-09-18 Tcl通力电子(惠州)有限公司 客制化软件的处理方法、嵌入式系统设备及存储介质
CN109766084A (zh) * 2018-12-28 2019-05-17 百富计算机技术(深圳)有限公司 支付应用的定制开发方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN109766084B (zh) 2021-04-23
CN109766084A (zh) 2019-05-17
US20230351050A1 (en) 2023-11-02

Similar Documents

Publication Publication Date Title
EP3479283B1 (en) Maintaining operating system secrets across resets
WO2020253061A1 (zh) 页面生成方法、装置、计算机设备和存储介质
TWI598814B (zh) 用於管理及診斷配備有統一可延伸韌體介面(uefi)相容韌體的計算裝置之系統與方法
WO2018086463A1 (zh) 一种用户信息获取系统、方法及装置
CN106843978B (zh) 一种sdk接入方法及系统
CN111008034B (zh) 一种补丁生成方法及装置
CN109408486B (zh) 文件发布方法和系统、发布服务器和文件生成装置
WO2020134536A1 (zh) 支付应用的定制开发方法、装置、计算机设备和存储介质
CN108132832B (zh) 应用程序启动方法和装置
CN108469962A (zh) 基于手机盾的移动终端及手机盾管理方法
CN112579138A (zh) 页面展示方法、装置、电子设备及存储介质
CN110196741B (zh) 基本输入输出系统的设置方法、终端及计算机存储介质
CN115509587B (zh) 固件升级方法、装置、电子设备及计算机可读存储介质
CN113515269B (zh) 应用包的处理方法、装置、计算机设备和存储介质
CN111046389A (zh) 固件组件安全更新的方法以及用以实施的携行计算机站
CN115935414A (zh) 基于区块链的数据校验方法、装置、电子设备和存储介质
US20210006634A1 (en) Secure and private web browsing system and method
CN114036491A (zh) 软件管理方法、系统和存储介质
CN112363771B (zh) 应用程序的处理方法及相关产品
JP2013046122A (ja) 端末、アプリ保護方法及びプログラム
US20220294641A1 (en) Program signing method
US20240211624A1 (en) Privacy vault
US20230066159A1 (en) Controlling program execution using an access key
CN114676050A (zh) 测试方法、装置、设备和计算机可读存储介质
CN114237677A (zh) 应用更新文件的热更新方法、装置、计算机设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19906388

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19906388

Country of ref document: EP

Kind code of ref document: A1