CN111400769A - Method, device and equipment for sending running state information of rented equipment - Google Patents

Method, device and equipment for sending running state information of rented equipment Download PDF

Info

Publication number
CN111400769A
CN111400769A CN202010476408.1A CN202010476408A CN111400769A CN 111400769 A CN111400769 A CN 111400769A CN 202010476408 A CN202010476408 A CN 202010476408A CN 111400769 A CN111400769 A CN 111400769A
Authority
CN
China
Prior art keywords
rented
equipment
information
state information
running state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010476408.1A
Other languages
Chinese (zh)
Inventor
韩喆
黄琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010476408.1A priority Critical patent/CN111400769A/en
Publication of CN111400769A publication Critical patent/CN111400769A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Bioethics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Finance (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the specification discloses a method, a device and equipment for sending running state information of leased equipment, wherein the scheme comprises the following steps: when the current time information meets the preset time triggering condition, the rented equipment can adopt a private key stored in a security system of the rented equipment to digitally sign the running state information of the rented equipment; and uploading the digitally signed running state information to node equipment in the block chain network.

Description

Method, device and equipment for sending running state information of rented equipment
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a method, an apparatus, and a device for sending running state information of a rented device.
Background
With the rapid development of economy, the leasing industry also has come to a wider development opportunity. The renter can provide the rentable equipment for the user and provide services such as maintenance guarantee and the like for the rentable equipment. And the user can use the rentable equipment only by paying a small amount of rental fee to the renter, so that the requirement of the user on the light assets can be met.
At present, after rentable equipment is rented to a user by a renter, the operating state of the rented equipment cannot be monitored generally, and therefore risk control over the rented equipment is not facilitated.
Therefore, how to obtain the running state information with high credibility of the leased equipment becomes a technical problem to be solved urgently.
Disclosure of Invention
The method, the device and the equipment for sending the running state information of the rented equipment can acquire the running state information with high credibility of the rented equipment.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
an embodiment of the present specification provides a method for sending operating status information of a leased device, including:
acquiring current time information;
if the current time information meets the preset time trigger condition, acquiring the running state information of the rented equipment;
digitally signing the operating state information with a private key stored in a security system of the leased device;
and uploading the digitally signed running state information to node equipment in the block chain network.
The analysis method for the use process of the rented equipment provided by the embodiment of the specification comprises the following steps:
acquiring running state information of leased equipment stored in a block chain network; the running state information is uploaded to the block chain network by the rented equipment by adopting the method for sending the running state information of the rented equipment;
and analyzing the use process of the rented equipment based on the running state information.
An apparatus for sending operating status information of a leased device provided by an embodiment of this specification includes:
the first acquisition module is used for acquiring current time information;
the second acquisition module is used for acquiring the running state information of the rented equipment if the current time information meets the preset time trigger condition;
the digital signature module is used for digitally signing the running state information by adopting a private key stored in the security system of the rented equipment;
and the uploading module is used for uploading the digitally signed running state information to node equipment in the block chain network.
The analysis device for the use process of the rented equipment provided by the embodiment of the specification comprises:
the acquisition module is used for acquiring the running state information of the rented equipment stored in the block chain network; the running state information is uploaded to the block chain network by the rented equipment by adopting the method for sending the running state information of the rented equipment;
and the analysis module is used for analyzing the use process of the rented equipment based on the running state information.
An embodiment of this specification provides a device for sending operating status information of a leased device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring current time information;
if the current time information meets the preset time trigger condition, acquiring the running state information of the rented equipment;
digitally signing the operating state information with a private key stored in a security system of the leased device;
and uploading the digitally signed running state information to node equipment in the block chain network.
The embodiment of the specification provides an analysis device for the use process of a rented device, which comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring running state information of leased equipment stored in a block chain network; the running state information is uploaded to the block chain network by the rented equipment by adopting the method for sending the running state information of the rented equipment;
and analyzing the use process of the rented equipment based on the running state information.
At least one embodiment in this specification can achieve the following advantageous effects:
when the current time information meets the preset time triggering condition, the rented equipment can adopt a private key stored in a security system of the rented equipment to digitally sign the running state information of the rented equipment; and uploading the digitally signed running state information to node equipment in the block chain network. The security and reliability of the private key in the security system of the leased equipment are high, so that the credibility of the running state information after digital signature can be ensured. And the data stored in the blockchain network has the tamper-proof characteristic, so that the high reliability of the running state information of the rented equipment acquired from the blockchain network subsequently can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flowchart of an overall scheme of a method for sending operation status information of a leased device according to an embodiment of the present specification;
fig. 2 is a schematic flow chart of a method for sending operating status information of a leased device according to an embodiment of the present specification;
FIG. 3 is a flowchart illustrating a method for analyzing a usage process of a leased device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a sending apparatus for operation status information of a leased device corresponding to fig. 2 provided in an embodiment of the present specification;
FIG. 5 is a schematic structural diagram of an analysis apparatus corresponding to FIG. 3 for a use process of a rented device according to an embodiment of the present specification;
fig. 6 is a schematic structural diagram of a sending device corresponding to the operation status information of a leased device in fig. 2 and an analysis device corresponding to a usage process of the leased device in fig. 3 according to an embodiment of the present specification.
Detailed Description
To make the objects, technical solutions and advantages of one or more embodiments of the present disclosure more apparent, the technical solutions of one or more embodiments of the present disclosure will be described in detail and completely with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present specification, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from the embodiments given herein without making any creative effort fall within the protection scope of one or more embodiments of the present disclosure.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
In the prior art, a renter is a party who delivers rented objects to a renter for use in a renting contract and obtains earnings. The lessee is the party who uses the leased object in the lease contract and pays the lease money to the lessor according to the contract. In many device rental scenarios, the renter wants to know the operating status and usage of the rented device to prevent the renter from damaging the rented device during usage. However, at present, a renter usually adopts a mode of manually reporting the running state information of the rented equipment by a renter to obtain the running state information of the rented equipment. The operating state information of the leased device acquired based on this way has poor credibility.
Therefore, how to obtain the running state information with high credibility of the leased equipment becomes a technical problem to be solved urgently.
In order to solve the defects in the prior art, the scheme provides the following embodiments:
fig. 1 is a schematic flowchart of an overall scheme of a method for sending operation status information of a leased device according to an embodiment of the present disclosure. As shown in fig. 1:
the renter can provide various rentable equipment such as a computer, a smart phone and the like. A first user (lessee) 101 has a first leased device 103 leased from a lessor and a second user (lessee) 102 has a second leased device 104 leased from a lessor. The first leased device 103 and the second leased device 104 are provided with security systems, so that the first leased device 103 and the second leased device 104 can digitally sign their own operating state information by using a private key stored in their security systems, and upload the digitally signed operating state information to node devices (e.g., the first node device 106, the second node device 107, the third node device 108, etc.) in the block chain network 105.
Next, a method for sending operation status information of a rented device according to an embodiment of the present disclosure will be described in detail with reference to the accompanying drawings:
fig. 2 is a flowchart illustrating a method for sending operation status information of a leased device according to an embodiment of the present specification. From the program perspective, the execution subject of the flow may be the rented device or the program loaded in the rented device.
As shown in fig. 2, the process may include the following steps:
step 202: and acquiring current time information.
In the embodiment of the present specification, a rented device is a device which is rented by a renter from a renter to obtain a use right. The rented device may be various, for example, a computer, a physical server, a cloud server, an industrial production device, a vehicle, etc., which is not particularly limited.
In the embodiment of the present specification, the current time information acquired by the rented device may be information for determining the current time. In practical applications, a clock system may be configured in the leased device so as to obtain the current time information by using the clock system. Or, the rented equipment can also obtain current time information with high accuracy based on the synchronous time service provided by the GPS clock server. In the embodiments of the present specification, the manner of acquiring the current time information is not particularly limited.
Step 204: and if the current time information meets the preset time trigger condition, acquiring the running state information of the rented equipment.
In this embodiment of the present specification, the rented device may determine whether current time information meets a preset time trigger condition, if so, a subsequent reporting process of the operation state information of the rented device may be executed, and if not, the operation state information of the rented device may not be temporarily collected and reported until the preset time trigger condition is met, and then the reporting process of the operation state information of the rented device is executed. Of course, the rented device may also obtain the running state information of the rented device in real time and report the running state information, but this way consumes a large amount of device resources.
Specifically, the rented device may determine whether a time interval between a current time indicated by the current time information and a time at which the operation state information is last reported reaches a set period duration; if so, it may be determined that the current time information satisfies a preset time trigger condition. If not, determining that the current time information does not meet the preset time triggering condition. Therefore, the leased equipment periodically uploads the equipment state information to the blockchain network.
In practical applications, the cycle durations of different setting periods may be the same or different. For example, the set period duration may be set according to the production rule of the tenant, for example, the set period duration may be 1 hour from monday to friday, that is, the running state information of the rented device is reported every 1 hour. On saturday and sunday, the set period duration can be set to 2 hours, that is, the running state information of the rented equipment is reported every 2 hours.
Alternatively, the set period duration for the rented devices rented by the respective lessees may be determined according to the reliability evaluation level of the lessee with respect to the lessee. For example, the set period duration for rented devices rented by a lessee with higher reliability may be set to a larger value, for example, 2 hours. And the set period duration for the rented devices rented by the less reliable lessee may be set to a small value, for example, 1 hour or the like. In the embodiment of the present specification, the setting mode of the set period duration is not specifically limited, and the user may set the setting mode according to actual requirements.
Step 206: digitally signing the operating state information with a private key stored in a security system of the leased device.
In the embodiment of the present specification, a security system may be installed in the rented device. The security system may be implemented by hardware, software, or a combination of hardware and software, which is not particularly limited. For example, the security system may include: secure element SE (secure element), trusted Execution environment TEE (trusted Execution environment), or trusted Execution environment TEE in secure element SE.
The security element SE is usually provided in the form of a chip. To prevent external malicious analysis attacks and to protect data security, an encryption/decryption logic is usually provided in the secure element SE. The trusted execution environment TEE is an execution environment for executing trusted computing, independent of the device operating system. The trusted execution environment TEE in the secure element SE element may then refer to the trusted execution environment deployed within the secure element.
In the embodiment of the present specification, the security system in the rented device has a key generation interface api (application Programming interface). The rented device calls the Key generation interface to enable the Key generation interface to generate a Public Key (Public Key) and a Private Key (Private Key) in a pair, wherein the Private Key can be stored in the security system to be used for digitally signing the running state information of the rented device, and the Public Key can be sent to the target device so that the target device can verify the running state information of the rented device after digital signature.
In this embodiment, step 206 may specifically include: and calling a digital signature interface API of the security system, and sending the running state information of the rented equipment as a parameter to the security system so as to digitally sign the running state information of the rented equipment by using a private key stored in the security system. The running state information after digital signature can be generated in the safety system, so that the reliability is high.
Step 208: and uploading the digitally signed running state information to node equipment in the block chain network.
In the embodiment of the present specification, since the data stored in the blockchain network has the tamper-resistant characteristic, the operation state information of the leased device may be stored to the node device in the blockchain network, so as to ensure the reliability of the operation state information of the leased device.
In practical application, the digitally signed operating state information may be uploaded to the node device in the blockchain network by the security system of the rented device. Alternatively, the security system of the rented device may send the digitally signed running state information to the operating system of the rented device, so as to upload the running state information to the node device in the blockchain network based on the operating system. This is not particularly limited.
In an embodiment of the present specification, a Smart contract (Smart contract) is a computer protocol intended to propagate, verify, or execute contracts in an informational manner. The intelligent contract runs on the block chain network and can automatically execute the protocol according to preset conditions.
Thus, data communication processes between leased devices and the blockchain network may be managed based on intelligent contracts. Specifically, the heartbeat information to be reported by the leased device can be specified through the intelligent contract, and the heartbeat information includes the running state information of the leased device, and the reporting frequency and the storage address of the heartbeat information reported by the leased device are specified through the intelligent contract. The rented equipment can send the running state information after digital signature as heartbeat information to the node equipment of the block chain network for storage according to the intelligent contract.
In this embodiment of the present specification, a node device in the block chain network needs to obtain a public key corresponding to a private key that digitally signs operation state information of a rented device, so that the digitally signed operation state information can be verified by using the public key, and if the verification passes, it can be indicated that the operation state information of the rented device uploaded to the node device in the block chain network is not tampered, and therefore, the node device in the block chain network can store the operation state information of the rented device. If the verification fails, it may indicate that the operation state information of the leased device uploaded to the node device in the blockchain network is tampered, and therefore, the node device in the blockchain network may refuse to store the operation state information of the leased device.
Thus, the method in fig. 2 may further include:
invoking a key generation interface of the security system. Obtaining a public key corresponding to the private key fed back by the key generation interface; the private key is stored within the secure system. And sending the public key to the block chain network so that the node equipment of the block chain network stores the running state information of the rented equipment after the running state information digitally signed by the public key passes verification.
In practical application, the rented equipment can be rented by different users, and after the rented equipment is rented by a new user, the public key and the private key corresponding to the rented equipment can be updated, so that interference between running state information generated when different users rent the equipment is avoided.
Thus, the method in fig. 2 may further include:
invoking a key generation interface of the security system when the rented device is rented by a new user.
Acquiring a new public key fed back by the key generation interface; a private key corresponding to the new public key is stored within the secure system, and the private key corresponding to the new public key can be used to digitally sign current operating state information of the leased device.
And sending the new public key to the block chain network so that the node equipment of the block chain network verifies the running state information digitally signed by using the private key corresponding to the new public key by using the new public key, and stores the running state information after the verification is passed, thereby ensuring that the running state information stored in the rented equipment of the block chain network is not tampered.
In practical application, when the number of node devices in the blockchain network is smaller than a threshold value, the rented device may send the digitally signed operation state information to each node device in the blockchain network, so as to quickly store the digitally signed operation state information at each node device in the blockchain network. When the number of the node devices in the blockchain network is greater than or equal to the threshold, the rented device may send the digitally signed operation state information to only some of the node devices in the blockchain network, and based on the blockchain consensus mechanism, the remaining node devices may obtain the digitally signed operation state information from other node devices, so as to reduce resource consumption of the rented device.
It should be understood that the order of some steps in the method described in one or more embodiments of the present disclosure may be interchanged according to actual needs, or some steps may be omitted or deleted.
The method of fig. 2 digitally signs the operating status information of a leased device by using a private key in the secure system of the leased device; and uploading the digitally signed running state information to node equipment in the block chain network, so that the node equipment in the block chain network verifies the digitally signed running state information by using a public key corresponding to the private key and then stores the running state information. Therefore, the running state information uploaded to the node equipment in the block chain network can be guaranteed not to be tampered in the uploading process and the storing process, and high reliability of the running state information of the rented equipment acquired from the block chain network subsequently can be guaranteed.
Based on the method of fig. 2, the present specification also provides some specific embodiments of the method, which are described below.
In the embodiment of the present specification, for a scenario that requires an external rental device, since some devices have application scenario restrictions, for example, the devices are not allowed to be used abroad, and the like, a location of the devices needs to be monitored. And part of the devices have application process limitations, for example, CPU overload operation is not allowed, and therefore load information of the devices needs to be monitored.
So that step 204: the obtaining of the operation state information of the rented equipment may specifically include:
load information of the rented equipment is acquired.
Or, obtaining location information of the rented device.
Or acquiring the load information of the rented equipment and acquiring the position information of the rented equipment.
In this embodiment, the obtaining of the operating status information of the rented device may further include: the on-time, off-time, standby time, etc. of the leased device so that the average actual usage duration of the leased device can be determined.
In practical application, the obtained running state information of the rented equipment can be used as data for quantitatively analyzing the operating conditions of the renter and the lessee. For example, determining that the usage rate of the device is greater than the threshold value based on the operating status information of the rented device may indicate that the operation of the renter is stable, or may indicate that the renter actually rents the rented device without counterfeiting. Therefore, new dimension data with high reliability are provided for the third-party enterprise to analyze the operation conditions of the renters and the lessees.
The obtaining of the location information of the rented device may specifically include:
reading the network address of the leased device through a specific interface of the network card of the leased device so as to determine the location information of the leased device based on the network address.
In embodiments of the present description, a network card may refer to computer hardware designed to allow a computer to communicate over a computer network. The network Address may include a MAC Address (Media Access Control Address), an IP Address (Internet protocol Address), and the like. The network address of the rented equipment is prevented from being tampered by reading the network address of the rented equipment from the specific interface of the network card of the rented equipment, so that the reliability of the determined position of the rented equipment is improved.
The obtaining of the load information of the rented device may specifically include:
reading the working state parameters of the CPU of the leased device through a specific interface of the CPU.
And determining the average utilization rate of the CPU of the leased equipment in the last period based on the working state parameter.
Based on the operating state parameter, an average IO (input/output) speed of a CPU of the leased device over a last period is determined.
In the embodiment of the specification, the operating state parameters of the CPU of the leased device are prevented from being tampered by reading the operating state parameters of the CPU from the specific interface of the CPU of the leased device, so that the determined average utilization rate and the determined average IO (input/output) speed of the CPU of the leased device are improved.
In this specification embodiment, a renter may set an intelligent contract in a block chain network according to actual needs to manage and control rented equipment.
Specifically, the method in fig. 2 may further include:
the leased device pulls configuration information from the intelligent contract in the blockchain network.
And updating the information type contained in the running state information based on the configuration information.
In this embodiment, the rented device may obtain the operating state information corresponding to the information type according to the information type indicated by the configuration information pulled from the intelligent contract in the blockchain network, and upload the operating state information to the blockchain network, which is convenient and fast.
The method in fig. 2 may further include:
the leased device pulls configuration information from the intelligent contract in the blockchain network.
And updating the preset time trigger condition based on the configuration information.
In the embodiment of the present specification, the rented device may determine whether to execute the operation state information acquisition and upload process according to a preset time trigger condition after update indicated by configuration information pulled from the intelligent contract in the block chain network, which is convenient and fast.
The method in fig. 2 may further include:
the leased device pulls configuration information from the intelligent contract in the blockchain network.
And triggering the leased equipment to execute global killing operation based on the configuration information.
In this embodiment, the configuration information pulled from the intelligent contract in the block chain network may be used to instruct the rented device to perform a global checking and killing operation, so as to regularly clean trojan viruses, risk holes, and the like on the rented device, and ensure the safe operation of the rented device.
Based on the same idea, fig. 3 shows a flow chart of an analysis method for the usage process of a rented device provided in the embodiment of the present specification. The execution subject of the method may include a third party device or a node device of a blockchain network.
As shown in fig. 3, the process may include the following steps:
step 302: acquiring running state information of leased equipment stored in a block chain network; the operation status information is uploaded to the blockchain network by the rented device by using a method for sending the operation status information of the rented device shown in fig. 2.
Step 304: and analyzing the use process of the rented equipment based on the running state information.
In this embodiment, because the operating state information of the rented device stored in the block chain network may be uploaded to the block chain network by the rented device by using the method shown in fig. 2 or the method shown in the embodiment of the method in fig. 2, so that the operating state information of the rented device stored in the block chain network has higher reliability, which is beneficial to improving the reliability of the use process of the rented device obtained based on the analysis of the operating state information.
In this illustrative embodiment, step 304: analyzing the using process of the rented equipment specifically comprises the following steps:
and judging whether the using process of the rented equipment meets the preset condition or not.
And if the preset condition is not met, generating prompt information for indicating that the use process of the rented equipment is illegal.
Wherein, the judging whether the using process of the rented equipment meets the preset condition specifically may include:
and judging whether the position information of the rented equipment is in a preset position range in the using process.
And judging whether the load index of the rented equipment is in a preset load index range in the using process.
In the embodiment of the specification, whether the rented equipment is located in a specified range or not can be determined based on the operation state information of the rented equipment, and whether the rented equipment is used destructively (for example, bitcoin mining is carried out by the rented equipment, and the like) is determined, so that the renter can control the use process of the rented equipment.
Based on the same idea, the embodiment of the present specification further provides an apparatus corresponding to the method in fig. 2. Fig. 4 is a schematic structural diagram of a device for sending operating status information of a leased equipment, which corresponds to the method in fig. 2, according to an embodiment of the present specification. As shown in fig. 4, the apparatus may include:
a first obtaining module 402, configured to obtain current time information.
A second obtaining module 404, configured to obtain the running state information of the rented device if the current time information meets a preset time trigger condition.
A digital signature module 406, configured to digitally sign the operating state information by using a private key stored in the security system of the rented device.
An uploading module 408, configured to upload the digitally signed running state information to a node device in the blockchain network.
The examples of this specification also provide some specific embodiments of the apparatus based on the apparatus of fig. 4, which is described below.
Optionally, in the apparatus shown in fig. 4, the second obtaining module 404 may be specifically configured to:
load information of the rented equipment is acquired.
Or, obtaining location information of the rented device.
Or acquiring the load information of the rented equipment and acquiring the position information of the rented equipment.
The obtaining of the load information of the rented device may specifically include:
reading the working state parameters of the CPU of the leased device through a specific interface of the CPU.
And determining the average utilization rate of the CPU of the leased equipment in the last period based on the working state parameter.
Determining an average IO speed of a CPU of the leased device over a last period based on the operating state parameter.
The obtaining of the location information of the rented device may specifically include:
reading the network address of the leased device through a specific interface of the network card of the leased device so as to determine the location information of the leased device based on the network address.
Optionally, the apparatus in fig. 4 may further include:
and the judging module is used for judging whether the time interval between the current moment and the moment of reporting the running state information at the latest time reaches the set period duration or not.
And the determining module is used for determining that the current time information meets the preset time triggering condition when the time interval between the current time and the latest time for reporting the running state information reaches the set period time.
Optionally, the apparatus in fig. 4, the security system specifically includes:
a security element; or, a trusted execution environment; or, a trusted execution environment in the secure element.
Optionally, the apparatus in fig. 4 may further include:
and the interface calling module is used for calling the key generation interface of the security system.
The third obtaining module is used for obtaining a public key corresponding to the private key fed back by the key generating interface; the private key is stored within the secure system.
And the sending module is used for sending the public key to the block chain network.
Alternatively, the device described in figure 4,
the interface calling module can be further used for: invoking a key generation interface of the security system when the rented device is rented by a new user.
A new public key obtaining module, configured to obtain a new public key fed back by the key generation interface; a private key corresponding to the new public key is stored within the secure system.
And the new public key sending module is used for sending the new public key to the block chain network.
Optionally, the apparatus in fig. 4 may further include:
and the first configuration information pulling module is used for pulling configuration information from the intelligent contract in the block chain network.
And the first updating module is used for updating the information type contained in the running state information based on the configuration information.
Optionally, the apparatus in fig. 4 may further include:
and the second configuration information pulling module is used for pulling the configuration information from the intelligent contract in the block chain network.
And the second updating module is used for updating the preset time trigger condition based on the configuration information.
Optionally, the apparatus in fig. 4 may further include:
and the third configuration information pulling module is used for pulling the configuration information from the intelligent contract in the block chain network.
And the global killing operation triggering module is used for triggering the rented equipment to execute global killing operation based on the configuration information.
Based on the same idea, the embodiment of the present specification further provides an apparatus corresponding to the method in fig. 3. Fig. 5 is a schematic structural diagram of an analysis apparatus for a use process of a rented device, corresponding to the method in fig. 3, provided in an embodiment of the present specification. As shown in fig. 5, the apparatus may include:
an obtaining module 502, configured to obtain running state information of a rented device stored in a blockchain network; the operational status information is uploaded to the blockchain network by the rented device using the method described in fig. 2.
An analyzing module 504, configured to analyze a usage process of the rented device based on the operation status information.
The examples of this specification also provide some specific embodiments of the apparatus based on the apparatus of fig. 5, which is described below.
Optionally, in the apparatus shown in fig. 5, the analysis module 504 may specifically include:
and the judging unit is used for judging whether the using process of the rented equipment meets the preset condition or not.
And the prompt information generating unit is used for generating prompt information for indicating that the using process of the rented equipment is violated if the using process of the rented equipment does not meet the preset condition.
The determining unit may be specifically configured to:
judging whether the position information of the rented equipment is within a preset position range in the using process; and/or the presence of a gas in the gas,
and judging whether the load index of the rented equipment is in a preset load index range in the using process.
Based on the same idea, the embodiment of the present specification further provides a device for sending the operating state information of the rented device corresponding to the method in fig. 2, and a device for analyzing the usage process of the rented device corresponding to the method in fig. 3.
Fig. 6 is a schematic structural diagram of a sending device of the operation state information of a rented device or an analysis device of the use process of the rented device provided by the embodiment of the present specification.
As shown in fig. 6, the apparatus 600 may include:
at least one processor 610; and the number of the first and second groups,
a memory 630 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 630 stores instructions 620 that are executable by the at least one processor 610.
When the device of fig. 6 is a transmitting device for operational status information of a leased device corresponding to the method of fig. 2, the instructions 620 are executable by the at least one processor 610 to enable the at least one processor 610 to:
and acquiring current time information.
And if the current time information meets the preset time trigger condition, acquiring the running state information of the rented equipment.
Digitally signing the operating state information with a private key stored in a security system of the leased device.
And uploading the digitally signed running state information to node equipment in the block chain network.
When the device of fig. 6 is used as an analysis device for a usage process of a leased device corresponding to the method of fig. 3, the instructions 620 may be executed by the at least one processor 610 to enable the at least one processor 610 to:
acquiring running state information of leased equipment stored in a block chain network; the operational status information is uploaded to the blockchain network by the rented device using the method described in fig. 2.
And analyzing the use process of the rented equipment based on the running state information.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for a sending device of the operation status information of the rented device and an analyzing device of the use process of the rented device, the description is simple because it is basically similar to the method embodiment, and the relevant points can be referred to the partial description of the method embodiment.
In the 90 th generation of 20 th century, it is obvious that improvements in Hardware (for example, improvements in Circuit structures such as diodes, transistors and switches) or software (for improvement in method flow) can be distinguished for a technical improvement, however, as technology develops, many of the improvements in method flow today can be regarded as direct improvements in Hardware Circuit structures, designers almost all obtain corresponding Hardware Circuit structures by Programming the improved method flow into Hardware circuits, and therefore, it cannot be said that an improvement in method flow cannot be realized by Hardware entity modules, for example, Programmable logic devices (Programmable logic devices L organic devices, P L D) (for example, Field Programmable Gate Arrays (FPGAs) are integrated circuits whose logic functions are determined by user Programming of devices), and a digital character system is "integrated" on a piece of P L D without requiring a variety of integrated circuits manufactured and manufactured by a special purpose chip, and is easily written by designers using Hardware programs such as software programs such as Hardware programs, software programs, Hardware programs, software programs, Hardware programs, software, Hardware programs, software, Hardware, software, Hardware programs, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software, Hardware, software.
A controller may be implemented in any suitable manner, e.g., in the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers (PLC's) and embedded microcontrollers, examples of which include, but are not limited to, microcontrollers 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone L abs C8051F320, which may also be implemented as part of the control logic of a memory.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information which can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (24)

1. A method for transmitting operating status information of a leased device, comprising:
acquiring current time information;
if the current time information meets the preset time trigger condition, acquiring the running state information of the rented equipment;
digitally signing the operating state information with a private key stored in a security system of the leased device;
and uploading the digitally signed running state information to node equipment in the block chain network.
2. The method according to claim 1, wherein the acquiring of the operating state information of the rented device specifically comprises:
acquiring load information of the rented equipment;
or, acquiring the position information of the rented equipment;
or acquiring the load information of the rented equipment and acquiring the position information of the rented equipment.
3. The method according to claim 2, wherein the obtaining of the load information of the rented device specifically comprises:
reading the working state parameters of the CPU through a specific interface of the CPU of the leased equipment;
determining the average utilization rate of the CPU of the leased equipment in the last period based on the working state parameter;
determining an average IO speed of a CPU of the leased device over a last period based on the operating state parameter.
4. The method according to claim 2, wherein the acquiring of the location information of the rented device specifically comprises:
reading the network address of the leased device through a specific interface of the network card of the leased device so as to determine the location information of the leased device based on the network address.
5. The method of claim 1, after obtaining the current time information, further comprising:
judging whether the time interval between the current time and the time of the latest reported running state information reaches the set period duration or not;
if yes, determining that the current time information meets a preset time trigger condition.
6. The method according to claim 1, the security system, in particular comprising:
a security element;
or, a trusted execution environment;
or, a trusted execution environment in the secure element.
7. The method of claim 6, further comprising:
invoking a key generation interface of the security system;
obtaining a public key corresponding to the private key fed back by the key generation interface; the private key is stored within the secure system;
and sending the public key to the block chain network.
8. The method of claim 6, further comprising:
invoking a key generation interface of the security system when the rented device is rented by a new user;
acquiring a new public key fed back by the key generation interface; storing a private key corresponding to the new public key within the secure system;
and sending the new public key to the block chain network.
9. The method of claim 1, further comprising:
pulling configuration information from an intelligent contract in the block chain network;
and updating the information type contained in the running state information based on the configuration information.
10. The method of claim 1, further comprising:
pulling configuration information from an intelligent contract in the block chain network;
and updating the preset time trigger condition based on the configuration information.
11. The method of claim 1, further comprising:
pulling configuration information from an intelligent contract in the block chain network;
and triggering the leased equipment to execute global killing operation based on the configuration information.
12. A method of analyzing the usage of a leased device, comprising:
acquiring running state information of leased equipment stored in a block chain network; the operational status information is uploaded to the blockchain network by the rented device using the method of claim 1;
and analyzing the use process of the rented equipment based on the running state information.
13. The method according to claim 12, wherein analyzing the usage of the rented device specifically comprises:
judging whether the using process of the rented equipment meets a preset condition or not;
and if the preset condition is not met, generating prompt information for indicating that the use process of the rented equipment is illegal.
14. The method according to claim 13, wherein the determining whether the usage process of the rented device meets a preset condition specifically comprises:
and judging whether the position information of the rented equipment is in a preset position range in the using process.
15. The method according to claim 13, wherein the determining whether the usage process of the rented device meets a preset condition specifically comprises:
and judging whether the load index of the rented equipment is in a preset load index range in the using process.
16. A device for transmitting operating status information of a leased equipment, comprising:
the first acquisition module is used for acquiring current time information;
the second acquisition module is used for acquiring the running state information of the rented equipment if the current time information meets the preset time trigger condition;
the digital signature module is used for digitally signing the running state information by adopting a private key stored in the security system of the rented equipment;
and the uploading module is used for uploading the digitally signed running state information to node equipment in the block chain network.
17. The apparatus of claim 16, wherein the second obtaining module is specifically configured to:
acquiring load information of the rented equipment;
or, acquiring the position information of the rented equipment;
or acquiring the load information of the rented equipment and acquiring the position information of the rented equipment.
18. The apparatus of claim 16, the security system, comprising:
a security element;
or, a trusted execution environment;
or, a trusted execution environment in the secure element.
19. The apparatus of claim 18, further comprising:
the interface calling module is used for calling a key generation interface of the security system;
the third obtaining module is used for obtaining a public key corresponding to the private key fed back by the key generating interface; the private key is stored within the secure system;
and the sending module is used for sending the public key to the block chain network.
20. An analysis device for the use of leased equipment, comprising:
the acquisition module is used for acquiring the running state information of the rented equipment stored in the block chain network; the operational status information is uploaded to the blockchain network by the rented device using the method of claim 1;
and the analysis module is used for analyzing the use process of the rented equipment based on the running state information.
21. The apparatus of claim 20, the analysis module, comprising:
the judging unit is used for judging whether the using process of the rented equipment meets the preset condition or not;
and the prompt information generating unit is used for generating prompt information for indicating that the using process of the rented equipment is violated if the using process of the rented equipment does not meet the preset condition.
22. The apparatus according to claim 21, wherein the determining unit is specifically configured to:
judging whether the position information of the rented equipment is within a preset position range in the using process; alternatively, the first and second electrodes may be,
and judging whether the load index of the rented equipment is in a preset load index range in the using process.
23. A transmission apparatus of operation state information of a leased device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring current time information;
if the current time information meets the preset time trigger condition, acquiring the running state information of the rented equipment;
digitally signing the operating state information with a private key stored in a security system of the leased device;
and uploading the digitally signed running state information to node equipment in the block chain network.
24. An analysis device for the use of rented equipment, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring running state information of leased equipment stored in a block chain network; the operational status information is uploaded to the blockchain network by the rented device using the method of claim 1;
and analyzing the use process of the rented equipment based on the running state information.
CN202010476408.1A 2020-05-29 2020-05-29 Method, device and equipment for sending running state information of rented equipment Pending CN111400769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010476408.1A CN111400769A (en) 2020-05-29 2020-05-29 Method, device and equipment for sending running state information of rented equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010476408.1A CN111400769A (en) 2020-05-29 2020-05-29 Method, device and equipment for sending running state information of rented equipment

Publications (1)

Publication Number Publication Date
CN111400769A true CN111400769A (en) 2020-07-10

Family

ID=71431863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010476408.1A Pending CN111400769A (en) 2020-05-29 2020-05-29 Method, device and equipment for sending running state information of rented equipment

Country Status (1)

Country Link
CN (1) CN111400769A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107563846A (en) * 2017-08-10 2018-01-09 深圳市易成自动驾驶技术有限公司 Shared vehicles management method, server, system and computer-readable recording medium
CN108551445A (en) * 2018-04-04 2018-09-18 深圳市元征软件开发有限公司 A kind of vehicle sharing method and server
CN109191268A (en) * 2018-09-30 2019-01-11 中链科技有限公司 Parking stall rent method, device and electronic equipment based on block chain
CN109302491A (en) * 2018-11-13 2019-02-01 爱普(福建)科技有限公司 A kind of industry internet framework and its operation method based on block chain
CN109360054A (en) * 2018-09-30 2019-02-19 中链科技有限公司 Automobile leasing method, apparatus and electronic equipment based on block chain
CN110445617A (en) * 2019-07-16 2019-11-12 阿里巴巴集团控股有限公司 A kind of vehicle parking image storage method, apparatus and system based on block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107563846A (en) * 2017-08-10 2018-01-09 深圳市易成自动驾驶技术有限公司 Shared vehicles management method, server, system and computer-readable recording medium
CN108551445A (en) * 2018-04-04 2018-09-18 深圳市元征软件开发有限公司 A kind of vehicle sharing method and server
CN109191268A (en) * 2018-09-30 2019-01-11 中链科技有限公司 Parking stall rent method, device and electronic equipment based on block chain
CN109360054A (en) * 2018-09-30 2019-02-19 中链科技有限公司 Automobile leasing method, apparatus and electronic equipment based on block chain
CN109302491A (en) * 2018-11-13 2019-02-01 爱普(福建)科技有限公司 A kind of industry internet framework and its operation method based on block chain
CN110445617A (en) * 2019-07-16 2019-11-12 阿里巴巴集团控股有限公司 A kind of vehicle parking image storage method, apparatus and system based on block chain

Similar Documents

Publication Publication Date Title
KR101379527B1 (en) Cloud based real time app privacy dashboard
CN110892425A (en) Machine learning platform on equipment
CN110869949A (en) Machine learning platform on equipment
US20180240131A1 (en) Identifying deceptive social media content
WO2016186765A1 (en) Probabilistic classifiers for certificates
US10614215B2 (en) Malware collusion detection
US20170109155A1 (en) Computer Update Scheduling Based On Biometrics
CN109639628A (en) Private connects behavioral value method, the network equipment, system and storage medium
CN110471329B (en) Water quality supervision method, device, equipment and medium based on block chain system
CN104767876A (en) Safety software processing method and user terminal
US11646866B2 (en) Blockchain based service reservation and delegation
US11853922B2 (en) Usage metric-based warranty for internet-of-things devices
CN113591096A (en) Vulnerability scanning system for comprehensively detecting big data bugs and unsafe configurations
CN111131474A (en) Method, device and medium for managing user protocol based on block chain
CN111400769A (en) Method, device and equipment for sending running state information of rented equipment
CN112434347B (en) Rental business processing method, device, equipment and system
CN109684846A (en) A kind of file extraction method and device
CN113327169B (en) Claims settlement method and device based on block chain and electronic equipment
CN115757318A (en) Log query method and device, storage medium and electronic equipment
JP6238146B2 (en) Method, apparatus and system for operating electronic devices
CN112435029B (en) Service processing method and device based on block chain and electronic equipment
CN106027639B (en) A kind of wide-area network access method and device of PAAS platform
Shtern et al. A runtime cloud efficiency software quality metric
US9569433B1 (en) Mobile application analytics
CN113610535A (en) Risk monitoring method and device suitable for consumption staging business process

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200710

RJ01 Rejection of invention patent application after publication