Association Module Detection Method, Device, Equipment and Storage Medium in a Composite Device

By using an intelligent sensing system to obtain the combined information of the main module and the associated module in the composite device, perform comprehensive performance scoring, and adopt appropriate detection methods based on the scoring, the problem of unstable detection in the prior art is solved, and efficient and accurate detection of the associated module is achieved to ensure the normal operation of the equipment.

CN113256059BActive Publication Date: 2025-07-29SHENZHEN YIHUA TIME TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110370389.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-07
Publication Date
2025-07-29
Estimated Expiration
2041-04-07

AI Technical Summary

Technical Problem

The detection method of the associated module in existing composite equipment is unstable, resulting in low detection accuracy and affecting the equipment usage rate.

Method used

The intelligent perception system obtains the combined information between the main module and the associated module, performs a comprehensive performance score, and uses a preset detection method to detect whether the associated module exists. If it exists, it is allowed to call it.

Benefits of technology

Improve the accuracy of the detection of the associated module, avoid call exceptions, and ensure the normal operation and usage rate of the composite device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113256059B_ABST
    Figure CN113256059B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention discloses a method for detecting an associated module in a composite device. When a call request from the main module in the composite device to the associated module is received, the combined information between the main module and the associated module is obtained through an intelligent perception system; the combined information is analyzed to determine the comprehensive performance score of the composite device; according to the comprehensive performance score, a preset detection method is used to detect whether the associated module exists; if the associated module exists, the associated module is allowed to be called, the composite device is intelligently perceived, and the combined information between the main module and the associated module is analyzed, and then the corresponding detection method is used for detection, realizing the accurate detection of the associated module, greatly improving the detection efficiency of the associated module, ensuring the normal operation of the composite device, and improving the utilization rate of the composite device. In addition, a device, equipment, and storage medium for detecting an associated module in a composite device are also provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial equipment, and particularly to a method, device, equipment and storage medium for detecting associated modules in a composite device. Background Art

[0002] At present, non-cash financial equipment refers to non-cash financial self-service equipment, which has a complex form and many modules. With the de-counterization and light-weighting of banking services, a module is not only applied to a single device, but usually to a composite device. Due to different business requirements put forward by banks at different stages, different combinations of modules have been derived from the original module basis. For example, combinations of a card reader and a card issuer, a card reader and a card ejector, a core and an SIU (sensor hardware), a card reader and an anti-theft card module, a password keyboard and a side key module, etc., are used to facilitate the invocation of combined modules to achieve composite functions. However, in actual devices, some devices may not have associated modules or may not be installed with associated modules. If the associated modules are directly invoked, it will cause abnormal invocation of the associated modules, and the modules that need to be invoked cannot be used normally, which may seriously affect application transactions. Therefore, it is necessary to detect whether there are modules to be invoked (associated modules).

[0003] However, the existing detection methods usually detect by communication. However, communication may be unstable, reducing the accuracy of detecting modules to be invoked, and thus affecting the utilization rate of composite devices. Summary of the Invention

[0004] Based on this, in view of the above problems, it is necessary to propose a method, device, computer equipment and storage medium for detecting associated modules in a composite device to improve the accuracy of detecting associated modules, and thus reduce the error rate of composite devices.

[0005] A method for detecting associated modules in a composite device, the method comprising:

[0006] When receiving a call request from the main module in the composite device for an associated module, obtaining combination information between the main module and the associated module through an intelligent perception system;

[0007] Analyzing the combination information to determine a comprehensive performance score of the composite device;

[0008] According to the comprehensive performance score, detecting whether the associated module exists by using a preset detection method;

[0009] If the associated module exists, allowing the associated module to be invoked.

[0010] A device for detecting associated modules in a composite device, the device comprising:

[0011] An acquisition module, configured to obtain the combined information between the main module and the associated module through an intelligent perception system when receiving a call request from the main module in the composite device to the associated module;

[0012] A scoring module, configured to analyze the combined information to determine the comprehensive performance score of the composite device;

[0013] A detection module, configured to detect whether the associated module exists by using a preset detection method according to the comprehensive performance score;

[0014] A call module, configured to allow the associated module to be called if the associated module exists.

[0015] A computer device, including a memory and a processor. When a computer program stored in the memory is executed by the processor, the processor is caused to perform the following steps:

[0016] When receiving a call request from the main module in the composite device to the associated module, obtain the combined information between the main module and the associated module through an intelligent perception system;

[0017] Analyze the combined information to determine the comprehensive performance score of the composite device;

[0018] According to the comprehensive performance score, detect whether the associated module exists by using a preset detection method;

[0019] If the associated module exists, allow the associated module to be called.

[0020] A computer-readable storage medium, storing a computer program. When the computer program is executed by a processor, the processor is caused to perform the following steps:

[0021] When receiving a call request from the main module in the composite device to the associated module, obtain the combined information between the main module and the associated module through an intelligent perception system;

[0022] Analyze the combined information to determine the comprehensive performance score of the composite device;

[0023] According to the comprehensive performance score, detect whether the associated module exists by using a preset detection method;

[0024] If the associated module exists, allow the associated module to be called.

[0025] The above-mentioned method, device, computer equipment and storage medium for detecting associated modules in a composite device, when receiving a call request from the main module in the composite device for an associated module, obtain the combined information between the main module and the associated module; analyze the combined information to determine the comprehensive performance score of the composite device; according to the comprehensive performance score, use a preset detection method to detect whether the associated module exists; if the associated module exists, allow the call of the associated module. By intelligently perceiving the composite device and analyzing the combined information between the main module and the associated module, and then using the corresponding detection method for detection, accurate detection of the associated module is achieved, avoiding abnormal calls of the associated module caused by the non-existence or non-detection of the associated module when the composite device function is enabled, and ensuring the normal operation of the composite device. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0027] Among them:

[0028] Figure 1 is a flowchart of a method for detecting an associated module in a composite device in an embodiment;

[0029] Figure 2 is a flowchart of a method for calculating a comprehensive performance score in an embodiment;

[0030] Figure 3 is a flowchart of a detection method for a hardware detection method in an embodiment;

[0031] Figure 4 is a structural block diagram of a device for detecting an associated module in a composite device in an embodiment;

[0032] Figure 5 is a structural block diagram of a computer device in an embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0034] Such as Figure 1As shown, in one embodiment, a method for detecting associated modules in a composite device is provided. This method for detecting associated modules in a composite device can be applied to both terminals and servers. In this embodiment, it is exemplified by being applied to a server. The method for detecting associated modules in a composite device specifically includes the following steps:

[0035] Step 102, when receiving a call request from the main module in the composite device to the associated module, obtain the combination information between the main module and the associated module through the intelligent perception system.

[0036] Among them, a composite device refers to a device that includes at least two modules. For example, the combination information is information used to reflect the difficulty level after the combination of the main module and the associated module in the composite device. For example, the combination information can be at least one of the combination complexity, coupling, process complexity, or security between the main module and the associated module. Specifically, the intelligent perception system includes a perception module, and the perception module is used to perceive the combination information between the main module and the associated module, so that the server can obtain this combination information. It can be understood that by using the perception module in the intelligent perception system to perceive the composite device to obtain the combination information, through the efficient intelligent computing and processing capabilities of the intelligent perception system, the efficiency of obtaining the combination information is improved, so as to perform further processing based on this combination information subsequently.

[0037] Step 104, analyze the combination information to determine the comprehensive performance score of the composite device.

[0038] Among them, the comprehensive performance score is evaluation data used to reflect the performance of the composite device after the combination of the main module and the associated module. Specifically, the intelligent perception technology can be used to analyze the combination information, calculate the comprehensive performance score of the main module and the associated module, realize the quantitative analysis of the evaluation of the performance of the composite device, and then select an appropriate detection method according to the comprehensive performance score.

[0039] Step 106, according to the comprehensive performance score, use a preset detection method to detect whether the associated module exists.

[0040] Among them, the preset detection methods include software detection methods, hardware detection methods, or software and hardware combined detection methods, etc. Specifically, for different comprehensive performance scores, corresponding detection methods are used to detect whether the associated module exists. Since the combination information reflects the difficulty level after the combination of the main module and the associated module in the composite device, by analyzing the combination information to determine the comprehensive performance score of the composite device, therefore, selecting an appropriate detection method according to the comprehensive performance score, that is, adopting a corresponding detection method for the actual status information between the main module and the associated module in the composite device, greatly improves the detection efficiency of the associated module compared with the traditional direct use of the same detection method.

[0041] Step 108, if the associated module exists, allow the associated module to be called.

[0042] Specifically, when the associated module exists, the associated module can be directly called, improving the utilization rate of the composite device.

[0043] In the above method for detecting the associated module in the composite device, when a call request from the main module in the composite device to the associated module is received, the combined information between the main module and the associated module is obtained through the intelligent perception system; the combined information is analyzed to determine the comprehensive performance score of the composite device; according to the comprehensive performance score, a preset detection method is used to detect whether the associated module exists; if the associated module exists, allow the associated module to be called. By intelligently perceiving the composite device and analyzing the combined information between the main module and the associated module, and then using the corresponding detection method for detection, accurate detection of the associated module is achieved, greatly improving the detection efficiency of the associated module. Furthermore, it avoids abnormal calls of the associated module caused by the non-existence or undetected state of the associated module when the composite device is turned on, ensuring the normal operation of the composite device and improving the utilization rate of the composite device.

[0044] In one embodiment, the preset detection methods include a hardware detection method and a software detection method; according to the comprehensive performance score, using the preset detection method to detect whether the associated module exists includes: if the comprehensive performance score is less than or equal to the preset score threshold, use the hardware detection method to detect whether the associated module exists; if the comprehensive performance score is greater than the preset score threshold, use the software detection method to detect whether the associated module exists.

[0045] In this embodiment, the software detection method refers to a method of implementing detection using pre-set instructions, and the hardware detection method refers to direct detection through hardware. Therefore, compared with the software detection method, the hardware detection method has higher detection accuracy, but the detection process is more complex. When the comprehensive performance score is less than or equal to the preset score threshold, the performance of the composite device is low. Therefore, in order to improve the detection accuracy, the hardware detection method is used to detect whether the associated module exists. When the comprehensive performance score is greater than the preset score threshold, the performance of the composite device is high. Therefore, the software detection method can be used to quickly detect whether the associated module exists. It can be understood that for different comprehensive performance scores, corresponding detection methods are used, improving the detection accuracy and detection speed.

[0046] In one embodiment, the preset detection method further includes a software and hardware combined detection method. According to the comprehensive performance score, the preset detection method is used to detect whether the associated module exists, and it further includes: if the detection result of the software detection method indicates that the associated module does not exist, determining the error probability of the software detection method; when the error probability of the software detection method is greater than the preset probability threshold, using the hardware detection method to detect whether the associated module exists, so as to implement the software and hardware combined detection method.

[0047] Among them, the software and hardware combined detection method means first detecting through the software detection method, and then using the hardware detection method based on the detection result. Since the detection accuracy of the software detection method is slightly lower than that of the hardware detection method, therefore, when the detection result of the software detection method indicates that the associated module does not exist, in order to ensure the accuracy of the detection result, the error probability of the software detection method can be determined through a stress test method. When the error probability is greater than the preset probability threshold, it indicates that the detection accuracy of the software detection method is not high. In order to ensure the accuracy of the detection result, the hardware detection method is continued to detect whether the associated module exists, further ensuring the accuracy of the detection.

[0048] As Figure 2 shown, in one embodiment, analyzing the combined information to determine the comprehensive performance scores of the main module and the associated module includes:

[0049] Step 104A, using intelligent perception technology to determine the combined complexity score, coupling degree score, security score, and process complexity score of the main module and the associated module;

[0050] Step 104B, calculating the comprehensive performance score according to the combined complexity score, coupling degree score, security score, process complexity score and their respective preset weights.

[0051] Among them, the intelligent perception technology identifies the pattern features and behavior features of the object to be observed through sensor technology, then analyzes and judges it, and then makes corresponding matches according to the preset strategy to achieve the purpose expected by the user. Specifically, the monitoring module of the intelligent perception system obtains the combined complexity score, coupling degree score, security score, and process complexity score of the main module and the associated module in the composite device. The higher the combined complexity score, the lower the corresponding combined complexity; the higher the process complexity score, the lower the corresponding combined complexity; the higher the coupling degree score, the higher the corresponding coupling degree; the higher the security score, the higher the corresponding coupling degree. Therefore, the preset weights corresponding to the combined complexity score and the process complexity score are set to negative numbers, and the preset weights corresponding to the coupling degree score and the security score are set to positive numbers. The comprehensive performance score is calculated by weighted calculation item by item according to the combined complexity score, coupling degree score, security score, process complexity score, and their respective preset weights. It can be understood that the lower the combined complexity, the higher the coupling degree, the higher the security, and the lower the process complexity of the main module and the associated module, the higher the comprehensive performance score. It can be understood that by using the intelligent perception technology and determining the comprehensive performance score based on the combined complexity, coupling degree, security, and process complexity of the main module and the associated module, the calculation process is simple and the calculation efficiency of the comprehensive performance score is improved.

[0052] In one embodiment, the software detection method is to determine whether the associated module exists according to the logical relationship, communication status, and module parameters of the main module and the associated module.

[0053] In this embodiment, the logical relationship and module parameters of the main module and the associated module can be detected by the intelligent perception technology, and the communication status can be detected through the USB interface, serial port, or Bluetooth.

[0054] In one embodiment, the software detection method is to determine whether the associated module exists according to the logical relationship, communication status, and module parameters of the main module and the associated module, including: if the logical relationship is a call relationship, the communication status is normal, and the module parameters meet the preset conditions, it is determined that the associated module exists; otherwise, it is determined that the associated module does not exist or is not installed correctly.

[0055] In this embodiment, if the logical relationship between the main module and the associated module is a call relationship, the communication status is normal, and the module parameters meet the preset conditions, it is determined that the associated module exists, and then the associated module is called. Otherwise, it is determined that the associated module does not exist or is not installed correctly, and the call of the associated module is stopped to avoid abnormal calls and reduce the error rate of the composite device. It should be noted that when the associated module does not exist, a warning message is sent to the main module to further ensure the normal operation of the composite device.

[0056] Such as Figure 3As shown, in one embodiment, the hardware includes at least one of an infrared sensor, an opposed sensor, a pressure spring, and a magnetoelectric sensor; detecting whether an associated module exists by using a hardware detection method includes:

[0057] Step 106A, obtaining detection data collected by at least one of the hardware such as an infrared sensor, an opposed sensor, a pressure spring, and a magnetoelectric sensor;

[0058] Step 106B, if the detection data meets a preset condition, determining that the associated module exists;

[0059] Step 106C, if the detection data does not meet the preset condition, determining that the associated module does not exist or is not correctly installed.

[0060] In this embodiment, infrared sensors can be set at the main module and the associated module. When the main module starts, it uses properties such as reflection, refraction, scattering, interference, and absorption of infrared rays to detect whether the associated module has entered the preset range of infrared rays. When the associated module enters the preset range of infrared rays, it is determined that the associated module exists; if not, it is determined that the associated module does not exist or is not correctly installed. Opposed sensors can also be set at the main module and the associated module. By detecting the distance, it is confirmed whether the associated module blocks the sensor. If it blocks, it is determined that the associated module exists; if not, it is determined that the associated module does not exist or is not correctly installed. A pressure spring can also be set at the main module and the associated module. The main module calculates the pressure value through the data designed by the pressure spring, such as spring length, K value, compression distance, modulus of rigidity of the wire material, wire diameter, outer diameter, and middle diameter. If the pressure value is within the preset force range, it is determined that the associated module exists; otherwise, it is determined that the associated module does not exist or is not correctly installed. Opposed sensors can also be set at the main module and the associated module. By detecting the distance, it is confirmed whether the associated module blocks the sensor. If it blocks, it is determined that the associated module exists; if not, it is determined that the associated module does not exist or is not correctly installed. A magnetoelectric sensor can also be set at the main module and the associated module. By detecting the magnetic field strength, a magnetic signal is obtained. If the magnetic signal meets the corresponding preset condition, it is determined that the associated module exists; otherwise, it is determined that the associated module does not exist or is not correctly installed. It can be understood that the hardware detection method obtains actual detection data by setting hardware, making the detection data more real and accurate, which is beneficial to improving the accuracy of detecting the associated module.

[0061] Such as Figure 4 As shown, in one embodiment, a detection device for an associated module in a composite device is proposed. The device includes:

[0062] An obtaining module 402, configured to obtain combination information between the main module and the associated module through an intelligent perception system when receiving a call request from the main module in the composite device for the associated module;

[0063] A scoring module 404 for analyzing the combined information to determine the comprehensive performance score of the composite device;

[0064] A detection module 406 for detecting whether the associated module exists by using a preset detection method according to the comprehensive performance score;

[0065] An invocation module 408 for allowing the invocation of the associated module if the associated module exists.

[0066] In one embodiment, the detection module includes:

[0067] A first detection unit for detecting whether the associated module exists by using the hardware detection method if the comprehensive performance score is less than or equal to a preset score threshold;

[0068] A second detection unit for detecting whether the associated module exists by using the software detection method if the comprehensive performance score is greater than the preset score threshold.

[0069] In one embodiment, the detection module further includes:

[0070] A calculation unit for determining the error probability of the software detection method if the detection result using the software detection method is that the associated module does not exist;

[0071] A third detection unit for detecting whether the associated module exists by using the hardware detection method when the error probability of the software detection method is greater than a preset probability threshold to implement the combined software and hardware detection method.

[0072] In one embodiment, the scoring module includes:

[0073] A determination unit for determining the combined complexity score, coupling score, security score, and process complexity score of the main module and the associated module by using intelligent perception technology;

[0074] A score determination unit for calculating the comprehensive performance score according to the combined complexity score, coupling score, security score, and process complexity score and their respective preset weights.

[0075] In one embodiment, the associated module detection device in the composite device includes:

[0076] A second detection module for determining that the associated module exists if the logical relationship is an invocation relationship, the communication status is normal, and the module parameters meet the preset conditions; otherwise, determining that the associated module does not exist or is not correctly installed.

[0077] In one embodiment, the first detection unit includes:

[0078] An acquisition subunit, configured to acquire detection data collected by at least one of the infrared sensor, the opposed sensor, the pressure spring, and the magnetoelectric sensor;

[0079] A first result acquisition subunit, configured to determine the existence of the associated module if the detection data meets a preset condition;

[0080] A first result acquisition subunit, configured to determine that the associated module does not exist or is not correctly installed if the detection data does not meet the preset condition.

[0081] Figure 5 The internal structure diagram of a computer device in an embodiment is shown. The computer device may specifically be a server, and the server includes but is not limited to high-performance computers and high-performance computer clusters. As Figure 5 shown, the computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the method for detecting an associated module in a composite device. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the method for detecting an associated module in a composite device. Those skilled in the art can understand that Figure 5 the structure shown in

[0082] merely shows a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements. Figure 5 In an embodiment, the method for detecting an associated module in a composite device provided by the present application may be implemented in the form of a computer program, and the computer program can run on a computer device as

[0083] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented: when receiving a call request from the main module in the composite device to the associated module, obtaining the combination information between the main module and the associated module through an intelligent perception system; analyzing the combination information to determine the comprehensive performance score of the composite device; according to the comprehensive performance score, detecting whether the associated module exists by using a preset detection method; if the associated module exists, allowing the call of the associated module.

[0084] In one embodiment, the preset detection method includes a hardware detection method and a software detection method; the step of detecting whether the associated module exists according to the comprehensive performance score includes: if the comprehensive performance score is less than or equal to a preset score threshold, detecting whether the associated module exists by using the hardware detection method; if the comprehensive performance score is greater than the preset score threshold, detecting whether the associated module exists by using the software detection method.

[0085] In one embodiment, the step of detecting whether the associated module exists according to the comprehensive performance score further includes: if the detection result of the software detection method is that the associated module does not exist, determining the error probability of the software detection method; when the error probability of the software detection method is greater than a preset probability threshold, detecting whether the associated module exists by using the hardware detection method to implement the combined software and hardware detection method.

[0086] In one embodiment, the step of analyzing the combination information to determine the comprehensive performance score of the composite device includes: using intelligent perception technology to determine the combination complexity score, coupling degree score, security score, and process complexity score of the main module and the associated module; calculating the comprehensive performance score according to the combination complexity score, coupling degree score, security score, process complexity score and their respective preset weights.

[0087] In one embodiment, the software detection method is to determine whether the associated module exists according to the logical relationship, communication status, and module parameters of the main module and the associated module.

[0088] In one embodiment, the software detection method of determining whether the associated module exists according to the logical relationship, communication status, and module parameters of the main module and the associated module includes: if the logical relationship is a call relationship, the communication status is normal, and the module parameters meet the preset conditions, determining that the associated module exists; otherwise, determining that the associated module does not exist or is not correctly installed.

[0089] In one embodiment, the hardware includes at least one of an infrared sensor, an opposed sensor, a pressure spring, and a magnetoelectric sensor; the detecting whether the associated module exists by using the hardware detection method includes: obtaining detection data collected by at least one of the infrared sensor, the opposed sensor, the pressure spring, and the magnetoelectric sensor; if the detection data meets a preset condition, determining that the associated module exists; if the detection data does not meet the preset condition, determining that the associated module does not exist or is not correctly installed.

[0090] A computer-readable storage medium stores a computer program, characterized in that when the computer program is executed by a processor, the following steps are implemented: when a call request for an associated module from a main module in the composite device is received, obtaining combination information between the main module and the associated module through an intelligent perception system; analyzing the combination information to determine a comprehensive performance score of the composite device; according to the comprehensive performance score, using a preset detection method to detect whether the associated module exists; if the associated module exists, allowing the associated module to be called.

[0091] In one embodiment, the preset detection method includes a hardware detection method and a software detection method; the detecting whether the associated module exists according to the comprehensive performance score by using the preset detection method includes: if the comprehensive performance score is less than or equal to a preset score threshold, using the hardware detection method to detect whether the associated module exists; if the comprehensive performance score is greater than the preset score threshold, using the software detection method to detect whether the associated module exists.

[0092] In one embodiment, the detecting whether the associated module exists according to the comprehensive performance score by using the preset detection method further includes: if the detection result of using the software detection method is that the associated module does not exist, determining the error probability of the software detection method; when the error probability of the software detection method is greater than a preset probability threshold, using the hardware detection method to detect whether the associated module exists, so as to implement the combined hardware and software detection method.

[0093] In one embodiment, the analyzing the combination information to determine the comprehensive performance score of the composite device includes: using intelligent perception technology to determine the combination complexity score, coupling degree score, security score, and process complexity score of the main module and the associated module; calculating the comprehensive performance score according to the combination complexity score, coupling degree score, security score, and process complexity score and their respective preset weights.

[0094] In one embodiment, the software detection method is to determine whether the associated module exists according to the logical relationship, communication status, and module parameters of the main module and the associated module.

[0095] In one embodiment, the software detection method is to determine whether the associated module exists according to the logical relationship, communication status, and module parameters of the main module and the associated module, including: if the logical relationship is a call relationship, the communication status is normal, and the module parameters meet the preset conditions, it is determined that the associated module exists; otherwise, it is determined that the associated module does not exist or is not correctly installed.

[0096] In one embodiment, the hardware includes at least one of an infrared sensor, a through-beam sensor, a pressure spring, and a magnetoelectric sensor; the method of using the hardware detection method to detect whether the associated module exists includes: obtaining detection data collected by at least one of the infrared sensor, the through-beam sensor, the pressure spring, and the magnetoelectric sensor; if the detection data meets the preset conditions, it is determined that the associated module exists; if the detection data does not meet the preset conditions, it is determined that the associated module does not exist or is not correctly installed.

[0097] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0098] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0099] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A method for detecting associated modules in a composite device, comprising: When receiving a call request from the main module in the composite device to an associated module, obtaining the combination information between the main module and the associated module through an intelligent perception system; Analyzing the combination information to determine the comprehensive performance score of the composite device; According to the comprehensive performance score, using a preset detection method to detect whether the associated module exists; If the associated module exists, allowing the call of the associated module; The preset detection method includes a hardware detection method and a software detection method; The step of using a preset detection method to detect whether the associated module exists according to the comprehensive performance score includes: If the comprehensive performance score is less than or equal to a preset score threshold, using the hardware detection method to detect whether the associated module exists; If the comprehensive performance score is greater than the preset score threshold, using the software detection method to detect whether the associated module exists.

2. The method for detecting associated modules in a composite device according to claim 1, wherein the preset detection method further includes a combined hardware and software detection method; the step of using a preset detection method to detect whether the associated module exists according to the comprehensive performance score further includes: If the detection result of the software detection method is that the associated module does not exist, determining the error probability of the software detection method; When the error probability of the software detection method is greater than a preset probability threshold, using the hardware detection method to detect whether the associated module exists to implement the combined hardware and software detection method.

3. The method for detecting associated modules in a composite device according to claim 1, wherein the step of analyzing the combination information to determine the comprehensive performance score of the composite device includes: Using intelligent perception technology to determine the combination complexity score, coupling degree score, security score, and process complexity score of the main module and the associated module; Calculating the comprehensive performance score according to the combination complexity score, coupling degree score, security score, process complexity score and their respective preset weights.

4. The method for detecting an association module in the composite device according to claim 1, wherein The software detection method is to determine whether the associated module exists according to the logical relationship, communication status, and module parameters of the main module and the associated module.

5. The method for detecting associated modules in a composite device according to claim 4, wherein the software detection method is to determine whether the associated module exists according to the logical relationship, communication status, and module parameters of the main module and the associated module, including: If the logical relationship is a call relationship, the communication status is normal, and the module parameters meet the preset conditions, determining that the associated module exists; Otherwise, determining that the associated module does not exist or is not correctly installed.

6. The method for detecting an associated module in the composite device according to claim 1, wherein The hardware includes at least one of an infrared sensor, a photoelectric sensor, a pressure spring, and a magnetoelectric sensor; the step of using the hardware detection method to detect whether the associated module exists includes: Obtaining detection data collected by at least one of the hardware such as the infrared sensor, the photoelectric sensor, the pressure spring, and the magnetoelectric sensor; If the detection data meets the preset conditions, determining that the associated module exists; If the detected data does not meet the preset conditions, it is determined that the associated module does not exist or is not correctly installed.

7. An associated module detection device in a composite device, characterized in that, The associated module detection device in the composite device includes: An acquisition module, configured to obtain the combined information between the main module and the associated module through an intelligent perception system when receiving a call request from the main module in the composite device for the associated module; A scoring module, configured to analyze the combined information to determine the comprehensive performance score of the composite device; A detection module, configured to detect whether the associated module exists by using a preset detection method according to the comprehensive performance score; A call module, configured to allow the associated module to be called if the associated module exists; The preset detection method includes a hardware detection method and a software detection method; The detecting whether the associated module exists by using a preset detection method according to the comprehensive performance score includes: If the comprehensive performance score is less than or equal to a preset score threshold, the hardware detection method is used to detect whether the associated module exists; If the comprehensive performance score is greater than the preset score threshold, the software detection method is used to detect whether the associated module exists.

8. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that when the processor executes the computer program, the steps of the associated module detection method in the composite device according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the steps of the associated module detection method in the composite device according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Scheduling test method and device, computer equipment and storage medium

    CN109992506A