Device terminal data acquisition method, system and device terminal

By setting a target acquisition frequency and format template to compress data transmission, the problems of network resource consumption and real-time performance in traditional device terminal data acquisition methods are solved, achieving efficient and secure data acquisition.

CN119211280BActive Publication Date: 2026-01-20INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Traditional data acquisition methods for equipment terminals consume a lot of network bandwidth, traffic, and time during data transmission, affecting the real-time performance of data acquisition.

Method used

Data from the device terminal is acquired by setting a target acquisition frequency, filled into the target data acquisition item in the format template, compressed, and then sent to the server to avoid redundant key-value pairs. Encryption technology is used to ensure data security.

Benefits of technology

It reduces data volume, lowers network resource consumption, improves the real-time performance and security of data transmission, adapts to changes in business needs, and reduces development and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211280B_ABST
    Figure CN119211280B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of data collection, and provides a device terminal data collection method, system and device, and a device terminal. The method comprises the following steps: obtaining target device terminal data corresponding to a target data collection item according to a target collection frequency; filling the target device terminal data into a corresponding target data collection item in a format template to obtain a data template; compressing the target device terminal data in the data template to obtain a data packet; and sending the data packet to a server in response to a collection demand of the server. The application sets the target collection frequency, can control the volume and time of collected data, and the target device terminal data is actual data not including redundant key-value pair information. The target device terminal data is filled and compressed in a template, the data volume is further reduced, the consumption of network bandwidth, traffic and time is reduced in the data transmission process, the occupation of network resources is reduced, and the real-time performance of data collection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data collection, in particular to a device terminal data collection method, system and device terminal. BACKGROUND

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

[0003] Traditional device terminal data collection methods usually use JSON format for data transmission, but JSON format data contains redundant key-value pair information, resulting in large data volume, which consumes more network bandwidth, traffic and time during data transmission, resulting in occupation of more network resources and affecting the real-time performance of data collection. SUMMARY

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

[0005] In a first aspect, the embodiments of the present application provide a device terminal data collection method, comprising:

[0006] obtaining target device terminal data corresponding to a target data collection item according to a target collection frequency;

[0007] filling the target device terminal data into the corresponding target data collection item in a format template to obtain a data template; the target data collection item is predefined in the format template;

[0008] compressing the target device terminal data in the data template to obtain a data packet;

[0009] sending the data packet to a server in response to the collection demand of the server.

[0010] In one embodiment, the target device terminal data corresponding to the target data collection item is obtained according to the target collection frequency, comprising:

[0011] dividing device terminal data into static data and dynamic data;

[0012] determine a first target acquisition frequency of the static data and a second target acquisition frequency of the dynamic data with a target of minimizing total cost; the total cost includes resource consumption cost and data acquisition cost;

[0013] if the target device terminal data corresponding to the target data acquisition item is static data, acquire the target device terminal data at a first target acquisition frequency;

[0014] if the target device terminal data corresponding to the target data acquisition item is dynamic data, acquire the target device terminal data at a second target acquisition frequency.

[0015] In one embodiment, the target data acquisition item is determined based on the following manner:

[0016] define the target data acquisition item in the format template according to business requirement and device terminal type.

[0017] In one embodiment, the compression of the target device terminal data in the data template to obtain a data packet includes:

[0018] define an organization structure of the data packet according to the data template;

[0019] encrypt and assemble the target device terminal data in the data template according to the organization structure by using an adaptation layer software to obtain an encrypted data packet.

[0020] In a second aspect, the embodiments of the present application provide a device terminal data acquisition system, comprising: a device terminal;

[0021] the device terminal is configured to:

[0022] acquire target device terminal data corresponding to a target data acquisition item according to a target acquisition frequency;

[0023] fill the target device terminal data into a corresponding target data acquisition item in a format template to obtain a data template; the target data acquisition item is predefined in the format template;

[0024] compress the target device terminal data in the data template to obtain a data packet;

[0025] send the data packet to a server in response to an acquisition requirement of the server.

[0026] In one embodiment, the system further comprises: a server;

[0027] the server is configured to:

[0028] receive the data packet sent by the device terminal;

[0029] According to a data template corresponding to the data packet, the data packet is parsed to obtain the target device terminal data.

[0030] In a third aspect, an embodiment of the present application provides a device terminal data acquisition apparatus, comprising:

[0031] A target device terminal data acquisition module, configured to acquire target device terminal data corresponding to a target data acquisition item according to a target acquisition frequency;

[0032] A data template generation module, configured to fill the target device terminal data into a corresponding target data acquisition item in a format template to obtain a data template; the target data acquisition item is predefined in the format template;

[0033] A data packet generation module, configured to compress the target device terminal data in the data template to obtain a data packet;

[0034] A device terminal data acquisition module, configured to send the data packet to a server in response to an acquisition demand of the server.

[0035] In a fourth aspect, an embodiment of the present application provides a device terminal, comprising a memory, a transceiver and a processor.

[0036] The memory is configured to store a computer program; the transceiver is configured to transceive data under control of the processor; and the processor is configured to read the computer program in the memory and perform the following operations:

[0037] Acquire target device terminal data corresponding to a target data acquisition item according to a target acquisition frequency;

[0038] Fill the target device terminal data into a corresponding target data acquisition item in a format template to obtain a data template; the target data acquisition item is predefined in the format template;

[0039] Compress the target device terminal data in the data template to obtain a data packet;

[0040] Send the data packet to a server in response to an acquisition demand of the server.

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

[0042] 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 acquisition method in the first aspect.

[0043] The device terminal data acquisition method, system and device terminal provided by the present application obtain target device terminal data corresponding to a target data acquisition item according to a target acquisition frequency, fill the target device terminal data into a corresponding target data acquisition item in a format template to obtain a data template, compress the target device terminal data in the data template to obtain a data packet, and send the data packet to a server in response to an acquisition requirement of the server. The present application sets a target acquisition frequency for obtaining target device terminal data, can control the size and time of acquired data, and the target device terminal data is actual data excluding redundant key-value pair information. The template filling and compression of the target device terminal data can improve the data compression capability and further reduce the data size, thereby reducing the consumption of network bandwidth, traffic and time in the data transmission process, reducing the occupation of network resources and improving the real-time performance of data acquisition. BRIEF DESCRIPTION OF DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the present application or the prior art, the drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0045] Figure 1 is one of the flowcharts of the device terminal data acquisition method provided by the embodiments of the present application;

[0046] Figure 2 is the second flowchart of the device terminal data acquisition method provided by the embodiments of the present application;

[0047] Figure 3 is the structural schematic diagram of the device terminal data acquisition system provided by the embodiments of the present application;

[0048] Figure 4 is the structural schematic diagram of the device terminal data acquisition device provided by the embodiments of the present application;

[0049] Figure 5 is the structural schematic diagram of the device terminal provided by the embodiments of the present application. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0051] It should be noted that in the description of the embodiments of the present application, the terms "comprise", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitation, the element defined by the sentence "comprises a" does not exclude the presence of another identical element in the process, method, article or device comprising the element. The terms "upper", "lower" and the like indicate the orientation or positional relationship shown in the drawings, and are only used to facilitate the description of the present application and simplify the description, and do not indicate or imply that the indicated device or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. Unless otherwise specified and limited, the terms "mount", "connect", "connect" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium, or it can be connected internally between two elements. For those of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.

[0052] The terms "first", "second" and the like in the present 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 thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second" and the like are generally of a kind, and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / ", generally means that the front and rear associated objects are in a "or" relationship.

[0053] Figure 1 is one of the flow diagrams of the device terminal data acquisition method provided by the embodiments of the present application. Referring to Figure 1 , the embodiments of the present application provide a device terminal data acquisition method, which can include:

[0054] 101. acquire target device terminal data corresponding to the target data acquisition item according to the target acquisition frequency;

[0055] 102. fill the target device terminal data into the corresponding target data acquisition item in the format template to obtain a data template;

[0056] The target data acquisition item is predefined in the format template.

[0057] 103. compress the target device terminal data in the data template to obtain a data packet;

[0058] 104. send the data packet to the server in response to the acquisition demand of the server.

[0059] In step 101, the business department can be cooperated to collect and understand the business requirements, to clarify the purpose and use of device terminal data acquisition, to analyze the existing device terminal data and potential data sources, to determine which device terminal data is essential to the business process, to focus on analyzing the real-time, accuracy and relevance of the device terminal data, and to determine the target data acquisition item, so as to ensure that the target device terminal data corresponding to the target data acquisition item can meet the specific needs of the business operation.

[0060] The device terminal data acquisition method provided in the embodiment acquires 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 to obtain a data template, and the target data acquisition item is predefined in the format template. 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 demand of the server. The embodiment sets a target acquisition frequency for the acquisition of the target device terminal data, can control the size and time of the acquired data, and the target device terminal data is actual data excluding redundant key-value pair information. The template filling and compression of the target device terminal data can improve the data compression capability, further reduce the data size, thereby reducing the consumption of network bandwidth, traffic and time in the data transmission process, reducing the occupation of network resources and improving the real-time performance of data acquisition.

[0061] Further, the traditional device terminal data acquisition method increases the data storage demand due to the large data size. The embodiment can reduce the data storage demand by reducing the data size.

[0062] Figure 2 is a flowchart of the device terminal data acquisition method provided by the embodiment of the application. Referring to Figure 2 In one embodiment, acquiring target device terminal data corresponding to the target data acquisition item according to the target acquisition frequency can include:

[0063] 201、divide the device terminal data into static data and dynamic data;

[0064] 202、determine a first target collection frequency of the static data and a second target collection frequency of the dynamic data, aiming at minimizing the total cost;

[0065] The total cost includes resource consumption cost and data collection cost;

[0066] 203、if the target device terminal data corresponding to the target data collection item is static data, acquire the target device terminal data at the first target collection frequency;

[0067] 204、if the target device terminal data corresponding to the target data collection item is dynamic data, acquire the target device terminal data at the second target collection frequency.

[0068] In step 202, by evaluating the importance of the static data and the dynamic data to the business and the influence on the business decision, the resource consumption cost and the data collection cost per unit collection frequency of the static data and the dynamic data are determined, and the first target collection frequency of the static data is determined according to the following formula:

[0069]

[0070] wherein, is the total cost, is the resource consumption cost per unit collection frequency of the static data, is the data collection cost per unit collection frequency of the static data, is the first target collection frequency; the second target collection frequency of the dynamic data can be obtained in the same way, which is not described here.

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

[0072] In this embodiment, by dividing the device terminal data into static data and dynamic data, and aiming at the two kinds of data respectively, the optimal collection frequency corresponding to the static data and the dynamic data is obtained based on the resource consumption cost and the data collection cost per unit collection frequency, so as to realize the optimal balance between the real-time data collection and the system resource consumption and the system collection cost.

[0073] In one embodiment, the target data collection item can be determined based on the following way:

[0074] ​According to the business requirements and the terminal type of the equipment, the target data collection item in the format template is defined.

[0075] The target data collection item in the format template can include the target data collection item name, data type, byte length, scale factor, offset, etc. The data types supported by the system can be shown in the following table:

[0076] Table 1: Data type description table

[0077]

[0078] For numbers with definable length, signed and unsigned integers are supported, and unsigned integers are recommended. For decimal form target device terminal data, to ensure accuracy, it can be converted to an integer by combining the scale factor and the offset. For negative integer form target device terminal data, it can be converted to a positive integer by combining the offset, and then the converted target device terminal data is classified as a signed or unsigned integer, and then filled into the corresponding format template.

[0079] The formula for converting decimal form target device terminal data to an integer is as follows:

[0080] (1-1)

[0081] wherein, is the converted integer, is the decimal form target device terminal data, is the scale factor, is the offset.

[0082] When the business requirements change and the target data collection items in the format template need to be added or reduced, a new format template will be generated according to the added or reduced target data collection items, and new target device terminal data will be collected and filled into the new format template to generate a new data template.

[0083] Each data template has a unique template identifier to distinguish different device types and versions. The template identifier is automatically generated by the system when the data template is entered into the system to ensure that there is no numbering conflict. The system is designed to support up to 9999 templates, numbered with 4 digits, which provides enough expansion space to accommodate future demand growth.

[0084] It should be noted that during the data template entry system process, the template information should be accurate and error-free, and necessary format and logic checks should be performed.

[0085] In the traditional data collection method, when the business requirement changes and the data collection item needs to be added or deleted, a large amount of development and adaptation work needs to be performed on the terminal, which not only increases the development cost, but also affects the data collection efficiency. In addition, due to the differences in data collection protocols and formats, the traditional data collection method often cannot be compatible with different types of device terminals.

[0086] The embodiment defines the target data collection item in the format template according to the business requirement and the device terminal type, so that the data template generated therefrom meets the current business requirement and the device terminal type. When the business requirement changes, a new data template can be quickly generated to adapt to the change, and the generation method of the data template is applicable to any type of device terminal, thereby reducing the additional development cost caused by the change of the business requirement, improving the data collection efficiency, and improving the device compatibility of the data collection.

[0087] In one embodiment, the target device terminal data in the data template is compressed to obtain a data packet, which can include:

[0088] According to the organization structure of the data packet defined by each data template, the target device terminal data in the data template is encrypted and assembled by using the adaptation layer software to obtain an encrypted data packet.

[0089] The organization structure of the data packet defined according to the data template can ensure the integrity and consistency of the data. The organization structure of the data packet includes key elements such as data packet length, data template identifier, data field order, timestamp, and data packet verification field. The introduction of the data packet verification field can verify the integrity of the data packet transmission in the subsequent verification. On this basis, an error handling mechanism can be introduced to cope with transmission errors. When the data packet verification 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 capacity of different device terminals and network environment.

[0090] The organization structure of the data packet can be as shown in the following table:

[0091] Table 2 Organization structure of data packet

[0092]

[0093] BYTE 0 to BYTE 3 are the 1st byte to the 4th byte of the data packet data, and D0 to D7 are the 1st bit to the 8th bit of each byte.

[0094] BYTE 0 and BYTE 1 are used to represent 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 represent the template identification, 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 corresponding data template according to the device terminal, which is a data string spliced from 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.

[0095] The embodiment develops adaptive software, so that the device terminal can assemble the target device terminal data in the corresponding template data according to the defined data packet organization structure, realize the coding logic of the data, so that the assembly of the target device terminal data can be based on the data template to adapt to the corresponding type of device terminal and the corresponding business demand, and adapt to the subsequent sending of the data packet, realizing high flexibility and high efficiency of data acquisition.

[0096] Further, in the traditional data acquisition method, since the JSON format is transmitted in plaintext, there is a lack of encryption measures, so that the data is easy to be eavesdropped or tampered with during transmission. The embodiment can prevent data from being eavesdropped or tampered with by using encryption technology, and enhance the security of data transmission.

[0097] Figure 3 is a structural schematic diagram of a device terminal data acquisition system provided by the embodiment of the application. Referring to Figure 3 , the embodiment of the application provides a device terminal data acquisition system, which can include: a device terminal and a server;

[0098] The device terminal is configured to:

[0099] acquire target device terminal data corresponding to the target data acquisition item according to the target acquisition frequency;

[0100] fill the target device terminal data into the corresponding target data acquisition item in the format template to obtain a data template; the target data acquisition item is predefined in the format template;

[0101] compress the target device terminal data in the data template to obtain a data packet;

[0102] send the data packet to the server in response to the acquisition demand of the server;

[0103] The server is configured to:

[0104] receive the data packet sent by the device terminal;

[0105] analyze the data packet according to the data template corresponding to the data packet to obtain target device terminal data.

[0106] Referring to Figure 3 , the interaction between the device terminal and the service end can be simplified as follows:

[0107] The device terminal assembles a data packet according to a data template and transmits the data packet to the service end;

[0108] The service end sends a response to the device terminal and parses the data packet according to the data template.

[0109] Specifically, after the service end receives the data packet sent by the device terminal, if the data packet is encrypted, the entire data packet is first decrypted, and then the integrity and consistency of the data packet are checked according to the timestamp and the check field of the data packet to ensure that the data packet has not been tampered with or damaged in the transmission process. Afterwards, the total length and the template identifier of the data packet are read from the data packet according to the organization structure of the data packet; the custom data part in the data packet is located according to the total length and the template identifier of the data packet, and the content of the custom data part is read; the corresponding data template is found and loaded from the system according to the template identifier; the loaded data template is used to parse the custom data part, and the data of the custom data part is converted into target device terminal data according to the format defined in the data template, for example, for the integer data converted according to formula (1-1), it is parsed into the original target device terminal data through the following formula:

[0110] ;

[0111] The target device terminal data parsed is stored in a database or other storage system to ensure that the storage format of the data meets the requirements of subsequent use scenarios; the stored target device terminal data is set to a queryable state for calling by other modules or services in the system, ensuring the access permission and security of the data and preventing unauthorized access.

[0112] The device terminal data acquisition system provided in this embodiment sets a target acquisition frequency for the acquisition of target device terminal data, can control the volume and time of the acquired data, and the target device terminal data is actual data excluding redundant key-value pair information. The template-based 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 in the data transmission process, reducing the occupation of network resources and improving the real-time performance of data acquisition. At the same time, through the data assembly and parsing of the device terminal and the service end based on the data template, the system can respond more quickly to changes in business requirements while maintaining low maintenance costs and high system stability.

[0113] The device terminal data acquisition apparatus provided by the embodiment of the present application is described below, and the device terminal data acquisition apparatus described below can be correspondingly referred to the device terminal data acquisition method described above.

[0114] Figure 4 FIG. 1 is a structural schematic diagram of the device terminal data acquisition apparatus provided by the embodiment of the present application. Referring to FIG. 1, Figure 4 The embodiment of the present application provides a device terminal data acquisition apparatus, which can include:

[0115] The target device terminal data acquisition module 401 is configured to acquire target device terminal data corresponding to a target data acquisition item according to a target acquisition frequency.

[0116] The data template generation module 402 is configured to fill the target device terminal data into the corresponding target data acquisition item in a format template to obtain a data template; the target data acquisition item is predefined in the format template.

[0117] The data packet generation module 403 is configured to compress the target device terminal data in the data template to obtain a data packet.

[0118] The device terminal data acquisition module 404 is configured to send the data packet to the server in response to the acquisition demand of the server.

[0119] The device terminal data acquisition apparatus provided by the embodiment of the present application acquires target device terminal data corresponding to a target data acquisition item according to a target acquisition frequency, fills the target device terminal data into the corresponding target data acquisition item in a format template to obtain a data template, and compresses the target device terminal data in the data template to obtain a data packet. The target data acquisition item is predefined in the format template. The device terminal data acquisition apparatus sends the data packet to the server in response to the acquisition demand of the server. The embodiment of the present application sets a target acquisition frequency for the acquisition of the target device terminal data, can control the size and time of the acquired data, and the target device terminal data is actual data excluding redundant key-value pair information. The template filling and compression of the target device terminal data can improve the data compression capability, further reduce the data size, thereby reducing the consumption of network bandwidth, traffic and time in the data transmission process, reducing the occupation of network resources and improving the real-time performance of data acquisition.

[0120] In one embodiment, the target device terminal data acquisition module 401 is specifically configured to:

[0121] divide the device terminal data into static data and dynamic data;

[0122] determine a first target collection frequency of the static data and a second target collection frequency of the dynamic data with a target of minimizing total cost; the total cost includes resource consumption cost and data collection cost;

[0123] if the target device terminal data corresponding to the target data collection item is static data, acquire the target device terminal data at a first target collection frequency;

[0124] if the target device terminal data corresponding to the target data collection item is dynamic data, acquire the target device terminal data at a second target collection frequency.

[0125] In one embodiment, a target data collection item definition module (not shown in the figure) is specifically used for:

[0126] defining the target data collection item in the format template according to business requirements and device terminal types.

[0127] In one embodiment, a data packet generation module 403 is specifically used for:

[0128] defining an organization structure of a data packet according to the data template;

[0129] encrypting and assembling target device terminal data in the data template according to the organization structure by using an adaptation layer software to obtain an encrypted data packet.

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

[0131] Figure 5 For a structural schematic diagram of the device terminal according to the embodiments of the present application, refer to Figure 5 The embodiments of the present application also provide a device terminal, which can include a memory 510, a transceiver 520 and a processor 530.

[0132] The memory 510 is used to store a computer program; the transceiver 520 is used to transceive data under the control of the processor 530; and the processor 530 is used to read the computer program in the memory 510 and perform the following operations:

[0133] acquire target device terminal data corresponding to a target data collection item according to a target collection frequency;

[0134] The target device terminal data is filled into the corresponding target data collection item in the format template to obtain the data template; the target data collection item is predefined in the format template.

[0135] The target device terminal data in the data template is compressed to obtain a data packet;

[0136] In response to the server's collection request, the data packet is sent to the server.

[0137] Among them, Figure 5 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 530) and memory (memory 510). The bus architecture can also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 520 can be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium. For different user equipment, the user interface 540 can also be an interface capable of connecting external or internal devices as needed.

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

[0139] The processor 530 executes any of the methods described in the embodiments of this application according to the obtained executable instructions by calling a computer program stored in the memory 510. The processor and the memory may also be physically separated.

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

[0141] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the steps of the device terminal data acquisition method provided in the above embodiments, such as including:

[0142] Obtain the target device terminal data corresponding to the target data collection item based on the target collection frequency;

[0143] 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;

[0144] compress the target device terminal data in the data template to obtain a data packet;

[0145] in response to the collection demand of the server, send the data packet to the server.

[0146] In another aspect, the embodiments of the present application also provide a non-transitory computer readable storage medium having a computer program stored thereon, the computer program being configured to cause a processor to perform the steps of the device terminal data collection method provided by the above-mentioned embodiments, for example comprising:

[0147] obtain target device terminal data corresponding to the target data collection item according to a target collection frequency;

[0148] 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;

[0149] compress the target device terminal data in the data template to obtain a data packet;

[0150] in response to the collection demand of the server, send the data packet to the server.

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

[0152] The device embodiments described above are only schematic, wherein the units shown as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments. Those skilled in the art can understand and implement without creative labor.

[0153] Those skilled in the art can clearly understand the implementation of the various embodiments by means of software and the necessary general hardware platform from the above description of the embodiments, and of course, the embodiments can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part of the prior art that contributes to the technical solutions can be embodied in the form of a software product. The computer software product can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0154] Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for acquiring data from a device terminal, characterized in that, include: Based on the target acquisition frequency, obtain the target device terminal data corresponding to the target data acquisition item, including: The device terminal data is divided into static data and dynamic data; With the goal of minimizing total cost, a first target acquisition frequency for the static data and a second target acquisition frequency for the dynamic data are determined; the total cost includes resource consumption cost and data acquisition cost. If the target device terminal data corresponding to the target data acquisition item is static data, then the target device terminal data is acquired at the first target acquisition frequency; If the target device terminal data corresponding to the target data acquisition item is dynamic data, then the target device terminal data is acquired at the second target acquisition frequency; Fill the target device terminal data into the corresponding target data collection item in the format template to obtain the data template; The target data collection items are determined based on the following method: Define the target data collection items in the format template according to business requirements and device terminal type; The target device terminal data in the data template is compressed to obtain a data packet, including: Define the organization structure of the data packets according to the data template; Using adaptation layer software, the target device terminal data in the data template is encrypted and assembled according to the organizational structure to obtain an encrypted data packet; In response to the server's collection request, the encrypted data packet is sent to the server.

2. A device terminal data acquisition system, characterized in that, include: Equipment terminal; The device terminal is used to execute the device terminal data acquisition method according to claim 1, including: Obtain the target device terminal data corresponding to the target data collection item based on the target collection frequency; The target device terminal data is filled into the corresponding target data collection item in the format template to obtain the data template; the target data collection item is predefined in the format template. The target device terminal data in the data template is compressed to obtain a data packet; In response to the server's collection request, the data packet is sent to the server.

3. The device terminal data acquisition system according to claim 2, characterized in that, Also includes: Server-side; The server is used for: 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.

4. A device terminal data acquisition device, characterized in that, The method for performing the device terminal data acquisition method according to claim 1 includes: 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; The data template generation module is used to: fill the target device terminal data into the corresponding target data collection item in the format template to obtain the data template; the target data collection item is predefined in the format template. The data packet generation module is used to: compress the target device terminal data in the data template to obtain a data packet; The device terminal data acquisition module is used to: send the data packet to the server in response to the server's acquisition request.

5. A device terminal, characterized in that, include: Memory, transceiver, processor; Memory, used to store computer programs; Transceiver, used to send and receive data under the control of the processor; A processor, configured to read a computer program from the memory and execute the device terminal data acquisition method of claim 1, comprising: Obtain the target device terminal data corresponding to the target data collection item based on the target collection frequency; The target device terminal data is filled into the corresponding target data collection item in the format template to obtain the data template; the target data collection item is predefined in the format template. The target device terminal data in the data template is compressed to obtain a data packet; In response to the server's collection request, the data packet is sent to the server.

6. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the device terminal data acquisition method according to claim 1.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the device terminal data acquisition method according to claim 1.

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