Data matching method, device, medium and system of Internet of Things terminal
The method and device dynamically adjust data orders and types to prevent jams in IoT terminal identification, improving efficiency and accuracy in identifying terminal types.
Patent Information
- Application Number
- CN202411153971.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-13
AI Technical Summary
Current IoT terminal identification systems are limited in identifying terminal types and lack adaptive data matching, leading to data type mismatches that cause jams and hinder timely identification.
A data matching method and device that involves acquiring and sorting targets to adjust data orders and types dynamically, allowing continuous matching even when jams occur, using processors and memory to manage and execute these adjustments.
Enhances the efficiency of IoT terminal data matching by preventing jams and ensuring accurate, timely identification of terminal types.
Smart Images

Figure CN119128538A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things terminal identification technology, and more specifically, to a data matching method, device, medium and system for Internet of Things terminals. Background Art
[0002] With the development of the Internet of Things, the era of the Internet of Everything has arrived. More and more terminals are joining the Internet of Things. In order to facilitate the terminal management in the Internet of Things, it is necessary to identify the terminals in the Internet of Things, such as the category to which the terminal belongs.
[0003] However, the current identification of IoT terminals is limited to identifying whether a terminal in the IoT is an IoT terminal, and the type of terminal cannot be identified. Moreover, when matching the IoT terminal with the identification data, the identification data cannot be adaptively adjusted, resulting in jams caused by mismatched data types. In addition, there is no unified matching method for multiple matching identification data types, and there is a lack of coordinated management of IoT terminal identification, as well as a lack of efficiency in matching IoT terminal identification data.
[0004] That is, when the existing solution matches the IoT terminal with the identification data, it cannot adaptively adjust the identification data, resulting in a jam caused by mismatch of data types, which results in the inability to match the subsequent data to be identified within the specified time. Summary of the invention
[0005] The main purpose of the present application is to provide a data matching method, device, medium and system for an Internet of Things terminal, so as to at least solve the problem that the existing solutions cannot adaptively adjust the identification data when matching the Internet of Things terminal with the identification data, resulting in a jam caused by mismatch of data types, thereby causing the subsequent data to be identified to be unable to be matched within the specified time.
[0006] In order to achieve the above object, according to one aspect of the present application, a data matching method for an Internet of Things terminal is provided, the method comprising:
[0007] Acquire a first target and a second target, wherein the first target includes multiple types of IoT terminals, and the second target includes a mapping relationship between multiple to-be-matched data and corresponding data types;
[0008] sorting the second targets to obtain a third target, and using the first target to match each of the to-be-matched data in the third target;
[0009] When it is determined that a jam occurs, the order of the data to be matched in the third target is adjusted so that the first target can continue to match the third target.
[0010] Optionally, the second target is sorted to obtain a third target, and the method further includes: sorting the second target in order of data from small to large to obtain the third target.
[0011] Optionally, in the process of using the first target to match each of the data to be matched in the third target, the method also includes: after the first data to be matched in the third target is matched, adjusting the position of the first data to be matched from the first position in the third target to the second position, and adjusting the position of the second data to be matched in the third target from the second position in the third target to the first position.
[0012] Optionally, when it is determined that a freeze has occurred, the order of the data to be matched in the third target is adjusted, including: when one of the IoT terminals in the first target has matched the data to be matched in multiple third targets, replacing the data to be matched in the third target with the next type of data to be matched.
[0013] Optionally, in the process of using the first target to match each of the data to be matched in the third target, the method also includes: when the current matching time is greater than or equal to a time threshold, replacing the data to be matched in the third target with the next type of data to be matched; when the current matching time is less than the time threshold, keeping the position of the data to be matched in the third target unchanged.
[0014] Optionally, in the process of using the first target to match each of the data to be matched in the third target, the method also includes: after completing the first matching, when the type of the data to be matched in the current matching is different from the type of the data to be matched in the first matching, keeping the position of the data to be matched in the third target unchanged.
[0015] Optionally, the method further includes: after completing the matching of the first target with each of the data to be matched in the third target, obtaining multiple type matching degrees, the type matching degrees corresponding one-to-one to the types of the data to be matched in the third target, and the type matching degrees characterizing the number of data to be matched corresponding to each type of the data to be matched in the third target; when matching the data to be matched and the Internet of Things terminal next time, sorting all the data to be matched in descending order of the type matching degrees to obtain sorted data to be matched.
[0016] According to another aspect of the present application, a data matching device for an Internet of Things terminal is provided, the device comprising:
[0017] A first acquisition unit, configured to acquire a first target and a second target, wherein the first target includes multiple types of IoT terminals, and the second target includes a mapping relationship between multiple to-be-matched data and corresponding data types;
[0018] a first processing unit, configured to sort the second targets to obtain a third target, and use the first target to match each of the to-be-matched data in the third target;
[0019] The second processing unit is used to adjust the order of the to-be-matched data in the third target when it is determined that a jam occurs, so that the first target can continue to match the third target.
[0020] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described.
[0021] According to another aspect of the present application, a data matching system for an Internet of Things terminal is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods described.
[0022] By applying the technical solution of the present application, the third target is obtained by obtaining the first target and the second target and sorting the second target; and the first target is used to match each of the to-be-matched data in the third target; when it is determined that a jam occurs, the order of the to-be-matched data in the third target is adjusted so that the first target can continue to match the third target. The efficiency of data matching in IoT terminals is improved. That is, the problem that the existing solution cannot adaptively adjust the identification data when matching IoT terminals with identification data, resulting in jams caused by mismatched data types, which causes the subsequent data to be identified to fail to match within the specified time. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0024] Figure 1 A schematic diagram of a flow chart of a data matching method for an Internet of Things terminal provided according to an embodiment of the present application is shown;
[0025] Figure 2 A schematic diagram of a flow chart of another data matching method for an Internet of Things terminal provided according to an embodiment of the present application is shown;
[0026] Figure 3 A structural block diagram of a data matching device for an Internet of Things terminal provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0027] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] As introduced in the background technology, the identification of IoT terminals in the prior art is limited to identifying whether the terminal in the IoT is an IoT terminal, and cannot identify the type of the terminal. Moreover, when matching the IoT terminal with the identification data, the identification data cannot be adaptively adjusted, resulting in jamming caused by mismatching of data types. Moreover, there is no unified matching method for multiple matching identification data types, lacking overall management of IoT terminal identification, and lacking high efficiency in matching IoT terminal identification data. That is, when matching the IoT terminal with the identification data, the prior solution cannot adaptively adjust the identification data, resulting in jamming caused by mismatching of data types, thereby resulting in the inability to complete matching of subsequent data to be identified within the specified time. In order to solve the problem that when matching the IoT terminal with the identification data, the prior solution cannot adaptively adjust the identification data, resulting in jamming caused by mismatching of data types, thereby resulting in the inability to complete matching of subsequent data to be identified within the specified time, the embodiments of the present application provide a data matching method, device, medium and system for IoT terminals.
[0031] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0032] In this embodiment, a data matching method for an Internet of Things terminal running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0033] Figure 1 It is a flow chart of a data matching method for an Internet of Things terminal provided according to an embodiment of the present application.
[0034] like Figure 1 As shown, the method comprises the following steps:
[0035] Step S101, obtaining a first target and a second target, wherein the first target includes multiple types of IoT terminals, and the second target includes a mapping relationship between multiple to-be-matched data and corresponding data types;
[0036] Obtaining the first target and the second target, so that each IoT terminal can match the data to be matched respectively;
[0037] Step S102, sorting the second targets to obtain a third target, and using the first target to match each of the to-be-matched data in the third target;
[0038] In the specific implementation process, the above-mentioned step S102 of sorting the above-mentioned second target to obtain the third target can be achieved through the following steps: sorting the above-mentioned second target in the order of data from small to large to obtain the above-mentioned third target.
[0039] In one embodiment of the present application, the use of the first target in the step S102 to match each of the above-mentioned data to be matched in the above-mentioned third target can be achieved in the following way: after the first data to be matched in the above-mentioned third target is matched, the position of the above-mentioned first data to be matched is adjusted from the first position in the above-mentioned third target to the second position, and the position of the second data to be matched in the above-mentioned third target is adjusted from the second position in the above-mentioned third target to the first position.
[0040] The use of the first target in the step S102 to match the data to be matched in the third target can also be achieved in other ways: when the current matching time is greater than or equal to the time threshold, the data to be matched in the third target is replaced with the next type of data to be matched; when the current matching time is less than the time threshold, the position of the data to be matched in the third target is kept unchanged.
[0041] The use of the first target in the step S102 to match the data to be matched in the third target may also be achieved in other ways: after completing the first match, when the type of the data to be matched currently matched is different from the type of the data to be matched in the first match, the position of the data to be matched being matched in the third target is kept unchanged.
[0042] Specifically, by adaptively adjusting the IoT terminal and the identification data during identification, the jamming caused by mismatching of data types can be avoided, and the type of terminal to be identified can be accurately and efficiently identified.
[0043] Step S103, when it is determined that a freeze occurs, adjusting the order of the data to be matched in the third target, so that the first target can continue to match the third target.
[0044] In the above steps, the third target is obtained by obtaining the first target and the second target and sorting the second target; and the first target is used to match each of the above data to be matched in the third target; when it is determined that a jam occurs, the order of the above data to be matched in the third target is adjusted so that the first target can continue to match the third target. The efficiency of data matching in IoT terminals is improved. That is, the problem that the existing solution cannot adaptively adjust the identification data when matching the IoT terminal with the identification data, resulting in jams caused by mismatching of data types, which causes the subsequent data to be identified to fail to complete matching within the specified time.
[0045] In one embodiment of the present application, the method further includes: in the step S103, when it is determined that a freeze has occurred, adjusting the order of the data to be matched in the third target, including: when one of the IoT terminals in the first target has matched the data to be matched in multiple third targets, replacing the data to be matched in the third target with the next type of data to be matched.
[0046] Specifically, the matching status of the identification data can be timely identified, a number of matching data can be screened, and the switching sequence of the identification data can be set, so as to achieve high efficiency in matching the identification data of the Internet of Things terminal.
[0047] In one embodiment of the present application, after completing the matching of the first target with each of the above-mentioned data to be matched in the above-mentioned third target, multiple type matching degrees are obtained, and the above-mentioned type matching degrees correspond one-to-one to the types of the above-mentioned data to be matched in the above-mentioned third target, and the above-mentioned type matching degrees represent the number of the above-mentioned data to be matched corresponding to the types of each of the above-mentioned data to be matched in the above-mentioned third target; when matching the data to be matched and the Internet of Things terminal next time, all the data to be matched are sorted in descending order according to the above-mentioned type matching degrees to obtain the sorted data to be matched.
[0048] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the data matching method for the Internet of Things terminal of the present application will be described in detail below in combination with specific embodiments.
[0049] This embodiment relates to a specific data matching method for an Internet of Things terminal, such as Figure 2 As shown, including:
[0050] Acquire a first target and a second target, wherein the first target includes multiple types of IoT terminals, and the second target includes a mapping relationship between multiple to-be-matched data and corresponding data types;
[0051] Sorting the second targets to obtain the third target, and using the first target to match each to-be-matched data in the third target;
[0052] When it is determined that a jam occurs, adjusting the order of the data to be matched in the third target so that the first target can continue to match the third target;
[0053] Acquire multiple type matching degrees, where the type matching degrees correspond one-to-one to the types of the to-be-matched data in the third target, and the type matching degrees represent the number of to-be-matched data corresponding to the types of the to-be-matched data in the third target;
[0054] When the data to be matched is matched with the IoT terminal next time, all the data to be matched are sorted in descending order of type matching degree to obtain sorted data to be matched.
[0055] The third target is obtained by obtaining the first target and the second target and sorting the second target; and the first target is used to match each of the data to be matched in the third target; when it is determined that a jam occurs, the order of the data to be matched in the third target is adjusted so that the first target can continue to match the third target. The efficiency of data matching in IoT terminals is improved. That is, the problem that the existing solution cannot adaptively adjust the identification data when matching the IoT terminal with the identification data, resulting in jams caused by mismatch of data types, which causes the subsequent data to be identified to fail to match within the specified time.
[0056] The embodiment of the present application also provides a data matching device for an Internet of Things terminal. It should be noted that the data matching device for an Internet of Things terminal in the embodiment of the present application can be used to execute the data matching method for an Internet of Things terminal provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and those that have been described will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0057] The following is an introduction to the data matching device of the Internet of Things terminal provided in the embodiment of the present application.
[0058] Figure 3 It is a structural block diagram of a data matching device for an Internet of Things terminal provided according to an embodiment of the present application.
[0059] like Figure 3 As shown, the device comprises:
[0060] A first acquisition unit 31 is used to acquire a first target and a second target, wherein the first target includes multiple types of IoT terminals, and the second target includes a mapping relationship between multiple to-be-matched data and corresponding data types;
[0061] A first processing unit 32 is used to sort the second targets to obtain a third target, and use the first target to match each of the to-be-matched data in the third target;
[0062] The second processing unit 33 is used to adjust the order of the data to be matched in the third target when it is determined that a freeze occurs, so that the first target can continue to match the third target.
[0063] In the above device, the third target is obtained by obtaining the first target and the second target and sorting the second target; and the first target is used to match each of the above data to be matched in the third target; when it is determined that a jam occurs, the order of the above data to be matched in the third target is adjusted so that the first target can continue to match the third target. The efficiency of data matching in IoT terminals is improved. That is, the problem that the existing solution cannot adaptively adjust the identification data when matching the IoT terminal with the identification data, resulting in jams caused by mismatching of data types, thereby causing the subsequent data to be identified to fail to complete matching within the specified time.
[0064] In one embodiment of the present application, the above-mentioned device also includes a first sorting unit, which is used to sort the above-mentioned second target to obtain a third target, and sort the above-mentioned second target in order of data from small to large to obtain the above-mentioned third target.
[0065] In one embodiment of the present application, the above-mentioned device also includes an adjustment unit. In the process of using the above-mentioned first target to match each of the above-mentioned data to be matched in the above-mentioned third target, the adjustment unit is used to adjust the position of the above-mentioned first data to be matched from the first position in the above-mentioned third target to the second position, and adjust the position of the second data to be matched in the above-mentioned third target from the second position in the above-mentioned third target to the first position after the first data to be matched in the above-mentioned third target is matched.
[0066] In one embodiment of the present application, the second processing unit includes a replacement module, which is used to replace the data to be matched in the third target with the next type of data to be matched when one of the IoT terminals in the first target has matched the data to be matched in multiple third targets.
[0067] In one embodiment of the present application, the above-mentioned device also includes a replacement unit and a first holding unit. In the process of using the above-mentioned first target to match each of the above-mentioned to-be-matched data in the above-mentioned third target, the replacement unit is used to replace the above-mentioned to-be-matched data being matched in the above-mentioned third target with the above-mentioned to-be-matched data of the next type when the current matching time is greater than or equal to the time threshold; the first holding unit is used to keep the position of the above-mentioned to-be-matched data being matched in the above-mentioned third target unchanged when the current matching time is less than the above-mentioned time threshold.
[0068] In one embodiment of the present application, the above-mentioned device also includes a second holding unit. In the process of using the above-mentioned first target to match each of the above-mentioned data to be matched in the above-mentioned third target, the second holding unit is used to keep the position of the above-mentioned data to be matched in the above-mentioned third target unchanged after the first matching is completed, when the type of the above-mentioned data to be matched currently is different from the type of the above-mentioned data to be matched in the above-mentioned first matching.
[0069] In one embodiment of the present application, the device further includes a second acquisition unit and a second sorting unit, the second acquisition unit being used to acquire a plurality of type matching degrees after completing the matching of the first target with each of the above-mentioned data to be matched in the above-mentioned third target, the above-mentioned type matching degrees corresponding one-to-one to the types of the above-mentioned data to be matched in the above-mentioned third target, the above-mentioned type matching degrees representing the number of the above-mentioned data to be matched corresponding to the types of each of the above-mentioned data to be matched in the above-mentioned third target; the second sorting unit being used to sort all the data to be matched in the order of the above-mentioned type matching degrees from large to small when matching the data to be matched with the Internet of Things terminal next time, so as to obtain the sorted data to be matched.
[0070] The data matching device of the Internet of Things terminal includes a processor and a memory. The first acquisition unit, the first processing unit, the second processing unit, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.
[0071] The processor contains a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem that the existing solution cannot adaptively adjust the identification data when matching the IoT terminal with the identification data, resulting in a jam caused by mismatch of data types, which causes the subsequent data to be identified to fail to match within the specified time.
[0072] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0073] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the data matching method for the Internet of Things terminal.
[0074] Specifically, the data matching method of the IoT terminal includes:
[0075] Step S101, obtaining a first target and a second target, wherein the first target includes multiple types of IoT terminals, and the second target includes a mapping relationship between multiple to-be-matched data and corresponding data types;
[0076] Step S102, sorting the second targets to obtain a third target, and using the first target to match each of the to-be-matched data in the third target;
[0077] Specifically, by adaptively adjusting the IoT terminal and the identification data during identification, the jamming caused by mismatching of data types can be avoided, and the type of terminal to be identified can be accurately and efficiently identified.
[0078] Step S103, when it is determined that a freeze occurs, adjusting the order of the data to be matched in the third target, so that the first target can continue to match the third target.
[0079] Specifically, the matching status of the identification data can be timely identified, a number of matching data can be screened, and the switching sequence of the identification data can be set, so as to achieve high efficiency in matching the identification data of the Internet of Things terminal.
[0080] Optionally, the second target is sorted to obtain the third target, and the method further includes: sorting the second target in ascending order of data to obtain the third target.
[0081] Optionally, in the process of using the first target to match each of the above-mentioned data to be matched in the third target, the method also includes: after the first data to be matched in the third target is matched, adjusting the position of the first data to be matched from the first position in the third target to the second position, and adjusting the position of the second data to be matched in the third target from the second position in the third target to the first position.
[0082] Optionally, when it is determined that a freeze has occurred, the order of the data to be matched in the third target is adjusted, including: when one of the IoT terminals in the first target has matched multiple data to be matched in the third targets, the data to be matched being matched in the third target is replaced with the next type of data to be matched.
[0083] Optionally, in the process of using the first target to match each of the above-mentioned data to be matched in the third target, the method further includes: when the current matching time is greater than or equal to a time threshold, replacing the above-mentioned data to be matched in the third target with the next type of the above-mentioned data to be matched; when the current matching time is less than the time threshold, keeping the position of the above-mentioned data to be matched in the third target unchanged.
[0084] Optionally, in the process of using the first target to match each of the above-mentioned data to be matched in the third target, the method also includes: after completing the first matching, when the type of the above-mentioned data to be matched in the current matching is different from the type of the above-mentioned data to be matched in the first matching, keeping the position of the above-mentioned data to be matched in the third target unchanged.
[0085] Optionally, the method further includes: after completing the matching of the first target with each of the above-mentioned data to be matched in the third target, obtaining multiple type matching degrees, the above-mentioned type matching degrees correspond one-to-one to the types of the above-mentioned data to be matched in the third target, and the above-mentioned type matching degrees represent the number of the above-mentioned data to be matched corresponding to the types of each of the above-mentioned data to be matched in the third target; when matching the data to be matched and the Internet of Things terminal next time, all the data to be matched are sorted in descending order according to the above-mentioned type matching degrees to obtain the sorted data to be matched.
[0086] An embodiment of the present invention provides a processor, which is used to run a program, wherein the data matching method of the Internet of Things terminal is executed when the program is running.
[0087] An embodiment of the present invention provides a device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements at least the following steps when executing the program: obtaining a first target and a second target, the first target includes multiple types of IoT terminals, and the second target includes a mapping relationship between multiple data to be matched and corresponding data types; sorting the second target to obtain a third target, and using the first target to match each of the data to be matched in the third target; in the case of determining that a freeze occurs, adjusting the order of the data to be matched in the third target so that the first target can continue to match the third target. The device in this article can be a server, PC, PAD, mobile phone, etc.
[0088] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes at least the following method steps: obtaining a first target and a second target, the first target including multiple types of Internet of Things terminals, and the second target including a mapping relationship between multiple data to be matched and corresponding data types; sorting the second target to obtain a third target, and using the first target to match each of the data to be matched in the third target; when it is determined that a freeze has occurred, adjusting the order of the data to be matched in the third target so that the first target can continue to match the third target.
[0089] The present application also provides a data matching system for an Internet of Things terminal, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the above methods.
[0090] The third target is obtained by obtaining the first target and the second target and sorting the second target; and the first target is used to match each of the data to be matched in the third target; when it is determined that a jam occurs, the order of the data to be matched in the third target is adjusted so that the first target can continue to match the third target. The efficiency of data matching in IoT terminals is improved. That is, the problem that the existing solution cannot adaptively adjust the identification data when matching the IoT terminal with the identification data, resulting in jams caused by mismatch of data types, which causes the subsequent data to be identified to fail to match within the specified time.
[0091] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0092] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0093] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0097] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0098] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0099] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0100] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0101] 1) The data matching method of the IoT terminal of the present application obtains the first target and the second target, and sorts the second target to obtain the third target; and uses the first target to match each of the above-mentioned to-be-matched data in the third target; when it is determined that a jam occurs, the order of the above-mentioned to-be-matched data in the third target is adjusted so that the first target can continue to match the third target. The efficiency of IoT terminal data matching is improved. That is, it solves the problem that the existing solution cannot adaptively adjust the identification data when matching the IoT terminal with the identification data, resulting in jams caused by mismatching of data types, thereby causing the subsequent to-be-identified data to be unable to complete matching within the specified time.
[0102] 2) The data matching device of the Internet of Things terminal of the present application obtains the first target and the second target, and sorts the second target to obtain the third target; and uses the first target to match each of the above-mentioned to-be-matched data in the third target; when it is determined that a jam occurs, the order of the above-mentioned to-be-matched data in the third target is adjusted so that the first target can continue to match the third target. The efficiency of data matching of the Internet of Things terminal is improved. That is, it solves the problem that the existing solution cannot adaptively adjust the identification data when matching the Internet of Things terminal with the identification data, resulting in jams caused by mismatch of data types, thereby causing the subsequent data to be identified to fail to complete matching within the specified time.
[0103] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A data matching method for an Internet of Things terminal, characterized in that: include: Acquire a first target and a second target, wherein the first target includes multiple types of IoT terminals, and the second target includes a mapping relationship between multiple to-be-matched data and corresponding data types; sorting the second targets to obtain a third target, and using the first target to match each of the to-be-matched data in the third target; When it is determined that a jam occurs, the order of the data to be matched in the third target is adjusted so that the first target can continue to match the third target.
2. The method according to claim 1, characterized in that: Sorting the second objectives to obtain a third objective, the method further comprising: The second targets are sorted in ascending order of data to obtain the third target.
3. The method according to claim 1, characterized in that In the process of using the first target to match each of the to-be-matched data in the third target, the method further includes: After the first data to be matched in the third target is matched, the position of the first data to be matched is adjusted from the first position in the third target to the second position, and the position of the second data to be matched in the third target is adjusted from the second position in the third target to the first position.
4. The method according to claim 1, characterized in that: When it is determined that a jam occurs, adjusting the order of the to-be-matched data in the third target includes: In a case where one of the IoT terminals in the first target has matched the data to be matched in a plurality of the third targets, the data to be matched being matched in the third targets is replaced with the data to be matched of the next type.
5. The method according to claim 1, characterized in that In the process of using the first target to match each of the to-be-matched data in the third target, the method further includes: When the current matching time is greater than or equal to the time threshold, the to-be-matched data being matched in the third target is replaced with the to-be-matched data of the next type; When the current matching time is less than the time threshold, the position of the to-be-matched data being matched in the third target is kept unchanged.
6. The method according to claim 1, characterized in that In the process of using the first target to match each of the to-be-matched data in the third target, the method further includes: After the first matching is completed, when the type of the data to be matched in the current matching is different from the type of the data to be matched in the first matching, the position of the data to be matched being matched in the third target is kept unchanged.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: After completing the matching of the first target with each of the to-be-matched data in the third target, obtaining a plurality of type matching degrees, the type matching degrees corresponding one-to-one to the types of the to-be-matched data in the third target, the type matching degrees representing the number of the to-be-matched data corresponding to each type of the to-be-matched data in the third target; When the data to be matched is matched with the IoT terminal next time, all the data to be matched are sorted in descending order of the type matching degree to obtain sorted data to be matched.
8. A data matching device for an Internet of Things terminal, characterized in that: include: A first acquisition unit, configured to acquire a first target and a second target, wherein the first target includes multiple types of IoT terminals, and the second target includes a mapping relationship between multiple to-be-matched data and corresponding data types; a first processing unit, configured to sort the second targets to obtain a third target, and use the first target to match each of the to-be-matched data in the third target; The second processing unit is used to adjust the order of the to-be-matched data in the third target when it is determined that a jam occurs, so that the first target can continue to match the third target.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
10. A data matching system for an Internet of Things terminal, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 7.
