CN111797385A - Operation method and operation system of staging device and readable storage medium - Google Patents

Operation method and operation system of staging device and readable storage medium Download PDF

Info

Publication number
CN111797385A
CN111797385A CN202010595986.7A CN202010595986A CN111797385A CN 111797385 A CN111797385 A CN 111797385A CN 202010595986 A CN202010595986 A CN 202010595986A CN 111797385 A CN111797385 A CN 111797385A
Authority
CN
China
Prior art keywords
staging
information
file
equipment
unlocking
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
CN202010595986.7A
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.)
Shenzhen Inovance Technology Co Ltd
Original Assignee
Shenzhen Inovance 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 Shenzhen Inovance Technology Co Ltd filed Critical Shenzhen Inovance Technology Co Ltd
Priority to CN202010595986.7A priority Critical patent/CN111797385A/en
Publication of CN111797385A publication Critical patent/CN111797385A/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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/24Credit schemes, i.e. "pay after"

Abstract

The invention discloses an operation method, an operation system and a readable storage medium of staging equipment, wherein the operation method of the staging equipment is applied to a control end and comprises the following steps: acquiring staging information of equipment to be staged, and generating a plurality of unlocking passwords according to the staging information; respectively encrypting the unlocking passwords, and generating the encrypted unlocking passwords and the staging information into staging files; and encrypting the staging file and then sending the encrypted staging file to the equipment to be staged so that the equipment to be staged operates based on the staging file. The invention respectively encrypts the unlocking password generated according to the staging information, generates the unlocking password and the staging information as the staging file, and transmits the staging file to the staging equipment after encryption as the basis for the running of the equipment to be staged. The scheme of generating the installment file to be issued and the two-stage encryption is favorable for ensuring the safety of the unlocking password, reducing the risk of the unlocking password to be cracked to the maximum extent and effectively preventing the device to be installment from running under the abnormal condition of not paying.

Description

Operation method and operation system of staging device and readable storage medium
Technical Field
The invention relates to the technical field of industrial control, in particular to an operation method, an operation system and a readable storage medium of staging equipment.
Background
With the development of industrial technology, various industrial devices such as bending machines and injection molding machines are developed. The purchase cost of various devices is relatively high, and the payment is difficult to be paid out at one time for the demand party with small scale. Therefore, purchases between suppliers and demanders are often made through an installment mode.
In the procurement mode of the installment payment, if the demand side does not pay according to the installment agreement, the purchased equipment can be locked and can not be used. After the payment of the installment payment, the unlocking is carried out according to the password so as to be convenient for the reuse. The password used for unlocking at present is directly written into the program code used for controlling the equipment to run, so that the risk of cracking and leakage exists easily along with the malicious reading and running of the program code, and once the program code is maliciously cracked, a demand party can use the equipment under the condition of not paying according to the date. In this case, the equipment is not normally operated without payment, and the supplier is lost.
Therefore, the abnormal operation of the device under the unpaid condition caused by the leakage of the password is a technical problem to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide an operation method, an operation system and a readable storage medium of staging equipment, aiming at solving the technical problem that the equipment is operated under the abnormal condition of unpaid due to password leakage in the prior art.
In order to achieve the above object, the present invention provides an operation method of a staging device, the operation method of the staging device is applied to a control end, and the operation method of the staging device includes the following steps:
acquiring staging information of equipment to be staged, and generating a plurality of unlocking passwords according to the staging information;
respectively encrypting the unlocking passwords, and generating the encrypted unlocking passwords and the staging information into staging files;
and encrypting the staging file and then sending the staging file to the equipment to be staged so that the equipment to be staged operates based on the staging file.
Optionally, the step of encrypting the staging file and then issuing the encrypted staging file to the device to be staged so that the device to be staged operates based on the staging file includes:
when an unlocking request is received, determining a staging period corresponding to the unlocking request, and acquiring a target unlocking password corresponding to the staging period from each unlocking password;
and issuing the target unlocking password to the equipment to be classified for unlocking the equipment to be classified based on the classified file and the target unlocking password.
Optionally, the step of encrypting the staging file and then issuing the encrypted staging file to the device to be staged so that the device to be staged operates based on the staging file includes:
when receiving a staging modification request, judging whether a request user corresponding to the staging modification request exists, and if the request user exists, acquiring modification information corresponding to the staging modification request;
and modifying the staging information in the staging file according to the modification information, and sending the modified staging file to the equipment to be staged.
Optionally, the step of obtaining the staging information and generating a plurality of unlocking passwords according to the staging information includes:
when an staging request is received, acquiring a contract file corresponding to the staging request;
reading the staging number, the staging time and the contract information in the contract file, and setting the staging number, the staging time and the contract information as the staging information;
and generating a plurality of unlocking passwords which are matched with the staging number in number according to the staging number in the staging information.
Optionally, the operation method of the staging device further includes:
when a query request is received, acquiring a stage keyword carried by the query request;
inquiring according to the staging keywords to obtain a plurality of staging devices corresponding to the staging keywords and staging device information of each staging device;
and displaying staging equipment information of each staging equipment.
Further, to achieve the above object, the present invention further provides an operating method of a staging device, where the operating method of the staging device is applied to a staging device communicatively connected to a control end, and the operating method of the staging device includes the following steps:
receiving a staging file issued by a control end, decrypting the staging file and acquiring staging information;
timing the duration of the effective running state of the staging equipment according to the current staging in the staging information;
and when the duration reaches the duration limit of the current stage in the stage information, determining the effectiveness of the operation state of the stage equipment according to the feedback information corresponding to the current stage so that the stage equipment can operate based on the effectiveness of the operation state.
Optionally, the step of determining the validity of the operation state of the staging device according to the feedback information corresponding to the current staging includes:
reading a feedback identifier in the feedback information, and if the feedback identifier is a current end identifier, determining that the operating state of the staging device is valid so that the staging device operates when the operating state is valid;
updating the next period in the period information to the current period, and timing the continuous duration of the effective running state of the period equipment according to the current period in the period information;
and if the feedback identifier is the current unfinished identifier, determining that the running state of the staging device is invalid, so that the staging device can be locked when the running state is invalid.
Optionally, after the step of determining that the running state of the staging device is invalid, the locking the machine by the staging device when the running state is invalid comprises:
initiating an unlocking request to the control terminal, and receiving a target unlocking password fed back by the control terminal based on the unlocking request;
determining a reference unlocking password corresponding to the current stage from the unlocking passwords generated by decrypting the stage files;
and determining whether the target unlocking password is matched with the reference unlocking password, and if so, unlocking the target unlocking password as a valid unlocking password for the staging device to unlock.
Further, in order to achieve the above object, the present invention further provides an operating system of a staging device, where the operating system of the staging device includes a control end, and a plurality of staging devices accessed to the control end, and further includes a memory, a processor, and a control program stored in the memory and operable on the processor, and when the control program is executed by the processor, the steps of the operating method of the staging device are implemented.
Further, to achieve the above object, the present invention also provides a readable storage medium, on which a control program is stored, the control program, when executed by a processor, implementing the steps of the operating method of the staging device as described above.
The operation method of the staging device is applied to a control end, the staging information of the device to be staged is obtained first, and a plurality of unlocking passwords are generated according to the staging information; further encrypting the unlocking passwords and generating the encrypted unlocking passwords and the staging information into a staging file; and then encrypting the staging file and transmitting the staging file to the equipment to be staged so that the equipment to be staged operates according to the staging file. According to the invention, the unlocking password generated according to the staging information is encrypted, and the unlocking password and the staging information are generated into the staging file together, and are sent to the staging equipment after being encrypted, so that the password is prevented from being written into the program code, and the cracking risk caused by the reading and the operation of the program code is reduced. And each unlocking password is generated into a staging file after being encrypted respectively, and the staging file is encrypted and then issued, and the scheme of two-stage encryption is also favorable for ensuring the safety of the unlocking password. Therefore, the risk of unlocking the password is reduced to the greatest extent, and the equipment is effectively prevented from running under the abnormal condition of unpaid payment due to password leakage.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment of an operating system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a method of operating staging device in accordance with the present invention;
FIG. 3 is a schematic flow chart of a second embodiment of the method of operating staging device in accordance with the present invention;
fig. 4 is a schematic flow chart of a fourth embodiment of the operation method of the staging device of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides an operation system of staging equipment, and referring to fig. 1, fig. 1 is a schematic structural diagram of an operation system hardware operation environment related to an embodiment of the operation system of the staging equipment.
As shown in fig. 1, the operation system of the staging device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory operating system separate from the processor 1001.
Those skilled in the art will appreciate that the hardware configuration of the operating system of the staging device shown in FIG. 1 does not constitute a limitation on the operating system of the staging device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a readable storage medium, may include therein an operation execution system, a network communication module, a user interface module, and a control program. The operation running system is a program for managing and controlling the running system and software resources of the staging equipment, and supports the running of the network communication module, the user interface module, the control program and other programs or software; the network communication module is used to manage and control the network interface 1004; the user interface module is used to manage and control the user interface 1003.
In the hardware structure of the operating system of the staging device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and communicating data with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; the processor 1001 may call the control program stored in the memory 1005 and perform the following operations:
acquiring staging information of equipment to be staged, and generating a plurality of unlocking passwords according to the staging information;
respectively encrypting the unlocking passwords, and generating the encrypted unlocking passwords and the staging information into staging files;
and encrypting the staging file and then sending the staging file to the equipment to be staged so that the equipment to be staged operates based on the staging file.
Further, after the step of encrypting the staging file and then sending the encrypted staging file to the device to be staged for the device to be staged to run based on the staging file, the processor 1001 may call the control program stored in the memory 1005, and perform the following operations:
when an unlocking request is received, determining a staging period corresponding to the unlocking request, and acquiring a target unlocking password corresponding to the staging period from each unlocking password;
and issuing the target unlocking password to the equipment to be classified for unlocking the equipment to be classified based on the classified file and the target unlocking password.
Further, after the step of encrypting the staging file and then sending the encrypted staging file to the device to be staged for the device to be staged to run based on the staging file, the processor 1001 may call the control program stored in the memory 1005, and perform the following operations:
when receiving a staging modification request, judging whether a request user corresponding to the staging modification request exists, and if the request user exists, acquiring modification information corresponding to the staging modification request;
and modifying the staging information in the staging file according to the modification information, and sending the modified staging file to the equipment to be staged.
Further, the step of obtaining the staging information and generating a plurality of unlocking passwords according to the staging information includes:
when an staging request is received, acquiring a contract file corresponding to the staging request;
reading the staging number, the staging time and the contract information in the contract file, and setting the staging number, the staging time and the contract information as the staging information;
and generating a plurality of unlocking passwords which are matched with the staging number in number according to the staging number in the staging information.
Further, the processor 1001 may call the control program stored in the memory 1005 and perform the following operations:
when a query request is received, acquiring a stage keyword carried by the query request;
inquiring according to the staging keywords to obtain a plurality of staging devices corresponding to the staging keywords and staging device information of each staging device;
and displaying staging equipment information of each staging equipment.
Further, the processor 1001 may call the control program stored in the memory 1005 and perform the following operations:
receiving a staging file issued by a control end, decrypting the staging file and acquiring staging information;
timing the duration of the effective running state of the staging equipment according to the current staging in the staging information;
and when the duration reaches the duration limit of the current stage in the stage information, determining the effectiveness of the operation state of the stage equipment according to the feedback information corresponding to the current stage so that the stage equipment can operate based on the effectiveness of the operation state.
Further, the step of determining the validity of the operation state of the staging device according to the feedback information corresponding to the current staging includes:
reading a feedback identifier in the feedback information, and if the feedback identifier is a current end identifier, determining that the operating state of the staging device is valid so that the staging device operates when the operating state is valid;
updating the next period in the period information to the current period, and timing the continuous duration of the effective running state of the period equipment according to the current period in the period information;
and if the feedback identifier is the current unfinished identifier, determining that the running state of the staging device is invalid, so that the staging device can be locked when the running state is invalid.
Further, after the step of determining that the running state of the staging device is invalid for the staging device to lock the machine when the running state is invalid, the processor 1001 may call the control program stored in the memory 1005 and perform the following operations:
initiating an unlocking request to the control terminal, and receiving a target unlocking password fed back by the control terminal based on the unlocking request;
determining a reference unlocking password corresponding to the current stage from the unlocking passwords generated by decrypting the stage files;
and determining whether the target unlocking password is matched with the reference unlocking password, and if so, unlocking the target unlocking password as a valid unlocking password for the staging device to unlock.
The specific implementation of the operation system of the staging device of the present invention is substantially the same as the following embodiments of the operation method of the staging device, and is not described herein again.
The invention also provides an operation method of the staging device.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the operation method of the staging device of the present invention.
While a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than presented herein. Specifically, the operation method of the staging device in this embodiment includes:
step S10, obtaining the staging information of the equipment to be staged, and generating a plurality of unlocking passwords according to the staging information;
the operation method of the staging device is applied to the control end, the control end is connected with a plurality of staging devices and integrally forms an operation system, and the operation of each staging device is controlled by the control end according to the payment condition of each staging device in each staging period. The installments are the equipments purchased by paying for the period of several periods appointed between the equipment supplier and the equipment demander; the equipment can be industrial equipment such as a bending machine and an injection molding machine, and can also be equipment for foundation construction such as an excavator and a rotary drilling rig. The demander having a purchase demand on the injection molding machine can use the injection molding machine first before the entire money of the injection molding machine is paid out, and pay the equipment supplier at the appointed time. Once the equipment demander has not paid for the period of time, the supplier of the injection molding machine may disable the equipment demander by locking the injection molding machine until the demander pays the future money item to unlock the injection molding machine for continued use.
Further, since the control end has the same control mode for the operation of each of the connected staging devices, this embodiment selects any one of the connected staging devices as an example of the device to be staged for explanation. Specifically, the staging information of the device to be staged is acquired, and a plurality of unlocking passwords are generated according to the acquired staging information. The staging information can be acquired from a staging contract signed between a demand side and a supply side and comprises the number of staging periods agreed in the staging contract; and the number of the unlocking passwords generated according to the staging information is consistent with the staging number, so that the unlocking passwords are used for unlocking each staging respectively. Specifically, the step of acquiring the staging information and generating a plurality of unlocking passwords according to the staging information includes:
step S11, when receiving an installment request, acquiring a contract document corresponding to the installment request;
step S12, reading the installment period number, installment time and contract information in the contract file, and setting the installment period number, installment time and contract information as the installment information;
step S13, generating a plurality of unlocking passwords quantitatively matching the installment number according to the installment number in the installment information.
Furthermore, after the supply side and the demand side sign an extension contract, the manager of the control side triggers an extension request through the display interface of the control side, wherein the extension request comprises the user information of the demand side. When the control terminal receives the staging request, the user information is checked, and whether a required user represented by the user information is accessed into the control terminal or not is judged. If the user information is contained in an operating system consisting of the control end and a plurality of staging devices, the user with the requirement is judged to have accessed to the control end; otherwise, if the operating system does not contain the user information, the user with the requirement is judged to be not accessed to the control end temporarily, and the initiated staging request is invalid. And outputting prompt information prompting registration to a display interface of the control end under the condition that the required user has not accessed the control end temporarily, so that the user information is input into the operating system through registration, and the required user is accessed to the control end.
Further, after the user information is successfully verified, a contract document corresponding to the staging request, namely the staging contract signed between the supplier and the demander, is acquired. The contract document can be a paper contract or an electronic contract, but no matter what form the contract document exists, effective seal information needs to be carried. The method comprises the steps of obtaining a paper contract in a mode of uploading a scanning piece, and obtaining an electronic contract in a mode of transmitting an electronic file. After acquiring the contract file, identifying the seal information carried in the contract file, and verifying the authenticity of the seal information according to a preset seal identification algorithm. If the seal information is verified to be true and correct, the obtained contract file is judged to be valid; and if the verified seal information is false information, judging that the acquired contract document is invalid, and outputting prompt information for rejecting staging.
Further, after the contract document is determined to be authentic and effective, the number of installments, the installments and the contract information in the contract document are identified. Wherein the installment period number indicates that all money of the device is paid out in several time periods, and the installment time indicates the time range of each payment period; if a certain type of injection molding machine is appointed to pay off all money in 3 periods, the payment time is 1 monthly from the next month, the number of staging periods is 3, and the staging time is 7 months No. 1, 8 months No. 1 and 9 months No. 1. The contract information is order information for making a contract between the demand side and the supply side, and includes, but is not limited to, an order ID, a supply side ID, a demand side name, a device serial number, an order date, installment payment due or not, and the like. And the type of information identified and read from the contract file is used as staging information of the equipment to be staged together for generating a staging file and controlling the operation of the equipment to be staged.
It should be noted that, besides acquiring the number of installments, the installments and the contract information by identifying the contract document, the acquisition can also be realized by a mode that a manager with input authority inputs the information; namely, the manager inputs the number of the staging periods, the staging time and the contract information in the contract document into the control end.
Understandably, for the situation that the demand side does not pay for the lock on schedule, the essential thing is to prohibit the device from starting the running process in an encrypted way. An encryption key is obtained by a preset encryption algorithm, and when the payment due is reached and no payment is made, the encryption key is used for encryption. In order to ensure the encryption security, the set encryption algorithm is an algorithm for dynamically generating random numbers for encryption, and the generated random numbers have no regularity, so that the encryption security is improved, and cracking is avoided. Compared with the encryption algorithm of the lock, the decryption algorithm is used for unlocking, the decryption algorithm is the inverse operation of the encryption algorithm, and the decryption algorithm is set as the preset algorithm. The unlocking passwords used for unlocking are generated through a preset algorithm, and the number of the unlocking passwords is consistent with the number of the installment periods in number, so that the encryption algorithm used for locking the machine in each installment period is decrypted, and the condition that a demand side controls the normal operation of the equipment to be installment period after paying is ensured.
Step S20, respectively encrypting the plurality of unlocking passwords, and generating the plurality of encrypted unlocking passwords and the staging information as staging files.
Furthermore, each generated unlocking password is encrypted respectively, so that the safety of the unlocking password is ensured again, and leakage is avoided. The Encryption mode may be symmetric Encryption, such as DES (Data Encryption Algorithm), AES (Advanced Encryption Standard), and the like; asymmetric encryption such as RSA, Elgamal, etc.; in this embodiment, in order to secure the security of each unlock password, it is preferable to perform encryption by an asymmetric encryption method. And after each unlocking password is encrypted, generating each unlocking password and the staging information into a staging file. The method comprises the steps of presetting a staging file template, identifying a first area for adding an unlocking password and a second area for adding staging information in the staging file template, and then adding each unlocking password and the staging information into the first area and the second area of the staging file template respectively to generate a staging file.
Step S30, the staging file is encrypted and then sent to the device to be staged so that the device to be staged can operate based on the staging file.
Furthermore, the present embodiment is provided with a two-stage encryption mechanism, which includes a first-stage encryption for encrypting each unlock password respectively, and a second-stage encryption for the generated staging file. After each encrypted unlocking password and the staging information are generated into a staging file, encrypting the staging file; and the encryption of the staging file can be symmetric encryption or asymmetric encryption. And then, the encrypted staging file is sent to the equipment to be staged, so that the equipment to be staged can control the operation of the equipment to be staged according to the staging period number and the staging time of the staging information in the staging file. Specifically, the device to be staged judges whether staging information includes start staging information, starts staging if the staging information includes start staging information, and normally operates if the staging information does not include start staging information. And for the situation containing the starting of the extension, the equipment to be extended starts extension timing according to the extension starting date in the extension information, and detects whether the demand party pays the current term or not when the extension time is reached by timing. If the current term is paid, judging that the equipment to be classified is in an operable state, and starting the classification timing of the next period; if the current money is not paid out, the device to be classified is judged to be in the non-operational state, and the device to be classified is locked until the demander pays out the current money and then is unlocked.
It should be noted that, after the current payment is paid off, the demander applies for unlocking to the control terminal, and the control terminal determines whether to unlock according to the payment condition of the current payment. Specifically, the step of encrypting the staging file and then sending the encrypted staging file to the device to be staged so that the device to be staged operates based on the staging file comprises the following steps:
a1, when an unlocking request is received, determining a staging period corresponding to the unlocking request, and acquiring a target unlocking password corresponding to the staging period from each unlocking password;
step a2, the target unlocking password is sent to the device to be classified for unlocking the device to be classified based on the classified file and the target unlocking password.
Further, when the control end receives an unlocking request for applying for unlocking, the control end firstly obtains the device sequence number and the staging deadline carried in the unlocking request. The device serial number represents the devices to be unlocked to be installled, and the installment period represents the current installment number of the requested unlocking. The management equipment inquires according to the equipment sequence number, judges whether the equipment sequence code exists or not, and if the equipment sequence code exists, the management equipment indicates that the equipment to be unlocked is valid; and simultaneously verifying whether the money of the current installment amount represented by the installment period is paid off, and if the money is paid off, indicating that the device to be installment accords with the unlocking condition.
Understandably, because the unlocking passwords corresponding to the respective installment period numbers are different, after the installment period is determined from the unlocking request, the target unlocking password corresponding to the installment period is searched from the respective unlocking passwords. The target unlocking password is a valid password for unlocking the requested number of the installments, so that the target unlocking password is issued to the equipment to be installd, and the equipment to be installd can conveniently unlock according to the unlocking password matched with the target unlocking password in the installment file issued to the equipment to be installd. The device to be operated performs two-stage decryption on the staging file to obtain an unlocking password corresponding to the staging period, and judges the consistency between the target unlocking password and the unlocking password, if the target unlocking password is consistent with the unlocking password, the target unlocking password is valid, the device to be operated is successfully unlocked, and the device to be operated can continue to operate. Otherwise, if the two are not consistent, the target unlocking password is valid, the equipment to be operated fails to be unlocked, and the equipment to be operated continues to be locked.
The operation method of the staging device of the embodiment is applied to a control end, the staging information of the device to be staged is obtained firstly, and a plurality of unlocking passwords are generated according to the staging information; further encrypting the unlocking passwords and generating the encrypted unlocking passwords and the staging information into a staging file; and then encrypting the staging file and transmitting the staging file to the equipment to be staged so that the equipment to be staged operates according to the staging file. According to the invention, the unlocking password generated according to the staging information is encrypted, and the unlocking password and the staging information are generated into the staging file together, and are sent to the staging equipment after being encrypted, so that the password is prevented from being written into the program code, and the cracking risk caused by the reading and the operation of the program code is reduced. And each unlocking password is generated into a staging file after being encrypted respectively, and the staging file is encrypted and then issued, and the scheme of two-stage encryption is also favorable for ensuring the safety of the unlocking password. Therefore, the risk of unlocking the password is reduced to the greatest extent, and the equipment is effectively prevented from running under the abnormal condition of unpaid payment due to password leakage.
Further, with reference to fig. 3, a second embodiment of the method of operating the staging device of the present invention is presented based on the first embodiment of the method of operating the staging device of the present invention.
The second embodiment of the operation method of the staging device is different from the first embodiment of the operation method of the staging device in that the step of encrypting and issuing the staging file to the device to be staged so that the device to be staged operates based on the staging file comprises the following steps:
step S40, when receiving the request of modification, judging whether there is a request user corresponding to the request of modification, if there is the request user, then obtaining the modification information corresponding to the request of modification;
step S50, according to the modification information, modifying the staging information in the staging file process, and sending the modified staging file to the device to be staged.
The present embodiment is provided with a modification setting mechanism for the generated staging file, and the modification setting is supported regardless of whether the generated staging file is a newly generated staging file or a historically generated staging file. Specifically, a request for modification in stages is initiated on a display interface of the control end, and when the control end receives the request for modification in stages, it is first determined whether a requesting user corresponding to the request for modification in stages exists. The requesting user represents a demand party, and whether the demand party initiating the staging modification request is a valid demand party accessed to the control end is determined by judging whether the requesting user exists. If the request user corresponding to the staging modification request exists, the demand party initiating the staging modification request is represented as an effective demand party accessed to the control end, and the staging file can be modified. Therefore, the modification information for modification is read from the staging modification request, and the staging file is modified by the modification information; if the demand party increases the repayment amount of each term and reduces the installment period number, the modified installment period number and the modified repayment amount of each term are used to replace the current remaining installment period number and the repayment amount of each term in the modified file. And then, the modified staging file is sent to the equipment to be staged, so that the operation of the equipment to be staged is controlled according to the modified and updated staging file.
According to the embodiment, the modification setting mechanism of the staging file is set, so that the staging period number and the staging time can be set dynamically according to requirements, and the staging is more flexible. Meanwhile, before modification, an identity authentication mechanism is set, and modification is performed after identity authentication is successful, so that the setting accuracy and effectiveness are ensured while the installments are flexibly set through modification.
Further, based on the first or second embodiment of the method of operating a staging device of the present invention, a third embodiment of the method of operating a staging device of the present invention is presented.
The third embodiment of the method of operating a staging device differs from the first or second embodiment of the method of operating a staging device in that the method of operating a staging device further comprises:
step b1, when receiving a query request, acquiring a stage keyword carried by the query request;
b2, inquiring according to the staging keywords to obtain a plurality of staging devices corresponding to the staging keywords and staging device information of each staging device;
and b3, displaying the staging device information of each staging device.
In this embodiment, a mechanism for querying each staging device of the access control end is set to check the staging condition of each staging device. Specifically, when a query request is received, a staging keyword is obtained from the query request, the staging keyword may be a model of the staging device, a name of a requesting party, a staging date, a number of staging periods and the like, and different staging keywords represent characteristics common to the staging devices to be queried in each dimension. After the stage keyword carried by the query request is obtained, querying is carried out according to the stage keyword to obtain a plurality of stage devices corresponding to the stage keyword, and each stage device has the common characteristic on the dimension represented by the stage keyword. And if the staging keywords are the models of the staging devices, the plurality of the searched staging devices are all the staging devices belonging to the models. And meanwhile, acquiring staging equipment information of each piece of staging equipment meeting the query condition represented by the staging keyword, wherein the staging equipment information comprises but is not limited to an order ID, a supplier ID, a demander name, an equipment serial number, an order date, whether the staging payment is carried out or not and the like. And the obtained equipment staging information is displayed in a display interface of the control end, so that various conditions of staging of the equipment are checked conveniently.
The embodiment sets a mechanism for querying the staging devices through the staging keywords, so that the staging conditions of the staging devices accessed into the control end can be conveniently checked from all dimensions, manual recording of the staging devices one by one is avoided, quick checking is facilitated, and the checking dimensions are enriched.
Furthermore, the invention also provides another operation method of the staging device.
Referring to fig. 4, fig. 4 is a schematic flow chart of a fourth embodiment of the operation method of another staging device according to the invention. Specifically, the operation method of the staging device in this embodiment includes:
step S60, receiving the staging file sent by the control end, decrypting the staging file and acquiring staging information;
the operation method of the staging device in this embodiment is applied to the staging device connected with the control end, and when receiving the staging file issued by the control end, the staging device decrypts the staging file first, and decrypts the unlocking password and the staging information from the staging file. And then checking the staging information, and judging whether the received staging file is suitable for the staging equipment receiving the staging file or not through the staging information. And reading the equipment serial number from the staging information, reading the local serial number from a storage unit of the staging equipment, comparing the equipment serial number with the local serial number, and judging the consistency of the equipment serial number and the local serial number. If the two are consistent, the received staging file is suitable for the staging device receiving the staging file, and the operation of the staging device can be controlled according to the staging information. If the device sequence number is judged to be inconsistent with the local sequence number, the received staging file is not suitable for the staging device receiving the staging file and is not used as the operation basis of the staging device.
It should be noted that the present embodiment may set a two-stage authentication mechanism to ensure the safe operation of the device to be authenticated. The two-stage verification comprises verification of a decryption process and verification of staging information verification. For the verification of the decryption process, the control end generates the staging file of each staging device in an asymmetric encryption mode for each accessed staging device and sends the staging file to each staging device. After receiving the staging file, each staging device can decrypt the staging file only through the respective private key. If receiving the staging file which is not suitable for the staging device, the decryption by all private keys of the staging file fails. And for the staging file suitable for the staging equipment, after all private keys of the staging file are successfully decrypted, the staging file is continuously verified through the staging information. And after the verification is successful, judging that the two-stage verification is passed.
Step S70, timing the duration of the effective running state of the staging equipment according to the current staging in the staging information;
further, after the staging file is judged to be suitable for the staging equipment according to the equipment sequence number in the staging information, the duration of the effective running state of the staging equipment is timed according to the current staging in the staging information. The current stage comprises date and time for representing the starting stage in the current stage, and the effective operation state represents that the current charge payment of the stage equipment is in a state capable of supporting the starting operation. And controlling the starting timing of the staging equipment according to the date and time of starting staging, and accumulating the duration of the staging equipment in an effective running state. In addition, the staging information also comprises a duration limit of the current staging, the accumulated duration is compared with the duration limit, and whether the duration reaches the duration limit is judged. If the date and time for starting the staging is No. 1 month and the time limit is 30 days, starting timing by No. 1 month, accumulating the duration of the staging equipment in the effective running state, comparing the obtained duration with 30 days, and judging whether the duration in the effective running state reaches 30 days.
Step S80, when the duration reaches the duration limit of the current stage in the stage information, determining the validity of the operation state of the stage equipment according to the feedback information corresponding to the current stage, so that the stage equipment can operate based on the validity of the operation state.
Further, if the duration reaches the duration limit determined by the comparison, the effectiveness of the operation state of the staging device is detected, so as to control the operation of the staging device according to the effectiveness. If the duration does not reach the duration limit as determined by the comparison, the duration continues to be accumulated until the duration reaches the duration limit. Wherein, the time length limit represents the payment deadline, whether the running state is effective or not represents whether the payment is cleared within the payment deadline, if the payment is cleared, the running state is effective, and if the payment is not cleared, the running state is ineffective.
Further, when the determined duration reaches the duration limit, determining the validity of the operation state of the staging device according to the feedback information corresponding to the current staging so that the staging device operates according to the validity of the operation state. And the feedback information corresponding to the current stage is used for indicating whether the money of the current stage is paid off or not. If the control end receives the current installment money and judges that the current installment money is paid off, the paid-off information is fed back to the installment equipment; if the control terminal does not receive or receives part of the current installment money, the control terminal judges that the current installment money is not paid, and feeds back the information of not paying to the installment equipment. When the feedback information is paid information, determining that the running state of the staging equipment is an effective state; and if the feedback information is unpaid information, determining that the running state of the staging equipment is an invalid state. For the valid state, the staging device supports startup operation, and the startup operation can be started when the staging device has a startup requirement. For the invalid state, the staging equipment does not support the starting operation, is in the locking state, and cannot start the operation even if the staging equipment has the starting requirement. Therefore, the staging equipment can run according to the effectiveness of the running state.
The operation method of the staging device of the embodiment is applied to the staging device which is in communication connection with the control end, and when the staging file sent by the control end is received, the staging file is decrypted, and staging information is obtained from the staging file; and timing the continuous duration of the effective operation state of the staging equipment according to the current staging in the staging information, and determining the effectiveness of the operation state of the staging equipment according to the feedback information corresponding to the current staging when the timing reaches the duration limit of the current staging in the staging information so as to facilitate the effective operation of the staging equipment based on the operation state. The staging information and the local staging information of the staging equipment are obtained from the received staging file and decrypted, and the staging information is used as a timing basis after the decryption is successful and the verification is passed. The applicability between the staging file and the staging device is ensured by the two-stage checking mode, and the accurate operation of the staging device according to the feedback information is facilitated.
Further, based on a fourth embodiment of the method of operating another staging device of the present invention, a fifth embodiment of the method of operating a staging device of the present invention is presented.
The fifth embodiment of the method for operating a staging device differs from the fourth embodiment of the method for operating a staging device in that the step of determining the validity of the operating state of the staging device based on the feedback information corresponding to the current staging comprises:
step S81, reading a feedback identifier in the feedback information, and if the feedback identifier is a current end identifier, determining that the operation state of the staging device is valid, so that the staging device operates when the operation state is valid;
step S82, updating the next stage in the stage information to the current stage, and executing the step of timing the continuous duration of the effective running state of the stage equipment according to the current stage in the stage information;
step S83, if the feedback identifier is the incomplete-date identifier, determining that the operation state of the staging device is invalid, so that the staging device is locked when the operation state is invalid.
Furthermore, paid information and outstanding information in the feedback information are distinguished by different feedback identifiers, the paid information is represented by a current period ending identifier, and outstanding information is represented by a current period ending identifier. And the staging terminal reads the feedback identifier from the feedback information sent by the control terminal after receiving the feedback information, and determines the effectiveness of the operating state of the staging equipment according to the feedback information represented by the feedback identifier. And if the feedback identifier is the current-period ending identifier, and the feedback information is the paid-up information, determining that the operating state of the staging equipment is valid. And if the feedback identifier is the current unfinished identifier, and the feedback information is the outstanding information, determining that the operation state of the staging equipment is invalid. For the effective operation state, the staging device supports starting operation, and updates the next staging in the staging information to the current staging, namely, the next staging is used as a new current staging, the duration of the effective operation state in which the staging device is currently positioned is timed until the accumulated duration reaches the duration limit of the new current staging, and the effectiveness of the operation state of the staging device is determined according to the feedback information of the new current staging. For an invalid operating state, the staging device initiates a lock mechanism.
Understandably, when the operating state of the staging device is judged to be invalid and the staging device starts to lock the machine, if the staging device is in operation, the machine is locked, so that unpredictable risks can occur to the operating staging device, and therefore, the machine is firstly used for detecting whether the staging device is in operation. And if detecting that the staging equipment is in operation, locking the machine by the staging equipment after the operation is finished. And if detecting that the staging equipment is not in operation, directly locking the staging equipment.
Still further, the step of determining that the operational status of the staging device is invalid for the staging device to lock when the operational status is invalid comprises:
step S84, an unlocking request is sent to the control terminal, and a target unlocking password fed back by the control terminal based on the unlocking request is received;
step S85, determining a reference unlocking password corresponding to the current stage from the unlocking passwords generated by decrypting the stage files;
step S86, determining whether the target unlocking password is matched with the reference unlocking password, and if the target unlocking password is matched with the reference unlocking password, unlocking the target unlocking password as a valid unlocking password for the staging device to unlock.
Furthermore, the staging device does not support starting operation after locking the machine, and can be unlocked in a mode of paying off current money and acquiring passwords. Specifically, after the current payment is paid off, an unlocking request is initiated to the control terminal, and after the control terminal receives the unlocking request, whether the current payment of the staging device initiating the unlocking request is paid off is checked. And the control terminal reads the equipment serial number from the unlocking request and inquires the payment state of the current money of the staging equipment according to the equipment serial number. If the payment state is the finished state, continuously searching each unlocking password generated aiming at the staging equipment before, and searching a target unlocking password for unlocking aiming at the current staging from each unlocking password. And if the payment state is the unfinished payment, the control terminal refuses the unlocking request.
Furthermore, the control terminal feeds back the searched target unlocking password to the staging device based on the unlocking request, namely feeds back the target unlocking password to the staging device initiating the unlocking request. After receiving the target unlocking password, the staging device searches a reference unlocking password for unlocking the current staging from the unlocking passwords obtained by decrypting the staging file. And then comparing the target unlocking password with the reference unlocking password to determine whether the target unlocking password and the reference unlocking password are matched. If the two are determined to be consistent through comparison, the two are judged to be matched, and if the two are not consistent, the two are judged not to be matched. And outputting prompt information of unlocking failure under the condition of unmatching, and setting the target unlocking password as an effective unlocking password under the condition of matching so as to facilitate the staging device to unlock according to the target unlocking password and enable the staging device to support operation.
It should be noted that, in this embodiment, the target unlocking request may be received in a manner input by a manager of the staging device, an input box for inputting the target unlocking password is displayed in a display interface of the staging device, and after the staging device receives the target unlocking password input through the input box, the reference unlocking password is searched for comparison and matching, so as to perform unlocking. Besides, an input frame used for inputting a target receiving password is arranged in the display interface, introduction of an installfile is supported, information such as the total installments of installments, the number of remaining days of the installments, the current payment date, the installments starting date, the equipment serial number and the installfile introduction date is obtained through the introduced installfile, the number of paid times is obtained according to historical payment information, the obtained various information is displayed in the display interface, and unlocking is carried out in combination with a target unlocking password. Therefore, various kinds of information can be checked again in the unlocking process, and accurate unlocking is realized.
The embodiment represents the type of the feedback information through the feedback identification, and is beneficial to determining the effectiveness of the operating state of the staging device quickly according to the feedback information, and then operating according to the effectiveness. And after the staging equipment is locked due to the invalid running state, if the current payment is paid out, an unlocking request is sent to the control end, and after a target unlocking password fed back by the control end based on the unlocking request is received, the generated unlocking password is decrypted according to the staging file, the target unlocking password is verified, and after the verification is successful, the target unlocking password is used as the valid unlocking password for unlocking the staging equipment. The unlocking password is added into the staging file for encryption, so that the leakage of the unlocking password is avoided, and the unlocking operation of the staging device is facilitated.
In addition, the embodiment of the invention also provides a readable storage medium.
The readable storage medium has stored thereon a control program which, when executed by the processor, carries out the steps of the method of operation of the staging device as described above.
The readable storage medium of the present invention may be a computer readable storage medium, and the specific implementation manner of the readable storage medium of the present invention is substantially the same as that of each embodiment of the operation method of the staging device, and will not be described herein again.
The present invention is described in connection with the accompanying drawings, but the present invention is not limited to the above embodiments, which are only illustrative and not restrictive, and those skilled in the art can make various changes without departing from the spirit and scope of the invention as defined by the appended claims, and all changes that come within the meaning and range of equivalency of the specification and drawings that are obvious from the description and the attached claims are intended to be embraced therein.

Claims (10)

1. An operation method of staging equipment is characterized in that the operation method of the staging equipment is applied to a control end and comprises the following steps:
acquiring staging information of equipment to be staged, and generating a plurality of unlocking passwords according to the staging information;
respectively encrypting the unlocking passwords, and generating the encrypted unlocking passwords and the staging information into staging files;
and encrypting the staging file and then sending the staging file to the equipment to be staged so that the equipment to be staged operates based on the staging file.
2. The method for operating the staging device according to claim 1, wherein the step of encrypting the staging file and then sending the staging file to the device to be staged for the device to be staged to operate based on the staging file comprises the steps of:
when an unlocking request is received, determining a staging period corresponding to the unlocking request, and acquiring a target unlocking password corresponding to the staging period from each unlocking password;
and issuing the target unlocking password to the equipment to be classified for unlocking the equipment to be classified based on the classified file and the target unlocking password.
3. The method for operating the staging device according to claim 1, wherein the step of encrypting the staging file and then sending the staging file to the device to be staged for the device to be staged to operate based on the staging file comprises the steps of:
when receiving a staging modification request, judging whether a request user corresponding to the staging modification request exists, and if the request user exists, acquiring modification information corresponding to the staging modification request;
and modifying the staging information in the staging file according to the modification information, and sending the modified staging file to the equipment to be staged.
4. The method of claim 1, wherein the step of obtaining staging information and generating a plurality of unlocking passwords based on the staging information comprises:
when an staging request is received, acquiring a contract file corresponding to the staging request;
reading the staging number, the staging time and the contract information in the contract file, and setting the staging number, the staging time and the contract information as the staging information;
and generating a plurality of unlocking passwords which are matched with the staging number in number according to the staging number in the staging information.
5. The method of operating an staging device according to any of claims 1-4, further comprising:
when a query request is received, acquiring a stage keyword carried by the query request;
inquiring according to the staging keywords to obtain a plurality of staging devices corresponding to the staging keywords and staging device information of each staging device;
and displaying staging equipment information of each staging equipment.
6. An operation method of a staging device is applied to the staging device which is in communication connection with a control end, and comprises the following steps:
receiving a staging file issued by a control end, decrypting the staging file and acquiring staging information;
timing the duration of the effective running state of the staging equipment according to the current staging in the staging information;
and when the duration reaches the duration limit of the current stage in the stage information, determining the effectiveness of the operation state of the stage equipment according to the feedback information corresponding to the current stage so that the stage equipment can operate based on the effectiveness of the operation state.
7. The method of claim 6, wherein the step of determining the validity of the operational state of the staging device based on the feedback information corresponding to the current staging comprises:
reading a feedback identifier in the feedback information, and if the feedback identifier is a current end identifier, determining that the operating state of the staging device is valid so that the staging device operates when the operating state is valid;
updating the next period in the period information to the current period, and timing the continuous duration of the effective running state of the period equipment according to the current period in the period information;
and if the feedback identifier is the current unfinished identifier, determining that the running state of the staging device is invalid, so that the staging device can be locked when the running state is invalid.
8. The method of claim 7, wherein the step of determining that the operational state of the staging device is invalid for the staging device to lock when the operational state is invalid comprises, after the step of determining that the staging device is not valid:
initiating an unlocking request to the control terminal, and receiving a target unlocking password fed back by the control terminal based on the unlocking request;
determining a reference unlocking password corresponding to the current stage from the unlocking passwords generated by decrypting the stage files;
and determining whether the target unlocking password is matched with the reference unlocking password, and if so, unlocking the target unlocking password as a valid unlocking password for the staging device to unlock.
9. An operating system of a staging device, characterized in that the operating system of the staging device comprises a control terminal, and a plurality of staging devices accessing the control terminal, and further comprises a memory, a processor and a control program stored on the memory and operable on the processor, which control program, when executed by the processor, implements the steps of the operating method of the staging device according to any of claims 1-5 or 6-8.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a control program which, when executed by a processor, carries out the steps of the method of operating an staging device according to any of claims 1-5 or 6-8.
CN202010595986.7A 2020-06-24 2020-06-24 Operation method and operation system of staging device and readable storage medium Pending CN111797385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010595986.7A CN111797385A (en) 2020-06-24 2020-06-24 Operation method and operation system of staging device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010595986.7A CN111797385A (en) 2020-06-24 2020-06-24 Operation method and operation system of staging device and readable storage medium

Publications (1)

Publication Number Publication Date
CN111797385A true CN111797385A (en) 2020-10-20

Family

ID=72803899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010595986.7A Pending CN111797385A (en) 2020-06-24 2020-06-24 Operation method and operation system of staging device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111797385A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158175A (en) * 2021-04-26 2021-07-23 厦门绿洋环境技术股份有限公司 Password management system and method for control equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158175A (en) * 2021-04-26 2021-07-23 厦门绿洋环境技术股份有限公司 Password management system and method for control equipment

Similar Documents

Publication Publication Date Title
US11196572B2 (en) Blockchain-based content verification
CN108900464B (en) Electronic device, block chain-based data processing method, and computer storage medium
US7171662B1 (en) System and method for software licensing
US6189146B1 (en) System and method for software licensing
CN100593166C (en) Portable computing environment
CN102449631B (en) For performing the system and method for bookkeeping
US20130246281A1 (en) Service providing system and unit device
US8086856B2 (en) Disabling on/off capacity on demand
US20060036547A1 (en) Authentication system, card and authentication method
JP4533935B2 (en) License authentication system and authentication method
CN101989982A (en) Information processing apparatus, program, storage medium and information processing system
CN111917773A (en) Service data processing method and device and server
CN110535807B (en) Service authentication method, device and medium
US20090086980A1 (en) Enabling a secure oem platform feature in a computing environment
CN112165382A (en) Software authorization method and device, authorization server and terminal equipment
US20070028298A1 (en) System and method for configuring an electronic device
US8694434B1 (en) Techniques for unregistering and transferring software licenses
CN110955699A (en) Decentralized electronic academic certificate checking method and system
WO2022094648A1 (en) Method for suspending protection of an object achieved by a protection device
JP2002041171A (en) Install key issuing system, install key issuing device and method, computer system and software install method
KR101876672B1 (en) Digital signature method using block chain and system performing the same
CN111797385A (en) Operation method and operation system of staging device and readable storage medium
JP2007272600A (en) Personal authentication method, system and program associated with environment authentication
JP6603970B2 (en) Electronic key management device, electronic key management system, electronic key management method, and program
CN115482132A (en) Data processing method and device for electronic contract based on block chain and server

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