CN110837629B - Software starting method, terminal and readable storage medium - Google Patents

Software starting method, terminal and readable storage medium Download PDF

Info

Publication number
CN110837629B
CN110837629B CN201911068602.XA CN201911068602A CN110837629B CN 110837629 B CN110837629 B CN 110837629B CN 201911068602 A CN201911068602 A CN 201911068602A CN 110837629 B CN110837629 B CN 110837629B
Authority
CN
China
Prior art keywords
terminal
software
preset
information
authorization table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911068602.XA
Other languages
Chinese (zh)
Other versions
CN110837629A (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.)
Shenzhen Siji Hongsheng Technology Co ltd
Original Assignee
Shenzhen Siji Hongsheng Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Siji Hongsheng Technology Co ltd filed Critical Shenzhen Siji Hongsheng Technology Co ltd
Priority to CN201911068602.XA priority Critical patent/CN110837629B/en
Publication of CN110837629A publication Critical patent/CN110837629A/en
Application granted granted Critical
Publication of CN110837629B publication Critical patent/CN110837629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The application discloses a software starting method, a terminal and a computer readable storage medium, wherein a preset equipment identifier is sent to a connected terminal to obtain a software starting authorization table fed back by the terminal; then judging whether the preset equipment identification belongs to the reference equipment identification in the authorization table; and finally, if the preset equipment identifier belongs to the reference equipment identifier in the authorization table, outputting first prompt information to inform the terminal to start the software corresponding to the preset equipment identifier, so that the automatic start of the software is realized, the convenience for opening the storage equipment with the encryption function by the user is improved, the time required by inputting the password is reduced, and the password inputting efficiency and the user experience of the user are improved.

Description

Software starting method, terminal and readable storage medium
Technical Field
The present application relates to the field of application processing, and in particular, to a software starting method, a terminal, and a readable storage medium.
Background
As the demand for information protection increases, the number and type of storage devices equipped with encryption functions also increase rapidly. When the existing storage equipment with the encryption function is used, firstly, a user manually opens password-related software of the storage equipment, and then inputs a password to enter the storage equipment for use; however, when the user does not determine the storage location of the software related to the storage device in the terminal, much time and effort are needed to search for the software related to the password, and the password of the storage device can be input only after the software related to the password is found and manually started. Therefore, the password input convenience of the storage equipment with the encryption function is low, the time is long, and the user experience is poor.
Disclosure of Invention
The application mainly aims to provide a software starting method, a terminal and a computer storage medium, and aims to solve the technical problems that in the prior art, when a storage device with a set password is opened, a user needs to manually start confidential software of the storage device and then can input a read password of the storage device, and the operation is convenient and fast.
In order to achieve the above object, an embodiment of the present application provides a software starting method, where the software starting method includes the following steps:
sending a preset device identifier to a connected terminal to acquire a software starting authorization table fed back by the terminal;
judging whether the preset equipment identification belongs to a reference equipment identification in the authorization table;
and if the preset equipment identifier belongs to the reference equipment identifier in the authorization table, outputting first prompt information to inform the terminal to start the software corresponding to the preset equipment identifier.
Optionally, before the step of sending the preset device identifier to the connected terminal to obtain the software start authorization table fed back by the terminal, the method includes:
determining state information connected with the terminal according to service feedback information for monitoring the state information of the terminal, wherein the state information comprises an access terminal and a pull-out terminal;
if the state information is the unplugged terminal and the preset equipment identifier belongs to the reference equipment identifier in the authorization table, outputting second prompt information to inform the service to execute the operation of closing the software;
and if the state information is the access terminal, generating the reference equipment identifier according to the parameter information and outputting fourth prompt information to confirm that the service monitors the state of the terminal.
Optionally, after the step of determining whether the preset device identifier belongs to the reference device identifier in the authorization table, the method includes:
if the preset equipment identification does not belong to the reference equipment identification in the authorization table, outputting third prompt information to confirm that the software is copied to a local directory of the terminal;
judging whether the software is stored in the local directory;
if the software is stored in the local directory, outputting fourth prompt information to confirm that the service monitors the state of the terminal;
judging whether the service for monitoring the terminal state information is started or not;
if the service for monitoring the terminal state information is not started, displaying registration background service information for the current user to register;
judging whether the current user completes the background service registration;
and if the current user finishes the background service registration, outputting first prompt information to inform the terminal to start the software corresponding to the preset equipment identifier.
Optionally, after the step of outputting the third prompt message to notify the current user of copying the software to the local directory of the terminal, the method includes:
when the preset equipment identification meets a preset condition, identifying the maximum number in the number column of the authorization table, and adding a preset unit number value to the maximum number in the number column to serve as a newly added number;
adding a data information area to the area to which the new number belongs, wherein the data information area comprises: a product identification code information area, a vendor identification code information area, and a product serial number information area.
Optionally, the step of generating the reference device identifier according to the parameter information includes:
extracting a product identification code, a supplier identification code and a product serial number as the parameter information;
acquiring the newly added number;
and generating the reference equipment identification corresponding to the parameter information according to the newly added number, the product identification code, the supplier identification code and the product serial number.
Optionally, the step of generating the reference device identifier corresponding to the parameter information includes:
storing the newly added number to a number column of the authorization table;
storing the product identification code to the product identification code information area;
saving the supplier identification code to the supplier identification code information area;
and storing the product serial number to the product serial number information area.
Optionally, the step of determining whether the preset device identifier belongs to a reference device identifier in the authorization table includes:
comparing the preset equipment identification with information in any data information area of the authorization table;
and if the preset equipment identifier is the same as the information in any data information area of the authorization table, the preset equipment identifier belongs to a reference equipment identifier in the authorization table.
Optionally, after the step of outputting the first prompt message to notify the terminal to start the software corresponding to the preset device identifier, the method includes:
displaying a password input page, and acquiring an unlocking password input by the current user;
comparing whether the password is the same as a preset password or not;
if the password is the same as the preset password, outputting fifth prompt information to inform the terminal to load the storage device;
and if the password is different from the preset password, outputting sixth prompt information to inform the current user of re-inputting the password.
The present application further provides a terminal, the terminal including: a memory, a processor and a software startup program stored on the memory and executable on the processor, the software startup program, when executed by the processor, implementing the steps of the software startup method as described above.
The present application further provides a computer storage medium having a software startup program stored thereon, which when executed by a processor implements the steps of the software startup method as described above.
In the process of starting the storage equipment with the encryption function, firstly, sending a preset equipment identifier to a connected terminal to obtain a software starting authorization table fed back by the terminal; then judging whether the preset equipment identification belongs to the reference equipment identification in the authorization table; and finally, if the preset equipment identification belongs to the reference equipment identification in the authorization table, outputting first prompt information to inform the terminal to start the software corresponding to the preset equipment identification. After a user connects the storage equipment with the encryption function to a terminal such as a computer, software of the storage equipment is automatically started at the terminal, and the user can open the storage equipment only by directly inputting a correct password of the storage equipment, so that the convenience of opening the storage equipment with the encryption function by the user is improved, the time required by inputting the password is reduced, and meanwhile, the efficiency of inputting the password by the user and the user experience are also improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware structure of an optional terminal according to an embodiment of the present application;
FIG. 2 is a schematic flowchart of an embodiment of a software boot method according to the present application;
FIG. 3 is a schematic flow chart diagram illustrating another embodiment of a software boot method according to the present application;
FIG. 4 is a schematic flowchart of another embodiment of a software boot method according to the present application;
FIG. 5 is a schematic flowchart of another embodiment of a software boot method according to the present application;
fig. 6 is a flowchart illustrating a software boot method according to another embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application.
The terminal may be implemented in various forms. For example, the terminal described in the present application may include home appliances such as a microwave oven, an air conditioner, a television, a refrigerator, a washing machine, a water heater, an air purifier, a dust collector, and the like, and may also include terminals such as a smart speaker, a mobile phone, a tablet computer, a notebook computer, a palm computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like.
As shown in fig. 1, the terminal may include: a processor 1001, e.g. a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory such as a disk memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors, among others. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a software startup program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and communicating data with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to invoke a software start-up program stored in the memory 1005.
Based on the above terminal hardware structure and communication network system, various embodiments of the software starting method of the present application are provided.
The application provides a software starting method, which is applied to a terminal, and in an embodiment of the software starting method, referring to fig. 2, the software starting method includes:
step S10, sending a preset device identifier to a connected terminal to obtain a software start authorization table fed back by the terminal;
the main execution body of the application is a computer external storage device with an encryption function, and is hereinafter simply referred to as a storage device. A storage device is a device for storing information, and generally, information is digitized and then stored in a medium using an electric, magnetic, optical, or other means. The following are common storage devices: floppy disk, hard disk, compact disk, U disk, removable hard disk.
The preset device identification refers to a characteristic amount to distinguish different storage devices. Connection refers to the access of the storage device to the hardware interface of the terminal. The software refers to software that is stored in a storage device having an encryption function and is used for encryption and decryption of the storage device. The software starting authorization table refers to a service authorized to the terminal, and then the service of the terminal can directly start an information table of the software of the storage device, which is hereinafter referred to as an authorization table and consists of a number column and a data information area corresponding to the number column.
When the storage device is successfully connected to the terminal (success means that the storage device can be used normally and the terminal detects the access of the storage device), the terminal acquires the information of the storage device, and then the storage device sends the preset device identifier to the terminal, namely, requests the terminal to send an authorization table, and evaluates the preset device identifier by taking the content in the authorization table as a judgment standard.
Step S20, judging whether the preset device identification belongs to the reference device identification in the authorization table;
the reference device identifier refers to information recorded in an authorization table by taking a preset device identifier of the storage device as the reference device identifier when the storage device is connected with the terminal for the first time.
After the storage device acquires the authorization table sent by the terminal, comparing whether a preset device identifier of the storage device (the storage device currently connected with the terminal) belongs to a reference device identifier in the authorization table, so as to determine whether the storage device currently connected with the terminal is connected with the accessed terminal before the connection.
And step S30, if the preset device identifier belongs to the reference device identifier in the authorization table, outputting a first prompt message to inform the terminal to start the software corresponding to the preset device identifier.
The related prompt contents of all the prompt messages are explained first: the first prompt message is information for informing the terminal to start software corresponding to the preset equipment identifier when the preset equipment identifier of the storage equipment belongs to the reference equipment identifier in the authorization table; the second prompt message is information for informing the service execution of the terminal to close the software of the storage device when the state information indicates that the storage device is pulled out of the terminal; the third prompt message is information for informing the current user to copy the software of the storage device to the local directory of the connection terminal when the preset device identifier of the storage device does not belong to the reference device identifier in the authorization table; the fourth prompt message is information for informing the current user to start the service for monitoring the state information of the connecting terminal when the software of the storage device is stored in the local directory of the connecting terminal; the fifth prompt message is information for informing the service of the connection terminal to open the storage device when the password input by the user is the same as the preset password; the sixth prompt message is a message notifying the current user to re-input the password when the password input by the user is not the same as the preset password.
When the preset device identifier of the storage device belongs to the reference device identifier in the authorization table, that is, the preset device identifier of the storage device is the same as any one reference device identifier in the authorization table, it is indicated that the preset device identifier of the storage device is already recorded in the authorization table, and thus it can be seen that the storage device currently connected with the terminal is already connected with the accessed terminal before the current connection.
For example, when the storage device 1 is connected to the terminal 1 for the first time, the application records a reference device identifier of the storage device in a software start authorization table; when the storage device 1 is connected to the terminal 1 for the second time, the reference device identifier of the storage device 1 is already recorded in the authorization table, and since the preset device identifier of the storage device 1 belongs to the reference device identifier (the preset device identifier is the same as the reference device identifier in the authorization table), the service of the terminal 1 directly starts the software, displays the password input page to the current user, and the current user can enter the storage device 1 and operate the storage content therein as long as inputting the correct password of the storage device 1.
In this embodiment, a preset device identifier is first sent to a connected terminal to obtain a software start authorization table fed back by the terminal; then judging whether the preset equipment identification belongs to the reference equipment identification in the authorization table; and finally, if the preset equipment identification belongs to the reference equipment identification in the authorization table, outputting first prompt information to inform the terminal to start the software corresponding to the preset equipment identification. After a user connects the storage equipment with the encryption function to a terminal such as a computer, software of the storage equipment is automatically started at the terminal, and the user can open the storage equipment only by directly inputting a correct password of the storage equipment, so that the convenience of opening the storage equipment with the encryption function by the user is improved, the time required by inputting the password is reduced, and meanwhile, the efficiency of inputting the password by the user and the user experience are also improved.
Further, in another embodiment of the software starting method of the present application, before step S10, the method includes:
step S01, according to the service feedback information of the monitoring terminal state information, determining the state information of the connection terminal, the state information includes the access terminal and the pull-out terminal;
the service is responsible for acquiring and monitoring the state information of the terminal; the state information of the connection terminal refers to the connection relationship between the storage device and the terminal, and comprises two situations of accessing the storage device into the terminal and pulling out the storage device from the terminal. The access terminal refers to a hardware interface for accessing the storage equipment to the terminal; unplugging a terminal refers to the memory device being unplugged from the hardware interface of the connected terminal.
Step S02, if the state information is the terminal is pulled out and the preset device identification belongs to the reference device identification in the authorization table, outputting a second prompt message to inform the service to execute the operation of closing the software;
when the state information is the pull-out terminal and the preset device identifier of the storage device belongs to the reference device identifier in the authorization table, it indicates that the preset device identifier is recorded in the authorization table by the storage device before, that is, the storage device belongs to a storage device which can be operated by the execution main body; and pulling out the terminal to represent that the current user stops using the current storage equipment, namely, the user does not need to perform any operation on the current storage equipment any more, outputting second prompt information, informing the service to close the software of the storage equipment, and terminating the use of the current storage equipment.
When the state information is the pull-out terminal, and the preset device identifier of the storage device does not belong to the reference device identifier in the authorization table, it indicates that the preset device identifier is not recorded in the authorization table by the storage device before, that is, the storage device does not belong to a storage device that the execution subject can execute operations, and then the execution subject does not perform any operation on the storage device.
Step S03, if the status information is the access terminal, generating a reference device identifier according to the parameter information and outputting a fourth prompt message to confirm that the service is monitoring the terminal status.
When the state information is the connection terminal, the current user starts to use the current storage device, that is, the user needs to perform some operations on the current storage device, and the storage device has an encryption function, so that the content of the storage device can be read only by unlocking software. And when the terminal is accessed to the storage device for the first time, generating a reference device identifier according to the parameter information and starting a service for monitoring the state information of the terminal, so that the service can monitor the state information of the terminal. When the terminal is accessed next time, whether the storage device is connected with the terminal or not can be judged according to the reference device identification, if the connection is generated, the software of the storage device is directly started, and then the user only needs to input a password on the opened software interface without manually opening the software, so that the operation time of the user for entering the storage device is saved, and the efficiency of the user for entering the storage device is improved.
In this embodiment, first, state information of the storage device connected to the terminal is obtained, and then, corresponding operation is performed on the storage device according to the state information, and when the state information indicates that the terminal is pulled out, software of the storage device is closed; and when the state information is the connection terminal, generating a reference equipment identifier according to the parameter information and starting a service for monitoring the state information of the terminal to prepare for subsequently starting software.
Further, in another embodiment of the software starting method of the present application, after step S20, the method includes:
step A10, if the preset device identification does not belong to the reference device identification in the authorization table, outputting a third prompt message to confirm that the software is copied to the local directory of the terminal;
when the preset device identifier of the storage device does not belong to the reference device identifier in the authorization table, that is, the preset device identifier of the storage device is not the same as any reference device identifier in the authorization table, it is described that the preset device identifier of the storage device is not recorded in the authorization table, and thus it is seen that the storage device currently connected with the terminal is not connected with the accessed terminal before the current connection. Only after the reference device identifier of the storage device is stored, the terminal can directly start the software of the storage device in the next connection without manual start of the user, so that the current user needs to be informed, the related information of the storage device, namely the software, is copied to a local directory of the terminal, and the subsequent terminal can directly start the software to replace the manual start of the user.
Step A20, judging whether the software is already stored in the local directory;
and informing the current user that query confirmation is needed after the software is copied to the local directory of the terminal, and executing the step A30 when the software is confirmed to be stored in the local directory of the terminal, so that the software is ensured to be successfully stored in the local directory of the terminal, and the function of ensuring that the software does not need to be copied to the local directory of the connected terminal again when the user connects the storage device to the terminal next time.
Step A30, if the software is already stored in the local directory, outputting a fourth prompt message to confirm that the service is monitoring the terminal state;
the service for monitoring the terminal state information refers to a program or a plug-in which the terminal has the monitoring terminal state information (a storage device is accessed into the terminal, and the storage device is pulled out of the terminal). When the software is already stored in the local directory of the connection terminal, the state information of the storage device connection terminal needs to be monitored, and corresponding operation is executed according to two different state information of the access terminal and the pull-out terminal. A notification to copy the software to the local directory of the connection terminal when the software is not copied and stored in the local directory of the connection terminal.
Step A40, judging whether the service for monitoring the terminal state information is started;
the service refers to a program for monitoring the access and pull-out events of the storage device on the terminal.
Step A50, if the service for monitoring the terminal state information is not started, displaying the registration background service information for the current user to register;
step A60, judging whether the current user completes background service registration;
step A70, if the current user completes background service registration, outputting a first prompt message to notify the terminal to start software corresponding to the preset device identifier.
In this embodiment, when the preset device identifier does not belong to the reference device identifier in the authorization table, outputting a third prompt message to notify the current user to copy the software to the local directory of the terminal; then judging whether the software is stored in a local directory; finally, after the software is confirmed to be stored in the local directory of the terminal, the software of the storage device can be directly started by connecting the terminal service when the next connection is carried out, and the software does not need to be manually started by a user; and then, by starting the service for monitoring the state information of the storage equipment, the state information of the connection terminal can be obtained in real time, so that preparation is made for the subsequent operation corresponding to the state information according to the state information.
Further, in another embodiment of the software starting method of the present application, referring to fig. 3, after step a10, the method includes:
step A11, when the preset device identification meets the preset condition, identifying the maximum number in the number column of the authorization table, and adding the maximum number in the number column by a preset unit value as a newly added number;
the preset condition refers to a limit condition recorded in the authorization table, that is, not all storage devices accessed to the terminal record, and only records that the record meets a certain condition, such as a product identification code or a supplier identification code meets a certain requirement; when a new storage device is connected with the terminal, the number in the number column of the authorization table is correspondingly increased, namely when the new storage device is connected with the terminal, the application identifies the maximum number in the number column of the software starting authorization table, then increases 1 to the maximum number in the number column to serve as an added number, and the added number belongs to the number of the latest storage device in the authorization table and can be understood as a serial number.
Step a12, adding a data information area to the area to which the new number belongs, the data information area including: a product identification code information area, a vendor identification code information area, and a product serial number information area.
After determining the number of the latest storage device in the authorization table, namely the newly added number, adding a data information area to the area to which the newly added number belongs, wherein the data information area is mainly used for writing parameter information of the latest storage device; the data information area comprises three sub-areas, namely a product identification code information area, a supplier identification code information area and a product serial number information area.
In the embodiment, the maximum number in the number column of the software starting authorization table is firstly identified, and then the maximum number in the number column is increased by 1 to be used as a newly-added number; then, a data information area comprising three sub-areas (a product identification code information area, a supplier identification code information area and a product serial number information area) is added to the area to which the new number belongs, so that the number of the storage devices which are connected with the terminal can be known through the information of the authorized number bar; the reference device information of the storage device connected with the terminal can be obtained from the information written in the data information area corresponding to the authorization table number column.
Further, in another embodiment of the software starting method of the present application, referring to fig. 4, after step S03, the method includes:
step S031, withdraw product identification code, supplier' S identification code and product serial number, as the parameter information;
the parameter information of the storage device refers to quantities indicating some important properties of the storage device, such as PID (product identification code), VID (vendor identification code), and SN (product serial number) of the parameter information of the usb-disk.
The product identification code is an anti-fake method in the field of industrial product anti-fake technology, and each single product is compiled with one product anti-fake identification code different from each other, and the product anti-fake identification code consists of at least two groups of codes including one group of ordered codes and one group of unordered codes, and all the product identification codes are stored in the inquiry file. The product anti-fake identification code is formed by ten numbers of 0-9 or 26 English letters singly or in a mixed mode.
The supplier identification code means that the supplier numbers the products thereof, and each product corresponds to a unique identification code.
The product serial number is also called machine code, authentication code, registration application code, etc., and means that when a user registers, a software developer generates a unique identification code according to the software and hardware information of a computer installed by user software.
Step S032, acquiring a new number;
the new number is the new number added on the basis of the existing number in the authorization table.
Step S033, generating a reference device identifier corresponding to the parameter information according to the newly added number, the product identifier, the supplier identifier, and the product serial number.
The reference equipment identification consists of four parts of a newly added number, a product identification code, a supplier identification code and a product serial number; when comparing the preset device identifier with the reference device identifier, it is necessary to confirm that the product identifier, the supplier identifier and the product serial number to be compared belong to the same number.
In this embodiment, the newly added number, the product identification code, the supplier identification code, and the product serial number of the storage device are obtained to generate a reference device identifier of the storage device, so as to be used as a reference for comparison with a preset device identifier.
Further, in another embodiment of the software starting method of the present application, referring to fig. 5, step S033 includes:
step A01, storing the newly added number to the number column of the authorization table;
step A02, storing the product identification code in the product identification code information area;
step a03, saving the supplier identification code to the supplier identification code information area;
step a04, save the product serial number to the product serial number information area.
In this embodiment, after the number column and the data information region (including three sub-regions: the product identification code information region, the supplier identification code information region, and the product serial number information region) are added to the authorization table, the contents corresponding to the region names can be written into the two part regions of the authorization table, that is, the number of the storage device is stored in the number column of the authorization table; storing the product identification code of the storage device in a product identification code information area of an authorization table; storing the supplier identification code of the storage device in a supplier identification code information area of an authorization table; the product serial number of the storage equipment is stored in the product serial number information area of the authorization table, and the separate storage and management of various types of information of the storage equipment are facilitated.
Further, in another embodiment of the software starting method of the present application, referring to fig. 6, step S20 includes:
step S21, comparing the preset device mark with the information in any data information area of the authorization table;
the information in any data information area of the authorization table refers to the product identification code, the supplier identification code and the product serial number which belong to one number in the authorization table. The information in any data information area of the preset device identifier and the authorization table is compared with the reference device information in the authorization table, so that whether the storage device newly connected to the terminal is connected with the terminal before the connection can be determined.
In step S22, if the preset device identifier is the same as the information in any data information area of the authorization table, the preset device identifier belongs to the reference device identifier in the authorization table.
When the information in any data information area of the authorization table is compared to obtain the same information as the preset device identification information of the storage device, it is indicated that the preset device identification of the storage device is already recorded in the authorization table before the connection, and therefore, it can also be determined that the storage device belongs to a device which has already been connected with the connection terminal.
After comparison, the information in any data information area of the authorization table is different from the preset device identification information of the storage device, which indicates that the preset device identification of the storage device is not recorded in the authorization table before the connection, so that it can be determined that the storage device does not belong to a device which has already been connected with the connection terminal.
In this embodiment, by comparing the preset device identifier with the information in any data information area of the authorization table, if the preset device identifier is the same as the information in any data information area of the authorization table, the preset device identifier belongs to the reference device identifier in the authorization table, and thus, it can also be obtained that the device to which the preset device belongs is a device that has already been connected to the connection terminal.
Further, in another embodiment of the software starting method of the present application, after step S30, the method includes:
step S40, displaying a password input page, and acquiring an unlocking password input by a current user;
passwords refer to parameters that require software input at the storage device before the storage device is opened, including but not limited to numbers, letters, and symbols.
Step S50, comparing whether the password is the same as the preset password;
the preset password refers to parameters which are set by a user and need to be input in software of the storage device before the storage device is accessed into the terminal for the first time.
Step S61, if the password is the same as the preset password, outputting a fifth prompt message to inform the terminal to load the storage device;
when the password input by the user is the same as the preset password, which indicates that the user is allowed to open the storage device, the application informs the connection terminal to execute the operation of loading the storage device, so that the current user can use the storage device.
In step S62, if the password is different from the preset password, a sixth prompt message is output to notify the current user to re-input the password.
When the password input by the user is not the same as the preset password, which indicates that the user is not allowed to open the storage device, the application notifies the current user to re-input the password, and step S50 is executed.
In this embodiment, after the software is started, a password input page is displayed immediately for the current user to input the password currently connected to the storage device of the terminal. Therefore, the user does not need to manually open the software re-input surface, and the opening efficiency of the storage device is improved.
The present application further provides a terminal, which includes: the software starting program is stored on the memory and can run on the processor, and when being executed by the processor, the software starting program realizes the steps of the software starting method.
The present application further provides a computer readable storage medium, on which a software startup program is stored, and the software startup program, when executed by a processor, implements the steps of the software startup method described above.
In the embodiments of the software starting method, the terminal and the readable storage medium of the present application, all technical features of the embodiments of the software starting method are included, and the expanding and explaining contents of the specification are basically the same as those of the embodiments of the software starting method, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (9)

1. A software startup method, characterized in that the software startup method comprises:
sending a preset device identifier to a connected terminal to acquire a software starting authorization table fed back by the terminal;
judging whether the preset equipment identification belongs to a reference equipment identification in the authorization table;
if the preset equipment identification does not belong to the reference equipment identification in the authorization table, outputting third prompt information to confirm that the software is copied to a local directory of the terminal;
judging whether the software is already stored in the local directory;
if the software is stored in the local directory, outputting fourth prompt information to confirm that the service monitors the state of the terminal;
judging whether the service for monitoring the terminal state information is started or not;
if the service for monitoring the terminal state information is not started, displaying registration background service information for a current user to register;
judging whether the current user completes background service registration or not;
if the current user finishes the background service registration, outputting first prompt information to inform the terminal to start software corresponding to the preset equipment identification;
and if the preset equipment identifier belongs to the reference equipment identifier in the authorization table, outputting first prompt information to inform the terminal to start the software corresponding to the preset equipment identifier.
2. The software starting method according to claim 1, wherein the step of sending the preset device identifier to the connected terminal to obtain the software starting authorization table fed back by the terminal is preceded by the steps of:
determining state information connected with the terminal according to service feedback information for monitoring the state information of the terminal, wherein the state information comprises an access terminal and a pull-out terminal;
if the state information is the unplugged terminal and the preset equipment identifier belongs to the reference equipment identifier in the authorization table, outputting second prompt information to inform a service to execute the operation of closing the software;
and if the state information is the access terminal, generating the reference equipment identifier according to the parameter information and outputting fourth prompt information to confirm that the service monitors the state of the terminal.
3. The software startup method of claim 2, wherein after the step of outputting a third prompt to notify a current user to copy the software to a local directory of the terminal, comprising:
when the preset equipment identification meets a preset condition, identifying the maximum number in the number column of the authorization table, and adding a preset unit number value to the maximum number in the number column to serve as a newly added number;
adding a data information area to the area to which the new number belongs, wherein the data information area comprises: a product identification code information area, a vendor identification code information area, and a product serial number information area.
4. A software startup method as claimed in claim 3, characterized in that said step of generating said reference device identification from parameter information comprises:
extracting a product identification code, a supplier identification code and a product serial number as the parameter information;
acquiring the newly added number;
and generating the reference equipment identifier corresponding to the parameter information according to the new number, the product identification code, the supplier identification code and the product serial number.
5. The software startup method of claim 4, wherein the step of generating the reference device identification corresponding to the parameter information comprises:
storing the newly added number to a number column of the authorization table;
storing the product identification code to the product identification code information area;
saving the supplier identification code to the supplier identification code information area;
and storing the product serial number to the product serial number information area.
6. The software startup method of claim 5, wherein the step of determining whether the preset device identifier belongs to a reference device identifier in the authorization table comprises:
comparing the preset equipment identification with information in any data information area of the authorization table;
and if the preset equipment identifier is the same as the information in any data information area of the authorization table, the preset equipment identifier belongs to a reference equipment identifier in the authorization table.
7. The software starting method according to claim 1, wherein after the step of outputting the first prompt message to notify the terminal of starting the software corresponding to the preset device identifier, the method comprises:
displaying a password input page, and acquiring an unlocking password input by the current user;
comparing whether the password is the same as a preset password or not;
if the password is the same as the preset password, outputting fifth prompt information to inform the terminal to load the storage device;
and if the password is different from the preset password, outputting sixth prompt information to inform the current user of re-inputting the password.
8. A terminal, characterized in that the terminal comprises: memory, a processor and a software startup-program stored on the memory and executable on the processor, the software startup-program, when executed by the processor, implementing the steps of the software startup-method according to any one of claims 1 to 7.
9. A storage medium having stored thereon a software startup program which, when executed by a processor, performs the steps of the software startup method according to any one of claims 1 to 7.
CN201911068602.XA 2019-11-04 2019-11-04 Software starting method, terminal and readable storage medium Active CN110837629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911068602.XA CN110837629B (en) 2019-11-04 2019-11-04 Software starting method, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911068602.XA CN110837629B (en) 2019-11-04 2019-11-04 Software starting method, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN110837629A CN110837629A (en) 2020-02-25
CN110837629B true CN110837629B (en) 2022-09-06

Family

ID=69576112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911068602.XA Active CN110837629B (en) 2019-11-04 2019-11-04 Software starting method, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN110837629B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101208657A (en) * 2003-04-11 2008-06-25 福来西奥德技术公司 Autorun for integrated circuit memory component
CN101470676A (en) * 2007-12-28 2009-07-01 希姆通信息技术(上海)有限公司 Method for automatic management software installation and operation of USB modem
CN101533452A (en) * 2009-04-17 2009-09-16 上海北大方正科技电脑系统有限公司 Method for protecting cipher of USB interface
CN108920934A (en) * 2018-06-12 2018-11-30 北京华大智宝电子系统有限公司 The driving method of mass-memory unit, device and equipment in Mac system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040003059A1 (en) * 2002-06-26 2004-01-01 Kitchin Duncan M. Active key for wireless device configuration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101208657A (en) * 2003-04-11 2008-06-25 福来西奥德技术公司 Autorun for integrated circuit memory component
CN101470676A (en) * 2007-12-28 2009-07-01 希姆通信息技术(上海)有限公司 Method for automatic management software installation and operation of USB modem
CN101533452A (en) * 2009-04-17 2009-09-16 上海北大方正科技电脑系统有限公司 Method for protecting cipher of USB interface
CN108920934A (en) * 2018-06-12 2018-11-30 北京华大智宝电子系统有限公司 The driving method of mass-memory unit, device and equipment in Mac system

Also Published As

Publication number Publication date
CN110837629A (en) 2020-02-25

Similar Documents

Publication Publication Date Title
US7540024B2 (en) Security features for portable computing environment
US10038771B2 (en) Extending features of one device to another
CN109995876B (en) File transmission method, device, system and computer storage medium
AU2005222507B2 (en) Portable computing environment
KR102110257B1 (en) Electronic device controlling external device using dial and method thereof
CN111090866A (en) Application authority management method, mobile terminal and computer readable storage medium
CN112256225A (en) Screen projection method, server, terminal device and computer readable storage medium
EP2727384B1 (en) Method for accessing at least one service and corresponding system
CN110084035B (en) Electronic device and method for suggesting a response guide when a rejection occurs
CN105320616A (en) External device control method and device
JP2019153310A (en) Information processing apparatus, information processing method, and program
CN110619221B (en) Virtual authorization method, device, terminal equipment and storage medium
CN111327516B (en) Information processing method, terminal and readable storage medium
CN110837629B (en) Software starting method, terminal and readable storage medium
CN110851795B (en) File management method, device, equipment and readable storage medium
CN112016080A (en) Application authority management method and device and electronic equipment
CN112948817A (en) Permission control method and device of application program, computer equipment and medium
CN107256151A (en) Processing method, device and the terminal of page rendering
CN111125742B (en) File management method, intelligent terminal and device with storage function
CN110944320A (en) Smart card identification method, system and computer readable storage medium
CN107506653B (en) Password management method, device and computer readable storage medium
CN110673897A (en) Physical key function control method and device and computer readable storage medium
CN105704521A (en) A method and apparatus for realizing a customized channel list
KR20210026233A (en) Electronic device for controlling access for device resource and operating method thereof
CN113938890B (en) Data sharing method and terminal equipment

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