CN112417423A - Electronic equipment use control method and device, electronic equipment and computer equipment - Google Patents
Electronic equipment use control method and device, electronic equipment and computer equipment Download PDFInfo
- Publication number
- CN112417423A CN112417423A CN202011358391.6A CN202011358391A CN112417423A CN 112417423 A CN112417423 A CN 112417423A CN 202011358391 A CN202011358391 A CN 202011358391A CN 112417423 A CN112417423 A CN 112417423A
- Authority
- CN
- China
- Prior art keywords
- code
- control
- electronic device
- recharge
- electronic equipment
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The application provides a method and a device for controlling the use of electronic equipment, the electronic equipment, computer equipment and a computer storage medium; the method comprises the following steps: receiving an instruction code input by a user, wherein the instruction code is generated by a calculator software and comprises a first SN code and a control function code; acquiring a first SN code and a control function code in the instruction code, and verifying the first SN code by utilizing a second SN code pre-stored on electronic equipment; wherein the second SN code is a unique code of the electronic device; and after the verification is passed, executing corresponding control on the electronic equipment according to the control function corresponding to the control function code. The technical scheme reduces the control cost of the equipment and realizes more effective use and control of the electronic equipment.
Description
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a method and an apparatus for controlling use of an electronic device, a computer device, and a computer storage medium.
Background
The use control type is designed for most electronic equipment on the market at present. For example, most of the equipment devices can control the use behavior of the user by setting corresponding rights. The existing electronic equipment mainly comprises a contact type IC card, a non-contact type radio frequency card and the like, the use control technologies need to configure 1 entity card for a user when in use, and the method has the defects of inconvenience in card sending, inconvenience in carrying, easiness in card loss, easiness in card damage and the like.
In addition, there is a technology that uses a usage control type of a networked server to connect an electronic device to a network for usage control, which requires a location of an apparatus to have a network signal, and if the network signal is unstable or the right of access to the server is limited in different areas, the electronic device is easily unable to be controlled or control is unstable, and even if a mobile phone APP is used for input control, the above problem cannot be avoided. Moreover, the networking control type is adopted, so that the defects that an instrument leasing company or a seller sets up a special server and customs an APP to cause higher later-stage operation cost and the like are caused, and meanwhile, a greater risk of disclosure exists in the client data of an instrument user in the background.
Based on the above, it can be found that the existing card issuing control technology and networking control technology cannot effectively control the use of the electronic equipment.
Disclosure of Invention
The present application aims to address one of the above technical drawbacks, and provides a method and apparatus for controlling use of an electronic device, a computer device, and a computer storage medium.
In a first aspect, the present application provides a method for controlling usage of an electronic device, where the method is applied to the electronic device, and the method includes:
receiving an instruction code input by a user, wherein the instruction code is generated by a calculator software and comprises a first SN code and a control function code;
acquiring a first SN code and a control function code in the instruction code, and verifying the first SN code by utilizing a second SN code pre-stored on electronic equipment; wherein the second SN code is a unique code of the electronic device;
and after the verification is passed, executing corresponding control on the electronic equipment according to the control function corresponding to the control function code.
In one embodiment, the step of acquiring the first SN code and the control function code in the instruction code includes:
and analyzing the instruction code according to the software coding reverse process of the number calculator, and extracting the first SN code and the control function code.
In one embodiment, the instruction code includes an activate code for activating the electronic device, the activate code including the first SN code and a control-type-generated encoding;
the step of executing corresponding control on the electronic equipment according to the control function corresponding to the control function code comprises the following steps:
and activating the electronic equipment according to the activation code, and setting a control type used subsequently by the electronic equipment according to the control type.
In one embodiment, the instruction code further comprises control code;
the method further comprises the following steps:
generating special coding information according to the control code and storing the special coding information in the electronic equipment; and when the user inputs an instruction code, identifying the controller corresponding to the control code according to the special coding information.
In one embodiment, the control types include: recharging control, date control, recharging + date control, and starting and/or closing recharging control;
the recharging control type is used for controlling the electronic equipment to enter a recharging use control state;
the date control type is used for controlling the electronic equipment to enter a date countdown closing use control state;
the recharge + date control is used for controlling the electronic equipment to enter a date countdown closing use state and needing to use a recharge use control state;
the open and/or close recharge control is used for controlling to cancel the recharge use control state of the electronic equipment.
In one embodiment, the control type includes a date control;
the step of executing corresponding control on the electronic equipment according to the control function corresponding to the control function code comprises the following steps:
and recording the closing time of the electronic equipment according to the closing date carried in the date control, and locking the electronic equipment when the clock of the electronic equipment reaches the closing date until the activation code is regenerated or the control is closed.
In one embodiment, the control type includes top-up control;
the instruction code comprises a recharging code used for recharging, and the recharging code comprises the first SN code and a code generated by recharging time or recharging times;
the method further comprises the following steps:
verifying the validity of the charging code;
and after the verification is passed, controlling the use time of the electronic equipment according to the recharging time in the recharging code, or controlling the use times of the electronic equipment according to the recharging times in the recharging code.
In one embodiment, the method further comprises:
displaying a repeat-free input function on a data input page of the electronic device; wherein the data input page is used for inputting the instruction code;
when the user selects the repeat-free input function, skipping the data input page to enter an operation page when the electronic equipment is started;
and when the recharging time or the recharging times in the recharging code are used up, quitting the repeated input-free function, and redisplaying the data input page.
In a second aspect, the present application provides a usage control apparatus for an electronic device, applied to the electronic device, the apparatus including:
the code receiving module is used for receiving an instruction code input by a user, wherein the instruction code is generated by the calculator software and comprises a first SN code and a control function code;
the information checking module is used for acquiring a first SN code and a control function code in the instruction code and checking the first SN code by utilizing a second SN code pre-stored on the electronic equipment; wherein the second SN code is a unique code of the electronic device;
and the instrument control module is used for executing corresponding control on the electronic equipment according to the control function corresponding to the control function code after the verification is passed.
In a third aspect, the present application provides a method for controlling usage of an electronic device, applied to a computer device, the method including:
receiving a first SN code and a control function code input by a controller;
generating the first SN code and the control function code into an instruction code through calculator software; the instruction code is used for being input into electronic equipment, a first SN (serial number) code and a control function code in the instruction code are obtained through analysis of the electronic equipment, and the first SN code is verified through a second SN pre-stored on the electronic equipment; after the verification is passed, corresponding control is executed on the electronic equipment according to the control function corresponding to the control function code; wherein the second SN code is a unique code of the electronic device.
In one embodiment, the method further comprises: receiving a control code input by a controller;
the method for generating the instruction codes comprises the following steps:
generating the instruction code according to the first SN code, the control code and the control function code; and the electronic equipment also generates special coding information according to the control code and stores the special coding information for identifying the controller corresponding to the control code when a user inputs an instruction code.
In one embodiment, the method further comprises:
receiving a first SN code and recharging time or recharging times input by a controller, and generating a recharging code for recharging according to the first SN code and the recharging time or the recharging times;
the rechargeable code is used for being input into the electronic equipment, and the electronic equipment verifies the validity of the rechargeable code; and after the verification is passed, controlling the use time of the electronic equipment according to the recharging time in the recharging code, or controlling the use times of the electronic equipment according to the recharging times in the recharging code.
In a fourth aspect, the present application provides a usage control apparatus for an electronic device, applied to a computer device, the apparatus including:
the code input module is used for receiving a first SN code and a control function code input by a controller;
the code production module is used for generating the first SN code and the control function code into an instruction code through the calculator software; the instruction code is used for being input into electronic equipment, a first SN (serial number) code and a control function code in the instruction code are obtained through analysis of the electronic equipment, and the first SN code is verified through a second SN pre-stored on the electronic equipment; after the verification is passed, corresponding control is executed on the electronic equipment according to the control function corresponding to the control function code; wherein the second SN code is a unique code of the electronic device.
In a fifth aspect, the present application provides an electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the usage control method of the electronic device of the first aspect described above is executed.
In a sixth aspect, the present application provides a computer apparatus comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the usage control method of the electronic device of the third aspect described above is executed.
In a seventh aspect, the present application provides a computer-readable storage medium, which is characterized in that the storage medium stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the usage control method of the electronic device.
The technical scheme of this application has following beneficial effect:
generating an instruction code through the first SN code and the control function code, inputting the instruction code into the electronic equipment by a user, analyzing the instruction code by the electronic equipment to obtain the first SN code and the control function code in the instruction code, and verifying the first SN code by using a second SN code which is unique to equipment and is stored in the electronic equipment in advance; after the verification is passed, the electronic equipment is controlled according to the control function corresponding to the control function code; the technical scheme can replace the traditional use control types such as contact IC cards, non-contact radio frequency cards or networking server control, mobile phone APP control and the like, reduces the control cost of the equipment, and realizes more effective use control on the electronic equipment; the number of times the device is used, renting, payment by date, cooperative operation, self-use of member purchase codes, etc. can be controlled.
Furthermore, in the scheme of the application, the activation code can be generated by a controller, the activation code also comprises a controller control code, different controllers are distinguished through the control code, the electronic equipment is prevented from being controlled by the same controller, and the use control safety of the controller on the electronic equipment is improved.
Furthermore, according to the technical scheme, a controller generates the activation code through the number calculator software and activates the electronic equipment to be converted into the controlled state, so that various functions can be realized, the recharging code is generated through the number calculator software and is input into the electronic equipment, the recharging control function is realized, and the use control function range of the electronic equipment is greatly expanded.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a usage control application scenario diagram of an electronic device of an embodiment;
FIG. 2 is a flow diagram of a usage control method of an electronic device of an embodiment;
FIG. 3 is a schematic structural diagram of a usage control apparatus of an electronic device according to an embodiment;
fig. 4 is a flowchart of a usage control method of an electronic device of another embodiment;
FIG. 5 is a schematic structural diagram of a usage control apparatus of an electronic device according to another embodiment;
FIG. 6 is a schematic view of a data entry page of the instrument;
FIG. 7 is a flowchart of the instrument side data entry page operations.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The technical scheme of the application is applied to electronic equipment, particularly in the field of instruments and equipment, when the current electronic equipment is used and controlled, the current electronic equipment mainly comprises use control types of a contact type IC card, a non-contact type radio frequency card, a networking server, a mobile phone APP and the like, and because of the use control technologies, 1 entity card needs to be configured for a user when the electronic equipment is used, the method has the defects that the card is inconvenient to send out, the carrying is inconvenient, the card is easy to lose, the card is easy to damage and the like, network signals are unstable or the authority limit of accessing the server in different areas easily causes that the electronic equipment cannot be controlled or is unstable, the later operation cost is higher and the like, and therefore the use control method, the device, the electronic equipment, the computer equipment and the computer storage medium are provided.
In an application scenario, referring to fig. 1, fig. 1 is a diagram of a usage control application scenario of an electronic device of an embodiment; in this scenario, a controlled electronic device may be controlled for use by a number calculator software installed on a computer device. Assuming that a controller operates on a computer device and a user operates on an electronic device, the controller generates an instruction code by using the calculator software and then delivers the instruction code to the user for use on the electronic device. At the electronic device side, the technical solution provided by the first aspect of the present application may be adopted.
Accordingly, referring to fig. 2, fig. 2 is a flowchart of a usage control method of an electronic device according to an embodiment, which may be embedded in the electronic device in the form of a software program, and the method includes:
s110, receiving an instruction code input by a user, wherein the instruction code is generated by a calculator software and comprises a first SN code and a control function code; SN is an abbreviation of Serial Number, the product Serial Number.
In one embodiment, the process of step S110 includes: analyzing the instruction code according to the software coding reverse process of the number calculator, and extracting a first SN code and a control function code; here, the first SN code is an SN code of the input controlled electronic device, and the control function code is used to indicate a control function to be executed.
For the instruction code, an activation code for activating the electronic device may be included, the activation code including a first SN code and a control-type-generated code; in order to facilitate independent control of the electronic device, control codes may also be included in the instruction codes; therefore, the instruction code may include the first SN code, the control code and the control function code, and it is needless to say that a code having another function may be provided in the instruction code in order to add another control function.
Generating special coding information according to the control code and storing the special coding information in the electronic equipment; and when the user inputs an instruction code, identifying the controller corresponding to the control code according to the special coding information. In practical applications, the control code may be a code written by a controller in a self-defined manner, and the controller may uniquely control the corresponding electronic device through the control code.
S120, acquiring a first SN code and a control function code in the instruction code, and verifying the first SN code by using a second SN code pre-stored on the electronic equipment; wherein the second SN code is a unique code of the electronic device.
In this step, the electronic device prestores a second SN code, which is a unique serial code corresponding to the electronic device and can be written into the electronic device by the controller in advance for storage. In the step, the first SN code obtained by analyzing the instruction code input by the user is verified through the second SN code, and if the instruction code is legal, the verification is passed.
And S130, after the verification is passed, executing corresponding control on the electronic equipment according to the control function corresponding to the control function code.
In this step, after passing the verification, the electronic device is controlled to execute the corresponding control function by using the control function code obtained by the analysis.
For example, performing the activation function using the activation code, the performing may include: and activating the electronic equipment according to the activation code, and setting a control type used subsequently by the electronic equipment according to the control type.
By integrating the above embodiments, the technical scheme of the application can replace the traditional use control types such as a contact IC card, a non-contact radio frequency card or networking server control, a mobile phone APP control and the like, thereby reducing the control cost of the equipment and realizing more effective use control of the electronic equipment; the number of times the device is used, renting, payment by date, cooperative operation, self-use of member purchase codes, etc. can be controlled.
In order to make the technical solution of the present application clearer, more embodiments are set forth below.
In one embodiment, in the activate code referred to in the above embodiments, the types of control that can be set include: (1) recharge control, (2) date control, (3) recharge + date control, (4) open and/or close recharge control, etc.
For several of the above control types, the functions may be as follows:
(1) the recharging control type is used for controlling the electronic equipment to enter a recharging use control state; (2) the date control type is used for controlling the electronic equipment to enter a date countdown closing use control state; (3) the recharge + date control is used for controlling the electronic equipment to enter a date countdown closing use state and needing to use a recharge use control state; (4) and the charging control is started, and/or the charging control is closed to control the charging use control state of the electronic equipment to be started and/or cancelled.
Through the control types, the activation control of the electronic equipment can be met, and the recharging control of the electronic equipment can also be realized.
In one embodiment, the recharge control is exemplified by the control type (1); the corresponding instruction code generated in step S10 includes a recharge code used for recharging, and the recharge code includes the first SN code and a code generated by recharge time or recharge times.
Accordingly, the step S130 may further include the steps of:
verifying the validity of the charging code; and after the verification is passed, controlling the use time of the electronic equipment according to the recharging time in the recharging code, or controlling the use times of the electronic equipment according to the recharging times in the recharging code.
In the embodiment, after the electronic equipment is activated, the electronic equipment can be controlled to be in a recharging control state, and if a user needs to use the electronic equipment, a recharging code needs to be generated by a controller through a number calculator software, and then the recharging code is used after recharging; in this embodiment, two ways of recharging the usage time and the usage times are illustrated, and may be set according to the requirement in practical application, and is not limited to these two ways.
In one embodiment, the date control of the above control type (2) is taken as an example; correspondingly, in step S130, the step of performing corresponding control on the electronic device includes the following steps:
and recording the closing time of the electronic equipment according to the closing date carried in the date control, and locking the electronic equipment when the clock of the electronic equipment reaches the closing date until the activation code is regenerated or the control is closed.
In one embodiment, the recharge + date control with the above control type (3) is taken as an example; correspondingly, after the activation, the electronic equipment is controlled to enter a date countdown closing use state, namely a date control state, and a recharging use control state is also needed in subsequent use.
In one embodiment, the control type (4) is used as an example to close the recharge control, and the recharge use control state of the electronic device is to be cancelled through the function, for example, the electronic device authority originally set to the recharge control state can be cancelled and is not subject to recharge control any more.
In the above embodiments, the description is made for several control function types, and in practical applications, the corresponding functions may be set according to requirements, and are not limited to the above several forms.
In addition, in the using process of the electronic device, in order to facilitate the user to use the electronic device in the recharging control state, in one embodiment, the following design can be performed in the interface operation:
displaying a repeat-free input function on a data input page of the electronic device; wherein the data input page is used for inputting the instruction code;
when the user selects the repeat-input-free function, skipping the data input page to enter an operation page when the electronic equipment is started; and when the recharging time or the recharging times in the recharging code are used up, the repeated input-free function is quitted, and the data input page is displayed again.
Specifically, the repeat-free input function is mainly aimed at the condition of controlling the recharging time or recharging times, if the user continuously uses the electronic device and does not use other users, the repeat-free input function can be provided, so that the use experience of the user is facilitated, for example, the function of memorizing the recharging codes input can be added, and the user can directly enter the electronic device for use before the times or the time is used up, without inputting the recharging codes again.
In the above embodiment, the activation code may be generated by a controller, the activation code further includes a controller control code, and different controllers are distinguished by the control code, so that the electronic device is prevented from being controlled by the same controller, and the use control security of the electronic device by the controller is improved. The controller generates the activation code through the number calculator software, activates the electronic equipment to be converted into a controlled state, can realize various functions and the like, generates the recharging code through the number calculator software, inputs the recharging code into the electronic equipment, realizes the recharging control function, and greatly expands the use control function range of the electronic equipment.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a usage control apparatus of an electronic device according to an embodiment, which is applied to the electronic device, and includes:
the code receiving module 110 is used for receiving an instruction code input by a user, wherein the instruction code is generated by the calculator software and comprises a first SN code and a control function code;
an information checking module 120, configured to obtain a first SN code and a control function code in the instruction code, and check the first SN code by using a second SN code stored in the electronic device in advance;
the instrument control module 130 is configured to, after the verification is passed, perform corresponding control on the electronic device according to the control function corresponding to the control function code; wherein the second SN code is a unique code of the electronic device.
The usage control device of the electronic device of this embodiment can execute the usage control method of the electronic device provided by the embodiments of the present disclosure, and the implementation principles thereof are similar, the actions executed by the modules in the usage control device of the electronic device in the embodiments of the present disclosure correspond to the steps in the usage control method of the electronic device in the embodiments of the present disclosure, and for the detailed functional description of the modules in the usage control device of the electronic device, reference may be specifically made to the description in the usage control method of the corresponding electronic device shown in the foregoing, and no further description is provided here.
Referring to fig. 4, fig. 4 is a flowchart of a usage control method for an electronic device according to another embodiment, applied to a computer device, the method including:
s210, receiving a first SN code and a control function code input by a controller;
s220, generating the first SN code and the control function code into an instruction code through the number calculator software; the instruction code is used for being input into electronic equipment, a first SN (serial number) code and a control function code in the instruction code are obtained through analysis of the electronic equipment, and the first SN code is verified through a second SN pre-stored on the electronic equipment; after the verification is passed, corresponding control is executed on the electronic equipment according to the control function corresponding to the control function code; wherein the second SN code is a unique code of the electronic device.
The scheme of the embodiment is a relative process with the implementation scheme on the electronic device, and in the scheme, a controller can be installed on any computer device, such as a personal computer, a smart phone and the like, through a number calculator software.
The technical scheme of the application can replace the traditional use control types such as a contact IC card, a non-contact radio frequency card or networking server control, a mobile phone APP control and the like, so that the equipment control cost is reduced, and more effective use control on the electronic equipment is realized; the number of times the device is used, renting, payment by date, cooperative operation, self-use of member purchase codes, etc. can be controlled.
Further embodiments of the usage control method of the electronic device are set forth below.
In one embodiment, in the instruction code generation process of the present application, a control code input by a controller may also be received; correspondingly, the instruction code is generated according to the first SN code, the control code and the control function code; and the electronic equipment also generates special coding information according to the control code and stores the special coding information for identifying the controller corresponding to the control code when a user inputs an instruction code.
In an embodiment, the technical solution of the present application may further include generating a recharge code for recharging control after activating the electronic device, and correspondingly, the method may further include: receiving a first SN code and recharging time or recharging times input by a controller, and generating a recharging code for recharging according to the first SN code and the recharging time or the recharging times; the rechargeable code is used for being input into the electronic equipment, and the electronic equipment verifies the validity of the rechargeable code; and after the verification is passed, controlling the use time of the electronic equipment according to the recharging time in the recharging code, or controlling the use times of the electronic equipment according to the recharging times in the recharging code.
In the above embodiment, the activation code may be generated by a controller, the activation code further includes a controller control code, and different controllers are distinguished by the control code, so that the electronic device is prevented from being controlled by the same controller, and the use control security of the electronic device by the controller is improved. The controller generates the activation code through the number calculator software, activates the electronic equipment to be converted into a controlled state, can realize various functions and the like, generates the recharging code through the number calculator software, inputs the recharging code into the electronic equipment, realizes the recharging control function, and greatly expands the use control function range of the electronic equipment.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a usage control apparatus of an electronic device according to another embodiment, which is applied to a computer device, and includes:
the code input module 210 is used for receiving a first SN code and a control function code input by a controller;
the code production module 220 is used for generating the first SN code and the control function code into an instruction code through the calculator software; the instruction code is used for being input into electronic equipment, a first SN (serial number) code and a control function code in the instruction code are obtained through analysis of the electronic equipment, and the first SN code is verified through a second SN pre-stored on the electronic equipment; after the verification is passed, corresponding control is executed on the electronic equipment according to the control function corresponding to the control function code; wherein the second SN code is a unique code of the electronic device.
The usage control device of the electronic device of this embodiment can execute the usage control method of the electronic device provided by the embodiments of the present disclosure, and the implementation principles thereof are similar, the actions executed by the modules in the usage control device of the electronic device in the embodiments of the present disclosure correspond to the steps in the usage control method of the electronic device in the embodiments of the present disclosure, and for the detailed functional description of the modules in the usage control device of the electronic device, reference may be specifically made to the description in the usage control method of the corresponding electronic device shown in the foregoing, and no further description is provided here.
Based on the technical solutions provided in the foregoing embodiments, the following is further described with reference to an example of practical applications of an apparatus (an electronic device).
In order to realize the use control function, the SN code of the instrument is written in advance when the instrument is produced, the SN code cannot be changed, and the instrument can leave a factory in large batch when leaving the factory according to the software program provided by the technology of the application, can be started to use according to the normal function, and is not influenced to use.
When a controller (e.g., a dealer) desires to control the use on/off/times/time/charge/stop date, etc. of an instrument like an IC card or the internet of things. A controller can download number calculator software and install the number calculator software on a computer (or install the number calculator software on a mobile phone by APP), then the number calculator software of a WIN version (or the APP of the mobile phone, the IE browser and the like) generates instruction codes and inputs the instruction codes into an instrument, the instrument is activated to be in a controlled state, the controller becomes the only real controller of the instrument, and other people cannot be activated again until the controller generates the instruction codes and the controlled functions of the instrument are closed. When the instrument is in a controlled state, a controller can generate an instruction code by utilizing the calculator software and send the instruction code to a user to input the instrument, so that the functions of recharging times, working time, stop date, switch on-off control and the like are realized.
In the using process, the operation can be divided into two parts, namely a controller at the computer equipment end and a user at the instrument end, and the software corresponding to the two parts executes the following processing.
The computer equipment generates a coding part:
using calculator software, a controller fills in a self-defined control code and a control function code corresponding to a control function to be executed, then the calculator software generates a string of instruction codes according to the SN code of an instrument, the control code and the control function code, for example, a controlled instrument (equipment) can recognize and execute the string of instruction codes, and calculates the instruction code with the length of 18 bits according to the SN code (8 bits) of the instrument, when the instruction codes are generated, in order to improve the encryption performance and avoid cracking, the sequence of data can be disturbed, data integrity check is inserted into an encoding data string, and finally, the data is symmetrically encrypted, and in the conventional use, the encoding content can be divided into two types:
1. activation code: SN code of the main instrument, control code and control type (recharge time control, date control, recharge time + date control, close control), etc.
2. And (4) recharging code: SN code of main instrument, charging time, charging times, code number generation, etc.
Each generated instruction code comprises an SN (serial number) code unique to the instrument, and whether the code input to the instrument can be legally used is distinguished through the SN code; the control codes in the activation code are used to distinguish different controllers, who cannot control the mutually controlled instruments.
II, an instrument end part:
the unique 8-bit SN code is written in advance in the production process of the instrument and used as the unique body code of the instrument, when a controller needs to control the instrument, only the number calculator software is needed to generate the activation code according to the SN code of the instrument, after the activation code is input into the instrument for activation, the instrument generates special information according to the control code and stores the special information in the instrument, and the special information is subsequently used for identifying the input activation code or recharging code.
1. Taking date control as an example:
after the activation code is entered into the instrument, if the control type is date control, the instruction code includes a close date (e.g., 2020.12.01), the instrument records the close time, counts down via the real time clock system, and when the instrument's clock goes to the close date 2020.12.01, the instrument will be locked and the user must regenerate the activation code or close the control to use the instrument again by the controller.
2. Take recharge control as an example:
after the activation code is input to activate the instrument and recharge control is started, the instrument is continuously used, normal operation can be carried out only by inputting the recharge code, a controller can generate a recharge code by using a calculator, the serial number of the recharge code corresponds to 1 storage area in the instrument, and after the recharge code is used up on the instrument, the corresponding storage area can be marked to be unusable.
For the convenience of user operation, referring to fig. 6, fig. 6 is a schematic diagram of a data input page of the apparatus, and a memory checking and time accumulating function may be added to the data input page of the apparatus; the memory check is to remember the input recharging code, and the input recharging code does not need to be repeated when the computer is started or enters next time; and after the time accumulation is selected, if the time is not used up, the starting-up skips the data input page, and the normal operation is directly carried out.
The above example provides an example of the practical application of the present application, and in connection with this example, the following provides an operation scheme for an instrument, including the following:
1. writing an SN code in the instrument:
the dealer can acquire the SN code through the following two ways: (1) 8 SN codes are recorded according to the bar codes of the instruments during production and are displayed at the upper right corner of the screen of the instrument: SN: xxxxxxxx; (2) an 8-bit SN code displayed on the instrument's outer packaging.
2. The controller (dealer) generates the activation/recharge code;
s2.1, inputting a control code;
s2.2, selecting control types, such as recharging control, date + recharging control, recharging closing and the like;
and s2.3, generating an instruction code by the calculator software according to the SN code, the control code and the control type.
3. The instrument end control flow comprises the following steps:
s3.1, when the instrument is not started to control, inputting a '000000' password into a data input page, and entering a normal operation page; inputting an activation code corresponding to the instrument on a data input page, and starting control;
s3.2, setting a page on the substrate, and inputting a recharging code through a recharging key;
s3.3, if the date control is independently started, the user normally inputs a '000000' password to enter, when the date reaches the date set in the activation code, the instrument is locked and can not be used, and the user can use the instrument after the date is continued and the controller generates the activation code to delay or close the control function;
s3.4, if the instrument is in the recharging control state, the user needs to input the recharging code provided by the controller to continue using the instrument, and when the time or times in the recharging code are used up, the recharging code is invalidated; if the time accumulation function is selected on the instrument, when the time of the charging code is not used up, the instrument skips over a data input page after starting up, and directly enters an instrument operation page until the time is used up, and the function is exited; when a plurality of users use different recharging codes to use the instrument, only the last user needs to return to a data input page after using up the instrument, and click a data input box, the system automatically logs out the input codes, and the subsequent users can continue to use the recharging codes input by themselves.
And s3.5, starting the recharging + date control instrument, enabling the user to use the recharging + date control instrument only by inputting a recharging code when the user uses the recharging + date control instrument, and locking the recharging + date control instrument again when the originally set date expires.
In the above exemplary scheme, referring to fig. 7, fig. 7 is a flowchart of operations of an instrument data entry page, and mainly includes:
a. a start page; b. entering a data input page; c. entering a normal function interface; d. a basic setup interface; and entering a b-d loop after the user clicks a recharge button.
In the above example, instruction codes are generated by the calculator software, and the codes are input into the instrument (equipment) for turning on/off the instrument, controlling the use time and times of the instrument or the stop date, etc., instead of the traditional contact type IC card, the non-contact type radio frequency card or the control of a network server, the control of a mobile phone APP, etc.; the use times, lease, payment by stages, cooperative operation, member code purchase self-use and the like of the control instrument are realized.
An embodiment of an electronic device provided by the fifth aspect of the present application is set forth below.
The electronic device includes:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the usage control method of the electronic device of the first aspect described above is executed.
An embodiment of a computer device of the sixth aspect of the present application is set forth below.
The computer device includes:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the usage control method of the electronic device of the third aspect described above is executed.
Embodiments of a computer-readable storage medium according to the seventh aspect of the present application are set forth below.
The computer storage medium has stored thereon at least one instruction, at least one program, a set of codes, or a set of instructions that is loaded and executed by the processor to implement the usage control method of the electronic device as described above.
According to the technical scheme, the instruction code is generated through the first SN code and the control function code, a user inputs the instruction code into the electronic equipment, the electronic equipment analyzes the instruction code to obtain the first SN code and the control function code in the instruction code, and the first SN code is verified through the unique second SN code of the equipment stored in the electronic equipment in advance; after the verification is passed, the electronic equipment is controlled according to the control function corresponding to the control function code; the technical scheme can replace the traditional use control types such as contact IC cards, non-contact radio frequency cards or networking server control, mobile phone APP control and the like, reduces the control cost of the equipment, and realizes more effective use control on the electronic equipment; the number of times the device is used, renting, payment by date, cooperative operation, self-use of member purchase codes, etc. can be controlled. The activation code can be generated by a controller, the activation code also comprises a controller control code, different controllers are distinguished through the control code, the electronic equipment is prevented from being controlled by the same controller, and the use control safety of the controller on the electronic equipment is improved. The controller generates an activation code through the number calculator software, activates the electronic equipment to be converted into a controlled state, can control the use on/off/times/time/recharge/stop date and the like of the electronic equipment like an IC card or an Internet of things, generates a recharge code through the number calculator software, inputs the recharge code into the electronic equipment, and realizes recharge times, working time, stop date, on/off control functions and the like; the range of the use control function of the electronic equipment is expanded.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011358391.6A CN112417423A (en) | 2020-11-27 | 2020-11-27 | Electronic equipment use control method and device, electronic equipment and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011358391.6A CN112417423A (en) | 2020-11-27 | 2020-11-27 | Electronic equipment use control method and device, electronic equipment and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112417423A true CN112417423A (en) | 2021-02-26 |
Family
ID=74842735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011358391.6A Pending CN112417423A (en) | 2020-11-27 | 2020-11-27 | Electronic equipment use control method and device, electronic equipment and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112417423A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113158175A (en) * | 2021-04-26 | 2021-07-23 | 厦门绿洋环境技术股份有限公司 | Password management system and method for control equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1744099A (en) * | 2004-09-01 | 2006-03-08 | 微软公司 | Licensing the use of software on a particular CPU |
CN103414570A (en) * | 2013-09-05 | 2013-11-27 | 厦门鼎运软件有限公司 | Method for remotely controlling password |
CN107563184A (en) * | 2017-08-31 | 2018-01-09 | 成都乐创自动化技术股份有限公司 | The decryption method by stages and system of a kind of apparatus control system |
CN107845170A (en) * | 2017-11-07 | 2018-03-27 | 江苏中泽电气自动化有限公司 | A kind of Digit Control Machine Tool duration latch system and its method |
CN108628242A (en) * | 2018-04-12 | 2018-10-09 | 宇环数控机床股份有限公司 | A kind of machine tool encryption and decryption and authorization method based on PLC control platforms |
CN111079099A (en) * | 2019-12-25 | 2020-04-28 | 惠州拓邦电气技术有限公司 | Control panel activation method, device and system |
-
2020
- 2020-11-27 CN CN202011358391.6A patent/CN112417423A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1744099A (en) * | 2004-09-01 | 2006-03-08 | 微软公司 | Licensing the use of software on a particular CPU |
CN103414570A (en) * | 2013-09-05 | 2013-11-27 | 厦门鼎运软件有限公司 | Method for remotely controlling password |
CN107563184A (en) * | 2017-08-31 | 2018-01-09 | 成都乐创自动化技术股份有限公司 | The decryption method by stages and system of a kind of apparatus control system |
CN107845170A (en) * | 2017-11-07 | 2018-03-27 | 江苏中泽电气自动化有限公司 | A kind of Digit Control Machine Tool duration latch system and its method |
CN108628242A (en) * | 2018-04-12 | 2018-10-09 | 宇环数控机床股份有限公司 | A kind of machine tool encryption and decryption and authorization method based on PLC control platforms |
CN111079099A (en) * | 2019-12-25 | 2020-04-28 | 惠州拓邦电气技术有限公司 | Control panel activation method, device and system |
Cited By (1)
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 |
---|---|---|
US8015417B2 (en) | Remote access system, gateway, client device, program, and storage medium | |
US10432620B2 (en) | Biometric authentication | |
US10152579B2 (en) | Network information system with license registration and method of operation thereof | |
EP1486851A1 (en) | Authentication system, authentication server, authentication method, authentication program, terminal, authentication request method, authentication request program, and storage medium | |
CN101796525A (en) | Electronic devices, unlocking methods and procedures | |
JP4929804B2 (en) | Authentication method, authentication apparatus, and authentication program | |
US9276918B2 (en) | Computer-readable medium, information processing device, information processing method and information processing system | |
CN105005721A (en) | Computer authorization starting control system and method based on computer starting key | |
JP2009253783A (en) | Mobile terminal, data protection method and program for data protection | |
CN112417423A (en) | Electronic equipment use control method and device, electronic equipment and computer equipment | |
CN112435366A (en) | Vehicle control method and system based on fingerprint identification and computer readable medium | |
CN109582238B (en) | Hard disk binding and matching method and system, electronic equipment and storage medium | |
TW201738802A (en) | A removable security device and a method to prevent unauthorized exploitation and control access to files | |
CN107862192B (en) | Login interface unlocking method and device, computer equipment and storage medium | |
CN103838997A (en) | Single-chip microcomputer password verification method and device | |
CN112288914B (en) | A security management method for peripheral binding and authentication based on smart locks | |
US20090178127A1 (en) | Authentication system, authentication server, authenticating method, authenticating program, terminal, authentication requesting method, authentication requesting program, and storage medium | |
JP4698502B2 (en) | Terminal device authentication system, authentication method and program using mobile phone | |
JP4885168B2 (en) | External media control method, system and apparatus | |
CN112367339B (en) | System security login management method and device | |
JP2010160765A (en) | System lsi and debugging method thereof | |
CN113051532A (en) | Software authorization method and device, computer equipment and storage medium | |
CN113486403A (en) | Case and field wind control method, device and equipment for guaranteeing client data privacy | |
JP2004062283A (en) | IC card password management method, user authentication program, and IC card | |
CN118102293B (en) | Wireless device password setting method, 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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20210226 |
|
WD01 | Invention patent application deemed withdrawn after publication |