Equipment terminal data acquisition method, system and device and equipment terminal

By collecting data at the device terminal, dividing data according to the acquisition frequency and filling and compression in templates, the network resource occupation problem caused by large data volume in traditional methods is solved, and the real-time and efficiency of data collection is improved to adapt to changes in business needs. And reduce costs.

CN119211280AActive Publication Date: 2024-12-27INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411157905.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-12-27
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

Traditional device terminal data acquisition methods have large data volume due to redundant key-value pair information in JSON format, which consumes more network bandwidth, traffic and time, affecting the real-time nature of data acquisition.

Method used

By acquiring device terminal data according to the target acquisition frequency, dividing it into static and dynamic data, determining the optimal acquisition frequency, and filling the data into a format template for compression, sending it to the server, and assembling data packets using encryption to improve data transmission efficiency.

Benefits of technology

It reduces data volume, reduces the occupation of network resources, improves the real-time and efficiency of data collection, adapts to changes in business needs, and reduces development and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211280A_ABST
    Figure CN119211280A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data acquisition, and provides an equipment terminal data acquisition method, system and device and an equipment terminal. The method comprises the following steps: acquiring target equipment terminal data corresponding to a target data acquisition item according to a target acquisition frequency; filling the target equipment terminal data into a corresponding target data acquisition item in the format template to obtain a data template; compressing the target equipment terminal data in the data template to obtain a data packet; and sending the data packet to the server in response to an acquisition demand of the server. According to the method, the target acquisition frequency is set, the volume and time of data acquisition can be controlled, the target equipment terminal data is actual data not including redundant key value pair information, template filling and compression are performed on the target equipment terminal data, the data volume is further reduced, and the data acquisition efficiency is improved. Therefore, the consumption of network bandwidth, flow and time is reduced in the data transmission process, the occupation of network resources is reduced, and the real-time performance of data acquisition is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data acquisition technology, and in particular to a device terminal data acquisition method, system, apparatus and device terminal. Background Art

[0002] IoT device terminal data collection refers to the process of collecting data from device terminals such as sensors and smart devices through IoT technology. This data can be used to monitor, analyze and optimize the performance and operation of device terminals. Through effective data collection, enterprises can better monitor the status of device terminals, optimize operational efficiency, and achieve intelligent management.

[0003] Traditional device terminal data collection methods usually use JSON format for data transmission. However, JSON format data contains redundant key-value pair information, resulting in a large data volume. During the data transmission process, more network bandwidth, traffic and time are consumed, resulting in the occupation of more network resources and affecting the real-time performance of data collection. Summary of the invention

[0004] The embodiments of the present application provide a device terminal data collection method, system, apparatus and device terminal to solve the technical problem that the traditional device terminal data collection method consumes more network bandwidth, traffic and time during the data transmission process, resulting in the occupation of more network resources and affecting the real-time performance of data collection.

[0005] In a first aspect, an embodiment of the present application provides a device terminal data collection method, comprising: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is pre-defined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection demand of the server, the data packet is sent to the server.

[0006] In one embodiment, acquiring target device terminal data corresponding to the target data collection item according to the target collection frequency includes: Divide the device terminal data into static data and dynamic data; Taking total cost minimization as a goal, determining a first target acquisition frequency of the static data and a second target acquisition frequency of the dynamic data; the total cost includes resource consumption cost and data acquisition cost; If the target device terminal data corresponding to the target data collection item is static data, acquiring the target device terminal data at a first target collection frequency; If the target device terminal data corresponding to the target data collection item is dynamic data, the target device terminal data is acquired at a second target collection frequency.

[0007] In one embodiment, the target data collection item is determined based on the following method: The target data collection items in the format template are defined according to business requirements and device terminal types.

[0008] In one embodiment, compressing the target device terminal data in the data template to obtain a data packet includes: Defining the organizational structure of the data packet according to the data template; The adaptation layer software is used to encrypt and assemble the target device terminal data in the data template according to the organizational structure to obtain an encrypted data packet.

[0009] In a second aspect, an embodiment of the present application provides a device terminal data collection system, including: a device terminal; The device terminal is used for: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is pre-defined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection demand of the server, the data packet is sent to the server.

[0010] In one embodiment, it further includes: a server; The server is used to: Receiving a data packet sent by the device terminal; The data packet is parsed according to a data template corresponding to the data packet to obtain the target device terminal data.

[0011] In a third aspect, an embodiment of the present application provides a device terminal data collection apparatus, including: The target device terminal data acquisition module is used to: acquire the target device terminal data corresponding to the target data acquisition item according to the target acquisition frequency; A data template generation module, used to: fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is pre-defined in the format template; A data packet generating module, used to: compress the target device terminal data in the data template to obtain a data packet; The device terminal data collection module is used to: respond to the collection requirements of the server and send the data packet to the server.

[0012] In a fourth aspect, an embodiment of the present application provides a device terminal, including: a memory, a transceiver, and a processor; A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is pre-defined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection demand of the server, the data packet is sent to the server.

[0013] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the device terminal data collection method described in the first aspect.

[0014] In a sixth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, comprising a computer program, which, when executed by a processor, implements the steps of the device terminal data collection method described in the first aspect.

[0015] The device terminal data acquisition method, system, apparatus and device terminal provided in the present application obtain the target device terminal data corresponding to the target data acquisition item according to the target acquisition frequency, fill the target device terminal data into the corresponding target data acquisition item in the format template to obtain the data template; the target data acquisition item is pre-defined in the format template, and the target device terminal data in the data template is compressed to obtain a data packet, and the data packet is sent to the server in response to the acquisition requirements of the server. The present application sets a target acquisition frequency for the acquisition of target device terminal data, which can control the volume and time of the collected data, and the target device terminal data is actual data that does not include redundant key-value pair information. Templated filling and compression of the target device terminal data can improve data compression capabilities and further reduce data volume, thereby reducing the consumption of network bandwidth, traffic and time during data transmission, reducing the occupation of network resources and improving the real-time performance of data acquisition. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 This is one of the flow charts of the device terminal data collection method provided in the embodiment of the present application; Figure 2 This is the second flow chart of the device terminal data collection method provided in the embodiment of the present application; Figure 3 It is a structural diagram of a device terminal data acquisition system provided in an embodiment of the present application; Figure 4 It is a structural schematic diagram of a device terminal data acquisition device provided in an embodiment of the present application; Figure 5 It is a schematic diagram of the structure of a device terminal according to an embodiment of the present application. DETAILED DESCRIPTION

[0018] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0019] It should be noted that in the description of the embodiments of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be a connection between the two elements. For those skilled in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0020] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0021] Figure 1 This is one of the flow charts of the device terminal data collection method provided in the embodiment of the present application. Figure 1 , the present application embodiment provides a device terminal data collection method, which may include: 101. Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; 102. Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; The target data collection items are predefined in the format template; 103. Compress the target device terminal data in the data template to obtain a data packet; 104. In response to the collection demand of the server, the data packet is sent to the server.

[0022] In step 101, you can cooperate with the business department to collect and understand business needs, clarify the purpose and use of device terminal data collection, analyze existing device terminal data and potential data sources, determine which device terminal data is critical to business processes, and focus on analyzing the real-time, accuracy and relevance of device terminal data, so as to determine the target data collection items and ensure that the target device terminal data corresponding to the target data collection items can meet the specific needs of business operations.

[0023] The device terminal data collection method provided in this embodiment obtains the target device terminal data corresponding to the target data collection item according to the target collection frequency, fills the target device terminal data into the corresponding target data collection item in the format template, and obtains the data template; the target data collection item is pre-defined in the format template, and the target device terminal data in the data template is compressed to obtain a data packet, and the data packet is sent to the server in response to the collection requirements of the server. This embodiment sets a target collection frequency for the acquisition of target device terminal data, which can control the volume and time of collected data, and the target device terminal data is actual data that does not include redundant key-value pair information. Templated filling and compression of the target device terminal data can improve data compression capabilities and further reduce data volume, thereby reducing the consumption of network bandwidth, traffic, and time during data transmission, reducing the occupation of network resources and improving the real-time performance of data collection.

[0024] Furthermore, the traditional device terminal data collection method will increase the data storage requirements due to the large data volume. The present implementation can simultaneously reduce the data storage requirements by reducing the data volume.

[0025] Figure 2 This is the second flow chart of the device terminal data collection method provided in the embodiment of the present application. Figure 2 In one embodiment, acquiring target device terminal data corresponding to a target data collection item according to a target collection frequency may include: 201. Divide the device terminal data into static data and dynamic data; 202. Taking total cost minimization as a goal, determining a first target collection frequency of static data and a second target collection frequency of dynamic data; The total cost includes resource consumption cost and data collection cost; 203. If the target device terminal data corresponding to the target data collection item is static data, the target device terminal data is acquired at a first target collection frequency; 204. If the target device terminal data corresponding to the target data collection item is dynamic data, the target device terminal data is acquired at a second target collection frequency.

[0026] In step 202, by evaluating the importance of static data and dynamic data to the business and the impact on business decisions, the resource consumption cost and data collection cost per unit collection frequency of static data and dynamic data are determined, and the first target collection frequency of static data is determined according to the following formula: ; in, is the total cost, is the resource consumption cost per unit acquisition frequency of static data, is the data collection cost per unit collection frequency of static data, is the first target acquisition frequency; the second target acquisition frequency of dynamic data can be obtained similarly, which will not be repeated here.

[0027] In step 203 to step 204, since the determination of the target collection frequency of static data and dynamic data is closely related to the resource consumption cost and the data collection cost, the optimal balance between the real-time nature of data collection and the system resource consumption and the system collection cost can be ensured while minimizing the total cost.

[0028] This embodiment divides the device terminal data into static data and dynamic data, and takes the lowest total cost as the goal for these two types of data, adjusts the collection frequency based on the resource consumption cost and data collection cost per unit collection frequency, thereby obtaining the optimal collection frequency corresponding to the static data and dynamic data, so as to achieve the optimal balance between the real-time performance of data collection and the system resource consumption and system collection cost.

[0029] In one embodiment, the target data collection item may be determined based on the following method: Define the target data collection items in the format template based on business requirements and device terminal types.

[0030] The format template may include the target data collection item name, data type, byte length, scale factor, offset, etc. The data types supported by the system are shown in the following table: Table 1 Data type description table

[0031] Among them, for numbers with definable length, signed integers and unsigned integers are supported, and unsigned integers are recommended. For target device terminal data in decimal form, in order to ensure that precision is not lost, they can be converted into integers in combination with the scale factor and offset. For target device terminal data in the form of negative integers, they can be converted into positive integers in combination with the offset. The converted target device terminal data is then classified as a conforming integer or an unconforming integer, and then filled into the corresponding format template.

[0032] The formula for converting the target device terminal data in decimal form to an integer is as follows: ; (1-1)

[0033] in, is the converted integer, The target device terminal data in decimal form. is the scale factor, is the offset.

[0034] When business needs change, it is necessary to increase or decrease the target data collection items in the format template. At this time, a new format template will be generated based on the increased or decreased target data collection items, and the new target device terminal data will be collected and filled into the new format template to generate a new data template.

[0035] Each data template has a unique template ID to distinguish different device types and versions. The template ID is automatically generated by the system when the data template is entered into the system to ensure that there will be no number conflicts. The system is designed to support up to 9999 sets of templates, which are numbered with 4 digits, which can provide sufficient expansion space to meet future demand growth.

[0036] It should be noted that when entering data templates into the system, the template information should be ensured to be accurate and necessary format and logic checks should be performed.

[0037] In traditional data collection methods, when business needs change and data collection items need to be increased or decreased, a lot of development and adaptation work needs to be done on the terminal, which not only increases development costs but also affects data collection efficiency. In addition, for different types of device terminals, due to different data collection protocols and formats, traditional data collection methods are often incompatible.

[0038] This embodiment defines the target data collection items in the format template according to business requirements and device terminal types, so that the data template generated thereby meets the current business requirements and device terminal types. When the business requirements change, it can quickly adapt to the changes and generate new data templates. The generation method of the data template is applicable to any type of device terminal, thereby reducing the additional development costs caused by changes in business requirements, improving the efficiency of data collection, and simultaneously improving the device compatibility of data collection.

[0039] In one embodiment, compressing the target device terminal data in the data template to obtain a data packet may include: The organizational structure of the data packet is defined according to each data template, and the target device terminal data in the data template is encrypted and assembled according to the organizational structure using the adaptation layer software to obtain an encrypted data packet.

[0040] Defining the organizational structure of the data packet according to the data template can ensure the integrity and consistency of the data; the organizational structure of the data packet includes key elements such as the data packet length, data template identifier, data field order, timestamp and data packet check field. The introduction of the data packet check field can subsequently verify the integrity of the data packet transmission; on this basis, an error handling mechanism can be introduced to deal with transmission errors. When the data packet check fails or the data format is incorrect, retransmission or error reporting can be performed, and performance optimization can be performed to adapt to the processing capabilities and network environment of different device terminals.

[0041] The organizational structure of the data packet can be shown in the following table: Table 2 Organization structure of data packet

[0042] Among them, BYTE 0 to BYTE 3 are the 1st to 4th bytes of the data packet data, and D0 to D7 are the 1st to 8th bits of each byte.

[0043] BYTE 0 and BYTE 1 are used to indicate the total length of the data packet, which includes the length of the data length field itself; BYTE 2 and BYTE 3 are used to indicate the template identifier, ranging from 0001 to 9999, to ensure that each data template has a unique number; the custom data part is the data item defined by the device terminal according to the corresponding data template, which is a data string formed by splicing the target device terminal data in the corresponding data template. The splicing process needs to ensure that the order, data type and format of each data field are completely consistent with the definition in the data template.

[0044] This embodiment develops adaptation software to enable the device terminal to assemble the target device terminal data in the corresponding template data according to the defined data packet organization structure, and implement the data encoding logic, so that the assembly of the target device terminal data can be adapted to the corresponding type of device terminal and the corresponding business requirements based on the data template, and adapted to the subsequent sending of the data packet, thereby achieving high flexibility and high efficiency in data collection.

[0045] Furthermore, in traditional data collection methods, since the JSON format is transmitted in plain text and lacks encryption measures, the data is easily eavesdropped or tampered with during transmission. This embodiment adopts encryption technology to prevent the data from being eavesdropped or tampered with, thereby enhancing the security of data transmission.

[0046] Figure 3 Schematic diagram of the structure of the device terminal data acquisition system provided in the embodiment of the present application. Figure 3 ,The embodiment of the present application provides a device terminal data collection system, which may include: a device terminal and a server; The device terminals are used for: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is pre-defined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection requirements of the server, the data packet is sent to the server; The server is used to: Receive data packets sent by the device terminal; The data packet is parsed according to the data template corresponding to the data packet to obtain the target device terminal data.

[0047] Reference Figure 3 , the interaction between the device terminal and the server can be simplified as follows: The device terminal assembles the data packet according to the data template and transmits the data packet to the server; The server sends a response to the device terminal and parses the data packet according to the data template.

[0048] Specifically, after the server receives the data packet sent by the device terminal, if the data packet is encrypted, it first decrypts the entire data packet, and then checks the integrity and consistency of the data packet based on the timestamp and check field of the data packet to ensure that the data packet has not been tampered with or damaged during transmission. Then, according to the organizational structure of the data packet, the total length and template identifier of the data packet are read from the data packet; according to the total length and template identifier of the data packet, the custom data part in the data packet is located, and the content of the custom data part is read; according to the template identifier, the corresponding data template is searched and loaded from the system; the custom data part is parsed using the loaded data template, and the data in the custom data part is converted into the target device terminal data according to the format defined in the data template. For example, for the integer data converted by formula (1-1), it is parsed into the original target device terminal data by the following formula: ; Store the parsed target device terminal data in a database or other storage system to ensure that the data storage format meets the requirements of subsequent usage scenarios; set the stored target device terminal data to a queryable state for other modules or services in the system to ensure data access rights and security to prevent unauthorized access.

[0049] The device terminal data collection system provided in this embodiment sets a target collection frequency for the acquisition of target device terminal data, can control the volume and time of the collected data, and the target device terminal data is actual data that does not include redundant key-value pair information. The templated filling and compression of the target device terminal data can improve the data compression capability and further reduce the data volume, thereby reducing the consumption of network bandwidth, traffic and time during data transmission, reducing the occupation of network resources and improving the real-time performance of data collection. At the same time, through the data assembly and analysis based on the data template between the device terminal and the server, the system can respond to changes in business needs more quickly, while maintaining low maintenance costs and high system stability.

[0050] The device terminal data collection apparatus provided in an embodiment of the present application is described below. The device terminal data collection apparatus described below and the device terminal data collection method described above can be referenced to each other.

[0051] Figure 4 Schematic diagram of the structure of the device terminal data acquisition device provided in the embodiment of the present application. Figure 4 , the embodiment of the present application provides a device terminal data collection device, which may include: The target device terminal data acquisition module 401 is used to: acquire the target device terminal data corresponding to the target data acquisition item according to the target acquisition frequency; The data template generating module 402 is used to fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is predefined in the format template; The data packet generating module 403 is used to compress the target device terminal data in the data template to obtain a data packet; The device terminal data collection module 404 is used to send the data packet to the server in response to the collection demand of the server.

[0052] The device terminal data acquisition device provided in this embodiment obtains the target device terminal data corresponding to the target data acquisition item according to the target acquisition frequency, fills the target device terminal data into the corresponding target data acquisition item in the format template, and obtains the data template; the target data acquisition item is pre-defined in the format template, and the target device terminal data in the data template is compressed to obtain a data packet, and the data packet is sent to the server in response to the collection requirements of the server. This embodiment sets a target collection frequency for the acquisition of target device terminal data, which can control the volume and time of collected data, and the target device terminal data is actual data that does not include redundant key-value pair information. Templated filling and compression of the target device terminal data can improve data compression capabilities and further reduce data volume, thereby reducing the consumption of network bandwidth, traffic, and time during data transmission, reducing the occupation of network resources and improving the real-time performance of data acquisition.

[0053] In one embodiment, the target device terminal data acquisition module 401 is specifically used to: Divide the device terminal data into static data and dynamic data; Taking total cost minimization as a goal, determining a first target acquisition frequency of the static data and a second target acquisition frequency of the dynamic data; the total cost includes resource consumption cost and data acquisition cost; If the target device terminal data corresponding to the target data collection item is static data, acquiring the target device terminal data at a first target collection frequency; If the target device terminal data corresponding to the target data collection item is dynamic data, the target device terminal data is acquired at a second target collection frequency.

[0054] In one embodiment, the target data collection item definition module (not shown in the figure) is specifically used to: The target data collection items in the format template are defined according to business requirements and device terminal types.

[0055] In one embodiment, the data packet generation module 403 is specifically configured to: Defining the organizational structure of the data packet according to the data template; The adaptation layer software is used to encrypt and assemble the target device terminal data in the data template according to the organizational structure to obtain an encrypted data packet.

[0056] The device terminal involved in the embodiments of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem, etc. In different systems, the name of the device terminal may also be different. For example, in a 5G system, the device terminal may be called a user equipment (UE).

[0057] Figure 5 is a schematic diagram of the structure of a device terminal according to an embodiment of the present application, referring to Figure 5 , the embodiment of the present application further provides a device terminal, which may include: a memory 510, a transceiver 520 and a processor 530; The memory 510 is used to store computer programs; the transceiver 520 is used to send and receive data under the control of the processor 530; the processor 530 is used to read the computer program in the memory 510 and perform the following operations: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is pre-defined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection demand of the server, the data packet is sent to the server.

[0058] Among them, Figure 5 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 530 and various circuits of memory represented by memory 510 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 520 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 540 may also be an interface capable of externally connecting to the required internal devices.

[0059] The processor 530 is responsible for managing the bus architecture and general processing, and the memory 510 can store data used by the processor 530 when performing operations.

[0060] The processor 530 is used to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions by calling the computer program stored in the memory 510. The processor and the memory may also be arranged physically separately.

[0061] It should be noted here that the device terminal provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0062] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product including a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can perform the steps of the device terminal data collection method provided in the above embodiments, for example, including: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is pre-defined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection demand of the server, the data packet is sent to the server.

[0063] On the other hand, an embodiment of the present application further provides a non-transitory computer-readable storage medium on which a computer program is stored, wherein the computer program is used to enable a processor to execute the steps of the device terminal data collection method provided in the above embodiments, for example, including: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is pre-defined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection demand of the server, the data packet is sent to the server.

[0064] The non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.

[0065] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0066] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A device terminal data collection method, characterized in that: include: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; The target data collection item is predefined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection demand of the server, the data packet is sent to the server.

2. The device terminal data collection method according to claim 1, characterized in that: The step of acquiring target device terminal data corresponding to the target data collection item according to the target collection frequency includes: Divide the device terminal data into static data and dynamic data; Taking total cost minimization as a goal, determining a first target acquisition frequency of the static data and a second target acquisition frequency of the dynamic data; the total cost includes resource consumption cost and data acquisition cost; If the target device terminal data corresponding to the target data collection item is static data, acquiring the target device terminal data at a first target collection frequency; If the target device terminal data corresponding to the target data collection item is dynamic data, the target device terminal data is acquired at a second target collection frequency.

3. The device terminal data collection method according to claim 1, characterized in that: The target data collection items are determined based on the following methods: The target data collection items in the format template are defined according to business requirements and device terminal types.

4. The device terminal data collection method according to claim 1, characterized in that: The step of compressing the target device terminal data in the data template to obtain a data packet includes: Defining the organizational structure of the data packet according to the data template; The adaptation layer software is used to encrypt and assemble the target device terminal data in the data template according to the organizational structure to obtain an encrypted data packet.

5. A device terminal data acquisition system, characterized in that: include: Equipment terminal; The device terminal is used for: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; The target data collection item is predefined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection demand of the server, the data packet is sent to the server.

6. The device terminal data acquisition system according to claim 5, characterized in that: Also includes: Server side; The server is used to: Receiving a data packet sent by the device terminal; The data packet is parsed according to a data template corresponding to the data packet to obtain the target device terminal data.

7. A device terminal data collection device, characterized in that: include: The target device terminal data acquisition module is used to: acquire the target device terminal data corresponding to the target data acquisition item according to the target acquisition frequency; A data template generation module, used to: fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; the target data collection item is pre-defined in the format template; A data packet generating module, used to: compress the target device terminal data in the data template to obtain a data packet; The device terminal data collection module is used to: respond to the collection requirements of the server and send the data packet to the server.

8. A device terminal, characterized in that: include: Memory, transceiver, processor; Memory for storing computer programs; a transceiver, for transmitting and receiving data under the control of the processor; A processor is configured to read the computer program in the memory and perform the following operations: Acquire target device terminal data corresponding to the target data collection item according to the target collection frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain a data template; The target data collection item is predefined in the format template; Compressing the target device terminal data in the data template to obtain a data packet; In response to the collection demand of the server, the data packet is sent to the server.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the device terminal data collection method according to any one of claims 1 to 4 are implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the device terminal data collection method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Data acquisition and analysis method and system based on Internet of Vehicles

    CN117319440A

  • Method and apparatus for task scheduling based on deep reinforcement learning, and device

    US20210081787A1

  • Method and apparatus for acquiring spatial distribution of wi-fi fingerprints, and electronic device

    WO2022016909A1