CN112887346A - Service network system, service request processing method and storage medium - Google Patents

Service network system, service request processing method and storage medium Download PDF

Info

Publication number
CN112887346A
CN112887346A CN201911197519.2A CN201911197519A CN112887346A CN 112887346 A CN112887346 A CN 112887346A CN 201911197519 A CN201911197519 A CN 201911197519A CN 112887346 A CN112887346 A CN 112887346A
Authority
CN
China
Prior art keywords
service
terminal
network
gateway
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911197519.2A
Other languages
Chinese (zh)
Inventor
杨圣磊
吴宇翔
钟华
刘骁
孔喆
康恺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Health Information Technology Ltd
Original Assignee
Alibaba Health Information Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Health Information Technology Ltd filed Critical Alibaba Health Information Technology Ltd
Priority to CN201911197519.2A priority Critical patent/CN112887346A/en
Publication of CN112887346A publication Critical patent/CN112887346A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms

Abstract

The application provides a service network system, a service request processing method and a storage medium, wherein the service network system comprises: the service providing terminal is used for issuing service in the service network through the service end service gateway; the service using terminal is used for requesting services in the service network through the consumption terminal service gateway; wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode. By the scheme, the technical problems that the data resource transfer between a user and a service provider can be realized only through a third-party platform in the prior art, the efficiency is low, and information is easy to leak are solved, the transfer efficiency of the data resource is effectively improved, and the technical effect of preventing data leakage is achieved.

Description

Service network system, service request processing method and storage medium
Technical Field
The present application relates to a service network system, a service request processing method and a storage medium, and belongs to the technical field of block chaining.
Background
At present, when a service requester requests for paid service from a service provider, data resources are often required to be transferred to the service provider offline or through a third-party resource transfer platform, so that the data resource transfer process needs participation of a third party, and the efficiency is low.
Aiming at the problem that the online data resource transfer needs the intervention of a third-party platform in the existing process of providing paid services, an effective solution is not provided at present.
Disclosure of Invention
The application aims to provide a service network system, a service request processing method and a storage medium, so that online point-to-point data resource transfer is realized without the intervention of a third-party platform.
The present application provides a service network system, a service request processing method, and a storage medium implemented as follows:
a service network system, comprising:
the service providing terminal is used for issuing service in the service network through the service end service gateway;
the service using terminal is used for requesting services in the service network through the consumption terminal service gateway;
wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode.
A service request processing method, comprising:
receiving a service request of a service using terminal;
responding to the service request, and providing service for the service using terminal through a service providing terminal;
wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode.
A medication purchase request processing method, comprising:
receiving a medicine purchase request of a service using terminal;
providing a medicine selling service for the service using terminal through a service providing terminal in response to the medicine purchase request;
wherein the service using terminal transfers data resources required for the service purchase of the medicine to the service providing terminal through a point-to-point resource transfer mode.
A consultation request processing method, comprising:
receiving a diagnosis and treatment consultation request of a service using terminal;
responding to the diagnosis and treatment consultation request, and providing diagnosis and treatment analysis service for the service using terminal through a service providing terminal;
the service using terminal provides data resources required by terminal diagnosis and treatment analysis to the service through a point-to-point resource transfer mode.
A network device comprising a processor and a memory for storing processor-executable instructions, the instructions when executed by the processor implementing the steps of the method of:
receiving a service request of a service using terminal;
responding to the service request, and providing service for the service using terminal through a service providing terminal;
wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode.
A computer readable storage medium having stored thereon computer instructions which, when executed, implement the steps of a method comprising:
receiving a service request of a service using terminal;
responding to the service request, and providing service for the service using terminal through a service providing terminal;
wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode.
According to the service network system and the service request processing method, the service using terminal transfers the data resources required by the service to the service providing terminal through the point-to-point resource transfer mode, the point-to-point data resource transfer can be completed under the condition that a third party does not participate through the gateway technology and the shared network technology, and therefore the technical problems that the data resource transfer between a user and a service provider can be achieved only through a third party platform in the prior art, and information is easy to leak are solved, the transfer efficiency of the data resources is effectively improved, and the technical effect of preventing data leakage is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a schematic diagram of an architecture of a service network system provided by the present application;
FIG. 2 is a detailed architecture diagram of a service network provided herein;
FIG. 3 is a timing diagram of a service provider publishing services on a services network as provided herein;
FIG. 4 is a timing diagram of the transfer of data resources without awareness of the service user as provided herein;
FIG. 5 is a timing diagram for semi-automatic transfer of data resources with service consumer awareness as provided herein;
FIG. 6 is a flow chart of a method for processing a service request provided herein;
fig. 7 is a schematic block diagram of an embodiment of a computer terminal provided in the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to solve the problem of low data resource transfer efficiency caused by the need of transferring data resources online through a third-party platform when a user uses paid services, a service network system is provided in this embodiment, as shown in fig. 1, which may include: a service providing terminal 101, a service end service gateway 102, a service using terminal 103, a consumption end service gateway 104 and a service network 105. The service providing terminal issues service in the service network through the service end service gateway, and the service user requests service in the service network through the consumption end service gateway; in the process of transferring the data resources, the service using terminal transfers the data resources required for providing the service to the service providing terminal through a point-to-point resource transfer mode. For example: the service-using terminal 103 requests the data inquiry service to the service-providing terminal 101 for the service requiring ten dollars, and the service-using terminal 103 may transfer the ten dollars to the service-providing terminal 101 through the point-to-point resource transfer mode as a data resource using the inquiry service.
When the method is implemented, the point-to-point resource transfer mode can be implemented between the service using terminal and the service providing terminal based on the encrypted media resource of the block chain. Specifically, data resource transfer means can be provided for the network communication and service requests through services such as intelligent contracts and lightning networks, the amount of data resources to be transferred can be determined through connection duration, and the amount of data resources to be transferred can also be determined through communication traffic. After the amount of data resources to be transferred is determined, a transparent transfer mode (that is, service users are unaware) may be adopted for the service application program, or a charging mode for implementing fine granularity of service may be implemented by using a lightning network technology based on a block chain.
The service providing terminals are providers and sellers of services in a service network, and the service users are users and buyers of the services.
The service may be various network services, and any service accessed through network communication may be used as the service, and may be a paid service or a gratuitous service. For example: media streaming services, time query services, database access services, HTTP website access services, and the like. A service name exists for a service, and the service name is a service name expressed by using a domain name, for example: the database service may be denoted db.
When the service using terminal requests a service, the service network needs to match the service for the service, and the matching process may be based on service metadata, where the service metadata refers to description data of the service, and is similar to various records of domain names and is composed of key value pairs. For example: PRICE 5 (service PRICE), CHARGE _ UNIT 1minutes, LOCATE Asia/China (regional information);
the service gateway may be a web proxy implemented using SOCKS5, HTTP/1.1Connect, or the like. The customer service gateway 104 provides domain name resolution capability, and provides functions of service purchase, service selection, encrypted media resource management, and the like. The service end service gateway 102 provides a service registry and a data resource transfer channel required by the service.
The service network system described above may further include a service broker that may serve as a bridge between a producer (i.e., a service providing terminal) and a consumer (i.e., a service using terminal), and may provide an access service to a service providing terminal that cannot access the service network, provide a broker service that provides an optimal choice to a service using terminal that does not know if the service providing terminal is selected, and the like, through the service broker. For the service using terminal, the service broker is also a service providing terminal.
In the specific implementation, for both the service providing terminal and the service using terminal, the relevant functions may be completed through the application program, for example, the service using terminal may initiate a service request through the using terminal program, and the service providing terminal may issue and provide the service through the providing terminal program.
The service network may be a set of encrypted transmissions formed using P2P technology, interconnected virtual networks, and providing access to communications through network proxy technology. However, it should be noted that, in this example, only the P2P network is taken as an example for explanation of the service network, and in practical implementation, the service network may be implemented not only by the P2P network but also by other network technologies, and the service network of the present application is not limited to this application as long as the network technology can implement a peer-to-peer trust network.
Based on the service network system, the following description is made with reference to specific examples:
as shown in fig. 2, the schematic diagram of the service network architecture may include: a service consumer (corresponding to the service use terminal described above), a service producer (corresponding to the service provision terminal described above), a service broker, and a P2P network. Both the service consumer and the service producer access the service intermediary into the service network (i.e., the P2P network) through the service gateway. In this example, the service network is a set of encrypted transports formed using P2P technology, interconnected virtual networks, and provides communication portals through network proxy technology.
Based on the above-mentioned service system, a service producer may publish a service, and as shown in fig. 3, the service producer publishes the service on a service network through a service gateway, specifically, the service producer publishes the service through a service management module in the service gateway, generates configuration information to publish the service, a private key management module in the service gateway generates signature information and publishes the signature information after receiving a request to publish the service, the service gateway calculates a storage node and searches the storage node based on a distributed hash table, after finding the storage node, the service gateway is connected to a service gateway of the storage node through a P2P network, the storage node service gateway receives data through a P2P network, then verifies the information based on the distributed hash table and stores the information, after storing the information, the storage node service gateway sends the information to the service producer through a P2P network, after the service gateway of the service producer receives the information, the service is successfully published. That is, when the service is published, the service may be published by using a Distributed Hash Table (DHT Distributed Hash Table), for example: the Kademlia algorithm realizes decentralized service release through a distributed means.
Based on the service system, a service consumer can request a service, as shown in fig. 4, the service consumer requests the service to initiate a connection, the service agent of the service gateway at the consumer end responds to the request for service, searches for the service, calculates a storage node through the distributed hash table, searches for a related node, and then connects the related node through the P2P network, and the service gateway/service gateway at the storage node receives the request through the P2P network and inquires data based on the distributed hash table, and then returns the inquiry result to the service gateway at the consumer end through the P2P network. And after receiving the query result through the P2P network, the service agent of the consumer-side service gateway verifies the information and filters the provider, then performs security filtering through the wind control module, matches the consumer preference, and then selects the provider to purchase the service through the service agent module. In the process of purchasing service, a private key management module of a consumer-side service gateway carries out signature transaction, an encryption currency management module transfers data resources, and a service agent module obtains a receipt and establishes a session. Then signing the session through a private key management module, connecting a service node through a P2P network, verifying the session through a server service gateway, verifying the transfer through an encryption currency management module of the server service gateway, authorizing the connection through a service management module of the server service gateway after confirming the transfer, then forwarding the data to a service provider (namely, a service application), receiving the connection by the service provider, returning the result, forwarding the result to a consumer service gateway through the P2P network by the server service gateway, determining that the connection is successfully established by the consumer service gateway through a service agent module, and sending a connection success message to a consumer (namely, the service consumption application). At this point, the service request and setup are complete.
In this implementation, the transfer process of the data resource is imperceptible to the consumer, and the consumer only needs to initiate a connection request through the application to complete the establishment of the connection, which is transparent to the consumer. That is, data resources required for using network services or traffic are automatically transferred using a blockchain-based encrypted media resource, and decentralized network proxy technology is achieved through P2P network technology.
Based on the service system, a consumer can establish a lightning transfer channel, and semi-automatic data resource transfer can be realized based on the lightning transfer channel. Specifically, as shown in fig. 5, a service consumer initiates a service request, a consumer-side service gateway forwards the request through a service agent module, and sends data to the server-side service gateway through a P2P network, a service management module of the server-side service gateway relays the request to a service application to request a bid from a service provider, after the bid, the service management module of the server-side service gateway returns a transfer response to the consumer-side service gateway through a P2P network, and the service agent module in the consumer-side service gateway forwards the transfer response to the service consumption application. After receiving the transfer response, the service consumption application program initiates a transfer request, then requests to create a lightning transfer channel, a wind control module in a consumption end service gateway performs security audit and a private key management module performs transaction signature, an encryption currency management module initializes the lightning transfer channel to generate a channel certificate, and then the channel certificate is cached in a service agent module, and the service consumption application program records a channel identifier and transfers data resources. The service agent module in the consumption end service gateway initiates data resource transfer, the wind control module carries out security audit on the transfer, the private key management module signs the transfer certificate to obtain a transfer certificate, the service agent module updates a channel certificate, and then the service consumption application program records the transfer certificate. Then, the service consumption application program retransmits the service request, the consumption end service gateway forwards the request through the service agent module, the data are sent to the service end service gateway through the P2P network, the service management module of the service end service gateway relays the request to the service application program, the service application program verifies the request, the data resource transfer is verified, then the encryption currency management module in the service end service network verifies the transfer certificate, the service is approved after the verification is passed, the service application program provides the service and returns a service response, the service management module of the service end service gateway returns the service response to the consumption end service gateway through the P2P network, and the service agent module in the consumption end service gateway forwards the service response to the service consumption application program. The service consumption application program triggers consumption response, then submits a transfer certificate to the consumption end service gateway through the flash network channel, an encryption currency management module in the consumption end service gateway submits transfer, then the channel is closed, and a service agent module in the consumption end service gateway releases the channel certificate.
In the implementation mode, a small amount of frequent resource data transfer channel is opened through a lightning network technology based on a block chain technology, so that service purchase with finer granularity can be realized. In this process, system service consumption payment is consumer-aware and semi-automated data resource transfer is achieved.
In the two specific implementation modes, the encrypted media resource based on the blockchain is used for automatically or semi-automatically transferring the data resource required by using the network service or the traffic, meanwhile, the decentralized of the network agent technology is realized by using the P2P network technology, and further, the lightning network technology is introduced, and the intra-communication off-line transaction with fine granularity is realized.
The producer of the service can publish the service provided by the producer on the service network, mark the price of the service, and the consumer of the service can search the service in the service network, select the best matching service through the service metadata, and purchase and use the service through the encryption media resource and the lightning network technology based on the blockchain. The service gateway passes SOCKS5, HTTP/1.1
The proxy protocol such as CONNECT provides an entry of a service network to a service consumer, and uses a Distributed Hash Table (DHT Distributed Hash Table), for example: kademlia algorithm, which provides the registration and query capability of distributed service information. The P2P technology is used to connect the service gateway providing service entrance and forward data traffic, and the service gateway provides data resource transfer means for these network communication and service request through the encrypted media resource provided by the block chain technology, services such as intelligent contract and lightning network. When the method is implemented, the data resource amount required to be transferred can be determined through connection or the data resource amount required to be transferred can be determined through traffic, and a data resource transfer mode transparent to the service application program is implemented. Or, a lightning network technology based on a block chain may be used to implement a data resource transfer mode with fine granularity of service, for example: requesting a transfer once, or transferring data resources based on service content.
The data resource transfer mode can directly use the transaction capability provided by the block chain technology without modifying the existing server and client. If the control of fine granularity is needed, a plurality of micro-transaction interfaces can be added, and the micro-transaction can be realized by using a lightning network technology, so that the problem of low TPS (block chain technology) of the common TPS is solved. The proxy communication is realized by utilizing the P2P network technology, the aim of decentralization is realized, the difficulty of project implementation can be reduced, and the cost is saved. The P2P network technology uses SSL/TLS and other encryption transmission data, so that the data communication safety is ensured, and encryption processing in the service process is not needed any more.
In the above example, the gateway providing the service is connected by the P2P technology, and the encrypted media resource provided by the blockchain technology is used to transfer the data resource required by the service, so as to realize a decentralized service charging, purchasing and consuming system. The gateway technology is combined with the block chain technology, network services or flow are purchased by using encrypted media resources, and point-to-point data resource transfer is completed without participation of a third party. The network proxy technology is combined with the P2P network technology, so that the network service of the decentralized private network is realized, and the network proxy technology is less invasive and convenient to use. The gateway technology is combined with the lightning network technology, so that a block chain data resource transfer mode with higher throughput and finer granularity is realized.
Based on the service network system, a service request processing method is provided, as shown in fig. 6, which may include the following steps:
step 601: receiving a service request of a service using terminal;
step 602: responding to the service request, and providing service for the service using terminal through a service providing terminal;
wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode.
Since a plurality of service terminals may exist in the service network, the plurality of service terminals may provide different services or the same service, and the prices may be different when the same service is provided. Based on this, in order to realize matching of different service request requirements, service metadata can be extracted from the service request, and a service providing terminal is obtained through matching according to the service metadata. Where service metadata refers to the description data of a service, similar to the various records of a domain name, may be composed of key-value pairs. For example: PRICE 5 (service PRICE), CHARGE _ UNIT 1minutes, LOCATE Asia/China (regional information). That is, by setting the metadata, matching of the service and matching of the service providing terminal can be achieved.
When the service using terminal transfers the data resource to the service providing terminal, the following two ways can be adopted, but not limited to:
1) service usage terminal no awareness:
automatically transferring data resources to the service providing terminal through a consumption end service gateway, and after the data resources are transferred, establishing connection between a service using terminal and the service providing terminal through the consumption end service gateway and the service end service gateway; the service providing terminal provides the service to the service using terminal through the established connection.
In the transfer mode, the amount of data resources automatically transferred to the service providing terminal by the consumer-side service gateway may be determined according to the connection duration or the communication traffic. Because the amount of the data resources required to be transferred is determined based on the fixed quantifiable data, the transfer of the data resources can be automatically realized through the service gateway, and the service using terminal can not be aware of the data resources.
2) The service using terminal has perception:
responding to the service request, the service providing terminal determines the required data resource and returns; after receiving the returned required data resources, the service using terminal establishes a data resource transfer network channel through a consuming terminal service gateway; the service using terminal transfers the data resource to the service providing terminal through the data resource transfer network channel; and after confirming that the data resources are transferred, the service providing terminal provides the service to the service using terminal. And after the service providing terminal provides the service to the service using terminal, the service gateway of the consuming terminal closes the data resource transfer network channel.
The point-to-point data resource transfer mode can be realized between the service using terminal and the service providing terminal based on the encrypted media resource of the block chain. The data resource transfer network channel may be established by lightning transfer technology.
That is, in the two transfer modes, the gateway technology is combined with the block chain technology, and the encrypted media resource is used to purchase network services or traffic, so that the point-to-point data resource transfer can be completed without the participation of a third party. The network proxy technology is combined with the P2P network technology, so that the network service of the decentralized private network is realized, and the network proxy technology is less invasive and convenient to use. The gateway technology is combined with the lightning network technology, so that a block chain data resource transfer mode with higher throughput and finer granularity is realized.
The service requested by the service using terminal may include, but is not limited to, at least one of: media streaming services, time query services, database access services, HTTP website access services.
In practical implementation, the service request processing method may be applied to the health field, for example, may be applied to the selling of medicines, and if the service request processing method is applied to the selling of medicines, the service request processing method may receive a medicine purchase request of a service use terminal; providing a medicine selling service for the service using terminal through a service providing terminal in response to the medicine purchase request; wherein the service using terminal transfers data resources required for the service purchase of the medicine to the service providing terminal through a point-to-point resource transfer mode. If the method is applied to diagnosis and treatment of diseases, a diagnosis and treatment consultation request of the service using terminal can be received; responding to the diagnosis and treatment consultation request, and providing diagnosis and treatment analysis service for the service using terminal through a service providing terminal; the service using terminal provides data resources required by terminal diagnosis and treatment analysis to the service through a point-to-point resource transfer mode.
It should be noted, however, that the above listed selling of medicine, diagnosis and treatment of disease, etc. is only an exemplary description, and other aspects related to health may also be applied when actually implemented, such as: the access of medical history information, recommendation of medical care personnel, and the like can be used as a use scenario of the present application as long as there are scenarios of a service demander and a service provider, and the present application is not limited to this.
The method embodiments provided in the above description of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the example of the operation on a computer terminal, fig. 7 is a hardware structure block diagram of a computer terminal of a service request processing method according to an embodiment of the present invention. As shown in fig. 7, the computer terminal 10 may include one or more (only one shown) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 7 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 7, or have a different configuration than shown in FIG. 7.
The memory 104 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the service request processing method in the embodiment of the present application, and 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 service request processing method of the application program. 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 memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission module 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission module 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission module 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the software aspect, the service request processing apparatus may include:
a receiving module for receiving a service request of a service using terminal;
the control module is used for responding to the service request and providing service for the service using terminal through a service providing terminal;
wherein the service uses a data resource required for a terminal to transfer the service to the service providing terminal through a point-to-point transfer mode.
In one embodiment, the control module may specifically extract service metadata from the service request; and matching to obtain the service providing terminal according to the service metadata.
In one embodiment, the control module may specifically automatically transfer data resources to the service providing terminal through a consumer service gateway; after transferring data resources, the service using terminal establishes connection with the service providing terminal through the consumption terminal service gateway and the service terminal service gateway; the service providing terminal provides the service to the service using terminal through the established connection.
In one embodiment, the data resources automatically transferred to the service providing terminal through the consumer service gateway may be determined according to a connection duration or a communication traffic.
In one embodiment, the control module may specifically respond to the service request, and the service providing terminal determines and returns the required data resource; after receiving the returned required data resources, the service using terminal establishes a transfer network channel through a consuming terminal service gateway; the service using terminal transfers data resources to the service providing terminal through the transfer network channel; and after confirming that the data resources are transferred, the service providing terminal provides the service to the service using terminal.
In one embodiment, the transit network channel may be established by lightning transit technology.
In one embodiment, the point-to-point transfer mode may be implemented by using encrypted media resources between the service using terminal and the service providing terminal based on a blockchain.
In one embodiment, the service requested by the service usage terminal may include, but is not limited to, at least one of: media streaming services, time query services, database access services, HTTP website access services.
An embodiment of the present application further provides a specific implementation manner of an electronic device, which is capable of implementing all steps in the service request processing method in the foregoing embodiment, where the electronic device specifically includes the following contents: a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the processor is configured to call a computer program in the memory, and when executing the computer program, the processor implements all the steps in the service request processing method in the foregoing embodiment, for example, when executing the computer program, the processor implements the following steps:
step 1: receiving a service request of a service using terminal;
step 2: responding to the service request, and providing service for the service using terminal through a service providing terminal;
wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode.
As can be seen from the above description, in the embodiment of the present application, the service user terminal transfers the data resource required by the service to the service provider terminal through the peer-to-peer resource transfer mode, and the peer-to-peer data resource transfer can be completed without participation of a third party through the gateway technology and the shared network technology, so that the technical problems that the efficiency is low and information is easily leaked in the existing data resource transfer between the user and the service provider through a third party platform are solved, and the technical effects of effectively improving the transfer efficiency and preventing data leakage are achieved.
Embodiments of the present application further provide a computer-readable storage medium capable of implementing all steps in the service request processing method in the foregoing embodiments, where the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements all steps of the service request processing method in the foregoing embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step 1: receiving a service request of a service using terminal;
step 2: responding to the service request, and providing service for the service using terminal through a service providing terminal;
wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode.
As can be seen from the above description, in the embodiment of the present application, the service user terminal transfers the data resource required by the service to the service provider terminal through the peer-to-peer resource transfer mode, and the peer-to-peer data resource transfer can be completed without participation of a third party through the gateway technology and the shared network technology, so that the technical problems that the efficiency is low and information is easily leaked in the existing data resource transfer between the user and the service provider through a third party platform are solved, and the technical effects of effectively improving the transfer efficiency and preventing data leakage are achieved.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Although the present application provides method steps as described in an embodiment or flowchart, additional or fewer steps may be included based on conventional or non-inventive efforts. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Although embodiments of the present description provide method steps as described in embodiments or flowcharts, more or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or end product executes, it may execute sequentially or in parallel (e.g., parallel processors or multi-threaded environments, or even distributed data processing environments) according to the method shown in the embodiment or the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, in implementing the embodiments of the present description, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of multiple sub-modules or sub-units, and the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The described embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only an example of the embodiments of the present disclosure, and is not intended to limit the embodiments of the present disclosure. Various modifications and variations to the embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present specification should be included in the scope of the claims of the embodiments of the present specification.

Claims (17)

1. A service network system, comprising:
the service providing terminal is used for issuing service in the service network through the service end service gateway;
the service using terminal is used for requesting services in the service network through the consumption terminal service gateway;
wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode.
2. The system of claim 1, wherein the service network is a P2P network.
3. The system of claim 1, wherein the service uses a blockchain-based encrypted media resource between the terminal and the service providing terminal to implement the point-to-point resource transfer mode.
4. The system of claim 1, wherein the service requested by the service usage terminal comprises at least one of: media streaming services, time query services, database access services, HTTP website access services.
5. A method for processing a service request, comprising:
receiving a service request of a service using terminal;
responding to the service request, and providing service for the service using terminal through a service providing terminal;
wherein the service uses a data resource required for a terminal to transfer a service to the service providing terminal through a point-to-point resource transfer mode.
6. The method of claim 5, wherein providing a service for the service using terminal through a service providing terminal in response to the service request comprises:
extracting service metadata from the service request;
and matching to obtain the service providing terminal according to the service metadata.
7. The method according to claim 6, wherein the service providing terminal obtained by matching provides a service for the service using terminal, and the method comprises:
automatically transferring data resources to the service providing terminal through a consumer service gateway;
after transferring data resources, the service using terminal establishes connection with the service providing terminal through the consumption terminal service gateway and the service terminal service gateway;
the service providing terminal provides the service to the service using terminal through the established connection.
8. The method of claim 7, wherein the amount of data resources automatically transferred to the service providing terminal through the customer service gateway is determined according to a connection duration or a communication traffic.
9. The method of claim 5, wherein providing a service for the service using terminal through a service providing terminal in response to the service request comprises:
responding to the service request, the service providing terminal determines the data resource amount required to be transferred and returns;
after receiving the returned data resource amount required to be transferred, the service using terminal establishes a transfer network channel through a consumption end service gateway;
transferring, by the service usage terminal, the data resource of the determined resource amount to the service providing terminal through the transfer network channel;
and after confirming that the data resources are transferred, the service providing terminal provides the service to the service using terminal.
10. The method of claim 9, wherein the transit network channel is established by lightning transfer technology.
11. The method according to claim 9, further comprising, after the service providing terminal provides the service to the service using terminal:
and the consumer-side service gateway closes the transfer network channel.
12. The method of claim 5, wherein the service uses a blockchain-based encrypted media resource between the terminal and the service providing terminal to implement the point-to-point resource transfer mode.
13. The method of claim 5, wherein the service requested by the service usage terminal comprises at least one of: media streaming services, time query services, database access services, HTTP website access services.
14. A medication purchase request processing method, comprising:
receiving a medicine purchase request of a service using terminal;
providing a medicine selling service for the service using terminal through a service providing terminal in response to the medicine purchase request;
wherein the service using terminal transfers data resources required for the service purchase of the medicine to the service providing terminal through a point-to-point resource transfer mode.
15. A consultation request processing method, comprising:
receiving a diagnosis and treatment consultation request of a service using terminal;
responding to the diagnosis and treatment consultation request, and providing diagnosis and treatment analysis service for the service using terminal through a service providing terminal;
the service using terminal provides data resources required by terminal diagnosis and treatment analysis to the service through a point-to-point resource transfer mode.
16. A network device comprising a processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps of the method of any one of claims 5 to 13.
17. A computer readable storage medium having stored thereon computer instructions which, when executed, implement the steps of the method of any one of claims 5 to 13.
CN201911197519.2A 2019-11-29 2019-11-29 Service network system, service request processing method and storage medium Pending CN112887346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911197519.2A CN112887346A (en) 2019-11-29 2019-11-29 Service network system, service request processing method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911197519.2A CN112887346A (en) 2019-11-29 2019-11-29 Service network system, service request processing method and storage medium

Publications (1)

Publication Number Publication Date
CN112887346A true CN112887346A (en) 2021-06-01

Family

ID=76039045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911197519.2A Pending CN112887346A (en) 2019-11-29 2019-11-29 Service network system, service request processing method and storage medium

Country Status (1)

Country Link
CN (1) CN112887346A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102964A (en) * 2022-06-23 2022-09-23 Oppo广东移动通信有限公司 Resource sharing method, device, system, product and equipment based on communication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291459A (en) * 2005-04-14 2011-12-21 阿尔卡特朗讯公司 Network services infrastructure systems and methods
CN109243601A (en) * 2018-08-23 2019-01-18 郑州云海信息技术有限公司 A kind of online diagnosis and therapy system based on cloud computing
CN109451071A (en) * 2018-12-29 2019-03-08 杭州趣链科技有限公司 A kind of trust data grid system based on block chain
CN109859405A (en) * 2019-03-05 2019-06-07 南京邮电大学 Intelligent medicine-selling system
US20190180274A1 (en) * 2017-12-11 2019-06-13 Global Mobile Finance, Inc. Methodology and system for a blockchain-based mobile money gateway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291459A (en) * 2005-04-14 2011-12-21 阿尔卡特朗讯公司 Network services infrastructure systems and methods
US20190180274A1 (en) * 2017-12-11 2019-06-13 Global Mobile Finance, Inc. Methodology and system for a blockchain-based mobile money gateway
CN109243601A (en) * 2018-08-23 2019-01-18 郑州云海信息技术有限公司 A kind of online diagnosis and therapy system based on cloud computing
CN109451071A (en) * 2018-12-29 2019-03-08 杭州趣链科技有限公司 A kind of trust data grid system based on block chain
CN109859405A (en) * 2019-03-05 2019-06-07 南京邮电大学 Intelligent medicine-selling system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102964A (en) * 2022-06-23 2022-09-23 Oppo广东移动通信有限公司 Resource sharing method, device, system, product and equipment based on communication
CN115102964B (en) * 2022-06-23 2024-03-08 Oppo广东移动通信有限公司 Resource sharing method, device, system, product and equipment based on communication

Similar Documents

Publication Publication Date Title
Pierleoni et al. Amazon, Google and Microsoft solutions for IoT: Architectures and a performance comparison
CN110417558B (en) Signature verification method and device, storage medium and electronic device
CN108681965B (en) Block chain network transaction processing method and device for offline node
CN107682397B (en) Customer resources acquisition methods, device, terminal device and storage medium
US20220321646A1 (en) Data routing in peer-to-peer networks
CN112235420B (en) Data synchronization method, system and related equipment based on block chain
WO2022022584A1 (en) Hashrate sharing method and related device
CN111784128A (en) Asset information processing method and system based on block chain
Lin et al. A Blockchain-enabled decentralized settlement model for IoT data exchange services
Sober et al. A blockchain-based IoT data marketplace
US11593833B2 (en) Method and system for providing electronic universal incentive awards with blockchains
CN112714198B (en) File transmission method and system of ESB system
CN112887346A (en) Service network system, service request processing method and storage medium
CN115374175A (en) Method and device for tracking task execution progress based on micro-service architecture
CN112988311A (en) On-line experimental method based on WEB server
CN105704703B (en) A kind of service order system, method and device
CN115842866A (en) Data processing method and device, computer readable medium and electronic equipment
CN116894727A (en) Data processing method and device based on block chain and related equipment
Pazhev et al. On the use of blockchain technologies in smart home applications
CA2990710A1 (en) Method for establishing interaction relationship, and interaction device
CA2990702C (en) Method for establishing interactive binding relationship and interactive terminal
CA2990285C (en) Data interaction processing method and device
CA2990293C (en) Data interaction processing method and device
CN113300853B (en) Financial credit information management method, device, electronic equipment and storage medium
CN113886499B (en) Pathology data sharing method and system based on block chain and computing equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination