CN108874696A - Automatic test approach, device and the electronic equipment of more legal power safety storage equipment - Google Patents

Automatic test approach, device and the electronic equipment of more legal power safety storage equipment Download PDF

Info

Publication number
CN108874696A
CN108874696A CN201711498622.1A CN201711498622A CN108874696A CN 108874696 A CN108874696 A CN 108874696A CN 201711498622 A CN201711498622 A CN 201711498622A CN 108874696 A CN108874696 A CN 108874696A
Authority
CN
China
Prior art keywords
authority
tested
function
storage device
secure storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711498622.1A
Other languages
Chinese (zh)
Other versions
CN108874696B (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.)
Harbin Antiy Technology Co Ltd
Original Assignee
Harbin Antiy 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 Harbin Antiy Technology Co Ltd filed Critical Harbin Antiy Technology Co Ltd
Priority to CN201711498622.1A priority Critical patent/CN108874696B/en
Publication of CN108874696A publication Critical patent/CN108874696A/en
Application granted granted Critical
Publication of CN108874696B publication Critical patent/CN108874696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • G06F12/1458Protection against unauthorised use of memory or access to memory by checking the subject access rights
    • 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
    • G06F21/79Protecting 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 in semiconductor storage media, e.g. directly-addressable memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the present invention discloses automatic test approach, device and the electronic equipment of a kind of more legal power safety storage equipment, can be improved testing efficiency.The method includes:It determines the permission to be measured of more legal power safety storage equipment, and obtains the corresponding configuration information of the permission to be measured;According to the configuration information of the permission to be measured and the permission to be measured, more legal power safety storage equipment are configured;Function of the configured more legal power safety storage equipment under the permission to be measured is verified;Export the result of the functional verification.The present invention is suitable for the automatic test of movable storage device.

Description

Automatic test method and device for multi-authority security storage equipment and electronic equipment
Technical Field
The invention relates to the field of automatic detection of mobile storage equipment, in particular to an automatic testing method and device of multi-authority safety storage equipment and electronic equipment.
Background
With the development of network technology, network technology is developed more and more, and information transmission is more and more convenient. The Universal Serial Bus (USB) is a Serial Bus standard for connecting external devices, and due to many advantages of USB connection interfaces, USB is widely used for connecting peripheral devices and computers at present, and the creation of the USB flash disk realizes the concept of externally arranging the flash memory.
In order to ensure the quality of the multi-authority safety USB flash disk, the multi-authority safety USB flash disk needs to be subjected to a large amount of test work before the product leaves the factory,
in the process of implementing the invention, the inventor finds that the current testing work mainly adopts manual testing, thus greatly reducing the testing efficiency.
Disclosure of Invention
In view of this, embodiments of the present invention provide an automatic testing method and apparatus for a multi-authority secure storage device, and an electronic device, which can improve testing efficiency.
In a first aspect, an embodiment of the present invention provides an automatic testing method for a multi-authority secure storage device, where the method includes:
determining the authority to be tested of the multi-authority security storage equipment, and acquiring configuration information corresponding to the authority to be tested;
configuring the multi-authority security storage equipment according to the authority to be tested and the configuration information of the authority to be tested;
verifying the function of the configured multi-authority safety storage equipment under the authority to be tested;
and outputting the result of the function verification.
With reference to the first aspect, in a first implementation manner of the first aspect, the determining the to-be-tested rights of the multi-rights secure storage device includes:
calling a preset authority calling function, and taking the authority returned by the authority calling function as the authority to be tested; or,
and selecting the authority to be tested from a preset authority list.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the obtaining the configuration information corresponding to the to-be-tested right includes:
and calling a script Application Program Interface (API) function, inputting the to-be-tested authority to the script API function, and receiving configuration information which is returned by the script API function and corresponds to the to-be-tested authority.
With reference to the first implementation manner of the first aspect, in a third implementation manner of the first aspect, the verifying the function of the configured multi-privilege secure storage device under the privilege to be tested includes:
operating the configured multi-authority security equipment under the authority to be tested; and
comparing an actual result obtained after the function operation is finished with an expected result;
wherein the outputting the result of the functional verification comprises:
outputting an error message if the actual result is inconsistent with the expected result.
With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the executed function includes at least one item, and the outputting the result of the function verification further includes:
and if the actual result obtained after the operation of each function is finished is consistent with the expected result, outputting correct information.
With reference to the first implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the function of the multi-privilege secure storage device under the privilege to be tested includes at least one of:
password verification function, configuration modification function and data reading and writing function.
With reference to the first implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the permission to be tested includes a management permission, a configuration permission, a private permission, or an encryption permission, where the private permission includes a private area read-only permission and a private area read-write permission.
In a second aspect, an embodiment of the present invention provides an apparatus for automatically testing a multi-rights secure storage device, where the apparatus includes:
the acquisition module is used for determining the to-be-tested authority of the multi-authority security storage device and acquiring configuration information corresponding to the to-be-tested authority;
the configuration module is used for configuring the multi-authority security storage equipment according to the to-be-tested authority and the configuration information of the to-be-tested authority;
the verification module is used for verifying the functions of the configured multi-authority safety storage equipment under the authority to be tested;
and the output module is used for outputting the result of the function verification.
With reference to the second aspect, in a first implementation manner of the second aspect, the obtaining module is specifically configured to:
calling a preset authority calling function, and taking the authority returned by the authority calling function as the authority to be tested; or,
and selecting the authority to be tested from a preset authority list.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the obtaining module is specifically further configured to:
and calling a script Application Program Interface (API) function, inputting the to-be-tested authority to the script API function, and receiving configuration information which is returned by the script API function and corresponds to the to-be-tested authority.
With reference to the first implementation manner of the second aspect, in a third implementation manner of the second aspect, the verification module is specifically configured to: operating the configured multi-authority security equipment under the authority to be tested; comparing an actual result obtained after the function operation is finished with an expected result;
wherein the output module is further specifically configured to: outputting an error message if the actual result is inconsistent with the expected result.
With reference to the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the executed function includes at least one item, and the outputting the result of the function verification further includes:
and if the actual result obtained after the operation of each function is finished is consistent with the expected result, outputting correct information.
With reference to the first implementation manner of the second aspect, in a fifth implementation manner of the second aspect, the function of the multi-rights secure storage device under the rights to be tested includes at least one of:
password verification function, configuration modification function and data reading and writing function.
With reference to the first implementation manner of the second aspect, in a sixth implementation manner of the second aspect, the permission to be tested includes a management permission, a configuration permission, a private permission, or an encryption permission, where the private permission includes a private area read-only permission and a private area read-write permission.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing the automatic test method of the multi-authority safety storage device.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the method for automatically testing a multi-rights safe storage device according to any one of the foregoing descriptions.
According to the automatic testing method and device for the multi-authority safe storage device and the electronic device, the original manual testing is changed into the automatic testing through the machine, the automatic testing process of the machine is utilized, the limitation of time can be avoided, and the testing efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating an automatic testing method for a multi-rights security storage device according to the present invention;
fig. 2 is a schematic structural diagram of an automatic testing apparatus for a multi-rights secure storage device according to the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment provides an automatic test method for a multi-authority security storage device, so as to improve the test efficiency and reduce the test cost.
Fig. 1 is a schematic flow chart of an automatic testing method for a multi-rights secure storage device according to the present invention.
The method of the present embodiment includes steps S1-S4.
And step S1, determining the to-be-tested authority of the multi-authority secure storage device, and acquiring configuration information corresponding to the to-be-tested authority.
In this embodiment, the to-be-tested right includes a management right, a configuration right, a private right, or an encryption right, where the private right includes a private area read-only right and a private area read-write right.
Taking a USB flash disk as an example, the management authority is used for initializing the multi-authority security USB flash disk, the configuration authority is used for partition distribution function under different authorities of the multi-authority security USB flash disk, the private authority is used for accessing a private area of the multi-authority security USB flash disk, wherein the private authority is divided into private area read-write authority and private area read-only authority, the private area read-write authority comprises a private area read function, but the private area read-only authority does not have a write-in function for the private area, and the encryption authority is used for accessing an encryption area of the multi-authority security USB flash disk.
In this embodiment, the determining the to-be-tested right of the multi-right secure storage device in step S1 includes: calling a preset authority calling function, and taking the authority returned by the authority calling function as the authority to be tested; or selecting the authority to be tested from a preset authority list.
In this embodiment, the preset permission list includes the main permission of the multi-permission secure storage device, and taking a usb disk as an example, the preset permission list includes a management permission, a configuration permission, a privacy permission, an encryption permission, and the like.
In this embodiment, the obtaining the configuration information corresponding to the to-be-tested right in step S1 includes:
and calling a script Application Program Interface (API) function, inputting the to-be-tested authority to the script API function, and receiving configuration information which is returned by the script API function and corresponds to the to-be-tested authority.
In this embodiment, when the test program is started, the main program calls any authority through a preset authority calling function or a preset authority list, where a bottom layer interface (e.g., a usb disk bottom layer interface) is stored in the script application program interface API, and includes visible area reading and writing, configuration of basic information (e.g., basic information of a usb disk), and the like, and the main program calls the configuration of the script application program interface API after calling any authority.
And step S2, configuring the multi-authority security storage device according to the authority to be tested and the configuration information of the authority to be tested.
In this embodiment, the configuration of the called arbitrary authority and the script application program interface API is input into the configuration module, and the called arbitrary authority and the related function are configured.
And step S3, verifying the function of the configured multi-authority secure storage device under the authority to be tested.
And step S4, outputting the result of the function verification.
In this embodiment, after the configuration in step S2 is completed, all functions under the authority need to be verified, where the functions of the multi-authority secure storage device under the authority to be tested include at least one of the following: password verification function, configuration modification function and data reading and writing function.
In this embodiment, the step S3 of verifying the function of the configured multi-authority secure storage device under the authority to be tested specifically includes: operating the configured multi-authority security equipment under the authority to be tested; and comparing an actual result obtained after the function operation is completed with an expected result.
At this time, the step S4 of outputting the result of the function verification specifically includes: outputting an error message if the actual result is inconsistent with the expected result.
In this embodiment, the testing procedure is ended once the error information is outputted, and if the actual result is consistent with the expected result, the testing procedure jumps to another position of the main procedure to call another authority in the authority list, and the second calling, configuring and verifying steps are performed, i.e. steps S1-S3 are repeatedly executed.
In this embodiment, if the result of the second repeated execution is outputting error information, the test procedure is ended, and if the result of the second repeated execution is consistent with the expected result, the main procedure jumps to another position of the main procedure to call another authority in the authority list, and the third calling, configuring and verifying steps are performed, i.e., steps S1-S3 are repeatedly executed.
In this embodiment, the loop is not exited until all the permissions are traversed, and the test procedure is ended.
In this embodiment, the executed function includes at least one item, where the step S4 of outputting the result of the function verification specifically further includes: and if the actual result obtained after the operation of each function is finished is consistent with the expected result, outputting correct information.
According to the automatic testing method of the multi-authority safe storage device, the original manual testing is changed into the automatic testing through the machine, the automatic testing process of the machine is utilized, the time limitation can be avoided, the testing efficiency can be improved, the labor cost of testing work can be reduced, scripts can be compiled according to different testing requirements and reference flows, and test cases are comprehensively covered.
Example two
The embodiment provides an automatic testing device for multi-authority security storage equipment, so as to improve testing efficiency and reduce testing cost.
Fig. 2 is a schematic structural diagram of an automatic testing apparatus for a multi-rights secure storage device according to the present invention.
As shown in fig. 2, the automatic testing apparatus 10 for multi-rights secure storage device of the present embodiment includes an obtaining module 101, a configuring module 102, a verifying module 103, and an outputting module 104.
The acquiring module 101 is configured to determine a to-be-tested permission of the multi-permission secure storage device, and acquire configuration information corresponding to the to-be-tested permission.
In this embodiment, the to-be-tested right includes a management right, a configuration right, a private right, or an encryption right, where the private right includes a private area read-only right and a private area read-write right.
Taking a USB flash disk as an example, the management authority is used for initializing the multi-authority security USB flash disk, the configuration authority is used for partition distribution function under different authorities of the multi-authority security USB flash disk, the private authority is used for accessing a private area of the multi-authority security USB flash disk, wherein the private authority is divided into private area read-write authority and private area read-only authority, the private area read-write authority comprises a private area read function, but the private area read-only authority does not have a write-in function for the private area, and the encryption authority is used for accessing an encryption area of the multi-authority security USB flash disk.
In this embodiment, the obtaining module 101 is specifically configured to: calling a preset authority calling function, and taking the authority returned by the authority calling function as the authority to be tested; or selecting the authority to be tested from a preset authority list.
In this embodiment, the preset permission list includes the main permission of the multi-permission secure storage device, and taking a usb disk as an example, the preset permission list includes a management permission, a configuration permission, a privacy permission, an encryption permission, and the like.
In this embodiment, the obtaining module 101 is further specifically configured to: and calling a script Application Program Interface (API) function, inputting the to-be-tested authority to the script API function, and receiving configuration information which is returned by the script API function and corresponds to the to-be-tested authority.
In this embodiment, when the test program is started, the main program calls any authority through a preset authority calling function or a preset authority list, where a bottom layer interface (e.g., a usb disk bottom layer interface) is stored in the script application program interface API, and includes visible area reading and writing, configuration of basic information (e.g., basic information of a usb disk), and the like, and the main program calls the configuration of the script application program interface API after calling any authority.
A configuration module 102, configured to configure the multi-privilege security storage device according to the to-be-tested privilege and the configuration information of the to-be-tested privilege.
In this embodiment, any authority to be called and the configuration of the script application program interface API are input into the configuration module 102, and any authority to be called and the related functions are configured.
And the verification module 103 is configured to verify the function of the configured multi-authority secure storage device under the authority to be tested.
And an output module 104, configured to output a result of the functional verification.
In this embodiment, the verification module 103 is specifically configured to: operating the configured multi-authority security equipment under the authority to be tested; comparing an actual result obtained after the function operation is finished with an expected result;
wherein, the output module 104 is further specifically configured to: outputting an error message if the actual result is inconsistent with the expected result.
In this embodiment, the running function includes at least one item, wherein the output module 104 is further specifically configured to: and if the actual result obtained after the operation of each function is finished is consistent with the expected result, outputting correct information.
In this embodiment, the function of the multi-authority secure storage device under the authority to be tested includes at least one of the following: password verification function, configuration modification function and data reading and writing function.
The automatic testing apparatus 10 of the multi-authority secure storage device of this embodiment may be used to execute the technical solution of the method embodiment shown in fig. 1, and its implementation principle and technical effect are similar, and are not described herein again.
According to the embodiment of the invention, the original manual test is changed into the automatic test through the machine, the automatic test process of the machine is utilized, the limitation of time is avoided, the test efficiency can be improved, the labor cost of the test work can be reduced, and the script can be compiled by referring to the flow according to different test requirements, so that the test case is more comprehensively covered.
An embodiment of the present invention further provides an electronic device, which may implement the process of the embodiment shown in fig. 1 of the present invention, where the electronic device may include: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing the automatic test method of the multi-authority security storage device according to any one of the foregoing embodiments.
For the specific execution process of the above steps by the processor and the steps further executed by the processor by running the executable program code, reference may be made to the description of the embodiment shown in fig. 1 of the present invention, which is not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
Embodiments of the present invention also provide a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the method for automatically testing a multi-rights safe storage device according to any of the foregoing.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (16)

1. A method for automatic testing of a multi-rights secure storage device, the method comprising:
determining the authority to be tested of the multi-authority security storage equipment, and acquiring configuration information corresponding to the authority to be tested;
configuring the multi-authority security storage equipment according to the authority to be tested and the configuration information of the authority to be tested;
verifying the function of the configured multi-authority safety storage equipment under the authority to be tested;
and outputting the result of the function verification.
2. The method for automatically testing the multi-authority secure storage device according to claim 1, wherein the determining the to-be-tested authority of the multi-authority secure storage device comprises:
calling a preset authority calling function, and taking the authority returned by the authority calling function as the authority to be tested;
or,
and selecting the authority to be tested from a preset authority list.
3. The method for automatically testing the multi-authority secure storage device according to claim 1, wherein the obtaining the configuration information corresponding to the authority to be tested comprises:
and calling a script Application Program Interface (API) function, inputting the to-be-tested authority to the script API function, and receiving configuration information which is returned by the script API function and corresponds to the to-be-tested authority.
4. The method for automatically testing the multi-authority secure storage device according to claim 1, wherein the verifying the function of the configured multi-authority secure storage device under the authority to be tested comprises:
operating the configured multi-authority security equipment under the authority to be tested; and
comparing an actual result obtained after the function operation is finished with an expected result;
wherein the outputting the result of the functional verification comprises:
outputting an error message if the actual result is inconsistent with the expected result.
5. The method for automatically testing a multi-rights secure storage device according to claim 4, wherein the function of running includes at least one item, wherein the outputting the result of the function verification further comprises:
and if the actual result obtained after the operation of each function is finished is consistent with the expected result, outputting correct information.
6. The method for automatically testing the multi-authority secure storage device according to claim 1, wherein the functions of the multi-authority secure storage device under the authority to be tested include at least one of:
password verification function, configuration modification function and data reading and writing function.
7. The method for automatically testing the multi-authority secure storage device according to claim 1, wherein the authority to be tested comprises a management authority, a configuration authority, a privacy authority or an encryption authority, wherein the privacy authority comprises a private area read-only authority and a private area read-write authority.
8. An apparatus for automatic testing of a multi-rights secure storage device, the apparatus comprising:
the acquisition module is used for determining the to-be-tested authority of the multi-authority security storage device and acquiring configuration information corresponding to the to-be-tested authority;
the configuration module is used for configuring the multi-authority security storage equipment according to the to-be-tested authority and the configuration information of the to-be-tested authority;
the verification module is used for verifying the functions of the configured multi-authority safety storage equipment under the authority to be tested;
and the output module is used for outputting the result of the function verification.
9. The apparatus for automatically testing a multi-rights secure storage device according to claim 8, wherein the obtaining module is specifically configured to:
calling a preset authority calling function, and taking the authority returned by the authority calling function as the authority to be tested;
or,
and selecting the authority to be tested from a preset authority list.
10. The apparatus for automatically testing a multi-rights secure storage device according to claim 8, wherein the obtaining module is further configured to:
and calling a script Application Program Interface (API) function, inputting the to-be-tested authority to the script API function, and receiving configuration information which is returned by the script API function and corresponds to the to-be-tested authority.
11. The apparatus for automatically testing a multi-rights secure storage device according to claim 8, wherein the verification module is specifically configured to:
operating the configured multi-authority security equipment under the authority to be tested; and
comparing an actual result obtained after the function operation is finished with an expected result;
wherein the output module is further specifically configured to: outputting an error message if the actual result is inconsistent with the expected result.
12. The apparatus for automatic testing of multi-rights secure storage devices of claim 11, wherein the function of running comprises at least one item, wherein the output module is further configured to:
and if the actual result obtained after the operation of each function is finished is consistent with the expected result, outputting correct information.
13. The apparatus for automatically testing the multi-authority secure storage device according to claim 8, wherein the function of the multi-authority secure storage device under the authority to be tested includes at least one of:
password verification function, configuration modification function and data reading and writing function.
14. The apparatus of claim 8, wherein the permission to be tested comprises a management permission, a configuration permission, a privacy permission, or an encryption permission, and wherein the privacy permission comprises a private area read-only permission and a private area read-write permission.
15. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the method of any one of the preceding claims 1-7.
16. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs which are executable by one or more processors to implement the method of any of the preceding claims 1-7.
CN201711498622.1A 2017-12-29 2017-12-29 Automatic testing method and device for multi-authority safety storage equipment and electronic equipment Active CN108874696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711498622.1A CN108874696B (en) 2017-12-29 2017-12-29 Automatic testing method and device for multi-authority safety storage equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711498622.1A CN108874696B (en) 2017-12-29 2017-12-29 Automatic testing method and device for multi-authority safety storage equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN108874696A true CN108874696A (en) 2018-11-23
CN108874696B CN108874696B (en) 2022-09-30

Family

ID=64325822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711498622.1A Active CN108874696B (en) 2017-12-29 2017-12-29 Automatic testing method and device for multi-authority safety storage equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN108874696B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475481A (en) * 2020-02-29 2020-07-31 苏州浪潮智能科技有限公司 HDFS resource permission testing method, system, terminal and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131650A (en) * 2006-08-23 2008-02-27 王悦 Device and method for guiding, updating and maintenance based on USB Host
CN101359355A (en) * 2007-08-02 2009-02-04 芯微技术(深圳)有限公司 Method for raising user's authority for limitation account under Windows system
CN101488984A (en) * 2009-02-25 2009-07-22 深圳华为通信技术有限公司 Functional test method, terminal device and system based on memory apparatus
CN101881997A (en) * 2009-05-04 2010-11-10 同方股份有限公司 Trusted safe mobile storage device
CN102521165A (en) * 2011-11-30 2012-06-27 北京宏思电子技术有限责任公司 Security U disk and recognition method and device thereof
CN103048559A (en) * 2012-11-27 2013-04-17 北京华大信安科技有限公司 Method for testing USB (universal serial bus) equipment and ATE (automatic test equipment)
CN103235756A (en) * 2013-04-22 2013-08-07 北京航空航天大学 Simulation testing method for partition application software of embedded system
US20140009108A1 (en) * 2012-07-06 2014-01-09 DvineWave Inc. Transmitters for wireless power transmission
CN105487949A (en) * 2015-11-25 2016-04-13 浪潮电子信息产业股份有限公司 MIC (Many Integrated Core) card test method and apparatus
CN105512031A (en) * 2015-11-30 2016-04-20 惠州Tcl移动通信有限公司 Mobile terminal and automatic test method
CN105679375A (en) * 2015-12-31 2016-06-15 浪潮(北京)电子信息产业有限公司 Automatic test system of storage equipment, and method thereof
CN105738723A (en) * 2016-01-29 2016-07-06 苏州佳世达电通有限公司 Production line automatic detection method and detection device
CN106412566A (en) * 2016-09-06 2017-02-15 深圳创维-Rgb电子有限公司 Automated testing method and apparatus for smart television
CN106874159A (en) * 2016-12-30 2017-06-20 北京同有飞骥科技股份有限公司 A kind of concentrating type automated testing method
CN107357723A (en) * 2017-06-22 2017-11-17 上海斐讯数据通信技术有限公司 A kind of administration authority method of testing and device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131650A (en) * 2006-08-23 2008-02-27 王悦 Device and method for guiding, updating and maintenance based on USB Host
CN101359355A (en) * 2007-08-02 2009-02-04 芯微技术(深圳)有限公司 Method for raising user's authority for limitation account under Windows system
CN101488984A (en) * 2009-02-25 2009-07-22 深圳华为通信技术有限公司 Functional test method, terminal device and system based on memory apparatus
CN101881997A (en) * 2009-05-04 2010-11-10 同方股份有限公司 Trusted safe mobile storage device
CN102521165A (en) * 2011-11-30 2012-06-27 北京宏思电子技术有限责任公司 Security U disk and recognition method and device thereof
US20140009108A1 (en) * 2012-07-06 2014-01-09 DvineWave Inc. Transmitters for wireless power transmission
CN103048559A (en) * 2012-11-27 2013-04-17 北京华大信安科技有限公司 Method for testing USB (universal serial bus) equipment and ATE (automatic test equipment)
CN103235756A (en) * 2013-04-22 2013-08-07 北京航空航天大学 Simulation testing method for partition application software of embedded system
CN105487949A (en) * 2015-11-25 2016-04-13 浪潮电子信息产业股份有限公司 MIC (Many Integrated Core) card test method and apparatus
CN105512031A (en) * 2015-11-30 2016-04-20 惠州Tcl移动通信有限公司 Mobile terminal and automatic test method
CN105679375A (en) * 2015-12-31 2016-06-15 浪潮(北京)电子信息产业有限公司 Automatic test system of storage equipment, and method thereof
CN105738723A (en) * 2016-01-29 2016-07-06 苏州佳世达电通有限公司 Production line automatic detection method and detection device
CN106412566A (en) * 2016-09-06 2017-02-15 深圳创维-Rgb电子有限公司 Automated testing method and apparatus for smart television
CN106874159A (en) * 2016-12-30 2017-06-20 北京同有飞骥科技股份有限公司 A kind of concentrating type automated testing method
CN107357723A (en) * 2017-06-22 2017-11-17 上海斐讯数据通信技术有限公司 A kind of administration authority method of testing and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒋海霞 等: "U盘存储鉴权认证系统研究与实现", 《电脑知识与技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475481A (en) * 2020-02-29 2020-07-31 苏州浪潮智能科技有限公司 HDFS resource permission testing method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN108874696B (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN106599680B (en) Method and device for setting application program permission and electronic equipment
CN105045602B (en) Method and device for constructing Hadoop application development framework and electronic device
CN109947449B (en) System upgrading method and device, storage medium and electronic equipment
CN107908556A (en) Interface test method, device, equipment and computer-readable recording medium
CN107729231B (en) Fault injection method and device based on operating system
CN110597584A (en) Page adaptation testing method and device, electronic equipment and storage medium
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
CN112463634A (en) Software testing method and device under micro-service architecture
CN108647501A (en) Multiple utility program shares password unlocking method, device, equipment and storage medium
CN110990820A (en) Tax disk authorization method and device, electronic equipment and storage medium
CN108874696B (en) Automatic testing method and device for multi-authority safety storage equipment and electronic equipment
CN110652728A (en) Game resource management method and device, electronic equipment and storage medium
CN117076330B (en) Access verification method, system, electronic equipment and readable storage medium
CN105512041A (en) Method and device for testing application program performance and electronic equipment
CN112433935A (en) Test method, test device, electronic equipment and storage medium
CN108874462B (en) Browser behavior acquisition method and device, storage medium and electronic equipment
CN112631842B (en) System memory identification test method, system and electronic equipment
CN105095743A (en) Method and device for setting locking strategy and electronic equipment
CN108418829B (en) Account login verification method and device, computer equipment and storage medium
CN113472611A (en) Method and device for acquiring WiFi signal strength and readable storage medium
CN105677897B (en) Login method and device and electronic equipment
CN112306954A (en) File system testing method and device
CN106557705A (en) A kind of data access method and device
CN113408845B (en) Processing method and device of production flow, computer equipment and storage medium
CN113194463B (en) Position acquisition method and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 150028 Building 7, Innovation Plaza, Science and Technology Innovation City, Harbin Hi-tech Industrial Development Zone, Heilongjiang Province (838 Shikun Road)

Applicant after: Harbin Antian Science and Technology Group Co.,Ltd.

Address before: 150090 506, room 162, Hongqi Street, Nangang 17 building, Harbin hi tech Industrial Development Zone, Heilongjiang.

Applicant before: HARBIN ANTIY TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 150028 building 7, innovation and entrepreneurship square, science and technology innovation city, Harbin high tech Industrial Development Zone, Heilongjiang Province (No. 838, Shikun Road)

Applicant after: Antan Technology Group Co.,Ltd.

Address before: 150028 building 7, innovation and entrepreneurship square, science and technology innovation city, Harbin high tech Industrial Development Zone, Heilongjiang Province (No. 838, Shikun Road)

Applicant before: Harbin Antian Science and Technology Group Co.,Ltd.

GR01 Patent grant
GR01 Patent grant