CN116128492A - Method for controlling installment payment of drilling machine - Google Patents

Method for controlling installment payment of drilling machine Download PDF

Info

Publication number
CN116128492A
CN116128492A CN202310395401.0A CN202310395401A CN116128492A CN 116128492 A CN116128492 A CN 116128492A CN 202310395401 A CN202310395401 A CN 202310395401A CN 116128492 A CN116128492 A CN 116128492A
Authority
CN
China
Prior art keywords
data
password
stage
calculating
preset
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.)
Granted
Application number
CN202310395401.0A
Other languages
Chinese (zh)
Other versions
CN116128492B (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.)
ZHANGJIAKOU XUANHUA JINKE DRILLING MACHINERY CO Ltd
Original Assignee
ZHANGJIAKOU XUANHUA JINKE DRILLING MACHINERY 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 ZHANGJIAKOU XUANHUA JINKE DRILLING MACHINERY CO Ltd filed Critical ZHANGJIAKOU XUANHUA JINKE DRILLING MACHINERY CO Ltd
Priority to CN202310395401.0A priority Critical patent/CN116128492B/en
Publication of CN116128492A publication Critical patent/CN116128492A/en
Application granted granted Critical
Publication of CN116128492B publication Critical patent/CN116128492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • EFIXED CONSTRUCTIONS
    • E21EARTH DRILLING; MINING
    • E21BEARTH DRILLING, e.g. DEEP DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
    • E21B44/00Automatic control systems specially adapted for drilling operations, i.e. self-operating systems which function to carry out or modify a drilling operation without intervention of a human operator, e.g. computer-controlled drilling systems; Systems specially adapted for monitoring a plurality of drilling variables or conditions
    • 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/08Payment architectures
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • G06Q20/127Shopping or accessing services according to a time-limitation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Strategic Management (AREA)
  • Mining & Mineral Resources (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Geology (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Fluid Mechanics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geochemistry & Mineralogy (AREA)
  • Earth Drilling (AREA)

Abstract

The invention provides a control method for installment payment of a drilling machine. The method comprises the following steps: receiving a handshake key sent by a display controller on the drilling machine, and verifying the handshake key; when the verification is successful, sending verification success information to the display controller, and receiving the staging parameter sent by the display controller; calculating the remaining days in the current stage according to the stage parameters; and limiting the preset functions of the drilling machine when the remaining days are smaller than the first preset days. The invention does not need to arrange a GPS module, thereby reducing the cost; the display controller and the controller realize the limitation of the preset function of the drilling machine through instruction interaction, have strong adaptability, can control all elements corresponding to the preset function, and are more complicated to crack by a user.

Description

Method for controlling installment payment of drilling machine
Technical Field
The invention relates to the technical field of data processing, in particular to a method for controlling installment payment of a drilling machine.
Background
The drilling machine is used for driving the drilling tool to break rock at the bottom of a hole, and is used for putting in or lifting out the drilling tool in the hole in the exploration or mineral resource development. The drilling machine is a large and complex machine and is therefore expensive, and is typically purchased in installments.
The installment payment mode commonly used in the drilling machine in the prior art is realized through a global positioning system (Global Positioning System, GPS) module, namely, the installment function is realized through controlling a diesel engine part circuit through the GPS, for example, the GPS module controls an oil supply electromagnetic valve. When the payment period is up, the GPS module is remotely operated to cut off the power supply of the oil supply electromagnetic valve of the diesel engine, so that the diesel engine cannot normally supply oil and cannot be started. When the user settles the current money, the GPS module is remotely operated, and the power supply of the oil supply electromagnetic valve of the diesel engine is recovered, so that the user can normally use the equipment.
However, the control mode of the GPS module is single, and only 1 or 2 originals of the diesel engine can be electrically controlled, so that the control mode is easy to be cracked by a user; the GPS module needs to be used for paying at regular intervals, so that the cost is high; and the GPS module needs to work at a position with good signals, resulting in poor applicability.
Disclosure of Invention
The embodiment of the invention provides a control method for installment payment of a drilling machine, which aims to solve the problems of easiness in cracking, high cost and poor applicability caused by adopting a GPS module to control the installment payment in the prior art.
In a first aspect, an embodiment of the present invention provides a method for controlling installment payment of a drilling machine, which is applied to a controller on the drilling machine, where the method for controlling installment payment of the drilling machine includes:
Receiving a handshake key sent by a display controller on the drilling machine, and verifying the handshake key;
when the verification is successful, sending verification success information to the display controller, and receiving the staging parameter sent by the display controller;
calculating the remaining days in the current stage according to the stage parameters;
and limiting the preset functions of the drilling machine when the remaining days are smaller than the first preset days.
In one possible implementation, receiving the staging parameter sent by the display controller includes:
the staging parameter sent by the display controller is received through a controller area network bus (Controller Area Network, CAN) bus.
In one possible implementation, the method further includes:
when verification fails, or when the CAN bus is detected to be in a fault state, the stored staging parameter is called.
In a second aspect, an embodiment of the present invention provides a method for controlling installment payment of a drilling machine, which is applied to a display controller on the drilling machine, where the method for controlling installment payment of the drilling machine includes:
after power-on, sending a handshake key to a controller of the drilling machine so that the controller can verify the handshake key;
After receiving the verification success information sent by the controller, sending a staging parameter to the controller so that the controller can control the preset function of the drilling machine according to the staging parameter;
calculating and displaying the remaining days in the current stage according to the stage parameters;
and outputting reminding contents when the remaining days are smaller than the second preset days.
In one possible implementation, the method further includes:
after receiving triggering operation of adjusting the stage parameter by a user, calculating a first user name and a first password according to the current stage parameter;
after receiving a second user name and a second password input by a user, carrying out account verification on the second user name and the second password according to the first user name and the first password;
and after the account passes the verification, adjusting the stage parameters in the stage interface, and sending the adjusted stage parameters to the controller so that the controller releases the limit on the preset functions of the drilling machine according to the current stage parameters.
In one possible implementation, after the account verification is passed, before adjusting the stage parameter in the stage interface, the method further includes:
and performing invalidation processing on the first user name and the first password.
In one possible implementation manner, when the second user name is a staged user name and the second password is a staged password, the adjusting the staged parameter in the staged interface includes:
adjusting the expiration time in the staging interface to end;
when the second user name is a deferred user name and the second password is a deferred password, adjusting the stage parameters in the stage interface includes:
and adjusting the expiration time in the staging interface to be the next delay time.
In one possible implementation manner, the calculating the first user name and the first password according to the current stage parameter includes:
judging whether the next stage is the last stage according to the current stage parameters;
if the next period is not the last period, calculating a delay user name and a delay password;
and if the next stage is the last stage, calculating the stage user name and the stage password.
In one possible implementation, the current stage parameter includes a current date and a preset value; the current date year data, month data, date data, hour data, minute data and week data, wherein the preset numerical values comprise a handshake key and one preset number corresponding to the year data, month data, date data, hour data, minute data and week data respectively, the handshake key is a number of N digits, and N is a positive integer greater than or equal to 8;
The calculating the staged user name and the staged password comprises the following steps:
respectively calculating natural logarithms of a front P-bit number and a rear Q-bit number of the handshake key, and respectively reserving decimal data of the numbers to obtain a first decimal place and a second decimal place, wherein P+Q=N;
calculating the natural logarithm of the preset relation between the current date and the corresponding preset number, and reserving decimal data of the number to obtain corresponding third decimal respectively;
calculating the number of weeks in the current year according to the year data, the month data and the date data, and taking the number of weeks in the current year as first insertion data;
calculating a first position to be inserted of the first insertion data according to the minute data;
inserting the first insertion data after the corresponding data of the first position of the preset character string to obtain a staged user name;
calculating to obtain an initial password according to the first decimal place, the second decimal place and the third decimal place;
calculating the number of the remaining weeks in the current year according to the number of the weeks, and determining characters corresponding to data corresponding to the number of the remaining weeks in a preset character library as second insertion data;
calculating the difference value between N and the first position data to obtain a second position;
and inserting the second insertion data after the data corresponding to the first position or the second position of the initial password to obtain a stage password.
In one possible implementation, the calculating the deferred username and deferred password includes:
respectively calculating natural logarithms of high P digits and low Q digits of the handshake key, and respectively reserving decimal places of the digits to obtain a first decimal place and a second decimal place;
calculating the natural logarithm of the preset relation between the current date and the corresponding preset number, and reserving only decimal places of the number to obtain corresponding third decimal places respectively;
calculating the number of weeks of the current week in the current year according to the year data, the month data and the date data, calculating the remaining number of weeks of the current year according to the number of weeks, and taking the remaining number of weeks as fourth insertion data;
calculating a fourth position to be inserted of the fourth insertion data according to the minute data;
inserting the fourth insertion data after presetting the data corresponding to the fourth position of the character string to obtain a deferred user name;
calculating to obtain an initial password according to the first decimal place, the second decimal place and the third decimal place;
calculating the natural logarithm of the sum of the initial password and a preset number, and taking N-bit data after the decimal of the natural logarithm as a correction password;
determining characters corresponding to data corresponding to the frequency in a preset character library as fifth insertion data;
And inserting the fifth insertion data after the data corresponding to the fourth position of the corrected password to obtain a deferred password.
The embodiment of the invention provides a control method for installment payment of a drilling machine, which is used for receiving the installment parameters sent by a display controller after handshake verification is successful; calculating the remaining days in the current stage according to the stage parameters; and limiting the preset functions of the drilling machine when the remaining days are smaller than the first preset days. According to the scheme provided by the embodiment of the invention, a GPS module is not required to be arranged, and the control of the installment payment of the drilling machine can be realized through the interaction of the display controller and the controller, so that the cost can be reduced; in addition, the controller calculates the number of days remaining in the current stage and limits the preset function of the drilling machine according to the number of days remaining, and compared with the prior art that a GPS module can only control power supply of less than 2 elements, the controller can control all elements corresponding to the preset function of the drilling machine at one time, the control mode is simpler, the application of the elements is less, and the user cracking is more complex.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an implementation of a method for controlling installment payment of a drilling machine according to an embodiment of the present invention;
FIG. 2 is a flow chart of an implementation of a method for controlling installment of a drilling machine according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for adjusting a staging parameter in a staging interface according to another embodiment of the invention;
FIG. 4 is a schematic diagram of the structure of a control device for installment payment of a drilling machine according to an embodiment of the invention;
fig. 5 is a schematic structural diagram of a control device for installment payment of a drilling machine according to another embodiment of the invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the following description will be made by way of specific embodiments with reference to the accompanying drawings.
Fig. 1 is a flow chart of a method for controlling installment payment of a drilling machine, which is applied to a buyer side, and a specific execution subject is a controller on the drilling machine. The controller and the display controller are arranged on the drilling machine, wherein the controller on the drilling machine specifically controls some functions of the drilling machine, if the current period expires, the controller limits the preset functions so that the drilling machine cannot work, and the display controller and the controller interact to complete the control of the period payment, as described in detail below.
And step 101, receiving a handshake key sent by a display controller on the drilling machine, and verifying the handshake key.
In this step, the handshake key is calculated by the display controller according to the key sent by the controller, specifically, after the controller is powered on, the controller sends the key to the display controller, where the key may be the serial number of the controller, and after the display controller receives the serial number, the handshake key is calculated and returned to the controller, so that the controller performs verification of the handshake key. The manner in which the display controller calculates the handshake key from the serial number is not limited in this embodiment. The handshake key has uniqueness.
Optionally, after receiving the handshake key, the controller compares the handshake key with the handshake key stored by the controller, if the comparison is consistent, the authentication is successful, and if the comparison is inconsistent, the authentication is failed.
Optionally, the display controller may not further calculate the serial number, save the serial number, send the saved serial number to the controller as a handshake key, and compare the received handshake key with the serial number stored by the controller, where the verification is successful when the comparison is consistent, and the verification is failed when the comparison is inconsistent.
And 102, when the verification is successful, sending verification success information to the display controller and receiving the staging parameter sent by the display controller.
Optionally, the controller and the display controller perform data interaction through the CAN bus, so that the controller receives the staging parameter sent by the display controller through the CAN bus, and then controls the preset function of the drilling machine according to the staging parameter.
Compared with the prior art that a remote operation GPS module is needed to control the power supply of an oil supply electromagnetic valve of a diesel engine, and the display controller is needed to work at a position with good signals, the display controller CAN directly control the controller to limit the preset function of the drilling machine through the CAN bus in the embodiment, the working position is not limited, and the adaptability is wider.
Optionally, when the verification fails, or when the CAN bus is detected to be in a fault state, the stored staging parameter is called so as to control the preset function of the drilling machine according to the staging parameter.
And step 103, calculating the remaining days in the current stage according to the stage parameters.
Optionally, the stage parameters include stage switch state, expiration date, days allowed to delay, and the like.
Calculating the number of days remaining in the current stage may include: obtaining the current time of the system, and subtracting the current time from the expiration date to obtain the remaining days of the current stage;
or acquiring the current time of the system, and calculating the expiration date minus the current time and adding the number of days allowed to delay to obtain the remaining number of days of the current stage.
And 104, limiting the preset functions of the drilling machine when the remaining days are smaller than the first preset days.
Optionally, the first preset number of days may be 0, and when the remaining number of days is less than the first preset number of days, it indicates that the current period has expired, so that the preset function of the drilling machine needs to be limited, and the rights of the seller are protected.
The preset functions can be drilling functions of a drilling machine, action functions of a mechanical arm, and functions of connecting and disconnecting drill rods. When the preset functions of the drilling machine are limited, the drilling machine cannot work, but some basic functions such as an engine start-stop function, a walking function of the drilling machine and the like are reserved. Limiting the preset function of the drilling machine here refers to controlling the solenoid valve corresponding to the preset function. In this embodiment, the controller may automatically control all the solenoid valves corresponding to the preset function, and compared with the GPS module in the prior art, the GPS module only can control power supply of less than 2 elements, so that the control method is simpler, fewer elements are applied, and the user cracking is more complex.
And when the remaining days are not less than the first preset days, maintaining the current function of the drilling machine.
Optionally, when the remaining days are smaller than the first preset days, the buyer sends the stage adjustment request to the seller, and the stage adjustment request can be sent in an offline mode, for example, in a mode of making a phone call and sending information through a mobile phone, so that the problem of unsafe information caused by on-line information transmission is solved.
According to the control method for the installment payment of the drilling machine, after the successful handshake verification, the installment parameters sent by the display controller are received; calculating the remaining days in the current stage according to the stage parameters; and limiting the preset functions of the drilling machine when the remaining days are smaller than the first preset days. The scheme provided by the embodiment of the invention can realize the control of the installment payment of the drilling machine without setting a GPS module, thereby reducing the cost; in addition, the controller calculates the number of days remaining in the current stage and limits the preset function of the drilling machine according to the number of days remaining, and compared with the prior art that a GPS module can only control power supply of less than 2 elements, the controller can control all elements corresponding to the preset function of the drilling machine at one time, the control mode is simpler, the application of the elements is less, and the user cracking is more complex.
Fig. 2 is a flow chart of a method for controlling installment payment of a drilling machine according to another embodiment of the present invention, which is applied to a buyer, specifically a display controller on the drilling machine, and the display controller interacts with the controller to complete the control of installment payment, as described in detail below.
Step 201, after power-up, sending a handshake key to the controller of the drilling machine so that the controller verifies the handshake key.
The display controller firstly receives the secret key sent by the controller, and a handshake secret key is obtained according to the secret key calculation. The handshake key has uniqueness. The key received here may be the serial number of the controller.
The calculation manner of the handshake key according to the key calculation is not limited in the present embodiment.
Here, the handshake key may be a key transmitted by the controller.
Step 202, after receiving the verification success information sent by the controller, sending a staging parameter to the controller so that the controller can control the preset function of the drilling machine according to the staging parameter.
Optionally, the display controller sends the staging parameter to the controller via the CAN bus. Compared with the prior art that the remote operation GPS module is needed to control the power supply of the oil supply electromagnetic valve of the diesel engine, and the remote operation GPS module is needed to work at a position with good signals, the display controller in the embodiment CAN directly control the controller to limit the preset function of the drilling machine through the CAN bus, and the remote operation GPS module is not limited to the working position and has wider adaptability.
And 203, calculating the remaining days in the current stage according to the stage parameters.
In this embodiment, the manner of displaying the number of days remaining in the current stage by the controller is the same as the manner of calculating the number of days remaining by the controller, and will not be described in detail here.
And 204, outputting reminding contents when the remaining days are smaller than the second preset days.
Alternatively, the second preset number of days is greater than the first preset number of days, for example, the second preset number of days may be 30 days, 45 days, or the like. When the remaining days are smaller than the second preset days, the current stage is indicated to be expired quickly, the display controller outputs reminding contents, the effect of reminding a customer can be achieved, a user can check the remaining days conveniently, the payment time of the user is arranged reasonably, the use of the drilling machine is prevented from being influenced, and the construction period is delayed.
The reminder content may be a reminder identification and a remaining number of days. The reminding mark can be a preset lightning mark, and the color can be a bright color, such as pink, orange red, red and the like, so that the user can easily see the reminding mark. It should be noted that different remaining days may display different colors, for example, the fewer the remaining days, the more red the color of the reminding mark.
When the user processes the installment payment of the next period according to the reminding content, the installment adjustment request is sent to the seller terminal and can be sent in an offline mode, for example, in a mode of making a phone call and sending information through a mobile phone, so that the problem of unsafe information caused by on-line information transmission is solved.
The seller calculates the user name and the password by simulating the display controller, and sends the user name and the password to the buyer by off-line mode. After receiving the user name and the password sent by the seller terminal, the buyer terminal triggers the operation of adjusting the stage parameter and adjusts the stage parameter.
Specifically, referring to fig. 3, the following steps may be included:
step 301, after receiving a triggering operation of adjusting the stage parameter by the user, calculating a first user name and a first password according to the current stage parameter.
It should be noted that, the display controller also automatically calculates the user name and the password, which is consistent with the calculation mode of the buyer side analog display controller for calculating the user name and the password.
Optionally, calculating the first user name and the first password according to the current stage parameter includes: judging whether the next stage is the last stage according to the current stage parameters; if the next period is not the last period, calculating a delay user name and a delay password; and if the next stage is the last stage, calculating the stage user name and the stage password.
The stage parameter further comprises a stage total number, each stage expiration date and a corresponding stage number, so that the next stage expiration date and a corresponding next stage number can be obtained according to the current stage parameter, and whether the stage is the last stage is judged according to the next stage expiration date and the corresponding next stage number.
The purpose of determining whether the last stage is that all of the installments of the drill have been completed, and the buyer has purchased the drill completely, so that the stage function can be turned off after the current stage fee has been delivered. When the last stage is not the last stage, the following stage is paid, so that the next stage can be understood as a delay, and the user name and the password of the delay are calculated later.
For example, the total number of stages is 4, the selling time of the drilling machine is 2022, 12 months and 1 day, the expiration date of the first stage is 2022, 12 months and 1 day, that is, the purchase date needs to pay the stage cost of the first stage, that is, the use cost of 12 months, 1 month and 1 day to 3 months and 1 day, the expiration date of the second stage is 2023, 3 months and 1 day, the expiration date of the third stage is 2023, 6 months and 1 day, and the expiration date of the fourth stage is 2023, 9 months and 1 day. It should be noted that the expiration date of each period may be set by the sellers and buyers at the time of selling the drilling machine, which is only exemplary. If the current stage parameter is the second stage and the expiration date is 2023, 3, 1, then the next stage is not the last stage, and thus a deferred user name and deferred password need to be calculated. If the current stage is 2023, 9, 1, then it is the last stage, and the stage user name and stage password need to be calculated.
In one embodiment, the current staging parameter includes a current date and a preset value; current date year data, month data, date data, hour data, minute data, week data, for example, current date is 2023, 2, 13, 11 points 42 minutes, monday. The preset numerical value comprises a handshake key and one preset number corresponding to year data, month data, date data, hour data, minute data and week data respectively, wherein the handshake key is a number of N digits, and N is a positive integer greater than or equal to 8;
the handshake key is a password adopted when handshake verification is carried out between a display controller and a controller of the drilling machine, is an N-bit number and has uniqueness, and for example, the handshake key can be 20354643. The handshake key can prevent the user from realizing unlocking by replacing the display controller, and if the user installs the display controller without the stage on the stage drilling machine, the display controller and the controller of the drilling machine cannot realize successful verification, and the controller locks the machine. The handshake key is used as the basic data for calculating the session user name and session password, and the session user name and session password.
Optionally, calculating the staged username and staged password may include the steps of:
Step A: respectively calculating natural logarithms of high P digits and low Q digits of the handshake key, and respectively reserving decimal places of the digits to obtain a first decimal place and a second decimal place, wherein P+Q=N;
alternatively, P and Q may be the same or different, and when N is 8, P and Q may both be 4, or P may be 5, and Q may be 3.
The natural logarithm is used here instead of the normal logarithm, because when the normal logarithm y=log (a, x) is used for calculation, when a is an integer, x is always possible to be 1 when x is taken, so that when a numerical value behind a decimal point is taken, a value of 0 is taken, and unpredictable results, such as 0, appear when denominator is calculated. For example y=log (2, x), when x is 2, y=1. Similarly, when a is other integer, y is also possible to be 1 unless avoided by human. But ln (x) will not be, because ln (x) is a=e, e is a natural logarithm, and y will never be 1 when x is an integer, thus ensuring that the value after the decimal point will never be 0.
For example, the natural logarithm of the upper P digits of the handshake key is calculated as: ln (2035) = 2.833213344, taking the decimal place 0.833213344, so the first decimal is ln_key_h= 0.833213344;
The natural logarithm of the low Q digits of the handshake key is calculated as: ln (4643) = 8.443115988 takes the decimal place 0.443115988, so the second decimal is ln_key_l= 0.443115988.
And (B) step (B): and calculating the natural logarithm of the preset relation between the current date and the corresponding preset number, and reserving only decimal places of the number to obtain corresponding third decimal places respectively.
It should be noted that the preset number corresponding to the current date may be set according to the requirement, and the specific value of the preset number is not limited in the present application, and the following is only illustrative.
Optionally, calculating natural logarithm of the difference of the year data minus the corresponding preset number, and reserving decimal data of the number to obtain a third decimal corresponding to the year data;
for example, the Year data is 2023, the corresponding preset number is 2020, so Ln (2023-2020) =ln (3) = 1.098612289, and the decimal place 0.098612289 is taken, so the third decimal place corresponding to the Year data may be ln_Year= 0.098612289.
Optionally, natural logarithms of differences of corresponding preset numbers are added to month data, date data, hour data and week data respectively, and decimal place data of the numbers are reserved respectively to obtain third decimal places corresponding to the month data, third decimal places corresponding to the date data, third decimal places corresponding to the hour data and third decimal places corresponding to the week data;
For example, the Month data is 3 months, the corresponding preset number is 2, ln (3+2) =ln (5) = 1.609437912, the decimal place is 0.609437912, and the third decimal corresponding to the Month data is ln_montath= 0.609437912;
the date data is 13, the corresponding preset data is 1, if Ln (13+1) =ln (14) = 2.63905733, the decimal place 0.63905733 is taken, and the third decimal corresponding to the date data is ln_days= 0.63905733;
the hour data is 11 points, the corresponding preset data is 25, if Ln (11+25) =ln (36) = 3.583518938, the decimal place 0.583518938 is taken, and the third decimal place corresponding to the hour data is ln_hours= 0.583518938;
the Week data is monday, the corresponding preset data is 20, ln (1+20) =ln (21) = 3.044522438, and the decimal place 0.044522438 is taken, and the third decimal place ln_week= 0.044522438 corresponding to the Week data.
Optionally, calculating the quotient of the minute data divided by the preset numerical value, adding the natural logarithm of the corresponding preset numerical value, and respectively reserving the decimal place data of the numerical value to obtain a third decimal corresponding to the minute data;
for example, the minute data may be 45 minutes, and the preset value may be set according to the requirement, where the preset value may be M, and M may be any positive integer, for example, M is 6. The corresponding preset number may be 32, so the quotient of 45/6 is 7 more than 3.Ln (7+25) =ln32= 3.465735903, taking the decimal 0.465735903, the third decimal place corresponding to the Minute data is ln_minute= 0.465735903.
Step C: the number of weeks in the current week is calculated from the year data, month data, and date data as first insertion data.
For example, the current date is 2023, 3, 13, and 2023, 11.
Step D: and calculating a first position to be inserted by the first insertion data according to the minute data.
Optionally, the step may include: dividing the minute data by N to obtain first position data to be inserted as first insertion data. For example, the minute data may be 45 minutes, 45/8=5 more than 4, and thus the first position data is 5.
Step E: and inserting first insertion data after the corresponding data of the first position of the preset character string to obtain the staged user name.
The preset character string may be set according to requirements, and specific characters of the preset character string are not limited in this embodiment. For example, the preset string may be LoadUser, and after 11 is inserted into the 5 th character of LoadUser, the staged user name is LoadU11ser.
Thus, the staged user name is obtained by adopting the calculation mode according to the current date, and the corresponding staged password is calculated.
Step F: and calculating according to the first decimal place, the second decimal place and the third decimal place to obtain an initial password.
Alternatively, according to fenqi_mima= (ln_montath)
Figure SMS_1
Ln_Hour + Ln_Days/>
Figure SMS_5
Ln_Week + Ln_ Key _L )/>
Figure SMS_7
Ln_Minute + Ln_Year/>
Figure SMS_3
Ln_Minute/>
Figure SMS_4
Ln_Days/>
Figure SMS_6
Ln_ Key _H=(0.609437912/>
Figure SMS_8
0.583518938+0.63905733/>
Figure SMS_2
0.044522438+
0.443115988)
Figure SMS_9
0.465735903+0.098612289/>
Figure SMS_10
0.465735903/>
Figure SMS_11
0.63905733/>
Figure SMS_12
0.833213344 = 0.409705608 gives a decimal, taking the first 8 bits of the decimal places gives the initial password, i.e. the initial password is 40970560.
Step G: and calculating the remaining number of weeks of the current year according to the number of weeks, and determining characters corresponding to data corresponding to the remaining number of weeks in a preset character library as second insertion data.
The number of weeks calculated above is 7, then the remaining number of weeks is 54-7=47;
54 letters are stored in a preset character library, wherein the total number of English letters is 52 under the condition of case discrimination, JK and JK are adopted to replace letters O and O in order to discriminate the case-similar letters O, and SS and SS are increased simultaneously to be total 54.
And determining the 47 th character in the preset character library as R.
Step H: and calculating the difference value between the N and the first position data to obtain a second position.
The first position data is 5, and N-5=8-5=3, so the second position data is 3.
Step I: and inserting second insertion data after the data corresponding to the first position or the second position of the initial password to obtain the stage password.
Alternatively, the character R is inserted after the 5 th or 3 rd position of the initial password, and the resulting staged password may be 40970R560 or 409R70560.
Thus, a session password is obtained.
The stage passwords are obtained by calculation according to the current date and the handshake key, the stage passwords are closely related to the current date, and the handshake key is unique, so that the calculated stage passwords are different. Meanwhile, in this embodiment, unlike the prior art, the staged user name is also required to be calculated, the staged user names of the buyers are different, and the same buyer requests staged adjustment at different times, so that the combined security of the staged user name and the staged password is higher, and the buyers are prevented from cracking.
In one embodiment, calculating the deferred user name and deferred password may include the steps of:
and step 1, respectively calculating natural logarithms of high P digits and low Q digits of the handshake key, and respectively reserving decimal places of the digits to obtain a first decimal place and a second decimal place, wherein P+Q=N.
The step is the same as the step a, and the description of the step a is specifically referred to herein and will not be repeated here.
And 2, calculating the natural logarithm of the preset relation between the current date and the corresponding preset number, and reserving only decimal places of the number to obtain corresponding third decimal places respectively.
The step is the same as the step B, specifically refer to the description of the step B, and will not be repeated here.
And 3, calculating the number of weeks of the current week in the current year according to the year data, the month data and the date data, calculating the remaining number of weeks of the current year according to the number of weeks, and taking the remaining number of weeks as fourth insertion data.
The number of weeks in the current year calculated in this step is the same as that in step C, specifically, refer to the description of step C, and will not be described in detail here.
When the number of weeks is calculated, the remaining number of weeks is obtained by subtracting the number of weeks from 54, for example, the number of weeks is 11 weeks, and the remaining number of weeks is 43 weeks.
And 4, calculating a fourth position to be inserted by fourth insertion data according to the minute data.
The step is the same as the step D, and the description of the step D is specifically referred to herein and will not be repeated here.
And step 5, inserting fourth insertion data after the corresponding data of the fourth position of the preset character string, and obtaining the deferred user name.
The preset character string may be set according to requirements, and specific characters of the preset character string are not limited in this embodiment. For example, the preset string may be LoadUser, and after 47 is inserted into the 5 th character of LoadUser, a staged user name is obtained as LoadU47ser.
And 6, calculating to obtain an initial password according to the first decimal place, the second decimal place and the third decimal place.
The step is the same as the step F, and the description of the step F is specifically referred to herein and will not be repeated here.
And 7, calculating the natural logarithm of the sum of the initial password and the preset number, and taking the N-bit data after the decimal place of the natural logarithm as the corrected password.
Natural logarithmic value is calculated according to yanqi_mima=ln (fenqi_mima+2), and 8-bit data after decimal of the natural logarithmic value is taken as a correction password. Here ln (fenqi_mima+2) = ln (0.409705608+2) = ln (2.409705608) = 0.879504586, the correction code is 87950458.
And 8, determining characters corresponding to data corresponding to the cycle number in the preset character library as fifth insertion data.
For example, the fifth insertion data may be s.
And 9, inserting fifth insertion data after correcting the corresponding data of the fourth position of the password to obtain the deferred password.
S was inserted after the fifth position of 87950458, resulting in a deferred code of 87950s458.
In this embodiment, the deferred user name and the deferred password are calculated according to the current date and the handshake key, and are closely associated with the current date, and the handshake key is unique, so that the calculated deferred passwords are different. Meanwhile, in this embodiment, unlike the prior art, the deferred user name is also required to be calculated, the staged user names of the buyers are different, and the same buyer requests staged adjustment at different times, so that the combination security of the deferred user name and the deferred password is higher, and the buyers are prevented from cracking.
In addition, in order to improve the security of the user name and password again, the above-mentioned session user name and session password, session user name and session password are recalculated once every preset time, for example, once every M minutes, and M is 6. When the buyer does not input the correct data within 6 minutes, the seller recalculates the new user name and password, preventing the buyer from readjusting the staging parameters.
Step 302, after receiving the second user name and the second password input by the user, performing account verification on the second user name and the second password according to the first user name and the first password.
After receiving the user name and the password sent by the seller terminal, the user inputs the user name and the password into a staging interface, and the display controller verifies the user name and the password.
Here, the first and second of the first and second user names are not used for sorting, but the user distinguishes between different user names, and the first and second of the first and second passwords are also used for distinguishing between different passwords.
Alternatively, it is mainly verified here whether the first user name and the second user name are identical, and whether the first password and the second password are identical. When both are the same, account verification passes, and when either is different, account verification fails.
And 303, when the account passes the verification, adjusting the stage parameter in the stage interface, and sending the adjusted stage parameter to the controller so that the controller releases the limit on the preset function of the drilling machine according to the current stage parameter.
Optionally, the buyer receives the deferred user name and deferred password, which indicates that the next period expiration time is still needed, and when the buyer receives the deferred user name and the deferred password, the current period payment is indicated to complete the period payment, and the drilling machine completely belongs to the buyer, so that the user is required to close the period payment function. And when the second user name is received as the staging user name, after the second password is the staging password, adjusting the expiration time in the staging interface to be the end so that the controller releases the limit on the preset function of the drilling machine according to the current staging parameter. It should be noted that the preset function release limit may be permanently released, so that the controller may save computing resources.
When the second user name is a deferred user name and the second password is a deferred password, adjusting the stage parameters in the stage interface, including:
and adjusting the expiration time in the staging interface to be the next delay time.
In an embodiment, adjusting the expiration time in the staging interface to be the next delay time may include two ways, one is that the display controller automatically adjusts, and the other is that the user sets itself, and specifically includes:
acquiring the next delay time in the stage parameters;
updating the current delay time to the next delay time, and displaying in a staging interface;
or, receiving the input next delay time;
detecting the next delay time;
and when the detection is successful, displaying in a staging interface, and prompting that the setting is successful.
When the user inputs the next delay time, whether the input delay time is the correct delay time needs to be detected, and the detection mode may include:
and when the number of days of the interval between the next delay time and the current delay time is equal to the preset number of days and the next delay time is after the system time, displaying in the staging interface.
The preset number of days may be the number of days of the interval between the expiration time of the upper period determined by the buyer and the seller at the time of purchasing the drill and the current expiration time, for example, the preset number of days may be 90 days, 100 days, etc.
In addition, in order to ensure the correctness of the next delay time, it is necessary to detect whether the next delay time is after the system time of the display controller, for example, the system time is 2023, 3, 11, and that is ineffective if the next delay time set by the user is 2022, 6, 1.
When the number of days of the interval between the next delay time and the current delay time is equal to the preset number of days and the next delay time is after the system time, indicating that the next delay time set by the user is correct, displaying a next-level page, namely a stage interface, and displaying the next delay time in the stage interface.
It should be noted that, when the user adjusts the staging parameter, the user is not allowed to adjust the system time to extend the remaining days. For example, if the current system time is 2023, 3, 23 days, the staging time is 2023, 3, 30 days, the remaining 7 days. If the user modifies the system time to 2023, 2, 23 days, then the remaining days would become 37 days. This method of modifying the system time, extending the remaining days, is prohibited.
In one embodiment, to prevent buyers from remembering usernames and passwords, the staging parameter is set multiple times, with unnecessary loss to sellers, and a failure handling mechanism is set on the display controller.
Optionally, after the account verification is passed, before adjusting the stage parameter in the stage interface, the method further includes:
and performing invalidation processing on the first user name and the first password.
When the first user name and the first password are subjected to invalidation processing, the method can comprise the following steps:
Saving the first user name and the first password;
when the received user name is the same as the first user name and/or the received password is the same as the first password, prompting that the received user name and the password are invalid;
and when the received user name is different from the first user name and the received password is different from the first password, entering a staging interface.
The embodiment of the invention provides a control method for installment payment of a drilling machine, which is applied to a display controller, and after receiving verification success information sent by the controller, the embodiment of the invention sends an installment parameter to the controller so that the controller can control a preset function of the drilling machine according to the installment parameter; calculating and displaying the remaining days in the current stage according to the stage parameters; when the remaining days are smaller than the second preset days, the reminding content is output, so that a user can arrange installment payment according to the reminding content, and the drilling machine is prevented from stopping, and the engineering progress is influenced. According to the control method for the installment payment of the drilling machine, the GPS module is not required to be arranged, so that the cost can be reduced, the display controller and the controller are interacted to realize the limitation of the preset function of the drilling machine, and compared with the prior art that the GPS module can only control the power supply of less than 2 elements, the control method can control all elements corresponding to the preset function, is simpler in control mode, fewer in element application and more complex in user cracking.
In addition, the display controller calculates the user name and the password according to the stage parameter, so that the user is prevented from privately modifying the stage expiration time, the current date comprises year data, month data, date data, hour data, minute data and week data, the user name and the password are tightly combined with the current date, and the safety is higher. Different from the prior art, the user names are also needed to be calculated, the user names of all buyers are different, and the same buyer requests stage adjustment at different time, so that the combination security of the stage user name and the stage password is higher, and the buyers are prevented from cracking.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
The following are device embodiments of the invention, for details not described in detail therein, reference may be made to the corresponding method embodiments described above.
Fig. 4 is a schematic structural diagram of a control device for installment payment of a drilling machine according to an embodiment of the present invention, where the device is applied to a controller on a drilling machine at a buyer end, and for convenience of explanation, only the relevant parts of the embodiment of the present invention are shown, and the details are as follows:
As shown in fig. 4, the control device 4 for installment payment of the drilling machine includes: a verification module 401, a processing module 402, a first calculation module 403 and a control module 404.
The verification module 401 is configured to receive a handshake key sent by a display controller on the drilling machine, and verify the handshake key;
the processing module 402 is configured to send verification success information to the display controller when verification is successful, and receive a staging parameter sent by the display controller;
a first calculating module 403, configured to calculate a remaining number of days in the current stage according to the stage parameter;
the control module 404 is configured to limit the preset functions of the drilling machine when the remaining days are less than the first preset days.
In one possible implementation, when the processing module 402 receives the staging parameter sent by the display controller, the processing module is configured to:
and receiving the staging parameter sent by the display controller through the CAN bus.
In one possible implementation, the processing module 402 is further configured to:
when verification fails, or when the CAN bus is detected to be in a fault state, the stored staging parameter is called.
The control device for the installment payment of the drilling machine receives the installment parameters sent by the display controller after the successful handshake verification of the processing module; according to the stage parameters, a first calculation module calculates the remaining days in the current stage; and when the remaining days are smaller than the first preset days, limiting the preset functions of the drilling machine by the control module. The scheme provided by the embodiment of the invention can realize the control of the installment payment of the drilling machine without setting a GPS module, thereby reducing the cost; in addition, the controller calculates the number of days remaining in the current stage and limits the preset function of the drilling machine according to the number of days remaining, and compared with the prior art that a GPS module can only control power supply of less than 2 elements, the controller can control all elements corresponding to the preset function of the drilling machine at one time, the control mode is simpler, the application of the elements is less, and the user cracking is more complex.
Fig. 5 is a schematic structural diagram of a control device for installment payment of a drilling machine according to another embodiment of the present invention, where the device is applied to a controller at a buyer end, and for convenience of explanation, only the relevant parts of the embodiment of the present invention are shown, and the details are as follows:
as shown in fig. 5, the control device 5 for installment payment of the drilling machine includes: a sending module 501, a second calculating module 502 and a processing module 503.
The sending module 501 is configured to send a handshake key to a controller of the drilling machine after power-on, so that the controller verifies the handshake key;
the sending module 501 is further configured to send a staging parameter to the controller after receiving the verification success information sent by the controller, so that the controller controls a preset function of the drilling machine according to the staging parameter;
the second calculating module 502 is configured to calculate and display the remaining days in the current stage according to the stage parameter;
and a processing module 503, configured to output the reminder content when the remaining days are less than a second preset number of days.
In a possible implementation manner, the second calculating module 502 is further configured to calculate, after receiving a trigger operation for adjusting the stage parameter by the user, the first user name and the first password according to the current stage parameter;
The processing module 503 is further configured to perform account verification on the second user name and the second password according to the first user name and the first password after receiving the second user name and the second password input by the user; and when the account passes the verification, adjusting the stage parameter in the stage interface, and sending the adjusted stage parameter to the controller so that the controller releases the limit on the preset function of the drilling machine according to the current stage parameter.
In one possible implementation, after the account verification is passed, before adjusting the stage parameter in the stage interface, the processing module 503 is further configured to:
and performing invalidation processing on the first user name and the first password.
In one possible implementation, when the second user name is a staged user name and the second password is a staged password, the processing module 503 is configured to, when adjusting the staged parameter in the staged interface:
adjusting the expiration time in the staging interface to end;
when the second user name is a deferred user name and the second password is a deferred password, adjusting the stage parameters in the stage interface, including:
and adjusting the expiration time in the staging interface to be the next delay time.
In one possible implementation, the second computing module 502 is configured to, when computing the first username and the first password according to the current stage parameter:
Judging whether the next stage is the last stage according to the current stage parameters;
if the next period is not the last period, calculating a delay user name and a delay password;
and if the next stage is the last stage, calculating the stage user name and the stage password.
In one possible implementation, the current stage parameter includes a current date and a preset value; the current date year data, month data, date data, hour data, minute data and week data, wherein the preset values comprise a handshake key and a preset number corresponding to the year data, month data, date data, hour data, minute data and week data respectively, the handshake key is a number of N digits, and N is a positive integer greater than or equal to 8;
the second computing module 502 is configured to, when computing the staged username and staged password:
respectively calculating natural logarithms of a front P-bit number and a rear Q-bit number of the handshake key, and respectively reserving decimal data of the numbers to obtain a first decimal place and a second decimal place, wherein P+Q=N;
calculating the natural logarithm of the preset relation between the current date and the corresponding preset number, and reserving decimal data of the number to obtain corresponding third decimal respectively;
Calculating the number of weeks in the current year according to the year data, the month data and the date data, and taking the number of weeks in the current year as first insertion data;
calculating a first position to be inserted of the first insertion data according to the minute data;
inserting first insertion data after corresponding data of a first position of a preset character string to obtain a staged user name;
calculating to obtain an initial password according to the first decimal place, the second decimal place and the third decimal place;
calculating the number of the remaining weeks in the current year according to the number of the weeks, and determining characters corresponding to data corresponding to the number of the remaining weeks in a preset character library as second insertion data;
calculating the difference value between the N and the first position data to obtain a second position;
and inserting second insertion data after the data corresponding to the first position or the second position of the initial password to obtain the stage password.
Optionally, when the second computing module 502 calculates the deferred user name and the deferred password, it may be used to:
respectively calculating natural logarithms of high P digits and low Q digits of the handshake key, and respectively reserving decimal places of the digits to obtain a first decimal place and a second decimal place;
calculating the natural logarithm of the preset relation between the current date and the corresponding preset number, and reserving only decimal places of the number to obtain corresponding third decimal places respectively;
Calculating the number of weeks of the current week in the current year according to the year data, the month data and the date data, calculating the remaining number of weeks of the current year according to the number of weeks, and taking the remaining number of weeks as fourth insertion data;
calculating a fourth position to be inserted of fourth insertion data according to the minute data;
inserting fourth insertion data after presetting fourth position corresponding data of the character string to obtain a deferred user name;
calculating to obtain an initial password according to the first decimal place, the second decimal place and the third decimal place;
calculating natural logarithm of the sum of the initial password and the preset number, and taking N-bit data after the decimal place of the natural logarithm as a correction password;
determining characters corresponding to data corresponding to the number of weeks in a preset character library as fifth insertion data;
and inserting fifth insertion data after correcting the corresponding data of the fourth position of the password to obtain the deferred password.
The embodiment of the invention provides a control device for installment payment of a drilling machine, which is characterized in that a sending module sends an installment parameter to a controller after receiving verification success information sent by the controller, so that the controller can control a preset function of the drilling machine according to the installment parameter; according to the stage parameters, the calculation module calculates and displays the remaining days in the current stage; when the remaining days are smaller than the second preset days, the processing module outputs reminding contents, so that a user can arrange installment payment processing according to the reminding contents, and the drilling machine is prevented from stopping, and the engineering progress is influenced. According to the control device for the installment payment of the drilling machine, the GPS module is not required to be arranged, so that the cost can be reduced, the display controller and the controller are interacted to realize the limitation of the preset function of the drilling machine, and compared with the prior art that the GPS module can only control the power supply of less than 2 elements, the control device can control all elements corresponding to the preset function, is simpler in control mode, fewer in element application and more complex in user cracking.
In addition, the user name and the password are automatically calculated according to the stage parameter calculation through the calculation module, the user is prevented from privately modifying the stage expiration time, the current date comprises year data, month data, date data, hour data, minute data and week data, the user name and the password are tightly combined with the current date, and the safety is higher. Different from the prior art, the user names are also needed to be calculated, the user names of all buyers are different, and the same buyer requests stage adjustment at different time, so that the combination security of the stage user name and the stage password is higher, and the buyers are prevented from cracking.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (10)

1. A method for controlling installment of a drilling machine, which is applied to a controller on the drilling machine, the method comprising the steps of:
receiving a handshake key sent by a display controller on the drilling machine, and verifying the handshake key;
when the verification is successful, sending verification success information to the display controller, and receiving the staging parameter sent by the display controller;
calculating the remaining days in the current stage according to the stage parameters;
and limiting the preset functions of the drilling machine when the remaining days are smaller than the first preset days.
2. The method of claim 1, wherein receiving the staging parameter sent by the display controller comprises:
and receiving the staging parameter sent by the display controller through a CAN bus.
3. The method for controlling installment of a drilling machine according to claim 1, further comprising:
when verification fails, or when the CAN bus is detected to be in a fault state, the stored staging parameter is called.
4. A method for controlling installment of a drilling machine, characterized by being applied to a display controller on the drilling machine, the method comprising:
After power-on, sending a handshake key to a controller of the drilling machine so that the controller can verify the handshake key;
after receiving the verification success information sent by the controller, sending a staging parameter to the controller so that the controller can control the preset function of the drilling machine according to the staging parameter;
calculating and displaying the remaining days in the current stage according to the stage parameters;
and outputting reminding contents when the remaining days are smaller than the second preset days.
5. The method of controlling installment of a drilling rig according to claim 4, further comprising:
after receiving triggering operation of adjusting the stage parameter by a user, calculating a first user name and a first password according to the current stage parameter;
after receiving a second user name and a second password input by a user, carrying out account verification on the second user name and the second password according to the first user name and the first password;
and after the account passes the verification, adjusting the stage parameters in the stage interface, and sending the adjusted stage parameters to the controller so that the controller releases the limit on the preset functions of the drilling machine according to the current stage parameters.
6. The method of claim 5, further comprising, after the account verification is passed, before adjusting the staging parameter in the staging interface:
and performing invalidation processing on the first user name and the first password.
7. The method of claim 5, wherein adjusting the staging parameter in the staging interface when the second user name is a staging user name and the second password is a staging password comprises:
adjusting the expiration time in the staging interface to end;
when the second user name is a deferred user name and the second password is a deferred password, adjusting the stage parameters in the stage interface includes:
and adjusting the expiration time in the staging interface to be the next delay time.
8. The method of controlling installment of a drilling rig according to any of the claims 5-7, wherein the calculating a first user name and a first password based on the current installment parameters comprises:
judging whether the next stage is the last stage according to the current stage parameters;
if the next period is not the last period, calculating a delay user name and a delay password;
And if the next stage is the last stage, calculating the stage user name and the stage password.
9. The method of claim 8, wherein the current staging parameter includes a current date and a preset value; the current date year data, month data, date data, hour data, minute data and week data, wherein the preset numerical values comprise a handshake key and one preset number corresponding to the year data, month data, date data, hour data, minute data and week data respectively, the handshake key is a number of N digits, and N is a positive integer greater than or equal to 8;
the calculating the staged user name and the staged password comprises the following steps:
respectively calculating natural logarithms of a front P-bit number and a rear Q-bit number of the handshake key, and respectively reserving decimal data of the numbers to obtain a first decimal place and a second decimal place, wherein P+Q=N;
calculating the natural logarithm of the preset relation between the current date and the corresponding preset number, and reserving decimal data of the number to obtain corresponding third decimal respectively;
calculating the number of weeks in the current year according to the year data, the month data and the date data, and taking the number of weeks in the current year as first insertion data;
Calculating a first position to be inserted of the first insertion data according to the minute data;
inserting the first insertion data after the corresponding data of the first position of the preset character string to obtain a staged user name;
calculating to obtain an initial password according to the first decimal place, the second decimal place and the third decimal place;
calculating the number of the remaining weeks in the current year according to the number of the weeks, and determining characters corresponding to data corresponding to the number of the remaining weeks in a preset character library as second insertion data;
calculating the difference value between N and the first position data to obtain a second position;
and inserting the second insertion data after the data corresponding to the first position or the second position of the initial password to obtain a stage password.
10. The method of claim 9, wherein the calculating deferred usernames and deferred passwords comprises:
respectively calculating natural logarithms of high P digits and low Q digits of the handshake key, and respectively reserving decimal places of the digits to obtain a first decimal place and a second decimal place;
calculating the natural logarithm of the preset relation between the current date and the corresponding preset number, and reserving only decimal places of the number to obtain corresponding third decimal places respectively;
Calculating the number of weeks of the current week in the current year according to the year data, the month data and the date data, calculating the remaining number of weeks of the current year according to the number of weeks, and taking the remaining number of weeks as fourth insertion data;
calculating a fourth position to be inserted of the fourth insertion data according to the minute data;
inserting the fourth insertion data after presetting the data corresponding to the fourth position of the character string to obtain a deferred user name;
calculating to obtain an initial password according to the first decimal place, the second decimal place and the third decimal place;
calculating the natural logarithm of the sum of the initial password and a preset number, and taking N-bit data after the decimal of the natural logarithm as a correction password;
determining characters corresponding to data corresponding to the frequency in a preset character library as fifth insertion data;
and inserting the fifth insertion data after the data corresponding to the fourth position of the corrected password to obtain a deferred password.
CN202310395401.0A 2023-04-14 2023-04-14 Method for controlling installment payment of drilling machine Active CN116128492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310395401.0A CN116128492B (en) 2023-04-14 2023-04-14 Method for controlling installment payment of drilling machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310395401.0A CN116128492B (en) 2023-04-14 2023-04-14 Method for controlling installment payment of drilling machine

Publications (2)

Publication Number Publication Date
CN116128492A true CN116128492A (en) 2023-05-16
CN116128492B CN116128492B (en) 2023-06-27

Family

ID=86303053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310395401.0A Active CN116128492B (en) 2023-04-14 2023-04-14 Method for controlling installment payment of drilling machine

Country Status (1)

Country Link
CN (1) CN116128492B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991503A (en) * 2023-09-26 2023-11-03 深圳市顾美科技有限公司 Configuration screen management method and device, terminal equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268296A (en) * 2005-03-23 2006-10-05 Mitsubishi Electric Corp Management method for equipment and device therefor
CN103905850A (en) * 2014-04-22 2014-07-02 广州视源电子科技股份有限公司 Installment payment method and installment payment television
CN105447968A (en) * 2015-11-13 2016-03-30 杭州佳谷数控技术有限公司 Method for achieving installment payment of underwear machine control system
CN108259140A (en) * 2018-02-23 2018-07-06 中国重汽集团济南动力有限公司 A kind of chassis control method borrowed for heavy-duty car pin
CN109118202A (en) * 2018-08-24 2019-01-01 北京大豪科技股份有限公司 Sewing machine monthly payment plan control system, Cloud Server, method and storage medium
CN109803020A (en) * 2019-01-28 2019-05-24 北京经纬恒润科技有限公司 Communication control method, gateway controller, vehicle intelligent terminal controller and system
CN110323742A (en) * 2019-07-15 2019-10-11 深圳市比比赞科技有限公司 Energy storage system control method, energy-storage system, computer equipment and storage medium
CN112333154A (en) * 2020-10-16 2021-02-05 四川九八村信息科技有限公司 Method for controlling authority based on dynamic password and plasma collector thereof
KR20210104966A (en) * 2020-02-18 2021-08-26 엔에이치엔 주식회사 Terminal and method for displaying interaction credit card statementand that about breakdown of credit card installment transaction
CN113411650A (en) * 2021-06-22 2021-09-17 深圳市皓丽软件有限公司 Method and system for using television by stage payment and television
CN113537969A (en) * 2021-07-26 2021-10-22 朱少波 Monitoring method for installment payment of off-network household appliances or equipment
CN113793138A (en) * 2021-08-16 2021-12-14 潍坊东和电气技术有限公司 Method and system for managing time limit of installments payment of embroidery machine
CN114154131A (en) * 2022-02-10 2022-03-08 广东天太机器人有限公司 Method and system for machine equipment stage management

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006268296A (en) * 2005-03-23 2006-10-05 Mitsubishi Electric Corp Management method for equipment and device therefor
CN103905850A (en) * 2014-04-22 2014-07-02 广州视源电子科技股份有限公司 Installment payment method and installment payment television
CN105447968A (en) * 2015-11-13 2016-03-30 杭州佳谷数控技术有限公司 Method for achieving installment payment of underwear machine control system
CN108259140A (en) * 2018-02-23 2018-07-06 中国重汽集团济南动力有限公司 A kind of chassis control method borrowed for heavy-duty car pin
CN109118202A (en) * 2018-08-24 2019-01-01 北京大豪科技股份有限公司 Sewing machine monthly payment plan control system, Cloud Server, method and storage medium
CN109803020A (en) * 2019-01-28 2019-05-24 北京经纬恒润科技有限公司 Communication control method, gateway controller, vehicle intelligent terminal controller and system
CN110323742A (en) * 2019-07-15 2019-10-11 深圳市比比赞科技有限公司 Energy storage system control method, energy-storage system, computer equipment and storage medium
KR20210104966A (en) * 2020-02-18 2021-08-26 엔에이치엔 주식회사 Terminal and method for displaying interaction credit card statementand that about breakdown of credit card installment transaction
CN112333154A (en) * 2020-10-16 2021-02-05 四川九八村信息科技有限公司 Method for controlling authority based on dynamic password and plasma collector thereof
CN113411650A (en) * 2021-06-22 2021-09-17 深圳市皓丽软件有限公司 Method and system for using television by stage payment and television
CN113537969A (en) * 2021-07-26 2021-10-22 朱少波 Monitoring method for installment payment of off-network household appliances or equipment
CN113793138A (en) * 2021-08-16 2021-12-14 潍坊东和电气技术有限公司 Method and system for managing time limit of installments payment of embroidery machine
CN114154131A (en) * 2022-02-10 2022-03-08 广东天太机器人有限公司 Method and system for machine equipment stage management

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨海滨;李彦明;何创新;刘成良;: "工程机械智能锁定系统设计", 工程机械, no. 04 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991503A (en) * 2023-09-26 2023-11-03 深圳市顾美科技有限公司 Configuration screen management method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN116128492B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN116128492B (en) Method for controlling installment payment of drilling machine
CN107615292B (en) System and method for managing installation of application packages requiring high risk permission access
EP3913556A1 (en) Risk evaluation/countermeasure planning system and risk evaluation/countermeasure planning method
CN107466455B (en) POS machine security verification method and device
EP2693789B1 (en) Mobile terminal encryption method, hardware encryption device and mobile terminal
CN101432752B (en) Trusted platform field upgrade system and method
EP2821866A1 (en) Control program management system and method for changing control program
CN112084484B (en) Equipment hardware safety detection method and device, electronic equipment and storage medium
US20140344898A1 (en) Stand-in authorization system and stand-in authorization method
CN112528257A (en) Security debugging method and device, electronic equipment and storage medium
US6742129B1 (en) Software security mechanism
CN106919859A (en) Basic input output system guard method and device
CN101131760A (en) Method and system for checking account security
US20150081047A1 (en) Control device, security management system, and security management method
CN107992325A (en) A kind of method that fileinfo is compared by feature code check
EP1936451A1 (en) System and method for setting software option of numeric control device
JP4678217B2 (en) Method and apparatus for managing numerical control apparatus
US20230315432A1 (en) Method for designing a firmware, firmware obtained by such a method and method for modifying such a firmware
CN108768953B (en) Control method, server and storage medium for scheduling process
CN110399719A (en) BIT file loading method, device, equipment and computer readable storage medium
CN114677211A (en) Credit parameter updating method, apparatus, electronic device, medium, and program product
JP5037309B2 (en) Information processing apparatus and logon method
CN101442739B (en) Method for protecting AT instruction
CN105631250A (en) Method and device for obtaining image information of users illegally accessing to application programs
CN113051532A (en) Software authorization method and device, computer equipment and storage medium

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