Distributed financial terminal implementation method, device, financial terminal and medium
Through the distributed financial terminal implementation method, the distributed software bus technology and configuration manager module of the Hongmeng operating system are used to realize the optional configuration of the financial terminal, solving the problems of bloated and high cost of traditional terminal equipment, and improving productivity and configurability.
Patent Information
- Application Number
- CN202210987981.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-17
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2042-08-17
AI Technical Summary
Due to the diversified functional service needs of traditional financial terminals, the equipment is bloated and not suitable for iteration, and the production costs are high, making it difficult to meet fragmented needs.
The distributed financial terminal implementation method is adopted, and the distributed software bus technology of the Hongmeng operating system is used to separate the security components from the general components, and optional configuration is made according to the needs of different payment scenarios. The device's trusted whitelist management and PIN code encryption distribution network are implemented through the distributed configuration manager module to improve the configurability of the device.
It reduces the production cost and security certification cost of financial terminals, improves the productivity and configurability of terminals, and meets the needs of diversified service scenarios.
Smart Images

Figure CN115459960B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of financial equipment, and in particular to a distributed financial terminal implementation method, device, financial terminal and medium. Background Art
[0002] Because the functional services required by financial terminals vary across banks and regions, financial terminal development requires significant flexibility and scalability. Traditional financial terminals combine various components to provide financial services as a complete machine. Early operating systems for self-service terminals were Windows, while POS terminals primarily ran Linux and Android. Driven by the need for technological independence and control, domestic operating system manufacturers have launched proprietary operating systems based on the Linux kernel, which are now widely used in financial terminals.
[0003] With the development of the digital economy, the demand for customized devices that precisely match various scenarios is becoming increasingly urgent. If the current integrated device format continues, financial terminals will become bloated, difficult to iterate, and have high production costs. To meet this fragmented demand, terminal manufacturers need to seek innovative solutions. In the past two years, the microkernel-based HarmonyOS operating system has been fully compatible with various types of devices, providing more options for financial terminals. Summary of the Invention
[0004] The main purpose of the present invention is to propose a distributed financial terminal implementation method, device, financial terminal and medium, aiming to improve the configurability of the financial terminal and reduce the production cost of the financial terminal.
[0005] To achieve the above-mentioned object, the present invention provides a distributed financial terminal implementation method, which comprises the following steps:
[0006] Based on the preset distributed scenario requirements, the service layer of the financial terminal is adapted and enhanced to connect the first distributed device corresponding to the preset distributed scenario requirements to the financial terminal;
[0007] When the financial terminal receives the operation instruction, it obtains the second distributed device corresponding to the operation instruction, and interacts with and controls the second distributed device through the financial terminal.
[0008] Preferably, the service layer of the financial terminal includes a master control device, and the step of performing adaptation and enhancement processing on the service layer of the financial terminal based on preset distributed scenario requirements to connect the first distributed device corresponding to the preset distributed scenario requirements to the financial terminal includes:
[0009] According to the preset distributed scenario requirements, a distributed configuration manager module is added to the master device, and a trusted whitelist is configured in the distributed configuration manager module, wherein the trusted whitelist includes the first distributed device ID corresponding to the preset distributed scenario requirements;
[0010] Performing an integrity check on the first distributed device ID according to a preset configuration policy;
[0011] If the integrity check passes, a connection is established between the first distributed device and the financial terminal.
[0012] Preferably, the distributed configuration manager module includes a trusted whitelist and a running device list, and the step of performing integrity check on the first distributed device ID according to the preset configuration policy includes:
[0013] When the distributed configuration manager module is running, reading the trusted whitelist and the running device list in the distributed configuration manager module, and detecting whether the device IDs in the running device list are all in the trusted whitelist;
[0014] If the device IDs are all in the trusted whitelist, detecting via the distributed soft bus whether a connection has been established between the device in the running device list and the financial terminal;
[0015] If it is detected that a device in the running device list has established a connection with the financial terminal, the integrity check is completed and the integrity check is exited.
[0016] Preferably, after the step of detecting whether the device IDs in the running device list are all in the trusted whitelist, the method further includes:
[0017] If there is a device ID that is not in the trusted whitelist, an alarm will be issued to prompt a system error.
[0018] Preferably, after the step of detecting whether a device in the running device list has established a connection with the financial terminal through the distributed soft bus, the method further includes:
[0019] If there is a device in the running device list that has no connection with the financial terminal, an alarm will be issued to prompt that the device is missing.
[0020] Preferably, the master device has a built-in first PIN code, and the first distributed device has a built-in second PIN code, and the step of establishing a connection between the first distributed device and the financial terminal includes:
[0021] Encrypting the network configuration information using the first PIN code of the master device to generate ciphertext data, and sending the ciphertext data to the first distributed device;
[0022] The ciphertext data is decrypted using the second PIN code of the first distributed device to establish a connection between the first distributed device and the financial terminal.
[0023] Preferably, the financial terminal includes a component-type financial terminal, a split-type financial terminal, and a parent-child type financial terminal.
[0024] In addition, to achieve the above-mentioned purpose, the present invention further provides a distributed financial terminal implementation device, the distributed financial terminal implementation device comprising:
[0025] A configuration module, based on a preset distributed scenario requirement, performs adaptation and enhancement processing on the service layer of the financial terminal to connect a first distributed device corresponding to the preset distributed scenario requirement to the financial terminal;
[0026] The control module is used to obtain the second distributed device corresponding to the operation instruction when the financial terminal receives the operation instruction, and interact with and control the second distributed device through the financial terminal.
[0027] In addition, to achieve the above-mentioned purpose, the present invention also provides a financial terminal, which includes: a memory, a processor, and a distributed financial terminal implementation program stored on the memory and capable of running on the processor. When the distributed financial terminal implementation program is executed by the processor, the steps of the distributed financial terminal implementation method described above are implemented.
[0028] In addition, to achieve the above-mentioned purpose, the present invention also provides a medium, which is a computer-readable storage medium, and a distributed financial terminal implementation program is stored on the computer-readable storage medium. When the distributed financial terminal implementation program is executed by the processor, the steps of the distributed financial terminal implementation method as described above are implemented.
[0029] The present invention proposes a distributed financial terminal implementation method, device, financial terminal and medium; the distributed financial terminal implementation method includes: based on preset distributed scenario requirements, performing adaptive enhancement processing on the business layer of the financial terminal to connect the first distributed device corresponding to the preset distributed scenario requirements to the financial terminal; when the financial terminal receives an operation instruction, obtaining the second distributed device corresponding to the operation instruction, and interacting with and controlling the second distributed device through the financial terminal. The present invention improves the configurability of the financial terminal and reduces the production cost of the financial terminal by performing adaptive enhancement processing on the business layer of the financial terminal based on preset distributed scenario requirements to connect the first distributed device corresponding to the preset distributed scenario requirements to the financial terminal; when the financial terminal receives an operation instruction, obtaining the second distributed device corresponding to the operation instruction, and interacting with and controlling the second distributed device through the financial terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 Schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;
[0031] Figure 2 This is a flow chart of the first embodiment of the distributed financial terminal implementation method of the present invention;
[0032] Figure 3 This is a schematic diagram of the system framework of a traditional financial terminal;
[0033] Figure 4 This is a schematic diagram of the system framework of the financial terminal of the present invention;
[0034] Figure 5 This is a schematic diagram of the business layer of the financial terminal of the present invention;
[0035] Figure 6 This is a schematic diagram of the component-type financial terminal of the present invention;
[0036] Figure 7 This is a schematic diagram of the split-type financial terminal of the present invention;
[0037] Figure 8 This is a flow chart of a second embodiment of the distributed financial terminal implementation method of the present invention;
[0038] Figure 9 A schematic diagram of a sub-flow diagram of the second embodiment of the distributed financial terminal implementation method of the present invention;
[0039] Figure 10 This is a flow chart of a third embodiment of the distributed financial terminal implementation method of the present invention;
[0040] Figure 11This is a functional module diagram of the first embodiment of the distributed financial terminal implementation device of the present invention.
[0041] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0043] like Figure 1 As shown, Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.
[0044] The device in the embodiment of the present invention may be a mobile terminal or a server device.
[0045] like Figure 1 As shown, the device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0046] Those skilled in the art will understand that Figure 1 The device structure shown in the figure does not constitute a limitation of the device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0047] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a distributed financial terminal implementation program.
[0048] Among them, the operating system is a program that manages and controls the distributed financial terminal implementation equipment and software resources, and supports the operation of the network communication module, user interface module, distributed financial terminal implementation program and other programs or software; the network communication module is used to manage and control the network interface 1002; the user interface module is used to manage and control the user interface 1003.
[0049] exist Figure 1 In the distributed financial terminal implementation device shown, the distributed financial terminal implementation device calls the distributed financial terminal implementation program stored in the memory 1005 through the processor 1001, and executes the operations in each embodiment of the distributed financial terminal implementation method described below.
[0050] Based on the above hardware structure, an embodiment of a method for implementing a distributed financial terminal of the present invention is proposed.
[0051] Reference Figure 2 , Figure 2 This is a flow chart of a first embodiment of a distributed financial terminal implementation method according to the present invention. The distributed financial terminal implementation method includes:
[0052] Step S10: Based on a preset distributed scenario requirement, performing adaptation enhancement processing on the service layer of the financial terminal to connect a first distributed device corresponding to the preset distributed scenario requirement to the financial terminal;
[0053] Step S20: When the financial terminal receives the operation instruction, it obtains the second distributed device corresponding to the operation instruction, and interacts with and controls the second distributed device through the financial terminal.
[0054] This embodiment performs adaptive enhancement processing on the business layer of the financial terminal according to the preset distributed scenario requirements, so as to connect the first distributed device corresponding to the preset distributed scenario requirements to the financial terminal; when the financial terminal receives an operation instruction, it obtains the second distributed device corresponding to the operation instruction, and interacts and controls the second distributed device through the financial terminal; thereby improving the configurability of the financial terminal and reducing the production cost of the financial terminal.
[0055] The following describes each step in detail:
[0056] Step S10: Based on the preset distributed scenario requirements, the service layer of the financial terminal is adapted and enhanced to connect the first distributed device corresponding to the preset distributed scenario requirements to the financial terminal.
[0057] In this embodiment, a distributed financial terminal implementation method is applied to financial terminals. HarmonyOS's distributed software bus technology enables distributed networking of financial terminals. This technology enables optional configuration of financial terminals, simplifies device network connectivity, and facilitates financial terminal manufacturers to separate security components from general components of financial terminals. This allows for distributed interaction between security components and general components tailored to the distributed scenarios of financial terminals, thereby reducing system migration costs for financial terminals. Security components are payment-related hardware devices within financial terminals, and include, but are not limited to, PIN pads, card readers, password modules, printers, and card issuers.
[0058] Common components are commonly used hardware devices in financial terminals, including but not limited to: display screens, cameras, high-performance processors, touch screens and network modules.
[0059] Reference Figure 3 , Figure 3 This diagram shows the system architecture of a traditional financial terminal. Traditional operating system-based financial terminals combine security components with common components to provide financial services as a complete device. Early versions of the operating system for self-service terminals used Windows, while POS terminals primarily used Linux and Android. Traditional financial terminals are cumbersome, difficult to iterate, and expensive to produce, failing to meet the demands of fragmented service scenarios. As complete devices, common components within traditional financial terminals vary depending on the needs of different payment scenarios, requiring re-certification of the terminal's security, increasing security certification costs.
[0060] Reference Figure 4 , Figure 4 This is a schematic diagram of the system framework of the financial terminal of the present invention. Through Hongmeng's distributed soft bus technology, the distributed networking of the terminal components of the financial terminal is realized, and the optional configuration of the terminal components of the financial terminal is realized, as well as the customization requirements that can be applied to the scene. In the financial terminal of the present invention, the security components are set as required accessories, and the general components are set as optional accessories. Therefore, according to the requirements of different payment scenarios, the general components corresponding to the payment scenario requirements can be connected to the financial terminal; then, the security components and general components are combined through the configuration manager in the financial terminal to realize the complete function of the traditional financial terminal; thus, it is convenient for terminal manufacturers to separate the terminal components, reduce security certification costs and production costs, realize mass production, and improve the productivity of financial terminals.
[0061] In response to the preset distributed scenario requirements of the financial terminal, the business layer of the financial terminal is adapted and enhanced so that the financial terminal is connected to the first distributed device. The preset distributed scenario requirements are pre-set application scenarios of the financial terminal; the first distributed device is a general component required for the preset distributed scenario requirements, and the corresponding general components will also change accordingly for different distributed scenario requirements.
[0062] Reference Figure 5 , Figure 5 The diagram of the business layer of the financial terminal of the present invention is as follows; specifically, a distributed configuration manager module is added to the main control device in the business layer, wherein the distributed configuration manager module runs in the application layer of the financial terminal and belongs to the bottom layer service. Corresponding functional services are provided to upper-layer applications through API interfaces. Based on the requirements of distributed scenarios, the distributed configuration manager module utilizes the characteristics of the Hongmeng system to connect the common components required for distributed scenarios to the financial terminal, so that when the financial terminal receives the user's operation instruction, the remote operation of the distributed devices required for the operation instruction can be achieved by operating the financial terminal.
[0063] For example, in distributed scenario (1), the self-service of a community convenience store requires 2 cameras + 1 display screen; in distributed scenario (2), the automatic payment channel of a large supermarket requires 1 camera + 1 display screen + 1 touch screen.
[0064] For distributed scenario (I), a connection between the financial terminal and two cameras + one display screen will be established to realize the self-service function corresponding to distributed scenario (I).
[0065] For distributed scenario (II), a connection between the financial terminal and 1 camera + 1 display screen + 1 touch screen will be established to realize the automatic payment service function corresponding to distributed scenario (II).
[0066] Step S20: When the financial terminal receives the operation instruction, it obtains the second distributed device corresponding to the operation instruction, and interacts with and controls the second distributed device through the financial terminal.
[0067] In this embodiment, after a first distributed device establishes a connection with a financial terminal, when the financial terminal receives an operation instruction from a user, it obtains the second distributed device corresponding to the operation instruction and interacts with and controls the second distributed device through the financial terminal, thereby completing the service function corresponding to the operation instruction. The second distributed device is a distributed device required for the operation instruction and is within the range of the first distributed device. In other words, the second distributed device is preferably selected from the first distributed device connected to the financial terminal.
[0068] Furthermore, in one embodiment, the financial terminal includes a component-type financial terminal, a split-type financial terminal, and a parent-child type financial terminal.
[0069] In one embodiment, according to different application scenarios, the financial terminal mainly has three forms: component type, split type and parent-child type.
[0070] Among them, the component-based financial terminal has pre-installed the component information required to meet financial needs in the terminal of the specified model. These components are mass-produced by different equipment manufacturers according to the specified interface requirements. For a specified model, the configuration information of these components is fixed; refer to Figure 6 , Figure 6 Schematic diagram of the component-type financial terminal of the present invention, wherein 200 is a camera device of the component-type financial terminal, 201 is a touch screen (display) device of the component-type financial terminal, 202 is a card insertion device of the component-type financial terminal, 203 is a button device of the component-type financial terminal, 204 is a fingerprint device of the component-type financial terminal, 205 is an identification (scanning) device of the component-type financial terminal, and 206 is a printing device of the component-type financial terminal.
[0071] The split financial terminal has a pre-made list of optional components when it leaves the factory. During installation and deployment, you can cut out unnecessary components according to the scene requirements and use different components flexibly; refer to Figure 7 , Figure 7 Schematic diagram of the split-type financial terminal of the present invention, wherein 101 is a camera device of a common component, 101 is a switch device of a common component, 102 is a touch screen device of a common component; 001 is a printing device of a security component; 002 is a display device of a security component, 003 is a card insertion device of a security component, 004 is a fingerprint device of a security component, and 005 is a key device of a security component.
[0072] The parent-child financial terminal is physically two devices, and no pre-configured component information is required for a specific model. The two devices establish a connection by displaying a PIN code.
[0073] This embodiment performs adaptive enhancement processing on the business layer of the financial terminal according to the preset distributed scenario requirements, so as to connect the first distributed device corresponding to the preset distributed scenario requirements to the financial terminal; when the financial terminal receives an operation instruction, it obtains the second distributed device corresponding to the operation instruction, and interacts with and controls the second distributed device through the financial terminal; thereby improving the configurability of the financial terminal and reducing the production cost of the financial terminal.
[0074] Furthermore, based on the first embodiment of the distributed financial terminal implementation method of the present invention, a second embodiment of the distributed financial terminal implementation method of the present invention is proposed.
[0075] The difference between the second embodiment of the distributed financial terminal implementation method and the first embodiment of the distributed financial terminal implementation method is that this embodiment is a refinement of step S10, based on the preset distributed scenario requirements, to adapt and enhance the business layer of the financial terminal so as to connect the first distributed device corresponding to the preset distributed scenario requirements to the financial terminal. Figure 8 , this step specifically includes:
[0076] Step S11: adding a distributed configuration manager module to the master device according to a preset distributed scenario requirement, and configuring a trusted whitelist in the distributed configuration manager module, wherein the trusted whitelist includes a first distributed device ID corresponding to the preset distributed scenario requirement;
[0077] Step S12: performing an integrity check on the first distributed device ID according to a preset configuration policy;
[0078] Step S13: If the integrity check is passed, a connection is established between the first distributed device and the financial terminal.
[0079] In this embodiment, a distributed configuration manager module is added to the main control device according to the preset distributed scenario requirements, and a trusted whitelist is configured in the distributed configuration manager module, wherein the trusted whitelist includes the first distributed device ID corresponding to the preset distributed scenario requirements; according to the preset configuration policy, the integrity check is performed on the first distributed device ID; if the integrity check passes, a connection is formed between the first distributed device and the financial terminal, thereby improving the configurability of the financial terminal.
[0080] The following describes each step in detail:
[0081] Step S11: according to the preset distributed scenario requirements, a distributed configuration manager module is added to the master device, and a trusted whitelist is configured in the distributed configuration manager module, wherein the trusted whitelist includes the first distributed device ID corresponding to the preset distributed scenario requirements.
[0082] In this embodiment, adaptation and enhancement processing are performed at the business layer of the financial terminal to meet the preset distributed scenario requirements of the financial terminal. Specifically, a distributed configuration manager module is added to the main control device of the financial terminal. The distributed configuration manager module runs in the application layer of the financial terminal and belongs to the bottom-level service. Functional services are provided to upper-layer applications through API interfaces. According to functional needs, the Hongmeng system abstracts interfaces such as opening the device, querying the device status, transmitting commands, and closing the device.
[0083] A trusted whitelist and a running device list are configured in the distributed configuration manager module. The trusted whitelist includes the first distributed device ID and first distributed device PIN corresponding to the pre-set distributed scenario requirements. Specifically, the first distributed device ID is the distributed device ID to which the financial terminal's master device can connect. An external interface is provided to enable the addition, deletion, modification, and query of the trusted whitelist and running device list.
[0084] When the service is running, the distributed configuration manager module maintains a virtual device object list. The virtual device object list consists of connected distributed device objects. By operating the virtual objects of the master device, remote operations on distributed devices can be achieved.
[0085] Device IDs not on the trusted whitelist cannot establish a secure connection with the master device. In addition to configuring the trusted whitelist, the Distributed Configuration Manager module also includes a running device list. This list contains the distributed device IDs required for each master device operation. This list provides interfaces for adding, deleting, modifying, and querying the running device.
[0086] Step S12: performing an integrity check on the first distributed device ID according to a preset configuration policy.
[0087] In this embodiment, the distributed configuration manager module includes a trusted whitelist and a running device list. When the distributed configuration manager module is running, it reads the device information in the trusted whitelist and the running device list, checks whether the device IDs in the running device list are all on the trusted whitelist, and checks whether a connection has been established with the devices in the running device list. After passing the integrity check, a connection is established between the first distributed device and the financial terminal.
[0088] Furthermore, in one embodiment, referring to Figure 9 , step S12 includes:
[0089] Step A10: When the distributed configuration manager module is running, the trusted whitelist and the running device list in the distributed configuration manager module are read, and it is detected whether the device IDs in the running device list are all in the trusted whitelist.
[0090] In one embodiment, the distributed configuration manager module includes a trusted whitelist and a running device list. When the distributed configuration manager module is running, it reads the device information in the trusted whitelist and the running device list of the distributed configuration manager and checks whether the device IDs in the running device list are all in the trusted whitelist. Specifically, it checks whether the device IDs in the running device list are within the range of the first distributed device ID.
[0091] Furthermore, in one embodiment, after step A10, the method further includes: if there is a device ID that is not in the trusted whitelist, an alarm is issued to prompt a system error.
[0092] In this embodiment, when there is a device in the running device list that is not in the trusted white list, an alarm prompts a system error; specifically, by comparing the device in the running device list with the device in the trusted white list,
[0093] Compare the first distributed device ID in the list, and when it is detected that the device in the running device list is not in the trusted
[0094] When the device is in the whitelist, an alarm is generated to remind the system of the error; and the ID corresponding to the device is added to the trusted whitelist.
[0095] Step A20: If the device IDs are all in the trusted whitelist, a distributed soft bus is used to detect whether a connection has been established between the device in the running device list and the financial terminal.
[0096] In one embodiment, by comparing the device IDs of the devices in the running device list with the first distributed device ID in the trusted whitelist, if it is detected that both device IDs in the running device list are in the trusted whitelist, the distributed soft bus is used to detect whether a connection has been established between the device in the running device list and the financial terminal. This allows the connection between the device in the running device list and the financial terminal to be detected, allowing for subsequent processing of the device in the running device list and the financial terminal.
[0097] Furthermore, in one embodiment, after step A20, the method further includes: if there is a device in the running device list that has not established a connection with the financial terminal, an alarm is issued to prompt that the device is missing.
[0098] In one embodiment, when it is detected that a device in the running device list is not connected to the financial terminal, an alarm prompt is issued to remind the financial terminal that a device is missing, and the device is added to the running device list so that the financial terminal can subsequently establish a connection with the device.
[0099] Step A30: If it is detected that a connection has been established between the device in the running device list and the financial terminal, the integrity check is completed and the integrity check is exited.
[0100] In one embodiment, when it is detected that each device in the running device list has established a connection with the financial terminal, it indicates that the integrity check has been completed and the integrity check is exited.
[0101] Step S13: If the integrity check is passed, a connection is established between the first distributed device and the financial terminal.
[0102] In this embodiment, when the integrity check passes, a connection is formed between the first distributed device and the financial device, so that when the subsequent financial terminal receives the user's operation instructions, it can interact and control the first distributed device through the financial terminal to realize the corresponding functional services.
[0103] In this embodiment, according to the preset distributed scenario requirements, a distributed configuration manager module is added to the main control device, and a trusted whitelist list is configured in the distributed configuration manager module, wherein the trusted whitelist list includes the first distributed device ID corresponding to the preset distributed scenario requirements; according to the preset configuration policy, the integrity check is performed on the first distributed device ID; if the integrity check passes, a connection is formed between the first distributed device and the financial terminal, thereby improving the configurability of the financial terminal.
[0104] Furthermore, based on the first and second embodiments of the distributed financial terminal implementation method of the present invention, a third embodiment of the distributed financial terminal implementation method of the present invention is proposed.
[0105] The difference between the third embodiment of the distributed financial terminal implementation method and the first and second embodiments of the distributed financial terminal implementation method is that this embodiment is a refinement of step S13, forming a connection between the first distributed device and the financial terminal, referring to Figure 10 , this step specifically includes:
[0106] Step B10: Encrypt the network configuration information using the first PIN code of the master device to generate ciphertext data, and send the ciphertext data to the first distributed device;
[0107] Step B20: decrypt the ciphertext data using the second PIN code of the first distributed device to establish a connection between the first distributed device and the financial terminal.
[0108] In this embodiment, the network configuration information is encrypted by the first PIN code of the master device to generate ciphertext data, and the ciphertext data is sent to the first distributed device; the ciphertext data is decrypted by the second PIN code of the first distributed device to form a connection between the first distributed device and the financial terminal; thereby, the connection relationship between the financial terminal and the distributed device is realized to realize the interaction and control of the distributed device by the financial terminal.
[0109] The following describes each step in detail:
[0110] Step B10: Encrypt the network configuration information using the first PIN code of the master control device to generate ciphertext data, and send the ciphertext data to the first distributed device.
[0111] In this embodiment, the financial terminal's master control device has a built-in first PIN code, and the first distributed device has a built-in second PIN code. Both the financial terminal and the first distributed device have built-in device PIN codes that enable networking when shipped. The master control device discovers the first distributed device via a network such as WiFi or Bluetooth, encrypts the network configuration information using the master control device's built-in first PIN code, generates corresponding ciphertext data, and sends this ciphertext data to the first distributed device, thereby establishing a connection between the financial terminal and the first distributed device via the PIN code.
[0112] Step B20: decrypt the ciphertext data using the second PIN code of the first distributed device to establish a connection between the first distributed device and the financial terminal.
[0113] In this embodiment, after the first distributed device receives the encrypted data, the encrypted data is decrypted using the second PIN code built into the first distributed device. After the decryption is completed, the first distributed device and the financial terminal complete the connection handshake; by using an implicit PIN code to build a network between the financial terminal and the first distributed device, the interaction and control of the distributed device by the financial terminal can be realized.
[0114] In this embodiment, the first PIN code of the master device is used to encrypt the network configuration information, generate ciphertext data, and send the ciphertext data to the first distributed device; the ciphertext data is decrypted by the second PIN code of the first distributed device to form a connection between the first distributed device and the financial terminal; thereby, the connection relationship between the financial terminal and the distributed device is realized to realize the interaction and control of the distributed device by the financial terminal.
[0115] The present invention also provides a distributed financial terminal implementation device. Figure 11 The distributed financial terminal implementation device of the present invention includes:
[0116] A configuration module 10 is configured to perform adaptation and enhancement processing on the service layer of the financial terminal based on a preset distributed scenario requirement, so as to connect a first distributed device corresponding to the preset distributed scenario requirement to the financial terminal;
[0117] The control module 20 is configured to obtain the second distributed device corresponding to the operation instruction when the financial terminal receives the operation instruction, and interact with and control the second distributed device through the financial terminal.
[0118] In addition, the present invention also provides a medium, which is a computer-readable storage medium on which a distributed financial terminal implementation program is stored. When the distributed financial terminal implementation program is executed by a processor, the steps of the distributed financial terminal implementation method described above are implemented.
[0119] The method implemented when the distributed financial terminal implementation program running on the processor is executed can refer to the various embodiments of the distributed financial terminal implementation method of the present invention, and will not be described in detail here.
[0120] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0121] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0122] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0123] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A distributed financial terminal implementation method, characterized in that: The distributed financial terminal implementation method includes the following steps: Based on the preset distributed scenario requirements, the service layer of the financial terminal is adapted and enhanced to connect the first distributed device corresponding to the preset distributed scenario requirements to the financial terminal; When the financial terminal receives an operation instruction, it obtains a second distributed device corresponding to the operation instruction, and interacts with and controls the second distributed device through the financial terminal, wherein the second distributed device is a distributed device required for the operation instruction, and the second distributed device is selected from the first distributed device connected to the financial terminal; HarmonyOS's distributed software bus technology enables optional configuration of financial terminals, including component-based, split-type, and parent-child financial terminals. The component-based financial terminal has pre-installed component information required to meet financial needs within the specified terminal model; the split-type financial terminal has a pre-installed list of optional components at the factory; the parent-child financial terminal is physically two devices, with no pre-installed component information required for the specified model. The two devices establish a connection by displaying a PIN code. The business layer of the financial terminal includes a main control device; according to a preset distributed scenario requirement, a distributed configuration manager module is added to the main control device, and a trusted whitelist is configured in the distributed configuration manager module, wherein the trusted whitelist includes a first distributed device ID corresponding to the preset distributed scenario requirement; Performing an integrity check on the first distributed device ID according to a preset configuration policy; If the integrity check passes, a connection is established between the first distributed device and the financial terminal.
2. The distributed financial terminal implementation method according to claim 1, characterized in that: The distributed configuration manager module includes a trusted whitelist and a running device list. The step of performing integrity check on the first distributed device ID according to the preset configuration policy includes: When the distributed configuration manager module is running, reading the trusted whitelist and the running device list in the distributed configuration manager module, and detecting whether the device IDs in the running device list are all in the trusted whitelist; If the device IDs are all in the trusted whitelist, detecting via the distributed soft bus whether a connection has been established between the device in the running device list and the financial terminal; If it is detected that a device in the running device list has established a connection with the financial terminal, the integrity check is completed and the integrity check is exited.
3. The distributed financial terminal implementation method according to claim 2, characterized in that: After the step of detecting whether the device IDs in the running device list are all in the trusted whitelist, the method further includes: If there is a device ID that is not in the trusted whitelist, an alarm will be issued to prompt a system error.
4. The distributed financial terminal implementation method according to claim 2, characterized in that: After the step of detecting whether a connection has been established between the device in the running device list and the financial terminal through the distributed soft bus, the method further includes: If there is a device in the running device list that has no connection with the financial terminal, an alarm will be issued to prompt that the device is missing.
5. The distributed financial terminal implementation method according to claim 1, characterized in that: The master device has a built-in first PIN code, the first distributed device has a built-in second PIN code, and the step of establishing a connection between the first distributed device and the financial terminal includes: Encrypting the network configuration information using the first PIN code of the master device to generate ciphertext data, and sending the ciphertext data to the first distributed device; The ciphertext data is decrypted using the second PIN code of the first distributed device to establish a connection between the first distributed device and the financial terminal.
6. A distributed financial terminal implementation device, characterized in that: The distributed financial terminal implementation device includes: A configuration module, configured to perform adaptation and enhancement processing on the service layer of the financial terminal based on preset distributed scenario requirements, so as to connect a first distributed device corresponding to the preset distributed scenario requirements to the financial terminal; a control module configured to, when the financial terminal receives an operation instruction, obtain a second distributed device corresponding to the operation instruction, and interact with and control the second distributed device through the financial terminal, wherein the second distributed device is a distributed device required for the operation instruction and is selected from the first distributed device connected to the financial terminal; The configuration module is further configured to utilize Hongmeng's distributed software bus technology to implement optional configurations of financial terminals. The financial terminals include component-type financial terminals, split-type financial terminals, and parent-child financial terminals. The component-type financial terminals have pre-installed component information required to meet financial needs in the terminal of a specified model; the split-type financial terminals have a pre-installed list of optional components at the factory; and the parent-child financial terminal is physically manifested as two devices, with no pre-installed component information required for the specified model. The two devices establish a connection by displaying a PIN code. The business layer of the financial terminal includes a main control device; according to a preset distributed scenario requirement, a distributed configuration manager module is added to the main control device, and a trusted whitelist is configured in the distributed configuration manager module, wherein the trusted whitelist includes a first distributed device ID corresponding to the preset distributed scenario requirement; Performing an integrity check on the first distributed device ID according to a preset configuration policy; If the integrity check passes, a connection is established between the first distributed device and the financial terminal.
7. A financial terminal, characterized in that: The financial terminal includes: a memory, a processor, and a distributed financial terminal implementation program stored in the memory and executable on the processor. When the distributed financial terminal implementation program is executed by the processor, the steps of the distributed financial terminal implementation method according to any one of claims 1 to 5 are implemented.
8. A medium, said medium being a computer-readable storage medium, characterized in that: The computer-readable storage medium stores a distributed financial terminal implementation program, which, when executed by a processor, implements the steps of the distributed financial terminal implementation method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Equipment sharing method, related equipment and storage medium
CN112217873A
Multi-application distributed implementation method, readable medium and electronic equipment thereof
CN114827639A