A digital packaging method and system for functional equipment

Through low-code visualization technology, functional devices are digitally packaged and detected, and standardized API interfaces are generated, which solves the problems of inefficient and complexity of existing equipment assembly and configuration, and realizes efficient and automatic device interface pairing and functional status detection.

CN119045811BActive Publication Date: 2025-02-25WUHAN LISHAN EDUCATION TECHNOLOGY DEVELOPMENT GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410996657.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2025-02-25
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

Existing equipment assembly and configuration methods rely on manual experience, are inefficient, prone to errors, and are complex in equipment connection and functional status detection.

Method used

Use low-code visualization technology to digitally package functional equipment, generate standard equipment information database, and import the library in digital scenarios to generate basic equipment information, perform digital function links and signal function detection, generate standard data sets, and finally package them into Standardized API interface.

Benefits of technology

It realizes efficient digital packaging and automatic interface pairing of functional equipment, simplifies the connection and functional status detection between devices, improves assembly and configuration efficiency, and avoids human errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119045811B_ABST
    Figure CN119045811B_ABST
Patent Text Reader

Abstract

The present invention relates to a digital packaging method and system for functional devices, including using low-code visualization to digitally package functional devices and generate corresponding standard device information libraries; importing the standard device information libraries into digital scenes and generating device basic information according to preset proportions; performing digital function link and signal function detection based on the device basic information in the digital scene to obtain detection data information; generating a standard data set based on the device basic information and the detection data information, and packaging the standard data set to obtain a standardized API interface. The present invention obtains a unified standardized API interface, so that efficient digital packaging of functional devices and automatic pairing of interfaces can be achieved, which is convenient for exporting and calling, realizes connection and functional status detection between different devices, greatly improves the assembly and configuration efficiency of functional devices, avoids errors in human assembly, and can provide scientific guidance for the assembly and configuration of functional devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software packaging of equipment, and in particular to a digital packaging method and system for functional equipment. Background Art

[0002] With the rapid development of science and technology, hardware equipment is becoming increasingly complex, and its operation and management are becoming more and more difficult. For the complex equipment in the building, its installation, connection, and testing are huge and delicate tasks. In order to meet the intelligence of the equipment and enhance its application scenarios, the existing equipment is also equipped with various functional interfaces. The connection and functional status detection between different devices will be very complicated, and it is easy to make mistakes if you are not careful. In addition, the traditional equipment assembly and configuration methods are very dependent on the experience of personnel, and the manual method is very inefficient. It requires relevant personnel to have a high level of technical skills and professional knowledge. The operation is cumbersome and prone to errors. Therefore, it is of great practical significance to develop a simple, easy-to-use, and efficient equipment digital assembly method and system. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a digital packaging method and system for functional devices in view of the deficiencies of the above-mentioned prior art.

[0004] The technical solution of the present invention to solve the above technical problems is as follows: a digital packaging method for functional devices, which uses low-code visualization to digitally package functional devices and generate a corresponding standard device information library;

[0005] Importing the standard device information library into the digital scene, and generating basic device information according to a preset ratio;

[0006] Perform digital function link and signal function detection based on basic device information in the digital scene to obtain detection data information;

[0007] A standard data set is generated according to the basic information of the equipment and the detection data information, and the standard data set is packaged to obtain a standardized API interface.

[0008] The beneficial effects of the present invention are as follows: the digital packaging method of the functional device of the present invention digitally packages the functional device, and imports the obtained standard device information library into the digital scene to generate basic device information, and then performs digital function link and signal function detection based on the basic device information to obtain the best matching detection data information, and then generates a standard data set according to the basic device information and the detection data information and packages it to obtain a unified standardized API interface, so as to realize efficient digital packaging of functional devices and automatic pairing of interfaces, facilitate export and call, realize connection and functional status detection between different devices, greatly improve the assembly and configuration efficiency of functional devices, avoid errors in human assembly, and provide scientific guidance for the assembly and configuration of functional devices.

[0009] On the basis of the above technical solution, the present invention can also be improved as follows:

[0010] Further: the method of digitally packaging functional devices using low-code visualization to generate a corresponding standard device information library includes the following steps:

[0011] Obtain device physical properties and device function data of functional devices, and standardize the interfaces of functional devices to obtain device physical data sets and device signal attribute sets;

[0012] By using a graphical interface and prefabricated modules, a standard device information library is obtained based on the device physical data set and the device signal attribute set.

[0013] The beneficial effect of the above further scheme is: the interface of the functional device is standardized by the physical properties of the functional device and the device function data, and a standard device information library is obtained, which makes it easy to standardize the interfaces of all devices and ensure the consistency of interfaces and functions between different devices, so as to facilitate the subsequent digital function link and signal function detection of the interfaces of different functional devices, complete the matching detection before assembly, greatly improve the efficiency of assembly and configuration, and facilitate subsequent use and management.

[0014] Further: the acquisition of the device physical properties and device function data of the functional device and the standardized definition of the interface of the functional device specifically includes the following steps:

[0015] Create a physical base of the device according to the size information of the functional device;

[0016] Generate a device physical data set according to the physical property information of the functional device and the physical base of the device;

[0017] According to the functions used by the functional devices and the interfaces of the functional devices, a device function attribute set is generated;

[0018] A device signal attribute set is generated according to the interface signal type of the functional device and the device function attribute set.

[0019] The beneficial effects of the above further scheme are: generating a device physical data set through the device physical base created by the size information of the functional device and the physical property information of the functional device, generating a device signal property set through the device function property set and the corresponding interface signal type obtained by matching the functions used by the functional device with the interfaces of the functional device. In this way, a standard device information library can be constructed in the graphical interface according to the prefabricated modules of the functional devices, ensuring the consistency of interfaces and functions between different devices, and facilitating subsequent calls and management.

[0020] Further: the step of importing the standard device information library into the digital scene and generating basic device information according to a preset ratio includes the following steps:

[0021] Importing the standard device information library into the digital scene, and reading the device physical base in the device physical base in the device physical data set;

[0022] Generate basic equipment information according to a preset ratio based on the equipment physical base in the equipment physical data set;

[0023] The digital scene is a virtual simulation environment or a visualization interface of actual data.

[0024] The beneficial effect of the above further scheme is: by importing the standard device information library into the digital scene, the basic device information of the functional device can be restored in the specific digital scene, which facilitates the digital function link and signal function detection in the virtual simulation environment or visual interface, which is convenient and intuitive, and the results are reliable.

[0025] Further: the digital function link and signal function detection based on the basic information of the device in the digital scene to obtain the detection data information specifically includes the following steps:

[0026] S31: define the data signal of a single interface of the functional device as a beacon, and initialize the link pairing count C to zero;

[0027] S32: Select a beacon, and select any one of the remaining beacons as a paired beacon to establish a beacon link;

[0028] S33: Determine whether the signal flow directions of the two beacons in the beacon link are the same. If they are the same, disconnect the beacon link, set the number of pairings C=C+1, select a new beacon, and return to step S32; otherwise, go to step S34;

[0029] S34: comparing the output signals of the two beacons linked by the beacon with the input signals, and entering S35 according to the comparison status;

[0030] S35: Disconnect the beacon link, set the pairing times C=C+1, and determine whether the pairing times C is equal to the total number of beacons minus 1. If so, terminate the polling, perform pairing and binding according to the comparison result, and generate detection data information; otherwise, return to step S32.

[0031] The beneficial effect of the above further scheme is: by judging the flow direction of the two beacons that are connected to the beacon pairing, it is possible to preliminarily determine whether the two beacons can be paired successfully. If the signal flow directions are the same, it indicates that the corresponding two interfaces cannot be paired. If the flow directions are opposite, the output signal is further matched with the input signal, and after the current beacon is paired with all other beacons, the final detection data information containing the matching results is obtained as the basis for subsequent standardized encapsulation.

[0032] Further: In the S34, the output signals of the two beacons in the beacon link are compared with the input signals, and the process of entering S35 according to the comparison status specifically includes the following steps:

[0033] S341: sending the output signals of the two beacons in the beacon link and the key pre-generated according to the device function attribute set to the input signal;

[0034] S342: Compare the key carried by the input signal with the key received from the output signal. If the keys of the two match, the comparison is successful, and the comparison result of the current beacon is generated according to the result code T, the weight coefficient \w\ of the current interface and the signal number of the input signal, and enter S35, otherwise directly enter S35.

[0035] The beneficial effect of the above further scheme is: by comparing the key carried by the input signal in the two beacons of the beacon link with the key received from the output signal, the signal type of the input signal and the output signal can be determined, thereby satisfying the requirement of ensuring that the signal types of the input signal and the output signal are the same, ensuring that the interfaces corresponding to the input signal and the output signal can be completely paired successfully, and ensuring the accuracy of the detection data information.

[0036] Further: in S341, the time information and the key carried by the output signal are sent to the input signal;

[0037] In S342, when the key carried by the input signal matches the key received from the output signal, and the time information N corresponding to the input signal and the time information N0 received from the output signal satisfy N-N0<t thr , the comparison is successful;

[0038] Among them, t thr is the delay threshold.

[0039] The beneficial effect of the above further scheme is: by sending the time information carried by the output signal together with the key to the input signal, the time information N corresponding to the input signal can be matched with the time information N0 received from the output signal, thereby ensuring the security and stability of signal transmission and avoiding errors.

[0040] The present invention also provides a digital packaging system for functional devices, including a digital packaging module, an import module, a detection module and an API packaging module;

[0041] The digital packaging module is used to digitally package functional devices using low-code visualization to generate a corresponding standard device information library;

[0042] The import module is used to import the standard device information library into the digital scene and generate basic device information according to a preset ratio;

[0043] The detection module is used to perform digital function link and signal function detection based on the basic information of the equipment in the digital scene to obtain detection data information;

[0044] The API encapsulation module is used to generate a standard data set according to the device basic information and the detection data information, and encapsulate the standard data set to obtain a standardized API interface.

[0045] The digital packaging system for functional devices of the present invention digitally packages the functional devices, and imports the obtained standard device information library into the digital scene to generate basic device information, and then performs digital function link and signal function detection based on the basic device information to obtain the best matching detection data information, and then generates a standard data set according to the basic device information and the detection data information and packages it to obtain a unified standardized API interface, so as to achieve efficient digital packaging of functional devices and automatic pairing of interfaces, facilitate export and call, realize connection and functional status detection between different devices, greatly improve the assembly and configuration efficiency of functional devices, avoid errors in human assembly, and provide scientific guidance for the assembly and configuration of functional devices.

[0046] The present invention also provides a computer-readable storage medium storing a computer program, characterized in that when the computer program is executed by a processor, the digital packaging method of the functional device is implemented.

[0047] The present invention also provides a digital packaging device for a functional device, characterized in that: it comprises a communication interface, a memory, a communication bus and a processor, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0048] The memory is used to store computer programs;

[0049] The processor is used to implement the steps of the digital packaging method of the functional device when executing the program stored in the memory. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A schematic diagram of a digital packaging method for a functional device according to an embodiment of the present invention;

[0051] Figure 2 It is a structural schematic diagram of a digital packaging system of a functional device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0053] like Figure 1 As shown, a digital packaging method for a functional device comprises the following steps:

[0054] S1: Use low-code visualization to digitally encapsulate functional devices and generate corresponding standard device information libraries;

[0055] S2: importing the standard device information library into the digital scene, and generating basic device information according to a preset ratio;

[0056] S3: Perform digital function link and signal function detection based on basic information of devices in the digital scene to obtain detection data information;

[0057] S4: Generate a standard data set according to the basic information of the equipment and the detection data information, and encapsulate the standard data set to obtain a standardized API interface.

[0058] The digital packaging method of functional devices of the present invention digitally packages the functional devices, and imports the obtained standard device information library into the digital scene to generate basic device information, and then performs digital function link and signal function detection based on the basic device information to obtain the best matching detection data information, and then generates a standard data set according to the basic device information and the detection data information and packages it to obtain a unified standardized API interface, so as to realize efficient digital packaging of functional devices and automatic pairing of interfaces, facilitate export and call, realize connection and functional status detection between different devices, greatly improve the assembly and configuration efficiency of functional devices, avoid errors in human assembly, and provide scientific guidance for the assembly and configuration of functional devices.

[0059] In one or more embodiments of the present invention, the step of digitally packaging functional devices using low-code visualization to generate a corresponding standard device information library includes the following steps:

[0060] S11: Acquire device physical properties and device function data of the functional device, and standardize the interface of the functional device to obtain a device physical data set and a device signal attribute set;

[0061] S12: using a graphical interface and prefabricated modules, and based on the device physical data set and the device signal attribute set, obtaining a standard device information library.

[0062] Here, users are allowed to quickly build a standard device information library through a graphical interface and prefabricated modules, such as generating a standard device information library through simple input selection and dragging.

[0063] The interfaces of functional devices are standardized through the physical properties of the functional devices and the functional data of the devices, and a standard device information library is obtained. This makes it easy to standardize the interfaces of all devices, ensure the consistency of interfaces and functions between different devices, and facilitate subsequent digital functional link and signal function testing of the interfaces of different functional devices, complete matching testing before assembly, greatly improve assembly and configuration efficiency, and facilitate subsequent use and management.

[0064] In one or more embodiments of the present invention, the acquisition of device physical properties and device function data of functional devices, and the standardized definition of interfaces of functional devices, digitally representing and encapsulating functional devices in the physical world (such as video signal ports, audio signal interfaces, actuator interfaces, etc.) specifically include the following steps:

[0065] S111: Creating a physical base of the device according to the size information of the functional device;

[0066] S112: Generate a device physical data set according to the physical property information of the functional device and the physical base of the device;

[0067] Here, the physical property information of the functional equipment may include the equipment interface library, equipment manufacturer information library, equipment property library, equipment connector library and equipment basic information library, etc. Specifically, the equipment physical base includes information such as the basic size of the equipment and the equipment model file, the equipment interface library includes the specific location of the equipment interface and the signal data and signal flow direction corresponding to each interface, and the equipment basic information library includes some equipment information such as equipment manufacturer information and equipment price.

[0068] S113: Generate a device function attribute set by matching the function used by the functional device with the interface of the functional device;

[0069] Here, the device function attribute set may include an interface signal library, an interface function label library, an interface usage label library, an interface key, etc. Specifically, the device interface signal library includes information such as the size and position of the device interface, and the device function corresponding to the device interface; the device interface function label library includes the functions that the device can provide during use and the protocol data corresponding to the functions; the device interface usage label library includes the functions used by the device in actual use.

[0070] S114: Generate a device signal attribute set according to the interface signal type of the functional device and the device function attribute set.

[0071] The device physical data set is generated through the device physical base created by the size information of the functional device and the physical property information of the functional device. The device signal property set is generated by matching the functions used by the functional device with the interfaces of the functional device and the corresponding interface signal types. In this way, a standard device information library can be built in a graphical interface based on the prefabricated modules of the functional devices to ensure the consistency of interfaces and functions between different devices, which is convenient for subsequent calling and management.

[0072] Among them, the physical base of the device is used for one-to-one restoration of the device in a digital scene or a virtual scene. The interface key in the device function attribute set is used to verify the matching process in the digital function link and signal function detection link. The interface key mainly includes the signal type information of the device interface, the signal flow direction information (that is, the input and output direction of the device interface signal) and the weight information of the interface signal, that is:

[0073] K = signal type number + signal flow direction F (0 for output, 1 for input) + \w\

[0074] Here, K represents the key, and \w\ represents the weight of the interface corresponding to the functional device.

[0075] In one or more embodiments of the present invention, the step of importing the standard device information library into a digital scene and generating basic device information according to a preset ratio comprises the following steps:

[0076] S21: importing the standard device information library into the digital scene, and reading the device physical base in the device physical data set;

[0077] S22: Generate basic equipment information according to the equipment physical data set in a preset ratio;

[0078] The digital scene is a virtual simulation environment or a visualization interface of actual data.

[0079] By importing the standard device information library into the digital scene, the basic device information of the functional device can be restored in the specific digital scene, which is convenient for digital function link and signal function detection in the virtual simulation environment or visual interface, which is convenient and intuitive, and the results are reliable. Here, the preset ratio is preferably 1:1.

[0080] In digital scenarios, the basic device information of each functional device needs to be connected and interacted with each other to form a complete digital functional link. Digital functional links and signal function detection technologies can automatically establish these connections and interactions based on the characteristics and requirements of the devices without manual intervention. This will greatly improve the efficiency and reliability of digital systems and reduce maintenance costs.

[0081] In one or more embodiments of the present invention, the digital function link and signal function detection based on the basic information of the device in the digital scene to obtain the detection data information specifically includes the following steps:

[0082] S31: define the data signal of a single interface of the functional device as a beacon, and initialize the link pairing count C to zero;

[0083] S32: Select a beacon, and select any one of the remaining beacons as a paired beacon to establish a beacon link;

[0084] S33: Start polling to determine whether the signal flow directions of the two beacons in the beacon link are the same. If they are the same, disconnect the beacon link, set the number of pairings C=C+1, select a new beacon, and return to step S32. Otherwise, go to step S34.

[0085] S34: comparing the output signals of the two beacons linked by the beacon with the input signals, and entering S35 according to the comparison status;

[0086] S35: Disconnect the beacon link, set the pairing times C=C+1, and determine whether the pairing times C is equal to the total number of beacons minus 1. If so, terminate the polling, perform pairing and binding according to the comparison result, and generate detection data information; otherwise, return to step S32.

[0087] By judging the flow direction of the two beacons that are connected to the beacon pairing, it is possible to preliminarily determine whether the two beacons can be paired successfully. If the signal flow directions are the same, it indicates that the corresponding two interfaces cannot be paired. If the flow directions are opposite, the output signal is further matched with the input signal, and after the current beacon is paired with all other beacons, the final detection data information containing the matching results is obtained as the basis for subsequent standardized encapsulation.

[0088] In one or more embodiments of the present invention, in S34, comparing the output signals of the two beacons in the beacon link with the input signals, and entering S35 according to the comparison status specifically includes the following steps:

[0089] S341: sending the output signals of the two beacons in the beacon link and the key pre-generated according to the device function attribute set to the input signal;

[0090] S342: Compare the key carried by the input signal with the key received from the output signal. If the keys of the two match, the comparison is successful, and the comparison result of the current beacon is generated according to the result code T, the weight coefficient \w\ of the current interface and the signal number of the input signal, and enter S35, otherwise directly enter S35.

[0091] When comparing the key carried by the input signal with the key received from the output signal, it is necessary to ensure that the signal flow direction of the input signal and the output signal is the same, and further determine that the signal type in the key carried by the input signal is the same as the type in the key of the output signal, then the comparison is successful. In the present invention, after the comparison is successful, the result code T=10000, otherwise, the comparison fails, and the result code T=10001.

[0092] By comparing the key carried by the input signal in the two beacons of the beacon link with the key received from the output signal, the signal type of the input signal and the output signal can be determined, thereby ensuring that the signal types of the input signal and the output signal are the same, ensuring that the interfaces corresponding to the input signal and the output signal can be completely paired successfully, and ensuring the accuracy of the detection data information.

[0093] Here, polling refers to a continuous detection, correction and optimization process. After the polling process is completed, the digital function link process of the beacon is re-executed, and then the link polling is continued until all links are marked as passed, and the polling process is completed.

[0094] Optionally, in one or more embodiments of the present invention, in S341, the time information carried by the output signal and the key are sent to the input signal together;

[0095] In S342, when the key carried by the input signal matches the key received from the output signal, and the time information N corresponding to the input signal and the time information N0 received from the output signal satisfy N-N0<t thr , the comparison is successful;

[0096] Among them, t thr is the delay threshold, which is set to 5000ms in the present invention.

[0097] By sending the time information carried by the output signal together with the key to the input signal, the time information N corresponding to the input signal can be matched with the time information N0 received from the output signal to ensure the security and stability of signal transmission and avoid errors.

[0098] After completing the digital function link and signal function detection of the digital system, the devices in the virtual space are connected internally. At this time, the device registration data such as the device physical data set and the device function attribute set, as well as the protocol data called by the device and the data saved by the beacon in the digital function link and signal function detection are added to generate a standard data set, which is further encapsulated into an externally callable data interface to form a standardized API interface for user call and integration.

[0099] like Figure 2 As shown, the present invention also provides a digital packaging system for functional devices, including a digital packaging module, an import module, a detection module and an API packaging module;

[0100] The digital packaging module is used to digitally package functional devices using low-code visualization to generate a corresponding standard device information library;

[0101] The import module is used to import the standard device information library into the digital scene and generate basic device information according to a preset ratio;

[0102] The detection module is used to perform digital function link and signal function detection based on the basic information of the equipment in the digital scene to obtain detection data information;

[0103] The API encapsulation module is used to generate a standard data set according to the device basic information and the detection data information, and encapsulate the standard data set to obtain a standardized API interface.

[0104] The digital packaging system for functional devices of the present invention digitally packages the functional devices, and imports the obtained standard device information library into the digital scene to generate basic device information, and then performs digital function link and signal function detection based on the basic device information to obtain the best matching detection data information, and then generates a standard data set according to the basic device information and the detection data information and packages it to obtain a unified standardized API interface, so as to achieve efficient digital packaging of functional devices and automatic pairing of interfaces, facilitate export and call, realize connection and functional status detection between different devices, greatly improve the assembly and configuration efficiency of functional devices, avoid errors in human assembly, and provide scientific guidance for the assembly and configuration of functional devices.

[0105] A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the digital packaging method of the functional device is implemented.

[0106] A digital packaging device for a functional device, characterized in that: it comprises a communication interface, a memory, a communication bus and a processor, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;

[0107] The memory is used to store computer programs;

[0108] The processor is used to implement the steps of the digital packaging method of the functional device when executing the program stored in the memory.

[0109] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A digital packaging method for a functional device, characterized in that: The steps include: Use low-code visualization to digitally encapsulate functional devices and generate corresponding standard equipment information libraries; Importing the standard device information library into the digital scene, and generating basic device information according to a preset ratio; Perform digital function link and signal function detection based on basic device information in the digital scene to obtain detection data information; Generate a standard data set according to the basic information of the equipment and the detection data information, and encapsulate the standard data set to obtain a standardized API interface; The method of using low-code visualization to digitally encapsulate functional devices and generate a corresponding standard device information library includes the following steps: Obtain device physical properties and device function data of functional devices, and standardize the interfaces of functional devices to obtain device physical data sets and device signal attribute sets; Using a graphical interface and prefabricated modules, and based on the device physical data set and the device signal attribute set, a standard device information library is obtained; The step of importing the standard device information library into the digital scene and generating basic device information according to a preset ratio comprises the following steps: Importing the standard device information library into the digital scene, and reading the device physical base in the device physical data set, wherein the device physical base includes device basic size information and device model file information; Generate basic equipment information according to a preset ratio based on the equipment physical base in the equipment physical data set; Wherein, the digital scene is a virtual simulation environment or a visualization interface of actual data; The digital function link and signal function detection based on the basic information of the device in the digital scene to obtain the detection data information specifically includes the following steps: S31: define the data signal of a single interface of the functional device as a beacon, and initialize the link pairing count C to zero; S32: Select a beacon, and select any one of the remaining beacons as a paired beacon to establish a beacon link; S33: Determine whether the signal flow directions of the two beacons in the beacon link are the same. If they are the same, disconnect the beacon link, set the number of pairings C=C+1, select a new beacon, and return to step S32. Otherwise, go to step S34. S34: comparing the output signals of the two beacons linked by the beacon with the input signals, and entering S35 according to the comparison status; S35: disconnect the beacon link, set the pairing number C=C+1, and determine whether the pairing number C is equal to the total number of beacons minus 1. If so, terminate the polling, perform pairing and binding according to the comparison result, and generate detection data information; Otherwise, return to step S32; In S34, comparing the output signals of the two beacons in the beacon link with the input signals, and entering S35 according to the comparison status specifically includes the following steps: S341: sending the output signals of the two beacons in the beacon link and the key pre-generated according to the device function attribute set to the input signal; S342: Compare the key carried by the input signal with the key received from the output signal. If the keys of the two match, the comparison is successful, and the comparison result of the current beacon is generated according to the result code T, the weight coefficient w of the current interface and the signal number of the input signal, and enter S35, otherwise directly enter S35.

2. The digital packaging method of functional equipment according to claim 1, characterized in that: The step of obtaining the physical properties and functional data of the functional device and standardizing the interface of the functional device specifically includes the following steps: Create a physical base of the device according to the size information of the functional device; Generate a device physical data set according to the physical property information of the functional device and the physical base of the device; According to the functions used by the functional devices and the interfaces of the functional devices, a device function attribute set is generated; A device signal attribute set is generated according to the interface signal type of the functional device and the device function attribute set.

3. The digital packaging method of functional equipment according to claim 1, characterized in that: In the S341, the time information and the key carried by the output signal are sent to the input signal; In S342, when the key carried by the input signal matches the key received from the output signal, and the time information N corresponding to the input signal matches the time information N0 received from the output signal, , the comparison is successful; Among them, t thr is the delay threshold.

4. A digital packaging system for functional devices, which implements the digital packaging method for functional devices according to any one of claims 1 to 3, characterized in that: It includes digital packaging module, import module, detection module and API packaging module; The digital packaging module is used to digitally package functional devices using low-code visualization to generate a corresponding standard device information library; The import module is used to import the standard device information library into the digital scene and generate basic device information according to a preset ratio; The detection module is used to perform digital function link and signal function detection based on the basic information of the equipment in the digital scene to obtain detection data information; The API encapsulation module is used to generate a standard data set according to the basic information of the equipment and the detection data information, and encapsulate the standard data set to obtain a standardized API interface.

5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the digital packaging method of the functional device described in any one of claims 1 to 3 is implemented.

6. A digital packaging device for a functional device, characterized in that: It includes a communication interface, a memory, a communication bus and a processor, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the steps of the digital packaging method of the functional device described in any one of claims 1 to 3 when executing the program stored in the memory.

Citation Information

Patent Citations

  • Equipment state control method and device, storage medium and electronic device

    CN116056056A

  • Industrial digital twinborn three-dimensional visual scene editing method, equipment and medium

    CN116954585A