IOS device detection system, method and device and storage medium
By integrating interface display, power transmission management, resolution detection and disk speed measurement modules into the iOS device detection system, the problem of low testing efficiency in the existing technology is solved, multi-functional testing of iOS devices is realized, and testing efficiency and Standardized management.
Patent Information
- Application Number
- CN202410858591.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-18
AI Technical Summary
There are too many manual participants in the existing iOS device product testing process, and multiple testing software are used to conduct different aspects of testing, making it impossible to achieve standardized and unified test management, resulting in low testing efficiency.
Provide an iOS device detection system, including interface display module, power transmission management module, resolution detection module and disk speed measurement module. Through these modules, PD wattage query, screen resolution measurement and U disk/hard disk read and write speed test are realized. , which combines multiple functional tests to achieve standardized and unified test management.
By integrating power transmission management, resolution detection and disk speed measurement modules, the charging speed, battery life, screen resolution and reading and writing speed of iOS devices are tested, which improves testing efficiency, supports integrated testing of multiple functions, and simplifies the testing process.
Smart Images

Figure CN118796569A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to an iOS device detection system, method, device and storage medium. Background Art
[0002] With the rapid development of electronics and microelectronics, the research and development level of electronic equipment in my country has gradually improved, and it has steadily moved forward on the road of electrification, informatization, networking, and intelligence. The use requirements of different electronic products are reliability and stability, which requires comprehensive testing during the product development process. The design of test software and the realization of test functions can ensure the quality of products and gain market share.
[0003] The existing iOS device product testing process involves too much manual involvement, or uses multiple testing software to conduct different aspects of testing, making it impossible to achieve standardized and unified test management, resulting in low testing efficiency. Summary of the invention
[0004] The main purpose of the present invention is to solve the technical problem of low testing efficiency of iOS devices.
[0005] The first aspect of the present invention provides an iOS device detection system, the iOS device detection system comprising: an interface display module, a power transmission management module, a resolution detection module and a disk speed measurement module;
[0006] The interface display module is connected to the power transmission management module, the resolution detection module and the disk speed measurement module;
[0007] The interface display module is used to obtain the selected test items, trigger the power transmission management module, the resolution detection module and the disk speed measurement module through the selected test items, and display the test results corresponding to the test items;
[0008] The power transmission management module is used to query the PD wattage and obtain the charging speed and battery life of the iOS device according to the PD wattage;
[0009] The resolution detection module is used to measure the screen resolution of the iOS device within a preset time, so as to determine the display effect of the iOS device through the screen resolution;
[0010] The disk speed test module is used to test the read and write speeds of the USB flash drive and the hard disk by simulating actual usage scenarios to obtain speed test data.
[0011] Optionally, in a first implementation method of the first aspect of the present invention, the test item includes a debugging module, and the debugging module is used to obtain standard parameters corresponding to the test data in the power transmission management module, the resolution detection module and the disk speed measurement module, so as to judge the test data according to the standard parameters.
[0012] Optionally, in a second implementation method of the first aspect of the present invention, a log saving module is also included, and the log saving module is used to obtain the test data and operation records of the power transmission management module, the resolution detection module and the disk speed measurement module, and record the test data and operation records of the power transmission management module, the resolution detection module and the disk speed measurement module in a log.
[0013] Optionally, in a third implementation method of the first aspect of the present invention, it also includes a data sharing module, which is used to upload the test data of the power transmission management module, the resolution detection module and the disk speed measurement module to the MES system in real time, and realize the docking and sharing of the test data through the MES system.
[0014] A second aspect of the present invention provides an iOS device detection method, the iOS device detection method comprising:
[0015] Push the project test display interface corresponding to the iOS device detection, and identify the test items selected in the project test display interface to obtain the target test items, wherein the test items include PD wattage query, screen resolution detection, and disk speed measurement;
[0016] According to the target test item, a preset system program is executed to obtain test data corresponding to the target test item;
[0017] Generate a test report based on the test data, and display the test data in the project test display interface;
[0018] According to the test data, a determination result of the target test item is obtained, and the determination result is displayed in the item test display interface, wherein the determination result includes a test pass and a test fail.
[0019] Optionally, in a first implementation manner of the second aspect of the present invention, executing a preset system program according to the target test item to obtain test data corresponding to the target test item includes:
[0020] If the target test item is the PD wattage query or the screen resolution detection, executing the corresponding preset system system_profiler program to obtain the test data corresponding to the target test item;
[0021] If the target test item is the disk speed measurement, a hot-plug monitoring event is established, and the disk type is determined through the hot-plug monitoring event. Based on the disk type, the disk speed is measured through the mount point to obtain the test data corresponding to the target test item.
[0022] Optionally, in a second implementation of the second aspect of the present invention, obtaining a determination result of the target test item according to the test data, and displaying the determination result in the item test display interface includes:
[0023] Obtaining standard parameters corresponding to the target test item, comparing the test data with the standard parameters, and obtaining a comparison result;
[0024] According to the comparison result, obtaining the determination result of the target test item;
[0025] The determination result is displayed in the project test display interface.
[0026] Optionally, in a third implementation of the second aspect of the present invention, if multiple test items are selected, the multiple test items are executed in parallel.
[0027] The second aspect of the present invention provides an iOS device detection device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the iOS device detection device executes the above-mentioned iOS device detection method.
[0028] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned iOS device detection method.
[0029] In an embodiment of the present invention, an interface display module, a power transmission management module, a resolution detection module and a disk speed measurement module are included; the interface display module is connected to the power transmission management module, the resolution detection module and the disk speed measurement module; the interface display module is used to obtain the selected test items, trigger the power transmission management module, the resolution detection module and the disk speed measurement module through the selected test items, and display the test results corresponding to the test items; the power transmission management module is used to query the PD wattage, and obtain the charging speed and battery life of the iOS device according to the PD wattage; the resolution detection module is used to measure the screen resolution of the iOS device within a preset time, so as to judge the display effect of the iOS device through the screen resolution; the disk speed measurement module is used to test the read and write speed of the U disk and the hard disk by simulating the actual use scenario, and obtain the speed measurement data. In the present invention, through the iOS device detection system, the PD wattage can be queried, the screen resolution can be measured, and the read and write speed of the U disk and the hard disk can be tested, and multiple functional tests can be compatible, thereby realizing standardized and unified test management and improving the test efficiency of iOS devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of an embodiment of an iOS device detection system in an embodiment of the present invention;
[0031] Figure 2 A schematic diagram of an embodiment of an iOS device detection method in an embodiment of the present invention;
[0032] Figure 3 Schematic diagram of an embodiment of an iOS device detection device in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] Embodiments of the present invention provide an iOS device detection system, method, device and storage medium.
[0034] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.
[0035] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0036] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the iOS device detection system in the embodiment of the present invention includes: an interface display module 10, a power transmission management module 20, a resolution detection module 30 and a disk speed measurement module 40;
[0037] The interface display module 10 is connected to the power transmission management module 20, the resolution detection module 30 and the disk speed measurement module 40;
[0038] The interface display module 10 is used to obtain the selected test items, trigger the power transmission management module, the resolution detection module and the disk speed measurement module through the selected test items, and display the test results corresponding to the test items;
[0039] The power delivery management module 20 is used to query the PD (Power Delivery) wattage, and obtain the charging speed and battery life of the iOS device according to the PD wattage;
[0040] The resolution detection module 30 is used to measure the screen resolution of the iOS device within a preset time, so as to determine the display effect of the iOS device through the screen resolution;
[0041] The disk speed measurement module 40 is used to test the read and write speeds of the USB flash drive and the hard disk by simulating actual usage scenarios to obtain speed measurement data.
[0042] In this embodiment, the detection system is a production system suitable for testing iOS devices. It is compatible with multiple functions. Compared with the existing testing method that uses multiple testing software to perform single function tests separately, the system can integrate multiple testing functions to achieve standardized and unified test management. Among them, the detection system functions include automatic query of PD wattage, automatic detection of resolution, U disk, hard disk speed measurement and other functions. These functions are respectively implemented through the power transmission management module 20, resolution detection module 30 and disk speed measurement module 40 of the detection system.
[0043] After the user logs in with the account and password, he / she enters the interface display module 10. The test items, test results and judgment results are displayed on the user terminal interface through the interface display module 10. The interface display module 10 pushes the test item selection menu. The test items include PD wattage query, resolution detection, USB flash drive and hard disk speed measurement. Then the user selects the test item in the test item selection menu. The interface display module 10 obtains the selected test item and triggers the corresponding module in the system to perform the corresponding function through the selected test item. Specifically, if the selected test item is PD wattage query, the power transmission management module 20 is triggered; if the selected test item is resolution detection, the resolution detection module 30 is triggered; if the selected test item is USB flash drive and hard disk speed measurement, the disk speed measurement module 40 is triggered.
[0044] The power delivery management module 20 can automatically query the PD wattage, where PD refers to Power Delivery technology, which is a technology that can provide higher power, faster charging speed and wider compatibility. Power Delivery technology is usually used in fields such as USB interfaces and mobile devices, and can adjust voltage and current according to the needs of the device to achieve the best charging effect. PD wattage is the power input to the device. This parameter is crucial for evaluating the charging speed and battery life of iOS devices. Through the accurate measurement of PD wattage, it can be ensured that the charging performance of each device meets Apple's strict standards.
[0045] The resolution detection module 30 is used to measure the screen resolution of the iOS device within a preset time to determine the display effect of the iOS device. Whether it is a Retina display or other types of display technology, the system can provide a detailed and accurate test report. This function is crucial to ensure the consistency and high quality of the product display effect.
[0046] The disk speed test module 40 is used to perform a comprehensive and accurate test on the read and write speeds of the USB flash drive and the hard disk by simulating actual usage scenarios, to ensure that the product can meet the high performance requirements of the iOS device.
[0047] In an optional implementation of the first aspect of the present invention, the test item includes a debugging module, which is used to obtain standard parameters corresponding to the test data in the power transmission management module 20, the resolution detection module 30 and the disk speed measurement module 40, so as to judge the test data according to the standard parameters.
[0048] In this embodiment, the system tool has developed a setting interface, and different setting interfaces are made for different functions, so that different standard parameters can be set through the setting interface, wherein the standard parameters are debugged and set according to the product test requirements. Specifically, the system setting item has a debugging module for each test item. The user sets different standard parameters for the automatic query of PD wattage, automatic detection of resolution, and USB and hard disk speed measurement functions in the setting interface. After the setting is completed, the debugging module obtains the standard parameters set by the user. When the user selects a test item and obtains the test data corresponding to the test item, the system queries the standard parameters corresponding to the test data through the debugging module, and then compares the test data with the standard parameters to determine whether the test data meets the product standards.
[0049] In an optional implementation of the first aspect of the present invention, a log saving module is also included, which is used to obtain the test data and operation records of the power transmission management module 20, the resolution detection module 30 and the disk speed measurement module 40, and record the test data and operation records of the power transmission management module 20, the resolution detection module 30 and the disk speed measurement module 40 in a log.
[0050] In this embodiment, the system also includes a log storage module. In order to meet the data recording requirements in the production process, the system also has a log storage function, which is implemented by the log storage module. All test data, operation records and abnormal situations will be recorded in detail through the log storage module, providing strong support for subsequent quality tracing and analysis. Through the data recorded in the log storage module, the data can also be compared according to the test needs. In terms of data comparison, the system supports historical records and real-time comparison of test data. By comparing the test results of different batches or the same batch of products, potential problems can be discovered in time and corresponding improvement measures can be taken. This fool-proofing mechanism helps to improve product quality and reduce rework rate.
[0051] In an optional implementation of the first aspect of the present invention, it also includes a data sharing module, which is used to upload the test data of the power transmission management module 20, the resolution detection module 30 and the disk speed measurement module 40 to the MES system in real time, so as to realize the docking and sharing of the test data through the MES system.
[0052] In this embodiment, the system also includes a data sharing module, through which the test data of the power transmission management module 20, the resolution detection module 30 and the disk speed measurement module 40 are uploaded to the MES system in real time, realizing seamless connection and sharing of data. This collaborative working mode not only improves production efficiency, but also makes data management more convenient and efficient.
[0053] In summary, this system provides a comprehensive and efficient solution for the production test of iOS devices with its powerful function integration, intelligent operation and close connection with the MES system. From the automatic query of PD wattage to the automatic detection of resolution, to the speed test of USB flash drives and hard drives, every link reflects the professionalism and reliability of the system.
[0054] See also Figure 2 , an embodiment of the iOS device detection method in the embodiment of the present invention includes:
[0055] S100, pushing the project test display interface corresponding to the iOS device detection, and identifying the test item selected in the project test display interface to obtain the target test item;
[0056] S200, executing a preset system program according to a target test item to obtain test data corresponding to the target test item;
[0057] S300, generating a test report based on the test data, and displaying the test data in a project test display interface;
[0058] S400, obtaining a determination result of a target test item according to the test data, and displaying the determination result in an item test display interface.
[0059] In this embodiment, the user sends a detection request to the server through the terminal, the server obtains the detection request, and pushes the project test display interface corresponding to the iOS device detection, wherein the terminal may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The server can be implemented with an independent server or a server cluster composed of multiple servers. Then, the user selects the test items in the project test display interface, and the test items include PD wattage query, screen resolution detection, and disk speed measurement. Optionally, the test items can also be directly entered in the project test display interface. The server identifies the test items selected by the user in the project test display interface, obtains the target test items, executes the preset system program for testing, obtains the corresponding test data, and then visualizes and pushes the test data, and displays the test data in the project test display interface. At the same time, based on the test data, it determines whether the target test item is passed or not, and displays the determination result in the project test display interface.
[0060] In an optional implementation of the second aspect of the present invention, executing a preset system program according to a target test item to obtain test data corresponding to the target test item includes:
[0061] If the target test item is PD wattage query or screen resolution detection, the corresponding preset system system_profiler program is executed to obtain the test data corresponding to the target test item; if the target test item is disk speed measurement, a hot-plug monitoring event is established, and the disk type is determined through the hot-plug monitoring event. According to the disk type, the disk speed is measured through the mount point to obtain the test data corresponding to the target test item.
[0062] In this embodiment, the system_profiler tool is first used to set the system_profiler program corresponding to the PD wattage query or screen resolution detection function. In most cases, the system_profiler will generate a large amount of data related to the target device, including very specific hardware details, firewall settings, Wi-Fi adapter details, startup items, and detailed application information. The system_profiler can be used without root permissions, so it is the best tool for quickly discovering hardware and software related information. If the target test item is PD wattage query or screen resolution detection, the system_profiler program corresponding to the PD wattage query or screen resolution detection function is executed to obtain the test data corresponding to the target test item. If the target test item is disk speed measurement, that is, measuring the speed of the U disk and hard disk, you first need to implement USB hot-plug monitoring and establish hot-plug monitoring events. This is not an easy task on macos. For example, using the system IOKit framework to interact is extremely difficult. In the end, the libusb1 solution is adopted to monitor the inserted disk through the hot-plug monitoring event. Secondly, it is necessary to judge the type of the inserted disk. Whether the product is a "removable disk" or a "fixed disk" is limited to different test standards. The file system speed test is performed through the mount point to obtain the test data corresponding to the target test item.
[0063] In an optional implementation of the second aspect of the present invention, obtaining a determination result of a target test item according to the test data, and displaying the determination result in an item test display interface includes:
[0064] Obtain standard parameters corresponding to the target test item, compare the test data with the standard parameters, and obtain a comparison result; obtain a determination result of the target test item based on the comparison result; and display the determination result in the item test display interface.
[0065] In this embodiment, after obtaining the test data corresponding to the target test item, the standard parameters corresponding to the target test item are obtained, the test data are compared with the standard parameters, it is determined whether the target test item has passed the test, the determination result of the target test item is obtained, and then the determination result of the target test item is displayed in the project test display interface.
[0066] In an optional implementation of the second aspect of the present invention, if there are multiple test items selected, the multiple test items are executed in parallel.
[0067] In this embodiment, if the user selects multiple test items, these test items are executed in parallel. Optionally, multiple threads can be created, each thread corresponding to executing one test item, or multiple test items can be assigned to different devices for execution to realize parallel execution of multiple test items.
[0068] Figure 3 1 is a schematic diagram of the structure of an iOS device detection device provided by an embodiment of the present invention. The iOS device detection device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the iOS device detection device 500. Furthermore, the processor 510 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the iOS device detection device 500.
[0069] The iOS device detection device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, Free BSD, etc. It will be appreciated by those skilled in the art that Figure 3 The structure of the iOS device detection device shown does not constitute a limitation on the iOS device-based detection device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0070] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the iOS device detection method.
[0071] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0072] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.
[0073] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. An iOS device detection system, characterized in that: It includes an interface display module, a power transmission management module, a resolution detection module and a disk speed measurement module; The interface display module is connected to the power transmission management module, the resolution detection module and the disk speed measurement module; The interface display module is used to obtain the selected test items, trigger the power transmission management module, the resolution detection module and the disk speed measurement module through the selected test items, and display the test results corresponding to the test items; The power transmission management module is used to query the PD wattage and obtain the charging speed and battery life of the iOS device according to the PD wattage; The resolution detection module is used to measure the screen resolution of the iOS device within a preset time, so as to determine the display effect of the iOS device through the screen resolution; The disk speed test module is used to test the read and write speeds of the USB flash drive and the hard disk by simulating actual usage scenarios to obtain speed test data.
2. The iOS device detection system according to claim 1, characterized in that: The test item includes a debugging module, which is used to obtain standard parameters corresponding to test data in the power transmission management module, the resolution detection module and the disk speed measurement module, so as to judge the test data according to the standard parameters.
3. The iOS device detection system according to claim 1, characterized in that: It also includes a log saving module, which is used to obtain the test data and operation records of the power transmission management module, the resolution detection module and the disk speed measurement module, and record the test data and operation records of the power transmission management module, the resolution detection module and the disk speed measurement module in a log.
4. The iOS device detection system according to claim 1, characterized in that: It also includes a data sharing module, which is used to upload the test data of the power transmission management module, the resolution detection module and the disk speed measurement module to the MES system in real time, and realize the docking and sharing of the test data through the MES system.
5. A method for detecting an iOS device, characterized in that: The iOS device detection method comprises: Push the project test display interface corresponding to the iOS device detection, and identify the test items selected in the project test display interface to obtain the target test items, wherein the test items include PD wattage query, screen resolution detection, and disk speed measurement; According to the target test item, a preset system program is executed to obtain test data corresponding to the target test item; Generate a test report based on the test data, and display the test data in the project test display interface; According to the test data, a determination result of the target test item is obtained, and the determination result is displayed in the item test display interface, wherein the determination result includes a test pass and a test fail.
6. The iOS device detection method according to claim 5, characterized in that: The executing a preset system program according to the target test item to obtain the test data corresponding to the target test item includes: If the target test item is the PD wattage query or the screen resolution detection, executing the corresponding preset system system_profiler program to obtain the test data corresponding to the target test item; If the target test item is the disk speed measurement, a hot-plug monitoring event is established, and the disk type is determined through the hot-plug monitoring event. Based on the disk type, the disk speed is measured through the mount point to obtain the test data corresponding to the target test item.
7. The iOS device detection method according to claim 5, characterized in that: The obtaining, according to the test data, a determination result of the target test item and displaying the determination result in the item test display interface comprises: Obtaining standard parameters corresponding to the target test item, comparing the test data with the standard parameters, and obtaining a comparison result; According to the comparison result, obtaining the determination result of the target test item; The determination result is displayed in the project test display interface.
8. The iOS device detection method according to claim 5, characterized in that: If there are multiple test items selected, the multiple test items are executed in parallel.
9. An iOS device detection device, characterized in that: The iOS device detection device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instruction in the memory so that the iOS device detection device executes the iOS device detection method according to any one of claims 5-8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the iOS device detection method according to any one of claims 5 to 8 is implemented.
