An automated testing method for a parking hardware device

By using automated testing methods on an IoT platform, the problem of low efficiency in compatibility testing of parking hardware devices has been solved, enabling rapid and standardized compatibility assessment and management, and reducing labor costs.

CN115933603BActive Publication Date: 2026-08-04BEIJING TONGTONG YILIAN TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING TONGTONG YILIAN TECH CO LTD
Filing Date
2022-12-20
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

Existing technologies for parking hardware compatibility testing are inefficient, have a limited testing scope, and the test results cannot be standardized and managed, making it difficult to quickly determine the compatibility between new and old parking systems.

Method used

An automated testing method based on an IoT platform is adopted. The parking hardware control device sends instructions and receives feedback data. Combined with the IoT platform to generate test entry and sharing links, automated compatibility testing of equipment such as cameras, barriers, and display screens is realized.

Benefits of technology

It improves the efficiency of parking hardware compatibility assessment, supports one-click testing on PC and mobile devices, and allows for intuitive display and standardized management of test results, reducing labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115933603B_ABST
    Figure CN115933603B_ABST
Patent Text Reader

Abstract

The application relates to an automatic testing method of parking hardware equipment, which comprises the following steps: a parking hardware equipment control device sends an instruction to the parking hardware equipment; the parking hardware equipment control device sends attribute data of the parking hardware equipment to an Internet of Things platform according to feedback data of the parking hardware equipment; the parking hardware equipment control device receives service data sent by the Internet of Things platform; the parking hardware equipment control device sends the received control instruction to the parking hardware equipment; and the parking hardware equipment control device obtains feedback data and checks the feedback data according to the execution instruction of the parking hardware equipment, so as to judge whether the instruction is successfully executed. The automatic compatibility testing of the equipment can improve the efficiency of judging the compatibility of the existing equipment of a parking lot and the updated parking hardware equipment control program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to an automated testing method for parking hardware equipment, belonging to the field of data technology processing. Background Technology

[0002] With the continuous development of digital transportation, the demand for parking hardware is constantly increasing. Many older smart parking systems can no longer meet the needs, prompting governments and property management companies to upgrade these systems. While upgrading smart parking systems often involves reusing existing parking hardware (cameras, display screens, barriers, etc.) to save costs, quickly determining the compatibility of the upgraded parking system with the existing hardware becomes crucial. For governments and property management companies, it's difficult to centrally procure parking hardware; even with centralized procurement, it's challenging to source from a single manufacturer. For example, Poly Property uses over 40 brands and more than 200 different models of parking hardware in its parking lots. While manual verification by project engineers is feasible, it's extremely inefficient and leads to high labor costs.

[0003] Currently, most parking hardware compatibility tests are conducted by running the corresponding debugging tools on a local PC. This method is simplistic and has a limited testing scope.

[0004] In addition, the existing data on the compatibility of parking hardware devices cannot intuitively display the test results of various devices, thus making it difficult to standardize the management of test results.

[0005] Chinese patent CN104166617A relates to the field of equipment testing technology and discloses an automated testing method for equipment compatibility. This method only achieves automated loading of testing functions, reducing the difficulty of testing; it does not mention testing technology for parking equipment in parking lots in the field of vehicle engineering. Summary of the Invention

[0006] This invention provides an automated testing method for parking hardware device compatibility. This automated testing method can improve the efficiency of determining the compatibility between existing parking equipment and updated parking hardware device control programs.

[0007] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:

[0008] An automated testing method for parking hardware equipment, wherein the testing method is based on an Internet of Things (IoT) platform with a compatibility testing tool to test the parking hardware equipment under test, which has been connected to a parking hardware equipment control device. The automated testing method includes the following steps: a parking hardware equipment control method executed by the parking hardware equipment control device.

[0009] The parking hardware control device sends equipment control commands to the parking hardware device;

[0010] The parking hardware control device sends its attribute data to the Internet of Things platform based on the feedback data from the parking hardware device.

[0011] The parking hardware control device receives service data sent by the Internet of Things platform;

[0012] The parking hardware control device sends the received device control commands to the parking hardware device;

[0013] The parking hardware control device executes equipment control commands based on the parking hardware, obtains feedback data, verifies the feedback data, and determines whether the command was executed successfully.

[0014] Furthermore, the device control command is a search command, wherein the parking hardware device control device sends different search commands to different parking hardware devices, and the parking device control device automatically searches for parking hardware devices based on the feedback data of the search commands.

[0015] Furthermore, the device control command is service call object model data issued by the IoT platform. After receiving the service call object model data issued by the IoT platform, the parking equipment control device executes specific control commands sequentially on the searched parking hardware devices. The device determines whether the command was successfully executed based on whether the parking hardware device received the feedback data after the command execution and whether the feedback data was correct.

[0016] Furthermore, the parking hardware includes one or more of a camera, a barrier gate, and a display screen.

[0017] Furthermore, the automated testing method also includes a step of generating a test entry point for device compatibility testing on the IoT platform. Users perform parking equipment compatibility testing through this test entry point, which includes local testing and shared link testing. The shared link testing step includes...

[0018] The IoT platform generates a sharing test link with a sharing time limit. Users can open this link on different user terminals to determine if the sharing link is within the valid time range. If it is, they can open the test page to conduct the test.

[0019] The sharing link includes token information; preferably, the sharing link includes encrypted token information.

[0020] Furthermore, the automated testing method also includes one of the following tests performed by an IoT platform that loads compatibility testing tools:

[0021] The snapshot test determines whether the camera is compatible with the parking hardware device by checking whether it receives snapshot response data normally and whether the response data is complete.

[0022] For barrier gate testing, control commands are sent to the camera sequentially, and the barrier gate is checked by observing whether it raises or lowers to determine if it is compatible with the parking hardware device.

[0023] The fee display test involves sequentially sending the specified display instructions to the fee display screen under test, and determining whether the display screen is compatible with the parking hardware device based on the feedback data of successfully receiving the display instructions.

[0024] Furthermore, the results of the image capture test, barrier gate test, and fee display test are converted into JSON data format through the format conversion unit and sent to the IoT platform.

[0025] The technical solution of the present invention is as follows:

[0026] An automated testing system for parking hardware includes:

[0027] A parking hardware control device is used to send instructions to the parking hardware device; to send attribute data to an Internet of Things platform device; and to send device control instructions to the parking hardware device and verify compatibility by checking the verification data.

[0028] Parking hardware equipment, used to send feedback data to the parking hardware equipment control device; used to execute instructions, used to send feedback data to the parking hardware equipment control device;

[0029] The Internet of Things (IoT) platform device is used to send service data to the parking hardware device control device and to load compatibility testing tools to test the parking hardware device under test that has been connected to the automated testing system.

[0030] The terminal is used to open a test link from the IoT platform device and test the parking hardware device under test that has been connected to the automated testing system.

[0031] A computer-readable storage medium for automated testing of parking hardware equipment stores program instructions executable by a processor to implement the steps of any of the methods in the automated testing method of the present invention.

[0032] The beneficial effects of this invention are as follows:

[0033] This invention can quickly confirm whether the updated version of the smart parking system is compatible with the old hardware parking equipment. Compared with the method of manually confirming the parking hardware equipment, this invention provides a complete automated testing method.

[0034] The parking hardware equipment control program enables automated searching of on-site parking hardware equipment.

[0035] It also supports one-click testing of parking hardware equipment compatibility on both PC and mobile devices, making the testing method more flexible and the operation more convenient for on-site engineers.

[0036] It can intuitively display test results and also supports transmitting test results to an IoT platform for standardized management. Attached Figure Description

[0037] Figure 1 This is a schematic diagram of an automated testing system for the compatibility of parking hardware devices according to the present invention.

[0038] Figure 2 This is a flowchart illustrating the automated testing method for parking hardware device compatibility according to the present invention. Detailed Implementation

[0039] First, the terms and concepts used in the embodiments of this specification will be explained.

[0040] IoT platform device: provides cloud services and is responsible for functions such as unified definition, production, maintenance, after-sales service, access, operation management, business message notification and subscription for parking hardware devices from different manufacturers.

[0041] Parking hardware control device: A control device for interfacing with various models of parking hardware devices (cameras, display screens, barriers) from multiple manufacturers.

[0042] The IoT platform data model is a software-defined, multi-dimensional data model abstraction that describes the functionality of devices in the cloud. It consists of a series of data types (including attributes, services, and events) and combines different dimensions to describe real-world entities.

[0043] The "IoT platform data model," or simply the "thing model," is composed of a series of services (including attributes, methods, and events) that combine from different dimensions to describe real-world entities. The thing model defines the data transmission standards between the client and server, enabling interaction between specific devices and the IoT platform through thing model data.

[0044] The “IoT Platform Data Model” includes the “IoT Platform Attribute Data Model”, the “IoT Platform Service Data Model”, and the “IoT Platform Event Data Model”.

[0045] In this invention, downlink operations such as controlling the gate opening, controlling the toll display, and controlling the camera to capture images are achieved by converting operation commands into data of the "IoT platform service data model" type and sending them to specific devices. Local PC device information is converted into data of the "IoT platform attribute data model" type and sent uplink to the IoT platform.

[0046] "Equipment Raw Data": Data exchanged between specific parking equipment and its control program; see [link to relevant documentation]. Figure 1 .

[0047] "Equipment Business Data": The parking equipment control program encapsulates a set of universal data for interaction with the IoT platform based on the original equipment data; this avoids the impact of differences in equipment data from different equipment manufacturers on the platform.

[0048] "Equipment business data" is generated by converting the packaged equipment data into an object model data format ("IoT platform attribute data model", such as PC equipment information, etc., "IoT platform service data model", such as control gate, fee display, manual snapshot, etc.) for data interaction with the IoT platform.

[0049] This invention, through unified object model data, enables an IoT platform to control different devices by sending only a single object model-type operation command (device search, device gate lifting, etc.). The parking equipment's main controller processes the object model command data and distributes the control commands to different devices via multi-coroutine methods, thus controlling them. This reduces the workload of manual confirmation.

[0050] This invention sends control commands to different devices and, based on the device feedback commands, can determine whether the parking control device is compatible with that model of device. If it is compatible, the feedback data is received correctly; if it is not compatible, the feedback data is not received or the feedback data is abnormal.

[0051] This invention enables testing on different terminals by sharing test connections, making the testing method more convenient, flexible, and efficient.

[0052] IoT platform attribute data model: used to describe the basic attribute information of devices and the state of devices during operation.

[0053] IoT platform service data model: Defines the capabilities of a device, that is, the capabilities or methods that a device can be invoked externally.

[0054] The data model of this IoT platform comes from the parking equipment control program, which can feed back data based on the instructions of the parking hardware.

[0055] The parking hardware control program sends the instruction feedback data as object model attribute data to the IoT platform, which serves as the IoT platform attribute data model.

[0056] The IoT platform generates object model service data based on object model attribute data, and the parking hardware control program uses the IoT platform service data model.

[0057] Raw device data: Raw device data is a representation of the underlying hardware data, and the data definitions vary between different suppliers.

[0058] Equipment business data: The original equipment data is abstracted and integrated at the business layer to form equipment business data. This data format will change with business needs, but will not change with specific equipment suppliers.

[0059] In this invention, the device's business data comes from the IoT platform service data model and is sent to the parking hardware device by the parking hardware device control program.

[0060] In some embodiments, an automated testing method for parking hardware includes the following steps:

[0061] Install the parking hardware control program on the local computer;

[0062] The search command is sent to multiple different cameras through multiple coroutines (specifically, protocol programs), and the parking hardware control program receives the feedback data from the cameras.

[0063] The parking hardware control program sends local PC device information to the Internet of Things platform;

[0064] The parking hardware control program sends the object model attribute data to the IoT platform based on the instruction feedback data.

[0065] The IoT platform sends object model service data to the parking hardware control program based on the object model attribute data.

[0066] The parking hardware control device sends the received device control commands to the parking hardware device;

[0067] After receiving the device control command sent by the IoT platform, the parking hardware control program executes the specific control command sequentially on the searched parking hardware devices. Based on whether the test device received the command, and the feedback data after execution and the verification of the feedback data, it determines whether the command was executed successfully.

[0068] In an embodiment of the present invention, search commands are sent to multiple different cameras via multiple coroutines, and the parking hardware device control program receives feedback data from the cameras; thus realizing the function of automatically searching for parking hardware devices in parking lots.

[0069] In an embodiment of the present invention, the Internet of Things (IoT) platform sends object model service data, and the parking hardware device control device receives device control instructions sent by the IoT platform to realize the function of the IoT platform controlling the parking hardware device of the parking lot.

[0070] The testing method also includes loading a compatibility testing tool onto the IoT platform to test the parking hardware devices that have been connected to the automated testing system.

[0071] The IoT platform generates a test entry point for device compatibility testing, through which users can conduct compatibility tests on parking hardware devices.

[0072] The IoT platform's test interface includes information such as device manufacturer, device type, device model, IP address, and test operations. These test operations include "capture test," "display test," "voice test," and "gate control test." The information on the test interface represents the parking hardware control program converting the searched device information into object model attribute data and reporting it to the IoT platform.

[0073] Camera compatibility test: Perform the "capture test" operation to determine whether the capture response data is received normally and whether the response data is complete, in order to determine whether the camera is compatible.

[0074] Display Compatibility Test: Perform the "Display Test" operation. Using the camera's RS485 serial communication function, send the specified display commands to the display screen under test sequentially. The compatibility with the display screen is determined by whether the camera successfully receives the display commands. If compatible, the camera will receive the feedback data normally and display the model information and serial port parameters of the successfully matched display screen on the screen.

[0075] Barrier gate compatibility test: Send barrier gate control commands sequentially to different I / O ports of the camera, and observe whether the barrier gate raises or lowers to determine compatibility. If supported, the successfully tested I / O port information will be displayed on the monitor, allowing you to determine the detailed wiring information of the barrier gate.

[0076] In addition to performing compatibility tests on automatically found devices, devices that are not automatically found can be tested by manually adding them, requiring the device manufacturer and model number to be added.

[0077] In other embodiments of the present invention, automated compatibility testing of the parking hardware device is performed via a shared link. It should be noted that the test link is time-sensitive. Local testing involves performing compatibility testing of the parking hardware device directly on the local machine. This testing method allows for rapid local testing and quick conclusions.

[0078] Testing via a shared link generates a time-limited test link. Users can open this link on different devices (computers, mobile devices, etc.) to conduct tests as long as the shared link remains valid for the specified time. This achieves the goal of deploying in one location and testing in multiple locations. Users do not need to log in to the IoT platform; they can directly conduct parking hardware compatibility tests on different devices by sharing the automated test link. This testing method not only provides convenience for users but also restricts user access to the IoT platform. The time-limited feature of the shared test link also effectively ensures its security and stability.

[0079] In embodiments of the present invention, time-sensitive token information is attached to the shared test link to implement the time-sensitive function of the shared test link. To prevent users from using the token information in the shared test link to access other pages of the IoT platform, the token information in the shared test link is also encrypted to ensure the security of the token information.

[0080] An automated testing method for parking hardware equipment according to the present invention includes the following steps:

[0081] Install the parking hardware control program on the local computer;

[0082] The parking hardware control program sends search commands to multiple different cameras via multiple coroutines, and receives feedback data from the cameras.

[0083] The parking hardware control program sends local PC device information to the Internet of Things platform;

[0084] The parking hardware control program sends the object model attribute data to the IoT platform based on the instruction feedback data.

[0085] The IoT platform sends object model service data to the parking hardware control program based on the object model attribute data.

[0086] The parking hardware control device sends the received device control commands to the parking hardware device;

[0087] After receiving the device control command sent by the IoT platform, the parking hardware control program executes the specific control command sequentially on the searched parking hardware devices. Based on whether the test device received the command, and the feedback data after execution and the verification of the feedback data, it determines whether the command was executed successfully.

[0088] The testing method also includes automated testing of the parking hardware device's compatibility via a shared link, and testing the parking hardware device under test that has been connected to the automated testing system.

[0089] The testing method also includes a snapshot test operation to determine whether the snapshot response data is received normally and whether the response data is complete in order to determine whether the camera is compatible with the parking hardware device.

[0090] The testing method also includes a barrier gate test, in which barrier gate control commands are sent to the camera in sequence, and the barrier gate is observed to determine whether it is compatible with the parking hardware device by observing whether the barrier gate is raised or lowered.

[0091] The testing method also includes a fee display test, which involves sequentially sending the specified display instructions to the fee display screen under test, and determining whether the display screen is compatible with the parking hardware device based on the feedback data of successfully receiving the display instructions.

[0092] The results of the image capture test, barrier gate test, and fee display test are converted into JSON data format through a format conversion device and sent to the IoT platform. The IoT platform generates detailed test report information based on the test results.

[0093] In summary, the automated testing of parking hardware compatibility in this invention separates the testing entry point and the actual functional testing phase. On the one hand, sharing test links increases timeliness by limiting the frequency of use of shared test links, ensuring that test pages can be securely shared with construction personnel who need to test. On the other hand, it enables automated testing of parking hardware functions, allowing users to easily and quickly determine whether the parking hardware control program is compatible with the parking hardware under test.

[0094] The embodiments and functional operations of the subject matter described in this specification can be implemented in the following ways: digital electronic circuits, tangibly implemented computer software or firmware, computer hardware, including the structures disclosed in this specification and their equivalents, or combinations thereof. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, that is, one or more modules of computer program instructions encoded on one or more tangible non-transitory program carriers, for execution by a data processing device or to control the operation of the data processing device.

[0095] Alternatively or additionally, program instructions may be encoded on artificially generated propagation signals, such as machine-generated electrical, optical, or electromagnetic signals, which are then generated as coded information to be transmitted to an appropriate receiver device executed by data processing equipment. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or one or more combinations of the above.

[0096] Computer programs (which may also be referred to or described as programs, software, software applications, modules, software modules, scripts, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and can be expanded in any form, including as standalone programs or as modules, components, subroutines, or other units suitable for use in a computing environment. A computer program may, but must not, correspond to a file in a file system. A program may be stored as a portion of a file containing other programs or data, for example, as one or more scripts in a markup language document; in a single file dedicated to the related program; or in multiple co-files, for example, a file storing one or more modules, subroutines, or code portions. A computer program can be expanded to execute on one or more computers located in one place or distributed across multiple locations and interconnected via a communication network.

[0097] Similarly, although operations are described in the accompanying drawings in a specific order, it should not be construed as requiring that such operations be performed in the specific order shown or in sequential order, or that all illustrated operations be performed, in order to achieve the desired result. In certain cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the above embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that program components and systems can generally be integrated into a single software product or packaged into multiple software products.

[0098] Specific implementations of the subject matter have been described. Other implementations are within the scope of the following claims. For example, the activities described in the claims can be performed in a different order and still achieve the desired result. As an example, the processes described in the drawings do not necessarily require a specific order or sequence to be shown in order to achieve the desired result. In certain implementations, multitasking and parallel processing may be advantageous.

Claims

1. An automatic testing method of parking hardware equipment, the testing method loads a compatibility testing tool based on an Internet of Things platform, and tests a to-be-tested parking hardware equipment that has accessed a parking hardware equipment control device, characterized in that, The automated testing method includes parking hardware control method steps executed by the parking hardware control device: The parking hardware control device sends equipment control commands to the parking hardware device; The parking hardware control device sends its attribute data to the Internet of Things platform based on the feedback data from the parking hardware device. The parking hardware control device receives service data sent by the Internet of Things platform; The parking hardware control device sends the received device control commands to the parking hardware device; The parking hardware control device executes equipment control commands based on the parking hardware, obtains feedback data, verifies the feedback data, and determines whether the command was executed successfully. The parking hardware control device sends different search commands to different parking hardware devices, and sends the search commands to multiple different cameras through multiple coroutines. Based on the feedback data of the search commands, the parking hardware control device can automatically search for parking hardware devices. The automated testing method also includes one of the following tests performed by an IoT platform that loads compatibility testing tools: The snapshot test determines whether the camera is compatible with the parking hardware device by checking whether it receives snapshot response data normally and whether the response data is complete. For barrier gate testing, send barrier gate control commands sequentially to different I / O ports of the camera, and observe whether the barrier gate raises or lowers to determine whether it is compatible with the barrier gate. If supported, the information of the successfully tested IO ports will also be displayed on the free display screen, and the detailed wiring information of the barrier gate will be determined in turn; The free display test utilizes the camera's RS485 serial communication function to sequentially send the specified display instructions to the free display under test. The compatibility of the free display is determined by whether the camera successfully receives the feedback data of the display instructions. If compatible, the camera will receive the feedback data normally and display the model information and serial port parameters of the free display under test. 2.The automation testing method of claim 1, wherein the device control instruction is a service invocation object model data issued by an Internet of Things platform. After receiving the service call object model data from the IoT platform, the parking hardware control device executes specific control commands on the searched parking hardware devices in sequence. It determines whether the command was executed successfully based on whether the parking hardware device received the feedback data after the command was executed and whether the feedback data was correct.

3. The automated testing method of claim 2, wherein, The parking hardware includes one or more of the following: cameras, barriers, and display screens.

4. The automated testing method of any one of claims 1-3, wherein, The automated testing method also includes a test entry step for generating device compatibility tests on the IoT platform. Users can perform parking equipment compatibility tests through the test entry, which includes local testing and shared link testing. The shared link testing step includes the IoT platform generating a shared test link with a sharing time limit. After users open this link on different user terminals, they can determine whether the shared link is within the valid time range. If it is, they can open the test page to conduct the test.

5. The automated testing method of claim 4, wherein, The shared link includes a token, which is encrypted.

6. The automated testing method of claim 1, wherein, The results of the image capture test, barrier gate test, and fee display test are converted into JSON data format by the format conversion unit and sent to the IoT platform.

7. An automated test computer readable storage medium of a parking hardware device, storing program instructions executable by a processor to implement the steps of the method of any one of claims 1-6.