Data transmission method, system and device, storage medium, electronic equipment and program product

By deploying peripheral services of outlet counter terminals in the blockchain network, the problem that outlet counter terminals in different regions cannot share peripheral services is solved, cross-regional peripheral service sharing and unified upgrades are realized, and service efficiency and security of bank branches are improved.

CN120343099APending Publication Date: 2025-07-18INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510636268.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, the counter terminals in different areas cannot effectively share peripheral services, resulting in the inability to provide peripheral services in a unified manner, and the upgrade depends on labor, which is costly and poor security.

Method used

Through the blockchain network, the peripheral services of the outlet counter terminals are deployed in the blockchain nodes to realize cross-regional service sharing and unified upgrades, and utilize the decentralization, immutability and programmability of blockchain to provide cross-regional peripheral services, and data transmission and upgrading management are carried out through the blockchain network.

Benefits of technology

It realizes peripheral service sharing of cross-regional outlet counter terminals, reduces operating costs, improves service efficiency and security, ensures data immutability and synchronization, and supports big data analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343099A_ABST
    Figure CN120343099A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method, system and device, a storage medium, electronic equipment and a program product, and relates to the field of blockchains, the method comprises the following steps: obtaining request data sent by a first terminal, the request data being used for requesting a peripheral service; the request data is transmitted to a first peripheral service node, and the deployment area of the first terminal is different from the deployment area of the first peripheral service node; and obtaining a data processing result obtained by processing the request data through the peripheral service in the first peripheral service node. According to the method and the device, the technical problem that peripheral services cannot be provided for network counter terminals in different areas in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain, and in particular, to a data transmission method, system, device, storage medium, electronic device, and program product. Background Art

[0002] With the rapid development of the Internet, online channels such as online banking and mobile banking are becoming increasingly rich. However, physical branches are still the forefront of banks, the most direct way to reach customers, the main channel for banks to sell products and maintain customers, and the various functional peripheral services in the branches can directly reflect the technology and service level of the banks.

[0003] In the related art, usually an external device service system is deployed separately for each counter terminal, and this system only serves the directly connected terminal, and the implementation method is relatively isolated, and it cannot effectively support the sharing of external device services across branches or regions. Therefore, the above method has the technical problem that it cannot provide external device services for the counter terminals of branches in different regions.

[0004] Aiming at the technical problem that external device services cannot be provided for the counter terminals of branches in different regions in the related art, no effective solution has been proposed yet. Summary of the Invention

[0005] The main purpose of this application is to provide a data transmission method, system, device, storage medium, electronic device, and program product to solve the technical problem that external device services cannot be provided for the counter terminals of branches in different regions in the related art.

[0006] To achieve the above object, according to one aspect of this application, a data transmission method is provided. The method may include: obtaining request data sent by a first terminal, where the request data is used to request an external device service; transmitting the request data to a first external device service node, where the deployment regions of the first terminal and the first external device service node are different; obtaining a data processing result obtained by processing the request data through the external device service in the first external device service node.

[0007] Optionally, the method may further include: obtaining a second external device service node, encapsulating the transaction data of the first terminal to obtain encapsulated data, where the deployment regions of the second external device service node and the first terminal are the same.

[0008] Optionally, the method may further include: transmitting the transaction data from the blockchain network side to the first external device service node.

[0009] Optionally, the method may further include: determining at least one peripheral service to be upgraded, and deploying a target peripheral service node for the peripheral service to be upgraded; transmitting an upgrade package to the target peripheral service node, where the upgrade package is used to upgrade the peripheral service to be upgraded.

[0010] Optionally, the deployment area of the first terminal is different from the deployment area of the first peripheral service node.

[0011] To achieve the above object, according to one aspect of the present application, there is also provided a data transmission system. The system may include: a first terminal for sending request data, where the request data is used to request a peripheral service; a blockchain network end for transmitting the request data to a first peripheral service node; and a first peripheral service node for providing a peripheral service to the first terminal through the blockchain network in response to the request data.

[0012] Optionally, the deployment area of the first terminal is different from the deployment area of the first peripheral service node.

[0013] Optionally, a second peripheral service node is deployed in the blockchain network end for encapsulating the transaction data of the first terminal to obtain encapsulated data, and transmitting the encapsulated data to the blockchain network end, where the deployment area of the second peripheral service node is the same as the deployment area of the first terminal.

[0014] Optionally, the first peripheral service node obtains transaction data from the blockchain network end.

[0015] Optionally, the blockchain network end is further configured to determine at least one peripheral service to be upgraded, and deploy a target peripheral service node for the peripheral service to be upgraded, and transmit an upgrade package to the target peripheral service node, where the upgrade package is used to upgrade the peripheral service to be upgraded; the target peripheral service node is configured to obtain the upgrade package and upgrade the peripheral service to be upgraded according to the upgrade package.

[0016] To achieve the above object, according to one aspect of the present application, there is also provided a data transmission device. The device may include: a first obtaining unit for obtaining request data sent by a first terminal, where the request data is used to request a peripheral service; a transmission unit for transmitting the request data to a first peripheral service node, where the deployment area of the first terminal is different from the deployment area of the first peripheral service node; and a second obtaining unit for obtaining a data processing result obtained by processing the request data through a peripheral service in the first peripheral service node.

[0017] To achieve the above object, according to another aspect of the present application, there is also provided a computer-readable storage medium, which may include a stored executable program, wherein when the executable program runs, it can control the device where the computer-readable storage medium is located to execute the above method.

[0018] To achieve the above object, according to another aspect of the present application, there is also provided an electronic device, which may include: a memory storing an executable program; a processor for running the program, wherein when the program runs, it executes the above method.

[0019] To achieve the above object, according to another aspect of the present application, there is also provided a computer program product, which may include computer instructions that implement the steps of the above method when executed by a processor.

[0020] In the embodiment of the present application, request data sent by a first terminal is obtained, wherein the request data is used to request a peripheral service; the request data is transmitted to a first peripheral service node, wherein the deployment area of the first terminal and the deployment area of the first peripheral service node are different; data processing results obtained by processing the request data through the peripheral service in the first peripheral service node are obtained. That is, in this embodiment, while providing various peripheral services for the local branch counter terminal through the peripheral service node associated with the blockchain network side, peripheral services are provided for the remote branch terminal through the blockchain network side, thereby achieving the technical effect of being able to provide peripheral services for the branch counter terminals in different regions and solving the technical problem of being unable to provide peripheral services for the branch counter terminals in different regions. Description of the Drawings

[0021] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation of the present application. In the drawings:

[0022] Figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing a data transmission method is shown;

[0023] Figure 2 It is a flowchart of the data transmission method according to the embodiment of the present application;

[0024] Figure 3 It is a schematic diagram of a data transmission system according to the embodiment of the present application;

[0025] Figure 4 It is a schematic diagram of a network structure diagram of a counter peripheral service system based on blockchain according to the embodiment of the present application;

[0026] Figure 5Schematic diagram of the update of the counter peripheral service system based on blockchain according to an embodiment of the present application;

[0027] Figure 6 Schematic diagram of the structure diagram of the counter peripheral service system based on blockchain according to an embodiment of the present application;

[0028] Figure 7 Schematic diagram of the data transmission device according to an embodiment of the present application;

[0029] Figure 8 Block diagram of the structure of an electronic device according to an embodiment of the present application. Detailed implementation manners

[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0032] First, some nouns or terms that appear in the process of describing the embodiments of the present application are applicable to the following explanations:

[0033] Blockchain can be a distributed computing trusted network that uses a block chain structure to store data, uses a peer-to-peer (P2P) distributed node consensus algorithm to update data, uses cryptography to ensure data transmission security, and uses smart contracts composed of automatically executed script codes to program and operate a database, and has the characteristics of decentralization, self-organization, openness, immutability, traceability, and programmability;

[0034] The counter peripheral service system can be used in bank branches to provide unified, standard, and simple peripheral usage and management services for other software systems. It can connect to many external physical devices of the counter client application, access the unified peripheral service system, and communicate and interact with data through network interconnection with the background service of the counter client application, thereby providing services for collecting customer data, reliably transmitting data, and presenting background data.

[0035] It should be noted that the information collected in this application (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) are information and data that have been authorized by the user or fully authorized by all parties. Moreover, the processing of relevant data, such as collection, storage, use, processing, transmission, provision, disclosure, and application, complies with relevant laws, regulations, and standards, takes necessary confidentiality measures, does not violate public order and good customs, and provides corresponding operation entrances for users to choose to authorize or refuse. For example, there are interfaces set between this system and relevant users or institutions to provide corresponding operation entrances for users to choose to agree or refuse the results of automated decision-making; if the user chooses to refuse, the expert decision-making process will be entered.

[0036] Embodiment 1

[0037] According to an embodiment of the present application, an embodiment of a method for data transmission is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0038] The method embodiment provided by the first embodiment of the present application can be executed on a mobile terminal, a computer terminal, or a similar computing device. Figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing the data transmission method is shown. As Figure 1 shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (the processors 102 may include, but are not limited to, processing devices such as a microprocessor MCU or a field programmable gate array FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may further include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which can be included as one of the ports of the BUS bus), a network interface, a power supply, and / or a camera. Those of ordinary skill in the art can understand, Figure 1The structure shown is only schematic and does not limit the structure of the above-mentioned electronic device. For example, the computer terminal 10 may further include more or fewer components than those shown in Figure 1 or have a different configuration from that shown in Figure 1 .

[0039] It should be noted that the above one or more processors 102 and / or other data processing circuits can generally be referred to as "data processing circuits" herein. The data processing circuit can be embodied in software, hardware, firmware, or any combination thereof, in whole or in part. In addition, the data processing circuit can be a single independent processing module, or be incorporated in whole or in part into any one of the other elements in the computer terminal 10 (or mobile device). As involved in the embodiments of the present application, the data processing circuit is a kind of processor control (such as the selection of a variable resistance terminal path connected to an interface).

[0040] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the data transmission method in the embodiments of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implements the above-mentioned data transmission method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 through a network. Examples of the above network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0041] The transmission device 106 is used to receive or send data via a network. Specific examples of the above network may include a wireless network provided by the communication provider of the computer terminal 10. In one instance, the transmission device 106 includes a network adapter (abbreviated as NIC), which can be connected to other network devices through a base station and thus communicate with the Internet. In one instance, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0042] The display can be, for example, a touch-screen liquid crystal display (LCD), which enables a user to interact with the user interface of the computer terminal 10 (or mobile device).

[0043] Under the above operating environment, the present application provides as Figure 2The data transmission method shown. Figure 2 It is a flowchart of the data transmission method according to an embodiment of the present application. As Figure 2 shown, the method may include the following steps:

[0044] Step S201, obtain request data sent by a first terminal, where the request data is used to request a peripheral service.

[0045] Step S202, transmit the request data to a first peripheral service node, where the deployment area of the first terminal and the deployment area of the first peripheral service node are different.

[0046] Step S203, obtain a data processing result obtained by processing the request data through a peripheral service in the first peripheral service node.

[0047] In this embodiment, the above first terminal may be a client, and may be a teller counter terminal (referred to as a counter terminal for short), referring to the counter terminal in a bank branch, which is the main device for interaction between tellers and customers. Taking the counter terminal of a certain branch as an example, when this terminal handles the business of reading the customer's ID card information, it will collect the customer's identity information through the connected second-generation ID card reader. At this time, the counter terminal is the first terminal.

[0048] Optionally, when the first terminal receives customer data and needs to further process it, it may generate a request data. This request data may include specific information of the customer, such as data like ID number, name, etc., and the type of peripheral service to be called, such as "ID information verification service". Considering data security, this request data will be encrypted to ensure privacy protection during transmission. It should be noted that only an example is given here, and there is no specific limitation on the way of constructing the request data.

[0049] Optionally, considering data security, the request data may be encrypted during transmission to ensure privacy protection during the transmission process.

[0050] Optionally, when the first terminal wants to obtain a peripheral service, but the peripheral service corresponding to the first terminal is missing in the peripheral service node, the first terminal may send request data, and this request data may be used to request a peripheral service from the first peripheral service node. Through the blockchain network side, the request data sent by the first terminal can be transmitted to the first peripheral service node, so that through the first peripheral service node and the blockchain side, the peripheral service can be provided to the first terminal. Among them, the above first peripheral service node may refer to a service node located in a different geographical location from the first terminal. Various intelligent contracts (such as chain codes) of peripheral services may be deployed in this peripheral service node, and this chain code may be used for identity verification services.

[0051] Optionally, the above data processing result may be the result obtained after the peripheral service processes the data in the first terminal. For example, it may be the verification result obtained after the peripheral service verifies the data in the first terminal. It should be noted that only examples are provided here, and the type of the data processing result is not specifically limited. As long as it is the result obtained based on the peripheral service's processing of the data in the first terminal, it should be within the protection scope of this application.

[0052] For example, a counter terminal in a first area sends a data request. The encrypted request data is transmitted through the peripheral service node deployed in this area to the first peripheral service node deployed in a second area via the blockchain network terminal. The blockchain network uses the peer-to-peer network communication mechanism to ensure the secure transmission and broadcasting of data. After receiving the request, the first service node can parse the request data and call the peripheral service requested by the request data (for example, the identity verification service) to process the data in the first terminal using this peripheral service to obtain a data processing result. This data processing result can be transmitted to the first terminal via the blockchain network terminal. For example, for the identity verification service, the processing result may be a simple yes / no response indicating whether the ID information is valid. The processing result will also be encrypted and, together with the transaction record, form a new block, which is broadcast to all peripheral service nodes, including the peripheral service nodes in the first area, via the blockchain network terminal (which can be abbreviated as the blockchain network). After receiving this data, the second peripheral service node will decrypt and verify the data processing result, and then provide the data processing result to the first terminal. The teller can perform subsequent business operations based on these processing results, such as completing the customer's identity verification and handling transactions.

[0053] Optionally, by adopting the counter peripheral service system based on the blockchain, the bank has achieved cross-regional service sharing and collaborative work, improving the efficiency and flexibility of the peripheral service. Among them, different peripheral service nodes can provide services across regions, reducing the costs of repeated deployment and maintenance. The counter terminal in the first area can utilize the peripheral service in the second area, and vice versa.

[0054] Optionally, all the above request data and processing results can be encrypted for transmission, and only the service node holding the correct private key can decrypt the data, thereby enhancing data security and privacy protection.

[0055] Optionally, the upgrade and update of the above peripheral services can be uniformly managed through a blockchain network, ensuring that all nodes are upgraded at the same time point, avoiding the inconsistency and potential delays of manual upgrades, and guaranteeing the synchronization and efficiency of the services. At the same time, the immutable feature of the blockchain ensures the integrity and credibility of all transaction records, enabling banks to quickly and accurately verify the processing results of the information collected by peripherals, providing a solid data foundation for subsequent business decisions.

[0056] Optionally, the system design can support concurrent invocation of multiple peripherals, not limited to ID card reading, but also extended to other peripheral services such as fingerprint recognition and signature verification, enhancing the adaptability and business processing capabilities of the system.

[0057] Optionally, the peripheral service system can include functions such as device drivers, communication protocol processing, device status monitoring, error handling and recovery, etc., to ensure the secure transmission of data and the stable operation of peripherals. In the counter peripheral service system based on blockchain, this service is further extended, adding the immutability, transparency and security of data through blockchain technology, enabling peripheral data to be securely shared and verified between different branches and different systems.

[0058] With the rapid development of the Internet, online channels such as online banking and mobile banking in the banking industry are becoming increasingly rich. However, physical branches are still the forefront of banks, the most direct way to contact customers, the main channel for banks to sell products and maintain customers. The various peripheral services with diverse functions in the branches can directly reflect the technology and service level of the bank. Currently, the counter peripheral service system provides multiple peripheral services for a single counter customer terminal application in isolation and cannot uniformly provide peripheral services for counter terminals in other branches; in addition, the upgrade of the counter peripheral service system relies on manual upgrade, with high upgrade and maintenance costs and unable to guarantee the unified upgrade time point; at the same time, the customer data collected by peripheral services is stored in the traditional centralized database system within the bank, posing a security risk of being attacked.

[0059] In the related art, the counter peripheral service system is bound to a single counter terminal and can only provide peripheral services for a certain counter terminal individually and isolatedly, and cannot provide peripheral services for other counter terminals in the same branch or counter terminals in branches in other regions uniformly. It has a high coupling degree and strong dependence, which is not convenient for collecting peripheral data and using big data to analyze and statistics it, and is not conducive to strengthening multi-channel collaboration and service sharing among different channels to realize the linkage of online and offline business handling to meet the increasingly complex and changeable business needs of customers. In addition, the upgrade of the counter peripheral service system depends on manual upgrade, and the peripheral services cannot be upgraded uniformly and synchronously, which may delay the best opportunity for promoting new banking services. At the same time, the important information data of customers collected by the peripheral service flows through various back-end applications within the bank through the network and will ultimately be stored in the traditional centralized database system within the bank, which has the possibility of being maliciously attacked and illegally tampered with by the external environment.

[0060] To solve the above problems, this embodiment proposes a data transmission method. This method utilizes a counter peripheral service system based on blockchain. By using the characteristics of blockchain such as decentralized self-organization, immutability, traceability, programmability, security and reliability, the peripheral services of the branch counter terminals are deployed in blockchain nodes, and all regional nodes are connected through the blockchain network to realize that the peripheral service chain provides peripheral services for counter terminals uniformly, pushes upgrade packages to each peripheral uniformly, and at the same time realizes the interconnection and intercommunication of data of each node and reliable evidence storage, meeting the needs of the bank system to quickly and accurately verify the information data collected by the peripherals internally, and facilitating the use of big data to analyze and statistics peripheral data, realizing the collaborative cooperation of the peripheral service systems of multiple branches across regions to meet the increasingly complex and changeable business needs of customers.

[0061] In the above steps S201 to S204, request data sent by the first terminal is obtained, where the request data is used to request peripheral services; the request data is transmitted to the first peripheral service node, where the deployment area of the first terminal and the deployment area of the first peripheral service node are different; the data processing result obtained by processing the request data through the peripheral service in the first peripheral service node is obtained, thus achieving the technical effect of being able to provide peripheral services for the counter terminals of branches in different regions and solving the technical problem of being unable to provide peripheral services for the counter terminals of branches in different regions.

[0062] The embodiments of the present application will be described in detail below in combination with the above steps.

[0063] As an optional implementation manner, the method further includes: obtaining a second peripheral service node, encapsulating the transaction data of the first terminal to obtain encapsulated data, where the deployment area of the second peripheral service node and the deployment area of the first terminal are the same.

[0064] In this embodiment, the second peripheral service node can encapsulate the transaction data of the first terminal to obtain encapsulated data, and transmit the encapsulated data to the blockchain network side.

[0065] Optionally, the second peripheral service node and the first peripheral service node together form a part of the counter peripheral service system based on the blockchain, but their deployment areas and service targets are different. The second peripheral service node is deployed in the same region as the first terminal, and its main responsibility is to encrypt and encapsulate the transaction data collected by the first terminal, and transmit the encapsulated data to the blockchain network.

[0066] Optionally, the second peripheral service node receives the transaction data sent by the first terminal, such as customer identity verification information, transaction details, etc. Before the data is transmitted to the blockchain network side, the second peripheral service node can use an encryption algorithm and a digital certificate to encrypt and encapsulate the data to ensure the security and integrity of the data during the transmission process. The encapsulated data (i.e., the encapsulated data) can be broadcast to other nodes in the network through the communication mechanism of the blockchain network. The broadcast nodes include local peripheral service nodes and remote peripheral service nodes.

[0067] As an alternative implementation, the method further includes: transmitting the transaction data from the blockchain network side to the first peripheral service node.

[0068] In this embodiment, the second peripheral service node transmits the transaction data to the blockchain network side, so that the first peripheral service node can obtain the transaction data from the blockchain network side.

[0069] As an alternative implementation, the method further includes: determining at least one peripheral service to be upgraded, and the target peripheral service node for deploying the peripheral service to be upgraded; transmitting the upgrade package to the target peripheral service node, where the upgrade package is used to upgrade the peripheral service to be upgraded.

[0070] In this embodiment, when multiple peripheral services need to be upgraded, the blockchain network side can determine the peripheral service to be upgraded among the multiple peripheral services, based on the target peripheral service node for deploying the peripheral service to be upgraded. The blockchain network side can transmit the above upgrade package to the target peripheral service node. The target peripheral service node can obtain the upgrade package and use the upgrade package to upgrade the peripheral service.

[0071] As an alternative implementation, the deployment area of the first terminal is different from the deployment area of the first peripheral service node.

[0072] In this embodiment, although the deployment areas of the first terminal and the first peripheral service node are different, the first terminal can transmit request data to the first peripheral service node through the blockchain network. The first peripheral service node can also provide peripheral services to the first terminal through the blockchain network.

[0073] Optionally, the above-mentioned first terminal and the first peripheral service node are geographically separated, but they can cooperate seamlessly through the blockchain network.

[0074] This application also provides a Figure 3 data transmission system as shown. Figure 3 It is a schematic diagram of the data transmission system according to the embodiment of this application. As Figure 3 shown, the above-mentioned data transmission system 300 may include: a first terminal 301, a blockchain network 302, and a first peripheral service node 303.

[0075] The first terminal 301 is used to send request data, where the request data is used to request peripheral services.

[0076] The blockchain network 302 is used to transmit the request data to the first peripheral service node.

[0077] The first peripheral service node 303 is used to provide peripheral services to the first terminal through the blockchain network in response to the request data.

[0078] In this embodiment, the above-mentioned first terminal may refer to a counter terminal in a bank branch, which can be a platform for staff to interact with customers and collect customer data. For example, a counter terminal of a certain bank branch in Region 1, which is responsible for collecting customer information. For example, it uses a second-generation ID card reader to read the customer's ID card information, or collects the customer's fingerprint data through a fingerprint scanner. The above-mentioned first terminal can process the above-mentioned customer information and encapsulate it into request data. The encapsulated request data contains the need for specific peripheral services, such as identity verification services or fingerprint recognition services. It should be noted that this is only an example, and the type of the first terminal and the type of peripheral services are not specifically limited.

[0079] Optionally, the above-mentioned peripheral services may refer to a series of functions for a computer system or application software to interact with and manage external devices. In the bank counter scenario, the peripheral services may refer to services provided in a bank branch to various counter terminals (such as the computer system used by tellers) for data transmission and control with external hardware devices (such as printers, card readers, scanners, password keyboards, etc.), and can be a service system that can be used to connect the counter terminal application with physical peripherals.

[0080] Optionally, in the peripheral service system, functions such as device drivers, communication protocol processing, device status monitoring, error handling and recovery can also be included to ensure the secure transmission of data and the stable operation of peripherals. In the blockchain-based counter peripheral service system, this service is further extended. Through blockchain technology, the immutability, transparency and security of data are increased, enabling peripheral data to be securely shared and verified between different branches and different systems.

[0081] In this embodiment, the above blockchain network end can be a distributed network formed by multiple nodes (such as computers or servers) interconnected through blockchain technology. In the blockchain network end, each peripheral service node has the ability to execute transaction verification, data storage and consensus algorithms, jointly maintaining a decentralized and immutable transaction ledger or data recording system.

[0082] Optionally, the above blockchain network end refers to a specific blockchain network for bank counter peripheral services. This blockchain network can be used to connect peripheral service nodes of bank branches in different regions across the country, enabling unified management and cross-regional sharing of peripheral services, enhancing data security and service efficiency. Through the blockchain network, banks can achieve centralized upgrades of peripheral services, encrypted transmission and storage of data, as well as cross-branch data sharing and business collaboration.

[0083] In this embodiment, the above first peripheral service node (Peer) can refer to service nodes in different geographical locations in the blockchain network, capable of responding to and processing request data from the first terminal.

[0084] In this embodiment, through the cooperation of the first terminal, the blockchain network end and the first peripheral service node, the sharing and collaboration of cross-regional peripheral services are achieved, improving the flexibility and efficiency of bank branch peripheral services. At the same time, using the technical advantages of blockchain, such as decentralization and data immutability, enhances the security of customer data and privacy protection. The adjusted expression can more clearly illustrate the entire request processing flow and avoid the problem of unclear execution subjects.

[0085] Figure 4 is a schematic diagram of the network structure diagram of the blockchain-based counter peripheral service system according to an embodiment of the present application, as Figure 4 shown, there are four peripheral service nodes deployed in the blockchain network, such as peripheral service node 401, peripheral service node 402, peripheral service node 403 and peripheral service node 404.

[0086] Optionally, a blockchain peripheral service node is deployed at each counter of a branch, supporting concurrent calls of multiple peripherals. The data collected by the peripherals is encrypted and broadcast to other peripheral service nodes through the blockchain network communication mechanism. For example, asFigure 4 As shown, a peripheral service node 401 is deployed in the counter terminal 41, a peripheral service node 402 is deployed in the counter terminal 42, a peripheral service node 403 is deployed in the counter terminal 43, and a peripheral service node 404 is deployed in the counter terminal 44.

[0087] Optionally, the peripheral service nodes in the blockchain network can provide various peripheral services for the counter terminals of local branches, or can provide peripheral services for the terminal of remote branches through the blockchain network. The peripheral services in the chain support multiple business systems to call, expanding the objects of peripheral services. For example, as Figure 4 shown, the peripheral service node 401 can provide peripheral service 4011, peripheral service 4012, and peripheral service 4013 for the counter terminal 41. The peripheral service node 402 can provide peripheral service 4021, peripheral service 4022, and peripheral service 4023 for the counter terminal 42. The peripheral service node 403 can provide peripheral service 4031, peripheral service 4032, and peripheral service 4033 for the counter terminal 43. The peripheral service node 404 can provide peripheral service 4041, peripheral service 4042, and peripheral service 4043 for the counter terminal 44.

[0088] Optionally, the data of each peripheral service node in the blockchain is interconnected, encrypted for storage and transmission, which is convenient for application in big data analysis and statistics and providing data services externally.

[0089] Optionally, the system can collect "blockchain + electronic imaging system + database" to store the data information collected by the terminal peripherals. This "in-chain + out-of-chain" dual storage method not only reasonably allocates the storage space of the system, greatly reducing the storage pressure of the blockchain nodes, but also ensures the anti-tampering property of the system data.

[0090] This application provides a counter peripheral service system based on blockchain. The peripheral services of the counter terminals of branches are deployed in the blockchain nodes. All regional nodes are connected through the blockchain network to realize that the peripheral service chain uniformly provides peripheral services for the counter terminals, uniformly pushes upgrade packages to each peripheral, and at the same time, the data of each node is interconnected and reliably stored.

[0091] In the embodiment of the present application, the first terminal 301 sends request data, where the request data is used to request a peripheral service; the blockchain network end 302 transmits the request data to the first peripheral service node of the blockchain network end; the first peripheral service node 303, in response to the request data, provides the peripheral service to the first terminal through the blockchain network. That is, in this embodiment, through the peripheral service node associated with the blockchain network end, while providing various peripheral services for the local branch counter terminal, the peripheral service is provided for the remote branch terminal through the blockchain network end, thereby achieving the technical effect of being able to provide peripheral services for the branch counter terminals in different regions and solving the technical problem of being unable to provide peripheral services for the branch counter terminals in different regions.

[0092] The embodiments of the present application will be described in detail below in conjunction with the above steps.

[0093] As an alternative embodiment, the deployment area of the first terminal and the deployment area of the first peripheral service node are different.

[0094] In this embodiment, although the deployment area of the first terminal and the deployment area of the first peripheral service node are different, the first terminal can transmit the request data to the first peripheral service node through the blockchain network end. The first peripheral service node can also provide the peripheral service to the first terminal through the blockchain network end.

[0095] Optionally, the first terminal can broadcast the request data to all peripheral service nodes (which can be simply referred to as service nodes) through the blockchain network, which can include remote peripheral service nodes and can also include peripheral service nodes in the same region. If there is a peripheral service in the first peripheral service node, the first peripheral service node can process the data using the deployed chain code through the blockchain network and synchronize the data processing result corresponding to the request data to the peripheral service nodes in the same region as the first terminal through the blockchain network. Through the peripheral service nodes in the same region, the data processing result can be provided for the first terminal to use.

[0096] In this step, through the blockchain network, bank branches can utilize the advanced peripheral services of nodes in other regions without redeploying them at each branch, reducing operating costs and improving service efficiency and quality. The cross-regional service request mechanism enables banks to respond to business needs faster. Especially when processing a large amount of customer information, they can flexibly call service resources in different regions, improving the business processing speed and customer satisfaction.

[0097] Optionally, by implementing cross-region service requests and responses, the terminal can make full use of resources nationwide to improve the availability and response speed of peripheral services, while enhancing the security and compliance of data processing, providing strong technical support for the digital transformation of banks and improving the customer service experience.

[0098] As an alternative implementation, the second peripheral service node is deployed in the blockchain network end to encapsulate the transaction data of the first terminal to obtain encapsulated data and transmit the encapsulated data to the blockchain network end, where the deployment area of the second peripheral service node is the same as that of the first terminal.

[0099] In this embodiment, the second peripheral service node can be a node in the same area as the first terminal, can be used to provide peripheral services to the first terminal, can be deployed in the blockchain network, and can be used to transmit user data, transaction data, etc. in the first terminal.

[0100] Optionally, the second peripheral service node can encapsulate the transaction data of the first terminal to obtain encapsulated data and transmit the encapsulated data to the blockchain network end.

[0101] Optionally, the above second peripheral service node and the first peripheral service node together form a part of the counter peripheral service system based on the blockchain, but their deployment areas and service targets are different. The second peripheral service node is deployed in the same region as the first terminal, and its main responsibility is to encrypt and encapsulate the transaction data collected by the first terminal and transmit the encapsulated data to the blockchain network.

[0102] Optionally, the second peripheral service node receives the transaction data sent by the first terminal, such as customer identity verification information, transaction details, etc. Before the data is transmitted to the blockchain network, the second peripheral service node can use encryption algorithms and digital certificates to encrypt and encapsulate the data to ensure the security and integrity of the data during transmission. The encapsulated data (i.e., the encapsulated data) can be broadcast to other nodes in the network through the communication mechanism of the blockchain network. The broadcast nodes include local peripheral service nodes and remote peripheral service nodes.

[0103] In this embodiment, although the second peripheral service node and the first terminal are in the same place, it transmits data to service nodes in other regions through the blockchain network, realizing cross-region data sharing and service collaboration, and expanding the geographical coverage of services. After the second peripheral service node accesses the blockchain network, it can uniformly manage the software updates and configuration changes of the peripherals, automatically distribute upgrade packages through the network, reduce manual intervention, and ensure the synchronous upgrade and maintenance of all nodes.

[0104] Optionally, when a local service node (second peripheral service node) fails or is overloaded, the first terminal can request peripheral service nodes (such as the first peripheral service node) in other regions to provide services through the blockchain network to ensure business continuity.

[0105] Optionally, the service sharing mechanism based on blockchain enables the second peripheral service node to utilize the idle computing resources and data processing capabilities of the first peripheral service node, thereby optimizing the allocation and utilization of internal and external service resources.

[0106] From the above description, we can see that the second peripheral service node, as a local blockchain service node, not only provides direct service support for the first terminal, but also realizes encrypted data transmission and cross-regional service sharing through the blockchain network, greatly enhancing the security, efficiency and flexibility of the bank's counter peripheral service system.

[0107] In this step, if Figure 4 The bank's blockchain network deploys peripheral service nodes in various regional branches. The peripheral service node can be a trusted server within the bank, responsible for encapsulating transactions sent to the peripheral service node from the terminal peripherals, and broadcasting or consensus to other blockchain nodes. Finally, through chain code calls, the transaction data is generated into blocks and persisted, so that each peripheral service node can achieve data interoperability through the blockchain network, realize data security sharing, and facilitate application in big data analysis and statistics and external data service provision.

[0108] As an optional implementation, the first peripheral service node obtains transaction data from the blockchain network.

[0109] In this embodiment, the second peripheral service node transmits the transaction data to the blockchain network end, so that the first peripheral service node can obtain the transaction data from the blockchain network end.

[0110] Optionally, each peripheral service node can be connected to a counter terminal through remote procedure call communication, including counter clients, bank client management systems and other business clients, and is a platform interface for direct information interaction with branch tellers. Each counter terminal can be connected to a variety of bank branch peripherals through physical lines, and supports concurrent calls of multiple peripherals, including dual-screen devices, magnetic stripe machines, password keyboards (integrated evaluators), second-generation card readers, payment password devices, passbook / wide-line / laser printers, scanners, audio and video recording equipment, U shields, fingerprint scanners, chip card readers, high-speed scanners, teller all-in-one machines, multi-function password keyboards, electronic imagers, etc.

[0111] In the related art, the data collected by the peripheral device can only be processed by the terminal counter node to which it is connected, and the transaction data is sent to the internal business system of the bank. In this embodiment, the transaction data collected by the peripheral device can be transmitted to the local peripheral service node, and then through the broadcast consensus and on-chain evidence storage management service of the blockchain network, it can be synchronized to the peripheral service nodes of other regional branches, processed by the peripheral service nodes of other branches, and uniformly provide peripheral services for the counter terminals.

[0112] As an alternative implementation, the blockchain network side is further configured to determine at least one peripheral service to be upgraded, and a target peripheral service node for deploying the peripheral service to be upgraded, and transmit the upgrade package to the target peripheral service node, where the upgrade package is used to upgrade the peripheral service to be upgraded; the target peripheral service node is configured to obtain the upgrade package and upgrade the peripheral service to be upgraded according to the upgrade package.

[0113] In this embodiment, when multiple peripheral services need to be upgraded, the blockchain network side can determine the peripheral service to be upgraded among the multiple peripheral services, based on the target peripheral service node for deploying the peripheral service to be upgraded. The blockchain network side can transmit the above upgrade package to the target peripheral service node. The target peripheral service node can obtain the upgrade package and use the upgrade package to upgrade the peripheral service.

[0114] Optionally, the terminal peripheral stores the private key and digital certificate that uniquely identify the device preset by the manufacturer. The digital certificate is a random digital string obtained by using the private key in the asymmetric key to sign the unique identification information of the device and the signature. The identification information may include manufacturer information, model information, serial number, etc. The digital certificate also uniquely corresponds to the terminal peripheral. The public key preset by the manufacturer (corresponding one-to-one to the private key of the asymmetric encryption) and the digital certificate will be pre-loaded into the peripheral node through the blockchain network. When a new terminal peripheral requests to access the counter terminal, the private key, digital certificate and access request message of the current peripheral will be packaged into an access request and sent to the peripheral service node. The device authentication module of the peripheral service node calls the verification chain code to compare and verify the received private key and digital certificate with the public key and digital certificate stored in the peripheral service node. If it passes, the peripheral is allowed to access the counter terminal, and the access information is packaged into a new block and broadcast and consensus to the entire blockchain network.

[0115] Figure 5 is a schematic diagram of the update of the counter peripheral service system based on the blockchain according to an embodiment of the present application, as Figure 5As shown, the new peripheral version (that is, the upgrade package) is connected to the blockchain network 502 through the cloud update module 501, and the upgrade package is transmitted through the network to the peripheral service node 503, and finally pushed to the bank client management system 504 on the counter terminal, generating an incremental update list file, and issuing an update plan. The bank client management system will first compare the version number of the version package with the version number of the device. If they are inconsistent, the terminal device will compare the version package on the bank client management system according to the update list file. If it is not the latest, it will receive the issued upgrade plan to implement the update of the peripheral service to be updated, for example, completing the update of the peripheral service 505, the peripheral service 506 and the peripheral service 507. Among them, the above-mentioned upgrade package can be a version package.

[0116] In this step, when the peripheral service needs to be upgraded, the driver upgrade package can be pushed to each peripheral through the blockchain network to achieve unified upgrade. The upgrade and update of peripheral services can be managed uniformly through the blockchain network to ensure that all nodes are upgraded at the same time, avoiding the inconsistency and potential delays of manual upgrades, and ensuring the synchronization and efficiency of services.

[0117] In the embodiment of the present application, various peripheral services are provided to local branch counter terminals through the peripheral service nodes associated with the blockchain network end, while peripheral services are provided to remote branch terminals through the blockchain network end, thereby achieving the technical effect of being able to provide peripheral services to branch counter terminals in different regions, and solving the technical problem of being unable to provide peripheral services to branch counter terminals in different regions.

[0118] Figure 6 is a schematic diagram of a block chain-based counter peripheral service system structure diagram according to an embodiment of the present application, such as Figure 6 As shown in the figure, the overall system architecture is divided into five layers, from the top to the bottom, they are application layer, service layer, interface layer, chain code layer and storage layer.

[0119] In this embodiment, the application layer may include the terminal equipment of the bank branch and the internal business system of the bank. The bank terminal equipment is diverse and may include dual-screen equipment, magnetic stripe machine, password keyboard (integrated evaluator), second-generation card reader, payment password device, passbook / wide line / laser printer, scanner, audio and video equipment, U shield, fingerprint reader, chip card reader, high-speed scanner, teller integrated machine, multi-function password keyboard, electronic imager, etc.

[0120] Optionally, the bank's internal business system can be a browser of a browser / server architecture and a client of a client / server architecture, which can include counter clients, bank client management systems and other business clients. It is a platform interface for directly interacting with branch tellers, implemented through programming languages, and can be used to provide users with a good visual experience.

[0121] Optionally, each terminal device stores a private key and a digital certificate that uniquely identify the device as preset by the manufacturer. The digital certificate is obtained by signing the unique identification information of the device (including manufacturer information, model information, serial number, etc.) and a random digital string using the private key in the asymmetric key. The digital certificate also uniquely corresponds to the terminal device. The counter terminal stores the public key and digital certificate preset by the manufacturer corresponding to these peripheral private keys. After the terminal device collects data, it encrypts the data using the private key, packages it together with the digital certificate into a data map, which flows through each level and is finally stored in the blockchain and the electronic imaging system. After the counter terminal calls the on-chain query management service to obtain relevant business data, it then finds the public key corresponding to the data block in the public key and digital certificate repository through the digital certificate matching rule, and uses the public key to decrypt it to obtain the original device data.

[0122] In this embodiment, the service layer can be the most core layer in the counter peripheral service system based on the blockchain, mainly responsible for the unified implementation of the peripheral service logic, and can include a logical device layer, a driver layer, a port reading and writing layer, as well as an on-chain evidence storage management service, an on-chain query management service, and an update service.

[0123] Optionally, the logical device layer mainly includes device agents, peripheral monitors, and monitoring agents; the driver layer mainly consists of driver program packages for each peripheral; the port reading and writing layer provides a communication bridge for ports of types such as universal serial bus, serial port, parallel port, and Bluetooth.

[0124] Optionally, the service layer can be implemented through a programming language, and its caller can be the internal business system of the bank. When the unified peripheral service starts, it first loads the relevant configuration files to load the device configuration information into the memory, and initializes various peripheral agents and peripheral drivers to generate corresponding peripheral instances.

[0125] Optionally, when the counter business system client initiates a peripheral service message request for a peripheral service (on-chain evidence storage management service or on-chain query management service) through remote procedure call, the calling chain code interface of the interface layer will call the logical device layer, distribute it to the corresponding peripheral agent according to the request message, and the agent will decompose the incoming parameters and method names after receiving the request and call the relevant driver program. The specific peripheral driver program further decomposes the method of the message request, converts the instruction into a corresponding macro instruction, and finally drives it through the underlying serial port, parallel port, etc., and transmits it to the corresponding platform in the form of a message. The platform establishes a channel with the network point terminal device for communication. Finally, the corresponding interaction interface of the interface layer will call the chain code layer or directly communicate with the storage layer to write the business data collected by the terminal device into the storage layer.

[0126] In this embodiment, the above interface layer can be the hub among the service layer, the chain code layer, and the storage layer. It can be responsible for data interaction among the three layers of the service layer, the chain code layer, and the storage layer, and can include a chain code interface, an electronic imaging system interaction interface, and a database interaction interface. The chain code interface can be called to encapsulate various operations of the business layer on the chain code in the chain code layer through a software development kit, such as the installation of the chain code, the instantiation of the chain code, the upgrade of the chain code, and the invocation of the chain code, etc., and establish a connection with the chain code through remote invocation, so as to realize the remote invocation of the chain code service.

[0127] Optionally, the chain code can be an executable piece of code running on the blockchain network, which can implement specific complex business logics, thereby operating on the blockchain ledger data. The chain code is deployed separately in a container of the application container platform and is decoupled from the underlying blockchain network.

[0128] Optionally, the electronic imaging system interaction interface realizes the data interaction function between the service layer and the electronic imaging system and undertakes the task of operating large memory data. The database interaction interface is mainly responsible for the operations of adding, deleting, modifying, and querying the internal database of the banking system, thereby realizing the business function of storing non-important customer sensitive data information in the banking business system.

[0129] In this embodiment, the chain code layer can be an intermediate layer that writes and calls the chain code interface to interact with the blockchain ledger data. The chain codes in this layer are divided into system chain codes and user chain codes. The former is used to manage and control the chain code life cycle, and the latter is the business logic code written by users. Each chain code corresponds to a data structure, thereby maintaining its own copy of the ledger data. At the same time, the data in the ledger is stored in a lightweight data exchange format. The chain code runs in the application container platform in the blockchain network and provides corresponding application program interfaces to interact with the ledger data.

[0130] In this embodiment, the storage layer can be the bottom layer of the entire counter peripheral service system and can be used to persist the data information collected by the terminal device.

[0131] Optionally, the storage layer can include three parts, namely the electronic imaging system, the database, and the blockchain. The database is used to store non-important customer sensitive data information in the banking business system. For important bank customer sensitive data information, such as customer name, ID number, etc., the terminal device collects and encrypts it and broadcasts it to other regional network peripheral service nodes through the blockchain network communication mechanism and the chain code invocation service, and stores it in the bank's blockchain network in the form of key-value.

[0132] Optionally, the electronic imaging system is mainly used to store imaging files with large memory, such as deposit certificates, receipts, and voucher images. The imaging files themselves are stored in the electronic imaging system, while only the unique hash value of the imaging files is stored in the blockchain. The hash value can be regarded as the index of the file, thus forming a "within-chain + outside-chain" storage method, which greatly reduces the storage pressure on the blockchain nodes. At the same time, the electronic imaging system is a decentralized distributed storage system with the characteristics of security and reliability. Therefore, this "within-chain + outside-chain" storage method not only reasonably allocates the storage space of the system but also ensures the security of the file data in the system.

[0133] In this embodiment, a countertop peripheral service system based on the blockchain is proposed. The peripheral services of countertop terminals at various bank branches across regions are deployed in the blockchain network, forming a bank peripheral service chain. The peripheral service chain provides peripheral services to countertop terminals uniformly, realizing the collaborative cooperation of the cross-regional multi-branch peripheral service system to meet the increasingly complex and changeable business needs of customers.

[0134] This application separates the original general peripheral service from the countertop terminal client and transforms it into a unified peripheral service framework independently deployed in the blockchain network within the bank, providing it for other business client systems within the bank except for the countertop client application, applications running on the front-end browser, and blockchain node smart contracts (chain codes) to call, realizing loose coupling between the application and the peripheral, and realizing capabilities such as device sharing, centralized configuration, and monitoring of the peripheral, improving the management efficiency of branch peripherals.

[0135] In this embodiment, by leveraging the characteristics and advantages of the blockchain technology, such as decentralized self-organization, immutability, traceability, and programmability, while keeping the business processes of the traditional peripheral service system basically unchanged, data between each node of the blockchain network is interconnected and reliably stored, meeting the needs of the bank system to quickly and accurately verify the information data collected by the peripherals internally, facilitating the use of big data to analyze and statistically process peripheral data, and also providing a useful reference for exploring the application of the blockchain in the field of bank branch devices.

[0136] It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from that here.

[0137] Embodiment 2

[0138] The embodiment of this application also provides a data transmission device. It should be noted that the data transmission device in the embodiment of this application can be used to execute the data transmission method provided in the embodiment of this application. The following introduces the data transmission device provided in the embodiment of this application.

[0139] According to an embodiment of the present application, there is also provided an apparatus for implementing the above data transmission method. Figure 7 It is a schematic diagram of a data transmission apparatus according to an embodiment of the present application, as Figure 7 shown. The data transmission apparatus 700 includes: a first acquisition unit 701, a transmission unit 702, and a second acquisition unit 703.

[0140] The first acquisition unit 701 is configured to acquire request data sent by a first terminal, where the request data is used to request a peripheral service.

[0141] The transmission unit 702 is configured to transmit the request data to a first peripheral service node, where the deployment areas of the first terminal and the first peripheral service node are different.

[0142] The second acquisition unit 703 is configured to acquire a data processing result obtained by processing the request data through a peripheral service in the first peripheral service node.

[0143] For the data transmission apparatus provided by the embodiment of the present application, the first acquisition unit acquires the request data sent by the first terminal, where the request data is used to request a peripheral service; the transmission unit transmits the request data to the first peripheral service node, where the deployment areas of the first terminal and the first peripheral service node are different; the second acquisition unit acquires the data processing result obtained by processing the request data through the peripheral service in the first peripheral service node, thereby achieving the technical effect of being able to provide peripheral services for network counter terminals in different areas, and solving the technical problem of being unable to provide peripheral services for network counter terminals in different areas.

[0144] It should be noted here that the above first acquisition unit 701, transmission unit 702, and second acquisition unit 703 correspond to steps S201 to S203 in Embodiment 1. The functions of the three modules are the same as those of the corresponding steps in terms of the implemented examples and application scenarios, but are not limited to the content disclosed in Embodiment 1 above. It should be noted that the above modules or units can be hardware components or software components stored in a memory (for example, memory 104) and processed by one or more processors (for example, processors 102a, 102b,..., 102n), and the above modules can also be part of the apparatus and run on the computer terminal 10 provided in Embodiment 1.

[0145] Embodiment 3

[0146] An embodiment of the present application can provide an electronic device. Figure 8 It is a structural block diagram of an electronic device according to an embodiment of the present application. As Figure 8 shown, the electronic device may include: one or more (Figure 8 Only one processor 802, a memory 804, a storage controller, and a peripheral interface are shown, wherein the peripheral interface is connected to a radio frequency module, an audio module, and a display.

[0147] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the methods and apparatuses in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the above-mentioned methods. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other non-volatile solid-state memories. In some instances, the memory may further include a memory remotely disposed relative to the processor, and these remote memories may be connected to the terminal through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0148] The processor can call the information and application programs stored in the memory through a transmission device to execute the following steps: obtaining request data sent by a first terminal, wherein the request data is used to request a peripheral service; transmitting the request data to a first peripheral service node, wherein the deployment area of the first terminal and the deployment area of the first peripheral service node are different; obtaining data processing results obtained by processing the request data through the peripheral service in the first peripheral service node.

[0149] By adopting the embodiments of the present application, a data transmission method is provided. While providing various peripheral services for the local network counter terminal through the peripheral service nodes associated with the blockchain network side, peripheral services are provided for the remote network terminals through the blockchain network side, thereby achieving the technical effect of being able to provide peripheral services for the network counter terminals in different regions, and solving the technical problem of being unable to provide peripheral services for the network counter terminals in different regions.

[0150] Those of ordinary skill in the art can understand that Figure 8 The structure shown is only schematic, and the electronic device may also be a terminal device such as a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and a Mobile Internet Device (MID for short), a Personal Access Device (PAD for short), etc. Figure 8 It does not limit the structure of the above-mentioned electronic device. For example, the electronic device may further include more or fewer components (such as a network interface, a display device, etc.) than those shown Figure 8 herein, or have a different configuration from that shown Figure 8 herein.

[0151] Those of ordinary skill in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware of the terminal device through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, a read-only memory (ROM for short), a random access memory (RAM for short), a magnetic disk or an optical disc, etc.

[0152] Embodiment 4

[0153] An embodiment of the present application also provides a storage medium. Optionally, in this embodiment, the above storage medium can be used to store the program code executed by the data transmission method provided in the first embodiment above.

[0154] Optionally, in this embodiment, the above storage medium can be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.

[0155] The present application also provides a computer program product, which is suitable for executing a program for the steps of the data transmission method when executed on a data processing device.

[0156] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0157] In the above embodiments of the present application, the descriptions of the various embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0158] In several embodiments provided by the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of units or modules can be in an electrical or other form.

[0159] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0160] In addition, in each embodiment of the present application, each functional unit can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0161] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in each embodiment of the present application. The foregoing storage medium includes: various media such as USB flash drives, read-only memories, random access memories, mobile hard disks, magnetic disks, or optical discs that can store program codes.

[0162] The above are only the preferred embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can still be made, and these improvements and refinements should also be regarded as the protection scope of the present application.

Claims

1. A data transmission method, characterized in that, Including: Obtain request data sent by a first terminal, where the request data is used to request a peripheral service; Transmit the request data to a first peripheral service node, where the deployment area of the first terminal and the deployment area of the first peripheral service node are different; Obtain a data processing result obtained by processing the request data through the peripheral service in the first peripheral service node.

2. The method according to claim 1, wherein The method further includes: Obtain a second peripheral service node to encapsulate the transaction data of the first terminal to obtain encapsulated data, where the deployment area of the second peripheral service node and the deployment area of the first terminal are the same.

3. The method according to claim 2, wherein The method further includes: Transmit the transaction data from the blockchain network side to the first peripheral service node.

4. The method according to claim 1, wherein The method further includes: Determine at least one peripheral service to be upgraded and a target peripheral service node for deploying the peripheral service to be upgraded; Transmit an upgrade package to the target peripheral service node, where the upgrade package is used to upgrade the peripheral service to be upgraded.

5. The method according to claim 1, wherein The deployment area of the first terminal and the deployment area of the first peripheral service node are different.

6. A data transmission system, characterized in that, Including: A first terminal for sending request data, where the request data is used to request a peripheral service; A blockchain network side for transmitting the request data to a first peripheral service node; The first peripheral service node for providing the peripheral service to the first terminal through the blockchain network in response to the request data.

7. A data transmission device, characterized in that, Including: A first acquisition unit for acquiring request data sent by a first terminal, where the request data is used to request a peripheral service; A transmission unit for transmitting the request data to a first peripheral service node, where the deployment area of the first terminal and the deployment area of the first peripheral service node are different; A second acquisition unit for acquiring a data processing result obtained by processing the request data through the peripheral service in the first peripheral service node.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, where when the executable program runs, it controls the device where the computer-readable storage medium is located to execute the method according to any one of claims 1-5.

9. An electronic device, characterized in that, Including: A memory storing an executable program; A processor for running the program, where when the program runs, it executes the method according to any one of claims 1-5.

10. A computer program product comprising computer instructions, characterized in that, When the computer instruction is executed by the processor, it implements the steps of the method according to any one of claims 1-5.