CN109948330B - Method, device, equipment and storage medium for implementing application management service - Google Patents

Method, device, equipment and storage medium for implementing application management service Download PDF

Info

Publication number
CN109948330B
CN109948330B CN201910234744.2A CN201910234744A CN109948330B CN 109948330 B CN109948330 B CN 109948330B CN 201910234744 A CN201910234744 A CN 201910234744A CN 109948330 B CN109948330 B CN 109948330B
Authority
CN
China
Prior art keywords
application
application program
authentication
fingerprint
transaction request
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.)
Active
Application number
CN201910234744.2A
Other languages
Chinese (zh)
Other versions
CN109948330A (en
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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN201910234744.2A priority Critical patent/CN109948330B/en
Publication of CN109948330A publication Critical patent/CN109948330A/en
Application granted granted Critical
Publication of CN109948330B publication Critical patent/CN109948330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for realizing application management service. The method is performed by a block link point, comprising: receiving an application fingerprint uploading transaction request initiated by an application management server side to an application program, and storing the request in a block chain network, wherein the application fingerprint is a data fingerprint of the application program; receiving an authentication transaction request of the application program initiated by an application program monitoring party, and storing the authentication transaction request in a block chain network, wherein the application program is deployed at an application management server and is downloaded by a user through an application management client; and receiving a verification transaction request of an application program initiated by the application management client, verifying and feeding back the verification transaction request in the block chain network. The technical scheme of the embodiment of the invention optimizes the process control mode of the application program provided by the application management software and strengthens the multi-party cooperation capability.

Description

Method, device, equipment and storage medium for implementing application management service
Technical Field
The embodiment of the invention relates to the technical field of application program control based on the Internet, in particular to a method, a device, equipment and a storage medium for realizing application management service.
Background
In the era of vehicle networking, an operating system is generally installed in a vehicle-mounted terminal, and a user can install a required application program through the operating system installed in the vehicle-mounted terminal. In order to facilitate users to freely select application programs and install and use the application programs, vehicle manufacturers generally configure application management software, also called application management software, in an operating system.
At present, a vehicle manufacturer cooperates with a third party company, the third party company provides customized application management software for a vehicle-mounted terminal, and the third party company maintains operations of updating, uninstalling, maintenance and the like of each application program in the application management software. And the user of the vehicle-mounted terminal downloads the application program through the application management software.
However, the method for providing the application program in the vehicle-mounted terminal application management software implemented in the above manner has a potential flow control problem. Due to the fact that multi-party cooperation is involved, especially the number of vehicle-mounted terminals is large, the cost is high for realizing the process management of a centralized means, and the data resource occupation amount is high.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for realizing application management service, which are used for optimizing a process control mode of an application program provided by application management software and strengthening multi-party cooperation capacity.
In a first aspect, an embodiment of the present invention provides a method for implementing an application management service, where the method is applied to a blockchain node, and the method includes:
receiving an application fingerprint uploading transaction request initiated by an application management server side to an application program, and storing the request in a block chain network, wherein the application fingerprint is a data fingerprint of the application program;
receiving an authentication transaction request of the application program initiated by an application program monitoring party, and storing the authentication transaction request in a block chain network, wherein the application program is deployed at an application management server and is downloaded by a user through an application management client;
and receiving a verification transaction request of an application program initiated by the application management client, verifying and feeding back the verification transaction request in the block chain network.
In a second aspect, an embodiment of the present invention further provides an implementation method of an application management service, where the implementation method is applied to an application management server, and the method includes:
acquiring an application program from an application program provider, and acquiring a data fingerprint of the application program as an application fingerprint;
initiating an application fingerprint uploading transaction request to a block chain network, and storing the transaction request in an uplink;
and providing the downloading service of the application program according to the downloading request of the application management client.
In a third aspect, an embodiment of the present invention further provides an implementation method of an application management service, where the implementation method is applied to an application program manager, and the method includes:
authenticating an application program of an application management server;
and initiating an authentication transaction request to the block chain network according to the authentication information, and storing the authentication transaction request in the uplink.
In a fourth aspect, an embodiment of the present invention further provides an implementation method of an application management service, where the implementation method is applied to an application management client, and the method includes:
when an application program downloading requirement is generated, generating a verification transaction request of the application program to be downloaded, and sending the verification transaction request to the block chain network to obtain a feedback verification result;
and if the verification result is that the application program passes the verification result, downloading and installing the application program to be downloaded from the application management server side.
In a fifth aspect, an embodiment of the present invention further provides an apparatus for implementing an application management service, where the apparatus is configured at a blockchain node, and the apparatus includes:
the fingerprint request processing module is used for receiving an application fingerprint uploading transaction request initiated by an application management server side to an application program and storing the transaction request in a block chain network, wherein the application fingerprint is a data fingerprint of the application program;
the authentication request processing module is used for receiving an authentication transaction request of the application program initiated by an application program monitoring party and storing the authentication transaction request in the block chain network, wherein the application program is deployed at an application management server and is downloaded by a user through an application management client;
and the verification request processing module is used for receiving a verification transaction request of the application program initiated by the application management client, verifying the request in the block chain network and feeding back the request.
In a sixth aspect, an embodiment of the present invention further provides an apparatus for implementing an application management service, where the apparatus is configured at an application management server, and the apparatus includes:
the acquisition module is used for acquiring an application program from an application program provider and acquiring a data fingerprint of the application program as an application fingerprint;
the fingerprint request initiating module is used for initiating an application fingerprint uploading transaction request to the blockchain network and storing the transaction request in an uplink;
and the download service providing module is used for providing download service of the application program according to the download request of the application management client.
In a seventh aspect, an embodiment of the present invention further provides an apparatus for implementing application management service, where the apparatus is configured on an application program monitor side, and the apparatus includes:
the program authentication module is used for authenticating the application program of the application management server;
and the authentication request initiating module is used for initiating an authentication transaction request to the block chain network according to the authentication information and storing the authentication transaction request in an uplink.
In an eighth aspect, an embodiment of the present invention further provides an apparatus for implementing an application management service, where the apparatus is configured at an application management client, and the apparatus includes:
the authentication request operation module is used for generating a verification transaction request of the application program to be downloaded when the application program downloading requirement is generated, and sending the verification transaction request to the block chain network to acquire a feedback verification result;
and the program downloading and installing module is used for downloading and installing the application program to be downloaded from the application management server side if the verification result is that the application program passes the verification result.
In a ninth aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for implementing the application management service according to any embodiment of the present invention.
In a sixth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the implementation method of the application management service according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, when receiving an application fingerprint uploading transaction request sent by an application management server and an authentication request of an application program initiated by an application program monitor, a block chain link point performs related processing on the received transaction request and stores the transaction request in a block chain; and when receiving a verification transaction request of the application program initiated by the application management client, the block chain node verifies the application program and feeds back a verification result to the application management client. The problems that the existing mode that the vehicle-mounted terminal application management software provides the application program has hidden flow control hazards, the implementation cost is high, the data resource occupation amount is high and the like are solved. The flow control mode of the application program is provided by the optimized application management software, and the multi-party cooperation capability is enhanced.
Drawings
Fig. 1 is a flowchart of an implementation method of an application management service according to an embodiment of the present invention;
fig. 2 is a flowchart of an implementation method of an application management service according to a second embodiment of the present invention;
fig. 3 is a flowchart of an implementation method of an application management service according to a third embodiment of the present invention;
fig. 4 is a flowchart of an implementation method of an application management service according to a fourth embodiment of the present invention;
fig. 5A is a flowchart of a method for implementing an application management service according to a fifth embodiment of the present invention;
FIG. 5B is a block diagram of an implementation of a hypervisor service provided by embodiment five of the present invention;
fig. 6 is a block diagram of an apparatus for implementing hypervisor services according to a sixth embodiment of the present invention;
fig. 7 is a block diagram of an apparatus for implementing a hypervisor service according to a seventh embodiment of the present invention;
fig. 8 is a block diagram of an apparatus for implementing hypervisor services according to an eighth embodiment of the present invention;
fig. 9 is a block diagram of an apparatus for implementing hypervisor services according to a ninth embodiment of the present invention;
fig. 10 is a schematic structural diagram of an apparatus provided in the tenth embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the embodiments of the invention and that no limitation of the invention is intended. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Before introducing the embodiments of the present invention, a method, an apparatus, a device, and a multi-device side of a storage medium for implementing an application management service according to the embodiments of the present invention are introduced. The scheme of the embodiment of the invention is realized by the cooperation of multiple parties in a block chain network, and specifically comprises a block chain node, an application management server, an application program manager and an application management client. The block link node may be a block generation node in the block link network, or may be another node in the block link network, such as any node that does not currently have block generation permission. The application management server can be a party for customizing application management software, and can receive the application program uploaded by the application program provider and provide application program downloading service for the application management client. The application program supervising party may be a party having a supervising authority on the application management server by means of customization or the like, for example, a party that can control the hardware and operating system software functions of the terminal on which the application management client is installed. The application management client can be application management software customized by an application program supervisor at an application management server; the application management client is installed in an operating system of the terminal. When the application management server side customizes the application management software for the application program supervisor, the application management server side can customize a specific identifier (logo), a page style and the like for the application program supervisor, so that the management software specific to the application program supervisor is formed.
For example, taking the implementation of the application management service of the vehicle-mounted terminal as an example, the application management client may be management software installed in an operating system of the vehicle-mounted terminal, the application program manager may be a manufacturer that produces the vehicle, and the application management server may be a third-party company that cooperates with the vehicle manufacturer as customized application management software for the vehicle manufacturer. It should be noted that the application management server, the application program manager, and the application management client in this embodiment may be nodes in the blockchain network, or may not be nodes in the blockchain network, but may participate in the blockchain network through an interface provided by the blockchain network node. For example, a lightweight node of the blockchain may be configured in the terminal, an interface for accessing the blockchain network is provided, and the application management server is provided to call the blockchain.
The following description will be given by taking implementation of the application management service of the vehicle-mounted terminal as an example, but the implementation of the application management service of the embodiment of the present invention is not limited to be only applicable to the vehicle-mounted terminal, and may also be applicable to other devices.
Example one
Fig. 1 is a flowchart of an implementation method of an application management service according to an embodiment of the present invention, which is applicable to a situation how a block chain node participates in implementing an application management service of a vehicle-mounted terminal. The method may be performed by an apparatus or device for implementing an application management service configured in a blockchain node, where the apparatus may be implemented in a hardware and/or software manner, and may be integrated in an electronic device bearing the blockchain node, and the method specifically includes the following steps:
s101, receiving an application fingerprint uploading transaction request initiated by an application program by an application management server, and storing the request in a block chain network.
The application fingerprint is a data fingerprint of the application program, and the application fingerprint may be a unique identifier of the application program generated according to specific data of the application program and a preset algorithm. Optionally, the process of generating an application fingerprint from data of an application program is reversible. The application fingerprint may be calculated by the management server according to data of the application uploaded by the application provider, or may be generated in advance by the application provider, and the application management server acquires the application from the application provider when acquiring the application from the application provider. The application fingerprint uploading transaction request may be a transaction request generated by the application management server, after detecting that the application provider develops a new application, acquiring, from the application manager, an application newly uploaded by the application provider, and an application fingerprint of the application.
For example, after detecting that a new application program is developed by an application program provider, the application management server acquires the new application program from the application program provider, acquires an application fingerprint of the application program, generates an application fingerprint uploading transaction request according to the acquired application fingerprint, or the application fingerprint and the application program, and sends the application fingerprint uploading transaction request to the blockchain network. And the blockchain node receives the application fingerprint uploading transaction request, acquires an intelligent contract from the blockchain network or locally, and processes the application fingerprint uploading transaction request according to the intelligent contract to obtain an application fingerprint, or uses the application fingerprint and an application program as transaction data to be stored in the blockchain. Optionally, the intelligent contract may be a set of programs that implement all processes of the application management service, and an interactive interface may be provided in the intelligent contract, so that each terminal side may initiate different contents of data and response data, thereby generating each specific transaction request.
S102, receiving an authentication transaction request of the application program initiated by the application program monitoring party, and storing the authentication transaction request in the block chain network.
The application program is deployed on the application management server side and is downloaded by a user through the application management client side. Specifically, the application may be obtained from an application provider (e.g., an application developer) when the application provider develops a new application by the application management server, and the application may be deployed in an interface (e.g., an application market of the application management server) of the application management server, where the interface is capable of interacting with the application management client, so that a user accesses the interactive interface through the application management client to download the application. The authentication request of the application program may be a transaction request initiated by an application program supervisor after the application program deployed by the application management server is supervised and audited to generate authentication information and according to the generated authentication information. Optionally, the authentication information may be authentication information generated for the application program when the application program monitor monitors and verifies the application program and if the application management client associated with the application program monitor is authorized to download the application program, the authentication information may be generated for the application program. For example, if the application program monitoring party is the vehicle manufacturer a, the manufacturer authorizes the application management software of the vehicle that the manufacturer authorizes to approve to download a certain application program, and generates authentication information for the application program. The authentication information may include: identification of the application being authenticated, identification of the person being authenticated by the application administrator, authentication time, etc.
For example, after the application program deployed by the application management server is supervised and audited to generate authentication information, the application program supervisor initiates an authentication transaction request of the application program according to the generated authentication information, and sends the authentication transaction request to the blockchain network. And the block chain node receives the authentication transaction request of the application program, acquires an intelligent contract from the block chain network or the local, processes the authentication transaction request according to the intelligent contract, obtains authentication information as transaction data, and stores the authentication information in the block chain.
S103, receiving a verification transaction request of an application program initiated by the application management client, verifying and feeding back in the block chain network.
In this embodiment, since the application program monitor adds the monitoring process of the application program deployed by the application management server, the application management client can only download the application program that the application program monitor passes the authentication. Therefore, when the application management client generates a downloading requirement, for example, a user operates the application management client to click the application program to download, or the vehicle-mounted terminal operating system needs to download the application program, the application management client needs to check the application program to be downloaded first, and the application program can be downloaded and installed after the check is successful. The verification transaction request of the application program is a verification request of the application program to be downloaded initiated by the application management client when the application management client generates a downloading requirement, and the block chain network is requested to verify the application program. The application program verification request may include, but is not limited to, a name, a version number, an identifier of the application management client, authentication information, and the like of the application program to be downloaded.
Illustratively, when the application management client generates a downloading requirement, a verification transaction request of the application program is initiated according to the application program to be downloaded, and is sent to the blockchain network. And after receiving the check transaction request, the blockchain node acquires an intelligent contract from the blockchain network or locally, verifies the application program corresponding to the check transaction request according to the intelligent contract, if the application program is the application program which is authenticated by the application program monitor and management party, the verification is successful, and otherwise, the verification fails. And after the block link point completes the verification, the verification result is fed back to the application management client, and the application management client downloads and installs the application program to be downloaded from the application management server only after receiving the feedback of successful verification.
Optionally, in this embodiment of the present invention, when verifying and feeding back the block link point in the block chain network according to the check transaction request, the following situations may be included:
receiving an application authentication transaction request of the application program to be downloaded initiated by the application management client, and feeding back an authentication result of the application program to be downloaded to the application management client according to authentication information recorded in the block chain; and/or
And receiving a fingerprint verification transaction request of the downloaded application program initiated by the application management client, and feeding back a fingerprint verification result of the downloaded application program to the application management client according to the fingerprint information recorded in the block chain.
Specifically, when an application management client generates an application program downloading requirement, an application authentication transaction request of an application program to be downloaded is generated firstly and sent to a block chain network, after receiving the application authentication request, a block chain node searches whether the application program to be downloaded has authentication information authenticated by an application program supervisor corresponding to the application management client from a block chain according to an intelligent contract, and if the application program to be downloaded has the authentication information authenticated by the application program supervisor corresponding to the application management client, the searched authentication information and/or authentication pass message is sent to the application management client corresponding to the application authentication transaction request as a feedback result; and if the authentication failure message does not exist, the authentication failure message is used as a feedback result to be sent to the application management client corresponding to the application authentication transaction request. And/or
After receiving the authentication result fed back by the block link point, if the authentication result is that the authentication is passed, the application management client downloads the application program from the application management server, in order to prevent the application downloaded by the application management server to the application management client from being an application authenticated by the application administrator, after downloading the application program, the application management client does not install the application program, but calculates the data fingerprint of the downloaded application program as the application fingerprint (it should be noted that, the way that the application management client calculates the application fingerprint according to the downloaded application program is the same as the way that the application management server calculates the application fingerprint according to the application program provided by the application program provider), and then, initiating a fingerprint verification request according to the calculated application fingerprint, and sending the fingerprint verification request to the block chain network. After receiving the fingerprint verification request, the block chain node verifies the application fingerprint contained in the fingerprint verification request according to the intelligent contract and feeds back a verification result to the application management client. Optionally, the blockchain node searches for an application fingerprint of an application program downloaded by the application management client from the blockchain, matches the application fingerprint with an application fingerprint included in the fingerprint verification request, and feeds back the matching result as a fingerprint verification result to the application management client; or the blockchain node searches the application fingerprint of the application program downloaded by the application management client from the blockchain, and feeds back the searched application fingerprint or the search failure message as the fingerprint verification result to the application management client. If the application fingerprint recorded in the block chain in the fingerprint verification result received by the application management client side is consistent with the application fingerprint obtained by the application management client side according to calculation, the fingerprint verification is successful; otherwise the fingerprint authentication fails. Optionally, the application management client may install the downloaded application program after the fingerprint information of the downloaded application program is successfully verified.
In the implementation method of the application management service provided in this embodiment, when receiving an application fingerprint upload transaction request sent by an application management server and an authentication request of an application initiated by an application monitor, a block link point performs related processing on the received transaction request and stores the transaction request in a block chain; and when receiving a verification transaction request of the application program initiated by the application management client, the block chain node verifies the application program and feeds back a verification result to the application management client. The problems that the existing mode that the vehicle-mounted terminal application management software provides the application program has hidden flow control hazards, the implementation cost is high, the data resource occupation amount is high and the like are solved. The flow control mode of the application program is provided by the optimized application management software, and the multi-party cooperation capability is enhanced.
Further, in this embodiment, in order to ensure that the application program monitoring party timely performs monitoring and auditing on an uploaded application program after the application management server obtains a new application program from an application program provider, the block node receives an application fingerprint upload transaction request initiated by the application management server for the application program, and stores the transaction request in the block chain network, and further includes: and in the process of executing the application fingerprint uploading transaction request, calling an intelligent contract to generate an authentication notice, and sending the authentication notice to the application program manager to instruct the application program manager to generate the authentication transaction request according to the authentication notice.
The authentication notification may be a notification message sent by the blockchain node to the application program manager, and is used for reminding the application program manager that a newly uploaded application program is to be supervised and checked in the application program management server. The authentication notification may be only one notification message, or may include fingerprint information and/or application information in the fingerprint upload transaction request, and the application supervisor may quickly determine, according to the fingerprint information and/or the application information, a newly added application of the application management server, and then quickly complete authentication of the newly added application.
Specifically, in the process of executing the application fingerprint uploading transaction request, the blockchain node calls a program code related to generation of the authentication notification in the virtual machine operation intelligent contract to obtain the authentication notification, and sends the authentication notification to the application program supervisor, so as to prompt the application program supervisor to supervise and authenticate the application program newly added at the application management server side, and generate the authentication transaction request. Optionally, when sending the authentication notification to the application program monitoring party, the blockchain node may send the authentication notification to one or more application program monitoring parties according to an indication carried in the application fingerprint uploading transaction request or an indication preset in the intelligent contract. The indication carried in the fingerprint uploading transaction request or the indication preset in the intelligent contract may be an address of a transmission interface for communication between the application program monitor to be sent and the blockchain network, which may be carried in the fingerprint uploading transaction request sent by the application management server, or may be preset in the intelligent contract. Because the application management server side may cooperate with one or more application program monitors, when receiving the fingerprint uploading transaction request, the blockchain node sends the generated authentication notification to all the application program monitors indicating the record according to the indication carried in the fingerprint uploading transaction request or the indication preset in the intelligent contract.
Optionally, there are many nodes in the blockchain network, and only the blockchain generation node may send the authentication notification to the application management server; or, a plurality of blockchain nodes may all transmit, but the application manager only receives the authentication notification transmitted by one of the nodes, for example, only receives the authentication notification transmitted by the first blockchain node, and then the authentication notification message of a preset time period (for example, within 2 minutes) is no longer received.
Example two
Fig. 2 is a flowchart of an implementation method of an application management service according to a second embodiment of the present invention, which is applicable to a situation how an application management server participates in implementing application service management of a vehicle-mounted terminal. The method can be executed by an implementation apparatus or device of the application management service configured in the application management service end, and the apparatus can be implemented in a hardware and/or software manner and can be integrated in an electronic device bearing the application management service end.
It should be noted that the application fingerprint uploading transaction request received and processed by the block link node in the foregoing embodiment is generated by the application management server in this embodiment, and the process of uploading the application fingerprint of the application program to the block chain in the application management service can be realized only when the block link node in the foregoing embodiment interacts with the application management server in this embodiment.
The method specifically comprises the following steps:
s201, acquiring an application program from an application program provider, and acquiring a data fingerprint of the application program as an application fingerprint.
Optionally, the application provider may be an application developer, and when the application provider develops a new application, the new application needs to be uploaded to the application management server, and the application management server deploys the new application in the application market and then downloads the new application to the application management client. After detecting that the application provider opens a new application, if the application provider only provides the data of the application, the application management server acquires the data of the application provided by the application provider, and calculates a data fingerprint uniquely corresponding to the application according to the acquired data of the application and according to a related algorithm specified in an intelligent contract, and the data fingerprint serves as the application fingerprint of the application. If the application provider provides the data fingerprint of the application program when providing the data of the application program, the application management server can directly acquire the application program and the application fingerprint thereof from the data provided by the application provider.
Optionally, when the application provider develops a new application, the application provider may upload program data to a cache region of the application management server, and the application management server detects whether there is a new application uploaded in the cache region in real time or at preset intervals, and if so, obtains the new application and deletes data related to the new application stored in the cache region; or when the application provider develops a new application, sending a new application reminder to the application manager, and at this time, the application management server triggers the application provider to acquire the application.
Optionally, after obtaining the application program from the application program provider, the application management server may first perform an audit on the application program, for example, audit whether the application program is legal, whether the application program can run normally, whether a phenomenon of a toll is generated, and the like. And obtaining the application fingerprint of the application program after the verification is passed. Optionally, in this embodiment, after the application management server checks the newly acquired application program, the application program may be deployed on an interface (e.g., an application program market) of the application management server, where the interface is capable of interacting with the application management client, so that a user accesses the interactive interface through the application management client to download the application program.
S202, an application fingerprint uploading transaction request is initiated to the block chain network and stored in an uplink.
For example, after the application program and the application fingerprint thereof are acquired in S201, an intelligent contract is acquired, a virtual machine is called to run a program code related to generating a fingerprint uploading transaction request in the intelligent contract, so as to obtain a fingerprint uploading transaction request, and the fingerprint uploading transaction request is sent to the blockchain network, so that the blockchain network is requested to perform uplink processing on the fingerprint uploading transaction request.
Optionally, when the application management server of this embodiment generates a transaction request on the fingerprint chain, it may generate an upload transaction request only including the application fingerprint; the fingerprint uploading transaction request including the application program and the application fingerprint thereof can also be generated, and the like. Therefore, after the block chain link point storage processes the fingerprint uploading transaction request, the transaction data stored in the block chain can be the application fingerprint; or an application and its application fingerprint; but also an application identity and its application fingerprint.
S203, according to the downloading request of the application management client, the downloading service of the application program is provided.
The downloading request may be a request for downloading the application program, which is sent to the application management server by the application management client after the application program to be downloaded is verified and succeeded.
For example, after the application management server obtains the application from the application provider and passes the application audit, the application management server deploys the application to an interface (e.g., an application store) that can interact with the application management client, so that the user can access the interactive interface through the application management client to download the application. Therefore, when the application management server receives the download request sent by the application management client, the application management server searches the application program corresponding to the download request from all the application programs available for downloading stored in the application management server, and provides the download service of the application program to the application management client.
Optionally, the application management server provides the application management client with the downloading service of the application program, and the downloading service may be directly sending the data of the application program to the application management client, or may be feeding back a downloading interface to the application management client, so that the application management client obtains the data of the application program to be downloaded through the downloading interface.
In the method for implementing application management service provided by this embodiment, when a new application program is provided at an application program provider, an application management server obtains the application program and obtains an application fingerprint from an application management client, initiates an application fingerprint uploading transaction request, stores the application fingerprint in an uplink, and provides a download service for the application management server when the application management server receives a download request sent by the application management client. The application management server side uploads the application fingerprints of the application program to the blockchain network, so that the situation that the data of the application program provided by the application management server side is tampered can be avoided, and the safety and the openness of the application program which can be downloaded in the application management server side are realized.
EXAMPLE III
Fig. 3 is a flowchart of an implementation method of an application management service according to a third embodiment of the present invention, which is applicable to a situation how an application monitor participates in implementing application service management of a vehicle-mounted terminal. The method can be executed by an implementation apparatus or device of the application management service configured in the application program manager, and the apparatus can be implemented in a hardware and/or software manner and can be integrated in an electronic device bearing the application program manager.
It should be noted that the authentication transaction request of the application processed by the block chain node receiving in the above embodiment is generated by the application manager in this embodiment, and the process of uploading the authentication information of the application to the block chain by the application manager can be realized only when the block chain node in the above embodiment interacts with the application manager in this embodiment.
The method specifically comprises the following steps:
s301, the application program of the application management server side is authenticated.
In this embodiment, if there is no supervision of the application monitor, the application management server may have a defect of the management mode, for example, the application management server is deployed in an application store provided by the application management server and downloads the application program supply management client of a competitor of the application monitor, so that the benefit of the application monitor is seriously affected. Therefore, the application program administrator needs to perform administration authentication on the application program deployed by the application management server. Optionally, after the application management server deploys the new application, the application manager may authenticate the new application. The specific authentication process may be to authenticate the developer information of the new application, the data of the program, whether the program conflicts with the interests of the program, and the like, and generate an authentication message. The authenticated application program is equivalent to authorized approval of the application program manager, and can be downloaded by the application program manager-associated application management client.
Optionally, when the application program manager authenticates the application program of the application management server, the application program manager may obtain data of the application program by accessing an interactive interface provided by the application management server, so as to complete authentication of the application program; or the authentication information input by the user on the application program supervisor equipment is obtained from the application program supervisor equipment through an upper layer interactive interface provided by the lightweight node, and then the authentication of the application program is completed.
The lightweight nodes are similar to the full nodes, and are deployed with deployment data of the block chain, such as an intelligent contract, a consensus mechanism and the like, so that the lightweight nodes can participate in the transaction request interaction process of the block chain, but do not store all block data. When the lightweight node needs to inquire the transaction data in the block, the transaction data can be acquired from other nodes in real time and verified in a set mode. The lightweight node can be generally deployed in a terminal device (such as an application program supervisor device in this embodiment), has a low requirement on the hardware configuration of the device, and can be integrated on an operating system level to control hardware in the terminal device and interact with upper-layer application software, so as to provide block chain support for functions of the application software.
Optionally, in order to ensure that the application program monitoring party can discover and authenticate the application program in time after the application management server deploys the new application program. Before authenticating the application program of the application management server, the embodiment may further include:
receiving an authentication notification sent by a block chain node; the authentication notification is generated by calling an intelligent contract when the block chain node executes the application fingerprint uploading transaction request; or when a preset authentication period is reached, triggering authentication operation.
Specifically, if the authentication notification sent by the blockchain node is received before the application program of the application management server is authenticated, the blockchain node may simultaneously call a program code related to generation of the authentication notification in the virtual machine operation intelligent contract during execution of the application fingerprint uploading transaction request, obtain the authentication notification, and send the authentication notification to the application program monitoring party. Optionally, the block link point may send an authentication notification to one or more application program administrators according to an indication carried in the application fingerprint upload transaction request or an indication preset in the intelligent contract. After the application program monitor acquires the authentication notification sent by the blockchain node, S301 is triggered to be executed. Optionally, in this embodiment, the authentication notification received by the application program manager is not limited to only being a block chain node, and the application management server may send the authentication notification to the application program manager in an online or offline manner after deploying the new application program.
If the authentication operation is triggered when the preset authentication period is reached before the application program of the application management server is authenticated, a timer may be set inside the application program monitoring party, and if the current time is the preset authentication period, S301 is executed to authenticate the application program newly added to the application management server in the current period. The preset authentication period may be set by default by the application program monitoring side device, or may be set by a user performing monitoring according to actual requirements.
S302, according to the authentication information, an authentication transaction request is initiated to the block chain network and stored in an uplink.
For example, after the application program of the application management server is authenticated in S301, the application program administrator obtains an intelligent contract, invokes a relevant program code in the virtual machine running intelligent contract for generating an authentication transaction request, obtains the authentication transaction request, sends the authentication transaction request to the blockchain network, requests the blockchain network to process the authentication transaction request, and obtains authentication information as transaction data to be stored in the blockchain. The authentication information may include: identification of the application being authenticated, identification of the person being authenticated by the application administrator, authentication time, etc.
In the method for implementing the application management service provided in this embodiment, the application program supervisor authenticates the application program in the application management service end to obtain the authentication information, and generates an authentication transaction request according to the authentication information and sends the authentication transaction request to the blockchain network to request uplink storage. In the process of realizing the application management service, an application program monitoring party is added, the process control mode of the application program provided by the application management software is optimized, and the multi-party cooperation capability is strengthened.
Example four
Fig. 4 is a flowchart of an implementation method of an application management service according to a fourth embodiment of the present invention, which is applicable to how an application management client participates in implementing application service management of a vehicle-mounted terminal. The method may be performed by an implementation apparatus or device of an application management service configured in an application management client, where the apparatus may be implemented in hardware and/or software, and may be integrated in an electronic device bearing the application management client.
It should be noted that the check transaction request of the application program received and processed by the block chain node in the foregoing embodiment is generated by the application management client in this embodiment, and the process of checking the application program to be downloaded by the application management client can be realized only when the block chain node in the foregoing embodiment interacts with the application management client in this embodiment.
The method specifically comprises the following steps:
s401, when the application program downloading requirement is generated, a verification transaction request of the application program to be downloaded is generated and sent to the block chain network, and a feedback verification result is obtained.
Optionally, in this embodiment, the application management client generates the application program downloading requirement, which may be: the user wants to download the application program through the application management client; the application management client can download the application program according to the requirement of the operating system of the application management client.
Illustratively, when an application management client generates a downloading requirement, an intelligent contract is obtained according to a program name, a version number, an application management client identifier and the like of an application program to be downloaded, a relevant program code related to a check transaction request for generating the application program in the intelligent contract is called to obtain the check transaction request, the check transaction request is sent to a block chain network, after the check transaction request is received by a block chain generating node, the application program contained in the check transaction request is verified according to the intelligent contract, if the application program is the application program which is authenticated by an application program monitoring party, the verification is successful, and otherwise, the verification fails. And after the block chain link point completes the verification, the verification result is fed back to the application management client side, and the application management client side receives the verification result fed back by the block chain link point.
S402, if the verification result is that the application program passes, downloading and installing the application program to be downloaded from the application management server side.
For example, if the verification result received by the application management client is that the verification is passed, a download request of the application program to be downloaded is sent to the application management server, and after receiving the download request, the application management server searches for the application program corresponding to the download request from all the application programs available for downloading by the application management client, and provides a download service of the application program to the application management client.
Optionally, when the application program is downloaded from the application management server, the application management server may directly send the data of the application program to the application management client, or the application management server may feed back a download interface for the application management client, and the application management client obtains the data of the application program to be downloaded through the download interface. And after the application management client finishes downloading the application program, carrying out installation operation of the application program according to the downloaded data of the application program.
Optionally, in order to prevent the application program downloaded by the application management server to the application management client from being an application program authenticated by the application program manager, in this embodiment, S401 and S402 may be further divided into sub-processes, where each sub-process may be:
s4011, when an application program downloading requirement is generated, an application authentication transaction request of the application program to be downloaded is generated and sent to the block chain network, and a feedback authentication result is obtained.
Illustratively, when an application management client generates an application program downloading requirement, an application authentication transaction request of an application program to be downloaded is generated first and sent to a blockchain network, the authentication transaction request is used for indicating that after receiving the application authentication request, a blockchain node searches whether the application program to be downloaded has authentication information of an application program supervisor from a blockchain according to an intelligent contract, if yes, the searched authentication information and/or authentication passing message is sent to an application management client corresponding to the application authentication transaction request as a feedback result, and if not, the authentication failing message is sent to the application management client corresponding to the application authentication transaction request as a feedback result.
S4021, if the authentication result is passed, downloading the application program to be downloaded from the application management server.
For example, if the authentication result received by the application management client is the authentication information and/or the authentication passing message, it indicates that the authentication passes, and at this time, the downloading operation of the application program to be downloaded is performed through the downloading service provided by the application management server.
S4012, calculating a data fingerprint as an application fingerprint according to the downloaded application program.
Illustratively, the application management client calculates a data fingerprint of the application downloaded by S4021 as the application fingerprint, based on the data of the application downloaded by S4021. The algorithm adopted when the application management client calculates the application fingerprint is the same as the algorithm adopted when the application management server calculates the application fingerprint according to the application program data.
And S4013, initiating a fingerprint verification transaction request according to the application fingerprint, and sending the request to the block chain network to obtain a feedback verification result.
Illustratively, the application management client obtains an intelligent contract according to the application fingerprint calculated in S4012, invokes a relevant program code in the virtual machine running intelligent contract for generating a fingerprint verification transaction request to obtain a fingerprint verification transaction request, sends the fingerprint verification transaction request to the blockchain network, verifies the request blockchain link point by using the application fingerprint calculated by the management client, and feeds back a verification result. Optionally, in this embodiment, the verification result obtained by the application management client may be a result that whether the matching verification is successful is fed back after the application fingerprint of the downloaded application program stored in the blockchain is matched with the application fingerprint included in the fingerprint verification request by the blockchain link point; or the application fingerprint of the downloaded application program acquired by the blockchain node from the blockchain.
S4022, if the verification is successful, installing the application program.
For example, if the verification result obtained in S4013 is a result indicating whether the matching verification is successful, it may be directly checked whether the matching verification is successful, and if the verification is successful, the application is installed according to the data of the downloaded application. If the verification result obtained in S4013 is the application fingerprint of the application program recorded in the block chain, the application management client further needs to match the application fingerprint in the feedback result with the application fingerprint calculated by itself, and if the application fingerprint is consistent with the application fingerprint, the fingerprint verification is successful, and the application program is installed according to the downloaded application program data.
Optionally, the process of verifying the application before the application management client downloads the application in this embodiment may be a process of completing the verification by the application management client interacting with the blockchain network described in this embodiment; optionally, the application management client may directly send a download request to the application management server, and after receiving the download request, the application management server interacts with the blockchain network to complete verification of the application program to be downloaded, and after the verification is successful, a download service may be provided for the application management client. The process of interaction between the application management server and the blockchain may be similar to the process of interaction between the application management client and the blockchain, and is not described again.
According to the implementation method of the application management service, when the application management client needs to download the application program, a verification request of the application program needs to be generated and sent to the block chain network, the block chain is requested to verify the application program, and if the verification is passed, the application management client can download and install the application program. In the process of downloading the application program by the application management client, a verification process is added, the application program downloaded by the application management client is ensured to conform to the approval of an application program monitoring party, the process control mode of providing the application program by application management software is optimized, and the multi-party cooperation capability is strengthened.
EXAMPLE five
Fig. 5A is a flowchart of an implementation method of an application management service according to a fifth embodiment of the present invention, and fig. 5B is a block diagram of an implementation of an application management service according to the fifth embodiment of the present invention. On the basis of the foregoing embodiments, the present embodiment provides a preferred example, which needs to be implemented by matching a blockchain node, an application management server, an application program manager, and an application management client in a blockchain network in a process of implementing an application management service of a vehicle-mounted terminal. As shown in fig. 5A-5B, the method includes:
s501, the application management server side obtains the application program from the application program provider side, and obtains the data fingerprint of the application program as the application fingerprint.
For example, after a new application program is developed by an application program provider, the new application program needs to be uploaded to an application program market of an application management server, at this time, the application management server needs to obtain the application program from the application program provider, the application management server needs to check the obtained application program first after obtaining the application program, only the application program that has passed the check can be deployed into the application program market, and the application program server needs to obtain an application fingerprint of the application program while being deployed into the application program market.
S502, the application management server side initiates an application fingerprint uploading transaction request to the block chain network, and the transaction request is stored in an uplink.
For example, the application management server initiates an application fingerprint uploading transaction request according to the acquired application fingerprint, and sends the application fingerprint uploading transaction request to the blockchain network to request uplink storage.
And S503, the block chain node receives an application fingerprint uploading transaction request initiated by the application management server to the application program, and stores the transaction request in the block chain network.
S504, the block chain node calls an intelligent contract to generate an authentication notice in the process of executing the application fingerprint uploading transaction request, and sends the authentication notice to the application program monitoring party.
For example, in order to ensure that the application program manager can perform audit authentication on a newly added application program in the application program market of the application management server in time, the block link point may invoke an intelligent contract to generate an authentication notification and send the authentication notification to the application program manager in the process of executing the application fingerprint upload transaction request (i.e., in the process of executing S503), so as to notify the application program manager that the application program newly added in the application program market needs to be audited and authenticated.
And S505, the application program monitor receives the authentication notification sent by the blockchain node.
S506, the application program supervisor authenticates the application program of the application management server side.
For example, the application program manager may obtain data of the application program by accessing an application program market interaction interface provided by the management server, and then complete authentication of the application program; or the authentication information input by the user on the application program supervisor equipment is obtained from the application program supervisor equipment through an upper layer interactive interface provided by the lightweight node, and then the authentication of the application program is completed.
And S507, the application program monitor initiates an authentication transaction request to the block chain network according to the authentication information, and stores the authentication transaction request in an uplink.
For example, the application monitor initiates an authentication transaction request according to the authentication information obtained after the authentication in S506, and sends the authentication transaction request to the blockchain network to request uplink storage.
And S508, the block chain node receives the authentication transaction request of the application program initiated by the application program monitor and stores the authentication transaction request in the block chain network.
S509, when the application management client generates the application program downloading requirement, the application management client generates an application authentication transaction request of the application program to be downloaded, and sends the application authentication transaction request to the block chain network.
For example, when an application management client needs to download an application, an application authentication transaction request of the application is generated according to the application that the application wants to download, and is sent to the blockchain network, so as to request a blockchain link point to authenticate the application, and determine whether the application is a downloadable application authenticated by an application manager associated with the application management client.
And S510, the block chain node receives an application authentication transaction request of the application program to be downloaded initiated by the application management client, and feeds back the authentication result of the application program to be downloaded to the application management client according to the authentication information recorded in the block chain.
Illustratively, after receiving an application authentication request of an application program to be downloaded, a blockchain node verifies whether authentication information of an application program supervisor associated with the application management client for the application program exists in a blockchain according to authentication information recorded in the blockchain, if so, the authentication result is passed, otherwise, the authentication result is not passed, and the authentication result is fed back to the application management client.
And S511, the application management client acquires the fed-back authentication result, and if the authentication result is passed, the application management client sends a downloading request for the application program to be downloaded to the application management server.
For example, when the authentication result obtained by the management client is pass, it indicates that the application program that the application management client wants to download is authorized and approved by the application program supervisor associated with the application program, and the application program can be downloaded, at this time, the application management client sends a download request of the application program to the management server to request to download the application program from the application program market.
S512, the application management server side provides the downloading service of the application program according to the downloading request of the application management client side.
S513, the application management client performs downloading operation of the application program to be downloaded from the application management server, calculates a data fingerprint according to the downloaded application program as an application fingerprint, initiates a fingerprint verification transaction request according to the application fingerprint, and sends the request to the blockchain network.
For example, after the application management client finishes downloading the application program, in order to prevent the application management server from tampering with the data of the application program to be downloaded, the application management client needs to recalculate the application fingerprint of the downloaded application program, initiate a fingerprint verification transaction request according to the calculated application fingerprint, send the fingerprint verification transaction request to the blockchain network, request verification of the calculated application fingerprint, and verify whether the fingerprint is the application fingerprint of the downloaded application program recorded in the blockchain.
And S514, the block chain node receives the fingerprint verification transaction request of the downloaded application program initiated by the application management client, and feeds back the fingerprint verification result of the downloaded application program to the application management client according to the fingerprint information recorded in the block chain.
And S515, the application management client acquires the fed back verification result, and if the verification is successful, the application program is installed.
For example, if the application management client obtains the feedback verification result that the calculated application fingerprint is consistent with the application fingerprint recorded in the blockchain, it indicates that the verification is successful, and at this time, the application management client installs the downloaded application program.
In the implementation method of the application management service of this embodiment, after acquiring a new application program, the application management server generates an application fingerprint of the application program to initiate an application fingerprint upload transaction request, and sends a block chain network to request uplink storage; the application program monitoring party authenticates the newly added application program of the application management server after receiving the authentication notification sent by the blockchain network, initiates an authentication transaction request according to the authentication information and sends the authentication transaction request to the blockchain network so as to request uplink storage; after the application management client needs to download the application program, the application management client needs to request the blockchain network to perform application authentication on the application program to be downloaded, the application program can be downloaded after the authentication is successful, the application fingerprint of the downloaded application program is calculated after the downloading, then the blockchain network is requested to verify the application fingerprint, and the downloaded application program can be installed after the verification is successful. The application management service of the vehicle-mounted terminal is realized by cooperation of multiple parties such as the application management service party, the application program monitor party and the application management client based on the blockchain network, so that the application management service party is prevented from being fake, the monitoring function of the application program monitor party is realized, and the accuracy of downloading the application program by the application management client is ensured. The process control mode of the application program provided by the application management software is optimized, and the multi-party cooperation capability is enhanced.
EXAMPLE six
Fig. 6 is a block diagram of an apparatus for implementing application management service according to a sixth embodiment of the present invention, where the apparatus may be configured in a blockchain node. The device can execute the implementation method of any application management service provided by the first embodiment and the fifth embodiment, and specifically executes the corresponding functional modules and beneficial effects of the method. As shown in fig. 6, the apparatus may include:
the fingerprint request processing module 601 is configured to receive an application fingerprint uploading transaction request initiated by an application management server to an application program, and store the application fingerprint in a block chain network, where the application fingerprint is a data fingerprint of the application program;
an authentication request processing module 602, configured to receive an authentication transaction request of the application initiated by an application monitor, and store the authentication transaction request in a blockchain network, where the application is deployed at an application management server and is used for a user to download through an application management client;
the check request processing module 603 is configured to receive a check transaction request of an application program initiated by an application management client, perform verification in the blockchain network, and perform feedback.
In the apparatus for implementing application management service provided in this embodiment, when receiving an application fingerprint upload transaction request sent by an application management server and an authentication request of an application initiated by an application monitor, a block link node performs related processing on the received transaction request and stores the transaction request in a block chain; and when receiving a verification transaction request of the application program initiated by the application management client, the block chain node verifies the application program and feeds back a verification result to the application management client. The problems that the existing mode that the vehicle-mounted terminal application management software provides the application program has hidden flow control hazards, the implementation cost is high, the data resource occupation amount is high and the like are solved. The flow control mode of the application program is provided by the optimized application management software, and the multi-party cooperation capability is enhanced.
Further, the above apparatus further comprises:
and the notification generation and sending module is used for calling an intelligent contract to generate an authentication notification in the process of executing the application fingerprint uploading transaction request, and sending the authentication notification to the application program supervisor so as to instruct the application program supervisor to generate the authentication transaction request according to the authentication notification.
Further, when the notification generation and sending module executes and sends the notification to the application program monitoring party, the notification generation and sending module is specifically configured to:
and sending the authentication notification to one or more application program monitoring parties according to the indication carried in the application fingerprint uploading transaction request or the preset indication in the intelligent contract.
Further, the check request processing module 603 is specifically configured to:
receiving an application authentication transaction request of the application program to be downloaded initiated by the application management client, and feeding back an authentication result of the application program to be downloaded to the application management client according to authentication information recorded in the block chain; and/or
And receiving a fingerprint verification transaction request of the downloaded application program initiated by the application management client, and feeding back a fingerprint verification result of the downloaded application program to the application management client according to the fingerprint information recorded in the block chain.
Further, the application management client is application management software customized by the application management server for the application program monitor; the application management client is installed in an operating system of the vehicle-mounted terminal.
EXAMPLE seven
Fig. 7 is a block diagram of an apparatus for implementing application management service according to a seventh embodiment of the present invention, where the apparatus can be configured at an application management service end. The device can execute any one of the implementation methods of the application management service provided by the second embodiment and the fifth embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. As shown in fig. 7, the apparatus may include:
an obtaining module 701, configured to obtain an application program from an application program provider, and obtain a data fingerprint of the application program as an application fingerprint;
a fingerprint request initiating module 702, configured to initiate an application fingerprint uploading transaction request to a blockchain network, where the application fingerprint is stored in an uplink;
the download service providing module 703 is configured to provide a download service of the application program according to the download request of the application management client.
In the apparatus for implementing application management service provided in this embodiment, when a new application program is provided at an application program providing end, an application management service end obtains the application program and obtains an application fingerprint from an application management client, initiates an application fingerprint uploading transaction request, stores the application fingerprint in an uplink, and provides a download service for the application management service end when the application management service end receives a download request sent by the application management client. The application management server side uploads the application fingerprints of the application program to the blockchain network, so that the situation that the data of the application program provided by the application management server side is tampered can be avoided, and the safety and the openness of the application program which can be downloaded in the application management server side are realized.
Example eight
Fig. 8 is a block diagram of an apparatus for implementing application management services according to an eighth embodiment of the present invention, where the apparatus is configured on an application program monitor side. The device can execute any one of the implementation methods of the application management service provided by the third embodiment and the fifth embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 8, the apparatus may include:
a program authentication module 801, configured to authenticate an application program of the application management server;
an authentication request initiating module 802, configured to initiate an authentication transaction request to the blockchain network according to the authentication information, and store the request in an uplink.
In the apparatus for implementing application management service provided in this embodiment, the application program supervisor authenticates the application program in the application management service end to obtain the authentication information, and generates an authentication transaction request according to the authentication information and sends the authentication transaction request to the blockchain network to request uplink storage. In the process of realizing the application management service, an application program monitoring party is added, the process control mode of the application program provided by the application management software is optimized, and the multi-party cooperation capability is strengthened.
Further, the above apparatus further comprises:
the authentication notification receiving module is used for receiving an authentication notification sent by the block chain node; the authentication notification is generated by calling an intelligent contract when the block chain node executes the application fingerprint uploading transaction request; or
And the authentication operation triggering module is used for triggering the authentication operation when a preset authentication period is reached.
Example nine
Fig. 9 is a block diagram of an apparatus for implementing application management services according to a ninth embodiment of the present invention, where the apparatus is configurable at an application management client. The device can execute any one of the implementation methods of the application management service provided by the fourth embodiment and the fifth embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 9, the apparatus may include:
the authentication request operation module 901 is configured to generate a verification transaction request of an application to be downloaded when an application download requirement is generated, and send the verification transaction request to the block link network to obtain a feedback verification result;
and a program downloading and installing module 902, configured to, if the verification result is that the application program passes, perform downloading and installing operations on the application program to be downloaded from the application management server.
According to the device for realizing the application management service, when the application management client needs to download the application program, the application management client needs to generate a verification request of the application program and send the verification request to the block chain network, the block chain is requested to verify the application program, and if the verification is passed, the application management client can download and install the application program. In the process of downloading the application program by the application management client, a verification process is added, the application program downloaded by the application management client is ensured to conform to the approval of an application program monitoring party, the process control mode of providing the application program by application management software is optimized, and the multi-party cooperation capability is strengthened.
Further, the authentication request operation module 901 includes an application authentication subunit and a fingerprint verification subunit; the program downloading and installing module 902 comprises a downloading subunit and an installing subunit
The application authentication subunit is used for generating an application authentication transaction request of the application program to be downloaded when the application program downloading requirement is generated, and sending the application authentication transaction request to the block chain network to acquire a feedback authentication result;
the downloading subunit is used for downloading the application program to be downloaded from the application management server side if the authentication result is passed;
a fingerprint verification subunit, configured to calculate a data fingerprint as an application fingerprint according to the downloaded application program; initiating a fingerprint verification transaction request according to the application fingerprint, and sending the fingerprint verification transaction request to a block chain network to obtain a feedback verification result;
and the installation subunit is used for installing the application program if the verification is successful.
Further, the authentication request operation module 901 is specifically configured to:
when the application program downloading requirement is generated, one or more application program monitoring parties to which the application program monitoring parties belong generate application authentication transaction requests of the application program to be downloaded according to the local application program monitoring party, and the application authentication transaction requests are sent to the block chain network to obtain the fed-back authentication result.
Example ten
Fig. 10 is a schematic structural diagram of an apparatus provided in the tenth embodiment of the present invention. Fig. 10 illustrates a block diagram of an exemplary device 100 suitable for use in implementing embodiments of the present invention. The device 100 shown in fig. 10 is only an example and should not bring any limitation to the function and the scope of use of the embodiments of the present invention. As shown in fig. 10, the device 100 is in the form of a general purpose computing device. The components of the device 100 may include, but are not limited to: one or more processors or processing units 1001, a system memory 1002, and a bus 1003 that couples the various system components (including the system memory 1002 and the processing unit 1001).
Bus 1003 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 100 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 100 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 1002 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)1004 and/or cache memory 1005. The device 100 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 1006 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 10, commonly referred to as a "hard disk drive"). Although not shown in FIG. 10, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 1003 by one or more data media interfaces. System memory 1002 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 1008 having a set (at least one) of program modules 1007 may be stored, for example, in system memory 1002, such program modules 1007 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. Program modules 1007 generally perform functions and/or methods in the described embodiments of the invention.
Device 100 may also communicate with one or more external devices 1009 (e.g., keyboard, pointing device, display 1010, etc.), with one or more devices that enable a user to interact with the device, and/or with any devices (e.g., network card, modem, etc.) that enable device 100 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 1011. Also, the device 100 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 1012. As shown in FIG. 10, the network adapter 1012 communicates with the other modules of the device 100 via the bus 1003. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the device 100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others. For example, if the device 100 is configured in a block link node device, the implementation method of the application management service according to any of the first embodiment and the fifth embodiment of the present invention is implemented; if the device 100 is configured in the application management server device, implementing any implementation method of the application management service described in the second and fifth embodiments of the present invention; if the device 100 is configured in an application program supervisor device, implementing any implementation method of the application management service described in the third and fifth embodiments of the present invention; if the device 100 is configured in the application management client device, the method for implementing any application management service described in the fourth embodiment and the fifth embodiment of the present invention is implemented.
EXAMPLE eleven
An eleventh embodiment of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the computer program, when executed by a processor, is configured to perform any one of the above implementation methods for an application management service.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (17)

1. A method for implementing application management service is applied to a blockchain node, and the method comprises the following steps:
receiving an application fingerprint uploading transaction request initiated by an application management server side to an application program, and storing the request in a block chain network, wherein the application fingerprint is a data fingerprint of the application program;
receiving an authentication transaction request of the application program, which is initiated by an application program supervisor according to the authentication information of the application program, and storing the authentication information in a blockchain network, wherein the application program is deployed at an application management server and is downloaded by a user through an application management client; the authentication information is generated for the application program when the application program monitor authorizes the application management client to download the application program; the authentication information includes at least: the identification of the authenticated application program, the identification of the authentication personnel of the application program supervisor and the authentication time;
and receiving a verification transaction request of an application program initiated by the application management client, verifying and feeding back the verification transaction request in the block chain network.
2. The method of claim 1, wherein receiving an application fingerprint upload transaction request initiated by an application management server to an application program, while storing in the blockchain network, further comprises:
and in the process of executing the application fingerprint uploading transaction request, calling an intelligent contract to generate an authentication notice, and sending the authentication notice to the application program manager to instruct the application program manager to generate the authentication transaction request according to the authentication notice.
3. The method of claim 2, wherein sending to the application supervisor comprises:
and sending the authentication notification to one or more application program monitoring parties according to the indication carried in the application fingerprint uploading transaction request or the preset indication in the intelligent contract.
4. The method of claim 1, wherein receiving a request for a check transaction of an application program initiated by an application management client, and wherein performing validation and feedback in the blockchain network comprises:
receiving an application authentication transaction request of the application program to be downloaded initiated by the application management client, and feeding back an authentication result of the application program to be downloaded to the application management client according to authentication information recorded in the block chain; and/or
And receiving a fingerprint verification transaction request of the downloaded application program initiated by the application management client, and feeding back a fingerprint verification result of the downloaded application program to the application management client according to the fingerprint information recorded in the block chain.
5. The method of claim 1, wherein the application management client is application management software customized at the application management server for the application administrator; the application management client is installed in an operating system of the vehicle-mounted terminal.
6. A method for implementing application management service is applied to an application management server, and the method comprises the following steps:
acquiring an application program from an application program provider, and acquiring a data fingerprint of the application program as an application fingerprint;
initiating an application fingerprint uploading transaction request to a block chain network, and storing the transaction request in an uplink; wherein, the application fingerprint and the authentication information are stored in an associated manner; the authentication information is generated for the application program when the application program monitor authorizes the application management client to download the application program; the authentication information includes at least: the identification of the authenticated application program, the identification of the authentication personnel of the application program supervisor and the authentication time;
and providing the downloading service of the application program according to the downloading request of the application management client.
7. An implementation method of an application management service is applied to an application program manager, and the method comprises the following steps:
receiving an authentication notification sent by a block chain node; the authentication notification is generated by calling an intelligent contract when the block chain node executes the application fingerprint uploading transaction request;
authenticating whether an application program of an application management server side authorizes an application management client side to download the application program or not to obtain authentication information of the application program; wherein the authentication information at least includes: the identification of the authenticated application program, the identification of the authentication personnel of the application program supervisor and the authentication time;
and initiating an authentication transaction request to the block chain network according to the authentication information, and storing the authentication transaction request in an uplink.
8. The method of claim 7, wherein before authenticating whether the application program of the application management server is authorized to be downloaded by the application management client, the method further comprises:
and triggering the authentication operation when the preset authentication period is reached.
9. A method for implementing application management service is applied to an application management client, and the method comprises the following steps:
when an application program downloading requirement is generated, generating a verification transaction request of the application program to be downloaded, and sending the verification transaction request to the block chain network to obtain a feedback verification result; the verification transaction request is used for requesting a blockchain network to verify whether the application program to be downloaded is an application program which is authenticated by the application program supervisor based on authentication information; the authentication information is generated for the application program when the application program monitor authorizes the application management client to download the application program; the authentication information includes at least: the identification of the authenticated application program, the identification of the authentication personnel of the application program supervisor and the authentication time;
and if the verification result is that the application program passes the verification result, downloading and installing the application program to be downloaded from the application management server side.
10. The method according to claim 9, wherein when an application program downloading requirement is generated, a verification transaction request of the application program to be downloaded is generated and sent to the blockchain network, a feedback verification result is obtained, and if the verification result is passed, the downloading and installing operation of the application program to be downloaded from the application management server side includes:
when an application program downloading requirement is generated, an application authentication transaction request of the application program to be downloaded is generated and sent to the block chain network, and a feedback authentication result is obtained;
if the authentication result is passed, downloading the application program to be downloaded from the application management server;
calculating a data fingerprint according to the downloaded application program as an application fingerprint;
initiating a fingerprint verification transaction request according to the application fingerprint, and sending the fingerprint verification transaction request to a block chain network to obtain a feedback verification result;
and if the verification is successful, installing the application program.
11. The method according to claim 10, wherein when the application program downloading requirement is generated, an application authentication transaction request of the application program to be downloaded is generated and sent to the blockchain network, and the obtaining of the fed-back authentication result comprises:
when the application program downloading requirement is generated, one or more application program monitoring parties to which the application program monitoring parties belong generate application authentication transaction requests of the application program to be downloaded according to the local application program monitoring party, and the application authentication transaction requests are sent to the block chain network to obtain the fed-back authentication result.
12. An apparatus for implementing application management service, configured at a blockchain node, the apparatus comprising:
the fingerprint request processing module is used for receiving an application fingerprint uploading transaction request initiated by an application management server side to an application program and storing the transaction request in a block chain network, wherein the application fingerprint is a data fingerprint of the application program;
the authentication request processing module is used for receiving an authentication transaction request of the application program initiated by an application program supervisor according to the authentication information of the application program, storing the authentication information in a block chain network, and enabling the application program to be deployed at an application management server side for a user to download through an application management client side; the authentication information is generated for the application program when the application program monitor authorizes the application management client to download the application program; the authentication information includes at least: the identification of the authenticated application program, the identification of the authentication personnel of the application program supervisor and the authentication time;
and the verification request processing module is used for receiving a verification transaction request of the application program initiated by the application management client, verifying the request in the block chain network and feeding back the request.
13. An apparatus for implementing an application management service, configured at an application management server, the apparatus comprising:
the acquisition module is used for acquiring an application program from an application program provider and acquiring a data fingerprint of the application program as an application fingerprint;
the fingerprint request initiating module is used for initiating an application fingerprint uploading transaction request to the blockchain network and storing the transaction request in an uplink; wherein, the application fingerprint and the authentication information are stored in an associated manner; the authentication information is generated for the application program when the application program monitor authorizes the application management client to download the application program; the authentication information includes at least: the identification of the authenticated application program, the identification of the authentication personnel of the application program supervisor and the authentication time;
and the download service providing module is used for providing download service of the application program according to the download request of the application management client.
14. An apparatus for implementing an application management service, configured on an application program manager side, the apparatus comprising:
the program authentication module is used for receiving an authentication notification sent by the block chain node; the authentication notification is generated by calling an intelligent contract when the block chain node executes the application fingerprint uploading transaction request; authenticating whether an application program of an application management server side authorizes an application management client side to download the application program or not to obtain authentication information of the application program; wherein the authentication information at least includes: the identification of the authenticated application program, the identification of the authentication personnel of the application program supervisor and the authentication time;
and the authentication request initiating module is used for initiating an authentication transaction request to the block chain network according to the authentication information and storing the authentication transaction request in an uplink.
15. An apparatus for implementing an application management service, configured at an application management client, the apparatus comprising:
the authentication request operation module is used for generating a verification transaction request of the application program to be downloaded when the application program downloading requirement is generated, and sending the verification transaction request to the block chain network to acquire a feedback verification result; the verification transaction request is used for requesting a blockchain network to verify whether the application program to be downloaded is an application program which is authenticated by the application program supervisor based on authentication information; the authentication information is generated for the application program when the application program monitor authorizes the application management client to download the application program; the authentication information includes at least: the identification of the authenticated application program, the identification of the authentication personnel of the application program supervisor and the authentication time;
and the program downloading and installing module is used for downloading and installing the application program to be downloaded from the application management server side if the verification result is that the application program passes the verification result.
16. An electronic device, characterized in that the device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method for implementing an application management service as recited in any of claims 1-5, 6, 7-8, or 9-11.
17. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of carrying out an application management service according to any one of claims 1 to 5, 6, 7 to 8 or 9 to 11.
CN201910234744.2A 2019-03-26 2019-03-26 Method, device, equipment and storage medium for implementing application management service Active CN109948330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910234744.2A CN109948330B (en) 2019-03-26 2019-03-26 Method, device, equipment and storage medium for implementing application management service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910234744.2A CN109948330B (en) 2019-03-26 2019-03-26 Method, device, equipment and storage medium for implementing application management service

Publications (2)

Publication Number Publication Date
CN109948330A CN109948330A (en) 2019-06-28
CN109948330B true CN109948330B (en) 2022-01-11

Family

ID=67011755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910234744.2A Active CN109948330B (en) 2019-03-26 2019-03-26 Method, device, equipment and storage medium for implementing application management service

Country Status (1)

Country Link
CN (1) CN109948330B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338906B (en) * 2020-03-06 2021-09-17 清华大学 Terminal equipment, edge node and block chain-based application supervision method and system
CN111478956B (en) * 2020-04-01 2023-05-09 百度在线网络技术(北京)有限公司 Deployment and preview method and device of small program package
CN111858761A (en) * 2020-07-15 2020-10-30 杭州增信信息技术有限公司 Distributed application system and method based on block chain technology

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077557A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 The method and device that software application is issued and verified
CN108881104A (en) * 2017-05-08 2018-11-23 中国移动通信有限公司研究院 The method and apparatus that a kind of pair of application program is verified

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160371771A1 (en) * 2015-06-16 2016-12-22 BitPagos, Inc. Loan processing service utilizing a distributed ledger digital asset
CN109462472A (en) * 2017-09-06 2019-03-12 阿里巴巴集团控股有限公司 The methods, devices and systems of data encryption and decryption
CN108304696A (en) * 2018-03-12 2018-07-20 黄君 Method for protecting software based on block chain and security system for software
CN108665253A (en) * 2018-05-18 2018-10-16 百度在线网络技术(北京)有限公司 A kind of data processing method, device, equipment and the storage medium of block chain network
CN108964892B (en) * 2018-06-25 2019-07-26 北京迪曼森科技有限公司 Generation method, application method, management system and the application system of trusted application mark

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077557A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 The method and device that software application is issued and verified
CN108881104A (en) * 2017-05-08 2018-11-23 中国移动通信有限公司研究院 The method and apparatus that a kind of pair of application program is verified

Also Published As

Publication number Publication date
CN109948330A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
US11930426B2 (en) Providing access to applications with varying enrollment levels
JP4902636B2 (en) Method and system for preventing software piracy in a corporate environment using machine attributes
CN109948330B (en) Method, device, equipment and storage medium for implementing application management service
CN110995781B (en) Praise information processing method, device and system
CN108418787B (en) Method for acquiring enterprise resource planning data, terminal device and medium
CN108900559A (en) Management method, device, computer equipment and the storage medium of logging on authentication
KR101832535B1 (en) Trustworthy device claims as a service
US9235840B2 (en) Electronic transaction notification system and method
CN112494934A (en) Cloud game data processing method, device, equipment and storage medium
CN111490981A (en) Access management method and device, bastion machine and readable storage medium
JP2011215753A (en) Authentication system and authentication method
JP5326557B2 (en) Resource distribution system
EP3714388A1 (en) Authentication token in manifest files of recurring processes
CN109325363A (en) Management method, device, computer equipment and the storage medium of authority information
EP3195551B1 (en) Method and system for managing fine-grained policies for requiring user approval of device management operations
CN115102840A (en) Cloud service operation and maintenance management method and system
US20150296051A1 (en) Methods, remote access systems, client computing devices, and server devices for use in remote access systems
CN110351719B (en) Wireless network management method, system, electronic equipment and storage medium
US20210157949A1 (en) Event data tagged with consent records
US20230350985A1 (en) Device Disabled Until Claimed
CN110310118B (en) User information verification method, device, equipment and medium based on block chain
CN112464225A (en) Request processing method, request processing device and computer readable storage medium
CN112543194A (en) Mobile terminal login method and device, computer equipment and storage medium
CN111324872A (en) Method and system for redirected centralized audit of login records and operation records
KR102393537B1 (en) Method and system for managing software license based on trusted execution environment

Legal Events

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