CN112905983B - Equipment leasing method, equipment and storage medium - Google Patents

Equipment leasing method, equipment and storage medium Download PDF

Info

Publication number
CN112905983B
CN112905983B CN202110158138.4A CN202110158138A CN112905983B CN 112905983 B CN112905983 B CN 112905983B CN 202110158138 A CN202110158138 A CN 202110158138A CN 112905983 B CN112905983 B CN 112905983B
Authority
CN
China
Prior art keywords
equipment
lease
renting
user
information
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
CN202110158138.4A
Other languages
Chinese (zh)
Other versions
CN112905983A (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.)
Jiangsu Baowangda Software Technology Co ltd
Original Assignee
Jiangsu Baowangda Software 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 Jiangsu Baowangda Software Technology Co ltd filed Critical Jiangsu Baowangda Software Technology Co ltd
Priority to CN202110158138.4A priority Critical patent/CN112905983B/en
Publication of CN112905983A publication Critical patent/CN112905983A/en
Application granted granted Critical
Publication of CN112905983B publication Critical patent/CN112905983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a device leasing method, a device and a storage medium, wherein the device leasing method comprises the following steps: acquiring an equipment lease authorization file generated by management terminal equipment; analyzing the equipment lease authorization file according to the authorization initialization program to obtain an authorization file analysis result; starting a target port according to an analysis result of the authorization file; wherein the target port is used for providing the renting user so that the renting user can use the renting equipment. The technical scheme of the embodiment of the invention can reduce the error rate of equipment lease and improve the efficiency of equipment lease.

Description

Equipment leasing method, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of security management and control, in particular to a method, equipment and a storage medium for renting equipment.
Background
With the development of internet technology, the situation that the online interactive information of the electronic device is stolen becomes more and more serious. In order to solve the problem of poor security of internet information transmission, a device with good information confidentiality is generally adopted to transmit confidential information. The lease management of the equipment also becomes a technical point of the safety control technical field correspondingly.
At present, rental devices are mainly devices with confidentiality, such as printers, notebooks, recording disks and the like, and such devices are generally managed by a device administrator. Specifically, after determining the leased device to be leased, the device administrator manually opens the corresponding port of the leased device. And the leased user operates the leased equipment through the opened port of the leased equipment. After the leased device is returned, the port of the leased device is manually closed by the device administrator. Because the ports of the leased equipment are mainly opened or closed manually by an equipment administrator, when a large number of ports need to be processed, the control error of the leased equipment is often caused, and thus the borrowing and returning efficiency of the leased equipment is greatly reduced.
Disclosure of Invention
The embodiment of the invention provides a device leasing method, a device and a storage medium, which reduce the error rate of device leasing and improve the efficiency of device leasing.
In a first aspect, an embodiment of the present invention provides an apparatus leasing method, which is applied to a leasing apparatus, and includes:
acquiring an equipment lease authorization file generated by management terminal equipment;
analyzing the equipment lease authorization file according to the authorization initialization program to obtain an authorization file analysis result;
starting a target port according to an analysis result of the authorization file;
wherein the target port is used for providing the renting user so that the renting user can use the renting equipment.
In a second aspect, an embodiment of the present invention further provides an apparatus leasing method, which is applied to a management terminal apparatus, and includes:
acquiring equipment lease information sent by a lease user aiming at an equipment lease program;
and under the condition that the equipment lease information is confirmed to pass the information audit, generating an equipment lease authorization file according to the equipment lease information.
In a third aspect, an embodiment of the present invention further provides an apparatus for renting equipment, including:
the device lease authorization file acquisition module is used for acquiring a device lease authorization file generated by the management terminal device;
the authorization file analysis result acquisition module is used for analyzing the equipment lease authorization file according to the authorization initialization program to obtain an authorization file analysis result;
and the target port starting module is used for starting the target port according to the analysis result of the authorization file.
In a fourth aspect, an embodiment of the present invention further provides an apparatus for renting equipment, including:
the equipment lease information acquisition module is used for acquiring equipment lease information sent by a lease user aiming at an equipment lease program;
and the equipment lease authorization file generation module is used for generating the equipment lease authorization file according to the equipment lease information under the condition that the equipment lease information is confirmed to pass the information audit.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
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 of device leasing as provided by any of the embodiments of the invention.
In a sixth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the device leasing method provided in any embodiment of the present invention.
According to the embodiment of the invention, the equipment lease authorization file generated by the management terminal equipment is acquired through the lease equipment, so that the equipment lease authorization file is analyzed according to the authorization initialization program to obtain the analysis result of the authorization file, and the target port is further started according to the analysis result of the authorization file. Because the authorization initialization program is preset in the renting equipment, after the renting equipment acquires the equipment renting authorization file, the equipment renting authorization file can be automatically analyzed through the authorization initialization program, so that the renting equipment can automatically open the target port corresponding to the equipment renting authorization file according to the analysis result of the authorization file. Therefore, the renting equipment in the embodiment of the invention can safely and reliably automatically open the target end without manual participation, solves the problems that manual management and control of the renting equipment are easy to make mistakes, the borrowing and returning efficiency of the renting equipment is low and the like, and achieves the effects of reducing the equipment renting error rate and improving the equipment renting efficiency.
Drawings
Fig. 1 is a flowchart of a method for leasing equipment according to an embodiment of the present invention;
fig. 2 is a flowchart of an apparatus leasing method according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a device management flow according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of an apparatus renting apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic view of an apparatus renting apparatus according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of an apparatus leasing method according to an embodiment of the present invention, which is applicable to an efficient apparatus leasing situation, and the method may be executed by an apparatus leasing device and may be generally integrated in an electronic apparatus, that is, a leased apparatus. Accordingly, as shown in fig. 1, the method comprises the following operations:
and S110, acquiring the equipment lease authorization file generated by the management terminal equipment.
Wherein the rented device may be a device that can be rented. The management terminal device can be used for managing the leasing process of the leasing device. The device lease authorization file may be an authorization file generated by the management terminal device and used for defining at least one type of usage right of the leased device.
Specifically, when the rented device needs to be rented, the rented device may first acquire a device renting authorization file corresponding to the rented device, which is generated by the management terminal device, and further open the corresponding usage right according to the device renting authorization file.
In an optional embodiment of the present invention, before acquiring the device lease authorization file generated by the management terminal device, the method may further include: acquiring user identity information of a rented user, and verifying the user identity information; acquiring the device lease authorization file generated by the management terminal device, may further include: and reading the equipment lease authorization file from the target storage under the condition that the user identity information of the leased user is confirmed to pass the verification.
The rented user may be a user who rents the rented equipment. The user identity information may be identity information that the rented user needs to provide. For example, the user identity information may include, but is not limited to, user identification information, user professional information, user mailbox information, and user cell phone number. The target storage may be a storage that stores a device lease authorization file.
In the embodiment of the invention, before each port of the leased equipment is operated, the leased equipment can acquire the user identity information of the leased user and verify the user identity information. If the user identity information of the rented user passes the verification, the rented user can use the rented equipment under certain authority. When the target storage and the rented equipment are in a communication connection state, the rented equipment can read the equipment renting authorization file stored in the target storage. Specifically, if the target storage is a physical storage, the target storage needs to be inserted into an external interface of the rental device, so that the rental device acquires the device rental authorization file. If the target storage is located in the server, the server is required to be in communication connection with the renting equipment so that the renting equipment can acquire the equipment renting authorization file from the server. If the user identity information of the rented user does not pass the verification, the rented user does not have the use authority of the rented equipment.
For example, the rented device may obtain a device rental authorization file stored in the removable memory or the network disk. The mobile memory may include, but is not limited to, a mobile hard disk, a usb disk, and the like. Or, after the management terminal device generates the device lease authorization file, the device lease authorization file is sent to the server, so that the device lease authorization file is forwarded to the lease device through the server in an online file or offline file form, and the lease device can acquire the device lease authorization file stored by the server in a startup state.
In the embodiment of the invention, the operation of the renting equipment for verifying the user identity information can realize the limitation on the renting user, thereby achieving the effect of effectively controlling the renting equipment. Especially, in the scene of secret-related operation of the rented equipment, different rented users can only rent the rented equipment of the company. The verification operation of the user identity information of the renting user can realize the limitation of the source of equipment renting, namely the renting user, so as to ensure the renting safety of the renting equipment.
And S120, analyzing the equipment lease authorization file according to the authorization initialization program to obtain an authorization file analysis result.
The authorization initialization program may be a program preset in the rental device and used for analyzing the device rental authorization file. The authorization file analysis result can be the use authority information of the rented equipment obtained by analyzing the authorization file by the authorization initialization program. The use permission information can be used for opening a port corresponding to the equipment lease authorization file in the lease equipment.
The renting equipment in the embodiment of the invention can analyze the obtained equipment renting authorization file through the preset authorization initialization program, and the analysis result, namely the use permission information of the renting equipment can be obtained through analyzing the equipment renting authorization file. For the same rented equipment, when the renting authorization files of the equipment are different, the use permission information of the rented equipment analyzed by the authorization initialization program is different.
And S130, starting the target port according to the analysis result of the authorization file.
The target port may be at least one port of the leased device corresponding to the analysis result of the authorization file. The target port is used for providing the renting user to use the renting equipment.
Correspondingly, after obtaining the analysis result of the authorization file, the renting equipment can open the target port corresponding to the use permission information according to the analysis result of the authorization file, namely the use permission information. The rented user can perform functional operation on the rented equipment through the target port. For example, a rented user may perform operations such as file printing, projection, burning, and the like through the target port, and the embodiment of the present invention does not limit the specific operation content of the functional operation.
In an optional embodiment of the present invention, starting the target port according to the analysis result of the authorization file may include: acquiring a target port identifier included in an authorization file analysis result; and starting the target port according to the target port identification.
The target port identifier may be a string used to determine the target port. The target port identification has a one-to-one correspondence with the target port.
Correspondingly, after obtaining the analysis result of the authorization file, the renting equipment can further analyze the analysis result of the authorization file to obtain a target port identifier, and open a target port corresponding to the target port identifier according to the target port identifier.
In the embodiment of the invention, the renting equipment can automatically open the target port through the target port identification in the analysis result of the authorization file, thereby reducing the error rate of manually opening the target port by an administrator.
In an optional embodiment of the present invention, after starting the target port according to the result of parsing the authorization file, the method may further include: acquiring an equipment returning request sent by a renting user through an equipment returning program; and verifying the user identity information of the rented user, and closing the target port according to the equipment returning program under the condition that the user identity information of the rented user passes the verification.
The device return program may be a program built in the rented device, and is used to close the target port. The device return request may be a request sent to the rented device when the rented device needs to be returned by the rented user.
In the embodiment of the invention, when the rented equipment needs to be returned, the rented user can send the equipment returning request to the rented equipment by triggering the equipment returning program on the rented equipment. And after the renting equipment receives the equipment returning request sent by the renting user, verifying the user identity information of the renting user. And if the user identity information of the rented user passes the verification, the rented equipment starts to execute an equipment returning program so as to further close the target port through the equipment returning program.
In the embodiment of the invention, the rented equipment can automatically close the target port through the equipment returning program, so that the error rate of manually closing the target port by an administrator is reduced.
In an optional embodiment of the present invention, after starting the target port according to the result of parsing the authorization file, the method may further include: acquiring an equipment lease term corresponding to the leased equipment according to the analysis result of the authorization file; the equipment lease term comprises an equipment lease time interval or equipment lease expiration time; counting the accumulated lease time of the leased equipment; and under the condition that the accumulated lease time reaches the equipment lease time interval or the current time of the equipment reaches the equipment lease expiration time and the equipment return request sent by the lease user through the equipment return program is not received, starting the equipment return program to close the target port.
The device lease term may be time information corresponding to the usage right of the leased device. For example, the device lease period may include a device lease time zone or a device lease expiration time. The device lease time interval may be the time interval from the start of the lease to the time the lease user needs to return the leased device. The device lease expire time may be the time at which the leased device needs to be returned by the leased user. The equipment lease time interval can be specified to year, month, day, hour, minute, second and the like, or can be further refined according to business requirements. The device lease expiry time may be embodied as year, month, day, hour, minute, second, and the like, or may be further refined according to the service requirement. The accumulated lease time may be a time interval from the time when the lease device starts the target port according to the analysis result of the authorization file to the current time. The time at which the target port is started and the time at the current time may be specified to year, month, day, hour, minute, and second. The current time of the device may be the time currently displayed by the clock system of the leased device.
In an embodiment of the present invention, the leased device automatically triggers the device return procedure to close the target port when one of the following two conditions occurs. The first condition is as follows: the renting equipment can further analyze the analysis result of the authorization file to obtain an equipment renting period corresponding to the renting equipment, so that an equipment renting time interval is obtained according to the equipment renting period. After the equipment lease time interval is obtained, the time interval from the opening time of the target port of the leased equipment to the current time, namely the accumulated lease time, is counted so as to further compare the accumulated lease time of the leased equipment with the equipment lease time limit, if the accumulated lease time reaches the equipment lease time limit and the leased equipment does not receive an equipment returning request, the leased equipment can start an equipment returning program so as to automatically and forcibly close the target port through the equipment returning program. Case two: after the renting equipment acquires the equipment renting period, the equipment renting expiration time is obtained according to the equipment renting period, so that the current time of the equipment is further compared with the equipment renting expiration time, and if the current time of the equipment reaches the equipment renting expiration time and the renting equipment does not receive an equipment returning request, the renting equipment can start an equipment returning program so as to automatically and forcibly close the target port through the equipment returning program.
According to the technical scheme, the accumulated lease time is compared with the equipment lease period, and the service time of the leased equipment can be strictly controlled, so that the port of the leased equipment is controlled under the condition of not contacting the leased equipment, and the leased user is prevented from operating the leased equipment outside the equipment lease period.
In an optional embodiment of the present invention, after closing the destination port, the method may further include: acquiring a leasing operation log generated by a leasing device; storing the lease operation log into a set return file; the set return file is used for storing the file to the management terminal device, so that the management terminal device can obtain the lease operation log according to the set return file.
The lease operation log may be a log generated by the lease device when the lease user operates the lease device, and may record information such as operation time of the target port, operation content of the target port, and an output variable of the target port. The set return file may be a file for storing a lease operation log.
In the embodiment of the invention, after the target port is closed, the rented equipment can start the data calling program, and the rented operation log in the equipment renting period in the memory space is obtained according to the data calling program. And further storing the lease operation log into a set return file. Correspondingly, the renter can store the set return file in the management terminal device through the mobile memory or the network disk, or the renter sends the set return file to the management terminal device through the server. The management terminal device can acquire the lease operation log by analyzing the set return file. The data call program may be a program built in the rental device, and is configured to obtain a rental operation log of the rental device.
In the embodiment of the invention, the rented equipment administrator can master the use condition of the rented equipment by the rented user according to the rented operation log of the management terminal equipment, so that the specific operation of the rented user on the rented equipment is known through the use condition, and whether the rented user has illegal operation is judged, thereby realizing the monitoring of the use condition of the rented equipment.
According to the embodiment of the invention, the equipment lease authorization file generated by the management terminal equipment is acquired through the lease equipment, so that the equipment lease authorization file is analyzed according to the authorization initialization program to obtain the analysis result of the authorization file, and the target port is further started according to the analysis result of the authorization file. Because the authorization initialization program is preset in the renting equipment, after the renting equipment acquires the equipment renting authorization file, the equipment renting authorization file can be automatically analyzed through the authorization initialization program, so that the renting equipment can automatically open the target port corresponding to the equipment renting authorization file according to the analysis result of the authorization file. Therefore, the renting equipment in the embodiment of the invention can safely and reliably automatically open the target end without manual participation, solves the problems that manual management and control of the renting equipment are easy to make mistakes, the borrowing and returning efficiency of the renting equipment is low and the like, and achieves the effects of reducing the equipment renting error rate and improving the equipment renting efficiency.
Example two
Fig. 2 is a flowchart of an apparatus leasing method according to a second embodiment of the present invention, which is applicable to a case of efficiently leasing an apparatus, and the method may be executed by an apparatus leasing device and may be generally integrated in an electronic apparatus, that is, a management terminal apparatus. Accordingly, as shown in fig. 2, the method includes the following operations:
s210, acquiring the equipment lease information sent by the lease user aiming at the equipment lease program.
The device lease program may be a program preset in the management terminal device, and is used to guide a lease user to fill in information related to device lease. The device lease information may be information related to the device lease that the lease user needs to fill in. For example, the device lease information may include, but is not limited to, user identification information of the leased user, a model number of the leased device, a type of the leased device, a number of the leased devices, and a lease time of the leased device.
Specifically, when the renting user needs to rent the rented equipment, the renting user can trigger the equipment renting program for managing the terminal equipment and fill in the equipment renting information. Accordingly, the management terminal device can acquire the device lease information filled by the lease user through the device lease program.
And S220, generating an equipment lease authorization file according to the equipment lease information under the condition that the equipment lease information is confirmed to pass the information audit.
In the embodiment of the present invention, the management terminal device may send the acquired device lease information to an information auditor (e.g., a device administrator or a superior worker), and the information auditor audits the device lease information. And if the equipment lease information sent by the lease user passes the information audit, the management terminal equipment generates an equipment lease authorization file corresponding to the equipment lease information. And if the equipment lease information sent by the lease user does not pass the information audit, the management terminal equipment does not process the equipment lease information. Specifically, the information auditor can audit the device lease information through the management terminal device, and can audit the device lease information sent by the management terminal device through the server through other terminals.
In an optional embodiment of the present invention, after generating the device lease authorization file according to the device lease information, the method may further include: acquiring first equipment returning information sent by a renting user aiming at rented equipment; and verifying the user identity information of the rented user, and storing the return information of the first equipment under the condition that the user identity information of the rented user passes the verification.
The first device returning information may be information which is filled by the renter according to a related program in the management terminal device when the renter returns the rented device. For example, the first device return information may include, but is not limited to, user identity information of the rented user, a model number of the returned rented device, a type of the returned rented device, a number of the returned rented devices, return time of the rented device, and the like.
In the embodiment of the present invention, that is, the management terminal device may acquire the return information of the rented device in two ways. Wherein, the first mode is as follows: the renting user fills the first equipment returning information according to the related program in the management terminal equipment, the related program can send the first equipment returning information to the management terminal equipment, and the management terminal equipment can acquire the first equipment returning information which is filled by the renting user and aims at the renting equipment in real time. In addition, the management terminal device also needs to verify the user identity information of the renting user who fills in the first device return information, if the user identity information of the renting user passes the verification, the obtained device return information is stored, otherwise, the obtained device return information is not stored. The management terminal equipment checks the user identity information, and can trace the responsibility of the rented user returning the rented equipment.
In an optional embodiment of the present invention, after generating the device lease authorization file according to the device lease information, the method may further include: acquiring a set return file generated by the renting equipment; and generating second equipment returning information according to the leasing operation log in the set returning file and the user identity information of the leasing user.
The second device return information may be information associated with a lease operation log of the leased device.
Correspondingly, the second way for the management terminal device to obtain the return information of the rented device may be: the management terminal device reads the set return file generated by the renting device, further analyzes the set return file to obtain a renting operation log, associates the renting operation log with the user identity information of the renting user, namely mounts the renting operation log to the user identity information of the corresponding renting user, and further uses the associated renting operation log and the user identity information as the second device return information.
In the technical scheme of the invention, the lease operation log and the user identity information of the lease user have an incidence relation, and the second equipment returning information comprises the lease operation log and the user identity information of the lease user. The rented equipment administrator can determine the renting operation logs of all the rented equipment rented by the rented user by inquiring the user identity information of the rented user of the two-equipment return information, and can determine the user identity information of all the rented users renting the rented equipment according to the renting operation logs of the rented equipment. Therefore, the technical scheme of the invention can quickly determine the lease operation log of the equipment leased by the leaser and the user identity information of the leaser leasing the same leased equipment, thereby greatly saving the information query time.
Fig. 3 is a schematic view of an equipment management process according to a second embodiment of the present invention, and in a specific example, as shown in fig. 3, before obtaining a leased equipment, a leased user needs to perform related information filling in a management terminal device, that is, the management terminal device receives the equipment lease information through an equipment lease program, the management terminal device sends the equipment lease information to an information auditor (an upper level or an equipment manager) through an intranet server, and when the information auditor finishes auditing the equipment lease information, the audit result is further sent to the management terminal device through the server. And if the management terminal equipment receives that the verification result is that the verification is passed, automatically generating an equipment lease authorization file according to the equipment lease information, otherwise, not processing the equipment lease information by the management terminal equipment. After the management terminal device generates the device leasing authorization file, the leasing user can download the device leasing authorization file through the mobile memory. After the rented user acquires the rented equipment, user identity information verification is required to be carried out on the rented equipment, and if the user identity information verification is passed, the equipment renting authorization file can be copied to the rented equipment. The authorization initialization program of the rented equipment analyzes the equipment renting authorization file and starts the target port according to the analysis result of the authorization file, namely, the rented user obtains the use permission of the opened target port and can operate the rented equipment through the opened target port.
Accordingly, when the rented equipment is returned, the equipment returning program on the rented equipment needs to be triggered. Therefore, the rented equipment needs to inquire whether the equipment returning program is triggered or not, when the rented equipment inquires that the equipment returning program is triggered, the user identity information of the rented user is checked again, and if the user identity information of the rented user passes the check, the opened target port is closed according to the equipment returning program. The renting user can also store the renting operation log of the renting equipment in a set return file of the mobile memory, and send second equipment return information generated according to the renting operation log in the set return file and the user identity information of the renting user to the management terminal equipment. The management terminal device may check the user identity information after receiving the second device return information sent by the renting user, and if the user identity information passes the check, may read the set return file stored in the mobile memory, and associate the user identity information of the renting user with the renting operation log in the set return file. The built-in program in the management terminal device may adopt a library class in Spring (an open source framework) in JAVA (computer programming language), and the built-in program of the renting device may adopt a QT (application development framework) library in C language. For example, a built-in program in the management terminal device may be used for data acquisition, data call, data storage, and generation of a device lease authorization file. The built-in programs for renting the device may include a device return program and an authorization initialization program. The internal program of the renting device can be used for data acquisition, data calling and data storage.
According to the technical scheme of the embodiment, the management terminal device acquires the device lease information sent by the lease user aiming at the device lease program, and generates the device lease authorization file according to the device lease information under the condition that the device lease information is confirmed to pass the information audit. The target port is automatically opened by the renting equipment according to the equipment renting authorization file generated by the management terminal equipment, and the problems that manual management and control of the renting equipment are prone to error and the borrowing and returning efficiency of the renting equipment is low are solved by the automatic opening of the target port, so that the error rate of equipment renting is reduced, and the equipment renting efficiency is improved.
It should be noted that any permutation and combination between the technical features in the above embodiments also belong to the scope of the present invention.
EXAMPLE III
Fig. 4 is a schematic diagram of an apparatus leasing device according to a third embodiment of the present invention, where the apparatus leasing device may be implemented by software and/or hardware and may be integrated in a leasing apparatus. As shown in fig. 4, the device renting apparatus includes: an equipment lease authorization file obtaining module 300, an authorization file analysis result obtaining module 310, and a target port starting module 320, where:
an equipment lease authorization file acquisition module 300, configured to acquire an equipment lease authorization file generated by the management terminal equipment;
the authorization file analysis result obtaining module 310 is configured to analyze the device lease authorization file according to the authorization initialization program to obtain an authorization file analysis result;
and a target port starting module 320, configured to start the target port according to the authorization file analysis result.
According to the embodiment of the invention, the equipment lease authorization file generated by the management terminal equipment is acquired through the lease equipment, so that the equipment lease authorization file is analyzed according to the authorization initialization program to obtain the analysis result of the authorization file, and the target port is further started according to the analysis result of the authorization file. Because the authorization initialization program is preset in the renting equipment, after the renting equipment acquires the equipment renting authorization file, the equipment renting authorization file can be automatically analyzed through the authorization initialization program, so that the renting equipment can automatically open the target port corresponding to the equipment renting authorization file according to the analysis result of the authorization file. Therefore, the renting equipment in the embodiment of the invention can safely and reliably automatically open the target end without manual participation, solves the problems that manual management and control of the renting equipment are easy to make mistakes, the borrowing and returning efficiency of the renting equipment is low and the like, and achieves the effects of reducing the equipment renting error rate and improving the equipment renting efficiency.
Optionally, the device renting apparatus may further include: and the identity verification module is used for acquiring the user identity information of the renting user and verifying the user identity information.
Optionally, the device lease authorization file obtaining module 300 is specifically configured to read the device lease authorization file from the target storage when it is determined that the user identity information of the lease user passes the verification.
Optionally, the device renting apparatus may further include: the target port closing module is used for acquiring an equipment returning request sent by the renting user through an equipment returning program; and verifying the user identity information of the rented user, and closing the target port according to the equipment returning program under the condition that the user identity information of the rented user passes the verification.
Optionally, the target port closing module is specifically configured to obtain an equipment lease term corresponding to the leased equipment according to the authorization file analysis result; the equipment lease term comprises an equipment lease time interval or an equipment lease expiration time; counting the accumulated lease time of the leased equipment; and starting the equipment returning program to close the target port under the condition that the accumulated lease time reaches the equipment lease time interval or the current time reaches the equipment lease expiration time and the equipment returning request sent by the lease user through the equipment returning program is not received.
Optionally, the device renting apparatus may further include: the return file setting and storing module is used for acquiring a lease operation log generated by the lease equipment; storing the lease operation log to a set return file; the set return file is used for storing the set return file to the management terminal device so that the management terminal device can obtain a lease operation log according to the set return file.
The equipment leasing device can execute the equipment leasing method applied to the leased equipment provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. The method for leasing equipment applied to the leased equipment according to any embodiment of the present invention may be provided with reference to technical details which are not described in detail in the present embodiment.
Since the device renting apparatus described above is an apparatus capable of executing the device renting method applied to renting devices in the embodiment of the present invention, based on the device renting method applied to renting devices described in the embodiment of the present invention, those skilled in the art can understand the specific implementation manner of the device renting apparatus of the embodiment and various variations thereof, and therefore, how to implement the device renting method applied to renting devices in the embodiment of the present invention by the device renting apparatus is not described in detail herein. As long as a person skilled in the art implements the device leasing method applied to the leasing device in the embodiments of the present invention, the device is within the scope of the present application.
Example four
Fig. 5 is a schematic diagram of an apparatus leasing device according to a fourth embodiment of the present invention, where the apparatus leasing device may be implemented by software and/or hardware and may be integrated in a management terminal device. As shown in fig. 5, the equipment renting apparatus includes: an equipment lease information obtaining module 400 and an equipment lease authorization file generating module 410, wherein:
an equipment lease information acquiring module 400, configured to acquire equipment lease information sent by a lease user for an equipment lease program;
and an equipment lease authorization file generation module 410, configured to generate an equipment lease authorization file according to the equipment lease information when it is determined that the equipment lease information passes the information audit.
According to the technical scheme of the embodiment, the management terminal device acquires the device lease information sent by the lease user aiming at the device lease program, and generates the device lease authorization file according to the device lease information under the condition that the device lease information is confirmed to pass the information audit. The target port is automatically opened by the renting equipment according to the equipment renting authorization file generated by the management terminal equipment, and the problems that manual management and control of the renting equipment are prone to error and the borrowing and returning efficiency of the renting equipment is low are solved by the automatic opening of the target port, so that the error rate of equipment renting is reduced, and the equipment renting efficiency is improved.
Optionally, the device renting apparatus further includes: the first equipment returning information storage module is used for acquiring first equipment returning information which is sent by the renting user aiming at the renting equipment; and verifying the user identity information of the rented user, and storing the return information of the first equipment under the condition that the user identity information of the rented user passes the verification.
Optionally, the device renting apparatus further includes: the second equipment return information generation module is used for acquiring the set return file generated by the rented equipment; and generating second equipment returning information according to the leasing operation log in the set returning file and the user identity information of the leasing user.
The device leasing device can execute the device leasing method applied to the management terminal device provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to a device leasing method applied to a management terminal device according to any embodiment of the present invention.
Since the device leasing apparatus described above is an apparatus capable of executing the device leasing method applied to the management terminal device in the embodiment of the present invention, based on the device leasing method applied to the management terminal device described in the embodiment of the present invention, a person skilled in the art can understand a specific implementation manner of the device leasing apparatus of the embodiment and various variations thereof, so how the device leasing apparatus implements the device leasing method applied to the management terminal device in the embodiment of the present invention is not described in detail herein. As long as those skilled in the art implement the apparatus used in the method for renting device for managing terminal device in the embodiments of the present invention, the apparatus is within the scope of the present application.
EXAMPLE five
Fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 6 illustrates a block diagram of an electronic device 512 that is suitable for use in implementing embodiments of the present invention. The electronic device 512 shown in fig. 6 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention. The electronic device 512 may be, for example, a rental device or a management terminal device.
As shown in fig. 6, the electronic device 512 is in the form of a general purpose computing device. Components of the electronic device 512 may include, but are not limited to: one or more processors 516, a storage device 528, and a bus 518 that couples the various system components including the storage device 528 and the processors 516.
Bus 518 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, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Electronic device 512 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 512 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 528 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 530 and/or cache Memory 532. The electronic device 512 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 534 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, 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 Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 518 through one or more data media interfaces. Storage 528 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.
Program 536 having a set (at least one) of program modules 526 may be stored, for example, in storage 528, such program modules 526 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination may include an implementation of a network environment. Program modules 526 generally perform the functions and/or methodologies of the described embodiments of the invention.
The electronic device 512 may also communicate with one or more external devices 514 (e.g., keyboard, pointing device, camera, display 524, etc.), with one or more devices that enable a user to interact with the electronic device 512, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 512 to communicate with one or more other computing devices. Such communication may be through an Input/Output (I/O) interface 522. Also, the electronic device 512 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network such as the internet) via the Network adapter 520. As shown, the network adapter 520 communicates with the other modules of the electronic device 512 via the bus 518. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 512, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, Redundant Array of Independent Disks (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 516 executes various functional applications and data processing by running programs stored in the storage device 528, for example, implementing the device leasing method provided by the above embodiment of the present invention, that is:
acquiring an equipment lease authorization file generated by management terminal equipment; analyzing the equipment lease authorization file according to the authorization initialization program to obtain an authorization file analysis result; starting a target port according to an analysis result of the authorization file; wherein the target port is used for providing the renting user so that the renting user can use the renting equipment.
Or, the device renting method provided by the above embodiment of the present invention may also be implemented to obtain device renting information sent by the renting user for the device renting program; and under the condition that the equipment lease information is confirmed to pass the information audit, generating an equipment lease authorization file according to the equipment lease information.
According to the embodiment of the invention, the equipment lease authorization file generated by the management terminal equipment is acquired through the lease equipment, so that the equipment lease authorization file is analyzed according to the authorization initialization program to obtain the analysis result of the authorization file, and the target port is further started according to the analysis result of the authorization file. Because the authorization initialization program is preset in the renting equipment, after the renting equipment acquires the equipment renting authorization file, the equipment renting authorization file can be automatically analyzed through the authorization initialization program, so that the renting equipment can automatically open the target port corresponding to the equipment renting authorization file according to the analysis result of the authorization file. Therefore, the renting equipment in the embodiment of the invention can safely and reliably automatically open the target end without manual participation, solves the problems that manual management and control of the renting equipment are easy to make mistakes, the borrowing and returning efficiency of the renting equipment is low and the like, and achieves the effects of reducing the equipment renting error rate and improving the equipment renting efficiency.
EXAMPLE six
An embodiment of the present invention further provides a computer storage medium storing a computer program, where the computer program is executed by a computer processor to perform the device leasing method according to any one of the above embodiments of the present invention, and the method includes:
acquiring an equipment lease authorization file generated by management terminal equipment; analyzing the equipment lease authorization file according to the authorization initialization program to obtain an authorization file analysis result; starting a target port according to an analysis result of the authorization file; wherein the target port is used for providing the renting user so that the renting user can use the renting equipment.
Alternatively, the computer program is configured to perform the device leasing method according to any of the above embodiments of the present invention when executed by a computer processor: acquiring equipment lease information sent by a lease user aiming at an equipment lease program; and under the condition that the equipment lease information is confirmed to pass the information audit, generating an equipment lease authorization file according to the equipment lease information.
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, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects 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 present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments 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 (5)

1. An equipment leasing method is applied to leasing equipment and comprises the following steps:
acquiring an equipment lease authorization file generated by management terminal equipment;
analyzing the equipment lease authorization file according to an authorization initialization program to obtain an authorization file analysis result;
starting a target port according to the analysis result of the authorization file;
wherein the target port is used for providing a renting user so that the renting user can use the renting equipment;
after the target port is started according to the analysis result of the authorization file, the method further comprises the following steps:
acquiring an equipment returning request sent by the renting user through an equipment returning program;
verifying the user identity information of the rented user, and closing the target port according to the equipment returning program under the condition that the user identity information of the rented user passes the verification;
after the closing the target port, further comprising:
acquiring a leasing operation log generated by the leasing equipment;
storing the lease operation log to a set return file;
the set return file is used for storing the set return file to the management terminal equipment so that the management terminal equipment can obtain a lease operation log according to the set return file;
after the target port is started according to the analysis result of the authorization file, the method further comprises the following steps:
acquiring an equipment lease term corresponding to the leased equipment according to the analysis result of the authorization file; the equipment lease term comprises an equipment lease time interval or an equipment lease expiration time;
counting the accumulated lease time of the leased equipment;
and starting the equipment returning program to close the target port under the condition that the accumulated lease time reaches the equipment lease time interval or the equipment reaches the equipment lease expiration time at the current moment and an equipment returning request sent by the lease user through the equipment returning program is not received.
2. The method according to claim 1, further comprising, before acquiring the device lease authorization file generated by the management terminal device:
acquiring user identity information of the rented user, and verifying the user identity information;
the acquiring of the device lease authorization file generated by the management terminal device includes:
and reading the equipment lease authorization file from the target memory under the condition that the user identity information of the leased user is confirmed to pass the verification.
3. An equipment leasing method is applied to management terminal equipment and comprises the following steps:
acquiring equipment lease information sent by a lease user aiming at an equipment lease program;
under the condition that the equipment lease information is confirmed to pass the information audit, generating an equipment lease authorization file according to the equipment lease information;
after the generating of the device lease authorization file according to the device lease information, the method further includes:
acquiring a set return file generated by the renting equipment;
generating second equipment returning information according to the leasing operation log in the set returning file and the user identity information of the leasing user;
after the generating of the device lease authorization file according to the device lease information, the method further includes:
acquiring first equipment returning information sent by the rented user aiming at rented equipment;
and verifying the user identity information of the rented user, and storing the return information of the first equipment under the condition that the user identity information of the rented user passes the verification.
4. An electronic device, characterized in that the electronic 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 the device leasing method of any one of claims 1-2, or the device leasing method of claim 3.
5. A computer storage medium on which a computer program is stored, which program, when executed by a processor, carries out a method of leasing a device according to any one of claims 1-2, or carries out a method of leasing a device according to claim 3.
CN202110158138.4A 2021-02-04 2021-02-04 Equipment leasing method, equipment and storage medium Active CN112905983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110158138.4A CN112905983B (en) 2021-02-04 2021-02-04 Equipment leasing method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110158138.4A CN112905983B (en) 2021-02-04 2021-02-04 Equipment leasing method, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112905983A CN112905983A (en) 2021-06-04
CN112905983B true CN112905983B (en) 2022-01-18

Family

ID=76122599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110158138.4A Active CN112905983B (en) 2021-02-04 2021-02-04 Equipment leasing method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112905983B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574167A (en) * 2013-10-29 2015-04-29 腾讯科技(深圳)有限公司 Lease disposal method, related device and system
CN107958140A (en) * 2017-12-22 2018-04-24 金蝶蝶金云计算有限公司 Generation method, device, computer equipment and the storage medium of encrypted permission file
CN107993127A (en) * 2017-12-05 2018-05-04 青柠智能家居南通有限公司 A kind of equipment is shared, follows the trail of, authorizing the closed-loop system leased and given back
CN109472675A (en) * 2018-11-29 2019-03-15 阿里巴巴集团控股有限公司 Processing method, device, system and the equipment of charter business
CN109598858A (en) * 2017-09-30 2019-04-09 比亚迪股份有限公司 Vehicle leasing method, device, storage medium, electronic equipment and vehicle
CN111199442A (en) * 2018-11-19 2020-05-26 海能达通信股份有限公司 Terminal leasing method, system, server, terminal equipment and storage device
CN111932344A (en) * 2020-08-16 2020-11-13 陈军 Leasing method and system for mobile hard disk

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006085483A (en) * 2004-09-16 2006-03-30 Sony Corp License processing device, program and license lending-out method
CN107895433B (en) * 2017-09-29 2020-07-24 苏州融硅新能源科技有限公司 Mobile power supply lease management method, storage medium and electronic equipment
CN111694794A (en) * 2019-03-11 2020-09-22 新疆丝路大道信息科技有限责任公司 Method and system for storing vehicle rental platform files in split volumes and electronic equipment
CN111028010A (en) * 2019-12-09 2020-04-17 新石器慧通(北京)科技有限公司 Article borrowing method, return method, borrowing and return system and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574167A (en) * 2013-10-29 2015-04-29 腾讯科技(深圳)有限公司 Lease disposal method, related device and system
CN109598858A (en) * 2017-09-30 2019-04-09 比亚迪股份有限公司 Vehicle leasing method, device, storage medium, electronic equipment and vehicle
CN107993127A (en) * 2017-12-05 2018-05-04 青柠智能家居南通有限公司 A kind of equipment is shared, follows the trail of, authorizing the closed-loop system leased and given back
CN107958140A (en) * 2017-12-22 2018-04-24 金蝶蝶金云计算有限公司 Generation method, device, computer equipment and the storage medium of encrypted permission file
CN111199442A (en) * 2018-11-19 2020-05-26 海能达通信股份有限公司 Terminal leasing method, system, server, terminal equipment and storage device
CN109472675A (en) * 2018-11-29 2019-03-15 阿里巴巴集团控股有限公司 Processing method, device, system and the equipment of charter business
CN111932344A (en) * 2020-08-16 2020-11-13 陈军 Leasing method and system for mobile hard disk

Also Published As

Publication number Publication date
CN112905983A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN110197058B (en) Unified internal control security management method, system, medium and electronic device
TWI599976B (en) Application store interface for remote management of client devices
US8191121B2 (en) Methods and systems for controlling access to resources in a gaming network
CN105069880A (en) Fusion communication based method and system for controlling entrance guard by mobile terminal
WO2019041804A1 (en) Personalized checking method and apparatus for claim settlement orders, storage medium, and terminal
US9053343B1 (en) Token-based debugging of access control policies
CN112257110A (en) Electronic signature management method, management system and computer readable storage medium
JP6707586B2 (en) Data scraping system, method, and computer program using script engine
CN106572081B (en) The method of logon rights verifying
CN110826053A (en) Container-based data sandbox operation result safe output method and device
CN111915789A (en) Visitor reservation management method, device, equipment and storage medium
US20150020167A1 (en) System and method for managing files
CN110930561A (en) Control method and device of intelligent lock
CN112487458A (en) Implementation method and system using government affair open sensitive data
CN113225351A (en) Request processing method and device, storage medium and electronic equipment
CN112905983B (en) Equipment leasing method, equipment and storage medium
CN112464176B (en) Authority management method and device, electronic equipment and storage medium
CN113703724A (en) Method and device for treating interfaces between systems
CN114050903A (en) Traffic management method, device, system, server and medium
CN113596503A (en) Live broadcast embedded program platform, generation method, equipment and storage medium
CN113660245B (en) Terminal access right control method, device, equipment and medium
JP2001356835A (en) Method for managing computer and device for conducting the same and recording medium having its processing program recorded thereon
CN113377343A (en) Software function flexible customization method and system
CN114499977B (en) Authentication method and device
KR100705145B1 (en) The system and the method using USB key by smart card's method in the Application Service Providing business

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