CN118568331A - A data communication method and related device - Google Patents

A data communication method and related device Download PDF

Info

Publication number
CN118568331A
CN118568331A CN202411049491.9A CN202411049491A CN118568331A CN 118568331 A CN118568331 A CN 118568331A CN 202411049491 A CN202411049491 A CN 202411049491A CN 118568331 A CN118568331 A CN 118568331A
Authority
CN
China
Prior art keywords
data
target
index information
storage
internet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202411049491.9A
Other languages
Chinese (zh)
Other versions
CN118568331B (en
Inventor
冯国宝
杨建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Huaqi Intelligent Technology Co ltd
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202411049491.9A priority Critical patent/CN118568331B/en
Publication of CN118568331A publication Critical patent/CN118568331A/en
Application granted granted Critical
Publication of CN118568331B publication Critical patent/CN118568331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请公开了一种数据通讯方法和相关装置,该方法包括:获取关联设备采集到的目标数据,将所述目标数据存储至目标存储器;基于所述目标数据,生成数据索引信息;其中,所述数据索引信息基于所述目标数据的存储地址和存储规模确定;将所述数据索引信息发送至所述数据处理服务器,以使得所述数据处理服务器通过所述数据索引信息从所述目标存储器中获取所述目标数据。通过上述方式,本申请能够提高数据通讯的稳定性和安全性。

The present application discloses a data communication method and related devices, the method comprising: obtaining target data collected by an associated device, storing the target data in a target memory; generating data index information based on the target data; wherein the data index information is determined based on the storage address and storage size of the target data; sending the data index information to the data processing server, so that the data processing server obtains the target data from the target memory through the data index information. In the above manner, the present application can improve the stability and security of data communication.

Description

Data communication method and related device
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data communication method and a related device.
Background
In the field of internet of things, an internet of things server is used for collecting target data generated or obtained by different types of equipment in a working process and transmitting the target data to a data processing server so that the data processing server can conduct data analysis. The current common mode is to implement data communication between the data processing server and the internet of things server by setting a corresponding communication protocol. However, in the transmission process, since the internet of things server is only used for data transmission, the data processing server is only used for data reception, so that real-time verification cannot be performed in the data communication process, and data loss is easy to occur.
In view of this, how to propose a data communication method with higher stability and security is a problem to be solved.
Disclosure of Invention
The application mainly solves the technical problem of providing a data communication method and a related device, which can improve the stability and the safety of data communication.
In order to solve the technical problems, the application adopts a technical scheme that: there is provided a data communication method comprising: acquiring target data acquired by associated equipment, and storing the target data into a target memory; generating data index information based on the target data; wherein the data index information is determined based on a storage address and a storage size of the target data; and sending the data index information to a data processing server so that the data processing server acquires the target data from the target memory through the data index information.
In order to solve the technical problems, the application adopts another technical scheme that: there is provided a data communication method comprising: acquiring data index information sent by an Internet of things server and reading permission given by a target memory; the data index information is determined based on target data acquired by the Internet of things server; and extracting the target data matched with the data index information from the target database based on the data index information and the read authority.
In order to solve the technical problems, the application adopts another technical scheme that: there is provided an electronic device comprising a memory and a processor coupled to each other, the memory having stored therein program instructions, the processor being adapted to perform the data communication method mentioned in the above technical solution.
In order to solve the technical problems, the application adopts another technical scheme that: there is provided a storage device storing program instructions executable by a processor for implementing the data communication method mentioned in the above technical solution.
The beneficial effects of the application are as follows: in contrast to the situation in the prior art, in the data communication method provided by the application, after the internet of things server acquires the target data acquired by the associated equipment, the target data is stored in the target memory, and the data index information is generated based on the storage address and the storage scale of the target data in the target memory. And the internet of things server sends the data index information to the data processing server so that the data processing server extracts the target data from the target memory according to the data index information. According to the method, the direct data communication between the Internet of things server and the data processing server is avoided, and the stability and safety of data transmission are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Wherein:
FIG. 1 is a schematic diagram of a data communication system according to an embodiment of the present application;
FIG. 2 is a flow chart of an embodiment of a data communication method according to the present application;
fig. 3 is a flowchart of step S101 in fig. 2 according to another embodiment;
fig. 4 is a flowchart of step S101 in fig. 2 according to another embodiment;
FIG. 5 is a flow chart of another embodiment of the data communication method of the present application;
FIG. 6 is a flow chart of a data communication method according to another embodiment of the present application;
FIG. 7 is a schematic diagram of an embodiment of an electronic device of the present application;
FIG. 8 is a schematic diagram of a memory device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments, and that different embodiments may be adaptively combined. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a data communication system according to an embodiment of the application. As shown in fig. 1, the data communication system includes an internet of things server, a data processing server and a target memory.
Specifically, the internet of things server is used for acquiring target data acquired by the associated equipment and storing the target data into the target memory. The data processing server is used for extracting target data from the target database. The target memory is used for storing target data stored by the Internet of things server.
In an implementation scenario, a serial communication line is provided between the internet of things server and the data processing server, and information related to the target data is transmitted between the internet of things server and the data processing server through the serial communication line. Or in other implementation scenarios, the internet of things server and the data processing server may be integrated into the same server device.
Referring to fig. 2 in conjunction with fig. 1, fig. 2 is a flow chart illustrating an embodiment of a data communication method according to the present application. The implementation method takes the internet of things server in the data communication system as an execution main body, and the implementation process comprises the following steps:
s101: and acquiring target data acquired by the associated equipment, and storing the target data into a target memory.
In one embodiment, in response to the internet of things server being coupled to at least one associated device, the internet of things server obtains target data collected by the associated device and stores the target data to the target memory.
In an implementation scenario, the associated device includes different types of sensors, such as temperature sensors, humidity sensors, or pressure sensors, among others. And responding to the wired connection of the associated equipment and the Internet of things server, and acquiring target data acquired by the associated equipment by the Internet of things server through a connected line. Or the associated device may be other, such as an image acquisition device or a video acquisition device. Or the associated equipment can be other equipment, and the target data is the data generated by the associated equipment in the running process. Optionally, in other implementation scenarios, the internet of things server and the associated device may also be connected wirelessly.
In an implementation scenario, the target memory is a SAS (Serial Attached SCSI) hard disk with a higher transfer rate. An SAS bus is arranged between the Internet of things server and the target memory, so that the Internet of things server stores target data into the target memory through the SAS bus.
In another embodiment, after the obtained target data, the internet of things server adds the matched unique target information to the target data, and stores the target data containing the target information into the target memory.
In an implementation scenario, the target information of the internet of things server is determined based on the IP address of the internet of things server, and is used for distinguishing from other servers. Specifically, the target information is obtained after the IP address of the Internet of things server is encrypted according to a preset encryption mode.
S102: generating data index information based on the target data; wherein the data index information is determined based on the storage address and the storage size of the target data.
In an embodiment, the internet of things server stores the obtained target data in the target memory and generates corresponding data index information according to the target data.
Specifically, a storage address and a storage scale of target data in a target memory are acquired, and the storage address and the storage scale are used as data index information. Wherein the storage scale is used to represent the data size of the target data.
In another embodiment, the generated data index information further includes target information of the internet of things server, that is, when the internet of things server generates the data index information, the encrypted target information of the internet of things server is used as part of the data index information. The target information of the Internet of things server is merged into the data index information, so that verification basis is provided for the subsequent data processing server to extract target data, and the safety of data communication is improved.
S103: the data index information is transmitted to the data processing server so that the data processing server obtains the target data from the target memory through the data index information.
In an embodiment, the internet of things server sends the generated data index information to the data processing server, so that the data processing server obtains the target data from the target memory according to the data index information after obtaining the data index information.
In an implementation scenario, in response to a serial communication line being provided between the internet of things server and the data processing server, the internet of things server sends data index information to the data processing server through a communication protocol matched with the serial communication line.
In another embodiment, the manner in which the internet of things server sends the data index information to the data processing server may be other. For example, the data index information is transmitted to a data processing server or the like through a wireless network.
In yet another embodiment, the internet of things server preferentially determines whether a communication state between the internet of things server and the data processing server is normal before transmitting the data index information to the data processing server. If the data index information is normal, sending the data index information; otherwise, the communication between the data processing server and the data processing server is judged to be interrupted, and the data index information is stopped from being sent.
Specifically, the determining process of the communication state between the internet of things server and the data processing server comprises the following steps: the method comprises the steps that an Internet of things server sends a keep-alive instruction to a data processing server according to a preset mode; for example, keep-alive instructions are sent to the data processing server via the serial communication line every preset time period. And after receiving the keep-alive instruction, the data processing server sends a feedback instruction to the Internet of things server to characterize that the communication state between the Internet of things server and the data processing server is normal. If the data processing server does not send the feedback instruction within the preset time length, the communication between the Internet of things server and the data processing server is interrupted.
According to the data communication method provided by the application, after the target data acquired by the associated equipment is acquired, the Internet of things server stores the target data into the target memory, and generates data index information based on the storage address and the storage scale of the target data in the target memory. And the internet of things server sends the data index information to the data processing server so that the data processing server extracts the target data from the target memory according to the data index information. According to the method, the direct data communication between the Internet of things server and the data processing server is avoided, and the stability and safety of data transmission are improved.
Referring to fig. 3, fig. 3 is a flowchart of step S101 in fig. 2 according to another embodiment. Specifically, after the internet of things server obtains the target data, the specific implementation process of storing the target data into the target memory includes:
S201: and acquiring the storage authority given by the target storage.
In an embodiment, after acquiring the target data, the internet of things server generates a storage request instruction and sends the storage request instruction to the target memory. And responding to the target storage to allow data to be stored and giving the storage authority to the Internet of things server, so that the Internet of things server stores the target data to the target storage according to the storage authority after acquiring the storage authority.
In another embodiment, in order to improve security of the data processing server obtaining the target data from the target memory and prevent other servers from stealing the storage authority to store the target memory in a malignant manner, the storage request instruction generated by the internet of things server includes the target information of the internet of things server. Based on the above, the storage authority generated by the target storage according to the storage request instruction includes encrypted authentication information, and when the internet of things server stores target data according to the storage authority, the target storage verifies whether the authentication information in the storage authority provided by the internet of things server is matched with the target information of the internet of things server. If the target data is matched with the target storage, the Internet of things server successfully stores the target data into the target storage; otherwise, the storage fails. The process of obtaining the target information of the internet of things server may refer to the corresponding embodiment, which is not described in detail herein.
S202: the target data is stored to the target memory based on the storage rights.
In an embodiment, according to the obtained storage authority, the internet of things server stores the target data into the target memory.
In another embodiment, in response to the target memory including a plurality of memory modules, the storage authority further includes a recommended address, where the recommended address is determined according to the storage condition of different memory modules in the target memory. And the internet of things server stores the target data into the target memory according to the recommended address in the storage authority so as to improve the data storage balance in the target memory.
In a specific embodiment, according to the storage conditions of different storage modules, the storage module with the larger remaining storage space is preferentially used as the recommended address. Or ordering all the storage modules in the target memory according to the sequence of the residual storage space from large to small, and taking the obtained storage module sequence as a recommended address, so that the internet of things server sequentially stores target data or data blocks obtained by splitting the target data into corresponding storage modules according to the storage module sequence.
Referring to fig. 4 in conjunction with fig. 1, fig. 4 is a flow chart corresponding to step S101 in fig. 2 according to another embodiment. Specifically, in response to the target memory including a plurality of storage modules, the implementation of storing the target data in the target memory in any of the above embodiments may further include:
S301: and splitting the target data into a plurality of data blocks and checking information matched with the plurality of data blocks.
In one embodiment, the target data is split into a plurality of data blocks and verification information that matches the plurality of data blocks. The verification information is used for representing the association relation among the plurality of data blocks, and the residual data blocks can be verified and recovered through the verification information and part of the data blocks. The target data is split into a plurality of data blocks and verification information, so that the safety of target data storage is improved.
In an implementation scenario, the check information may be a hamming code.
S302: and storing all the data blocks and the verification information into different storage modules.
In one embodiment, in response to the target memory including a plurality of storage modules, all data blocks and verification information corresponding to the target data are stored to different storage modules.
In another embodiment, the data blocks are preferentially stored in the memory modules with larger remaining memory space according to the remaining memory space of each memory module in the target memory.
According to the scheme, the data blocks corresponding to the target data and the verification information are stored in different storage modules in the target memory, so that when part of the data blocks are lost or part of the storage modules in the target memory are damaged to cause the loss of part of the data blocks, the lost data blocks can be recovered according to the residual data blocks and the verification information, and the safety of the target data storage is improved.
Further, after storing all the data blocks and the verification information in different storage modules, the method further comprises: and acquiring the reference information respectively matched with the data block and the verification information. And determining data index information based on the reference information respectively corresponding to the data block and the check information. Wherein the reference information includes at least one of a memory address and a memory size.
Specifically, a storage address and a storage scale of each data block in a target memory are obtained, and the storage address and the storage scale are used as reference information of the corresponding data block; similarly, the storage address and storage scale of the verification information in the target memory are obtained and used as the reference information corresponding to the verification information. And respectively matching all the data blocks corresponding to the target data with the check information to serve as data index information, so that the subsequent data processing server extracts all the data blocks and the check information from the target memory according to the data index information.
Referring to fig. 5, fig. 5 is a flow chart of another embodiment of the data communication method according to the present application. The implementation method takes a data processing server in a data communication system as an execution main body, and the implementation process comprises the following steps:
s401: acquiring data index information sent by an Internet of things server and reading permission given by a target memory; the data index information is determined based on target data acquired by the Internet of things server.
In an embodiment, the data processing server obtains data index information sent by the internet of things server, generates a read request instruction according to the data index information, and sends the read request instruction to the target memory. And responding to the target memory to allow the data to be read and endowing the data processing server with read authority, so that the data processing server extracts the target data from the target memory according to the read authority and the data index information after acquiring the read authority. The data index information is determined based on the target data acquired by the internet of things server, and the specific generation process may refer to the corresponding embodiment, which is not described in detail herein.
In an implementation scenario, in response to a serial communication line being provided between the data processing server and the internet of things server, the data processing server obtains data index information sent by the internet of things server through the serial communication line.
In another embodiment, in response to the data index information further including the target information, the data processing server generates a read request instruction according to the target information therein after acquiring the data index information, and sends the read request instruction to the target memory. After the target memory acquires the reading request instruction, the data processing server is endowed with corresponding reading authority according to the target information in the target memory. The read authority only supports the data processing server to read the target data stored by the Internet of things server matched with the corresponding target information, so that the safety of other data stored in the target memory is ensured.
S402: and extracting target data matched with the data index information from the target database based on the data index information and the read authority.
In one embodiment, the data processing server extracts the matched target data from the target database according to the acquired data index information and the read authority.
Specifically, in response to the data index information including the storage address and the storage size to which the target data matches, the target data is acquired from the target memory based on the read authority, the storage address, and the storage size.
In another embodiment, in response to the target data being split into a plurality of data blocks and verification information matched with the plurality of data blocks, and the obtained data index information includes reference information matched with the data blocks and reference information matched with the verification information, the data processing server obtains all the data blocks and the verification information from different storage modules of the target memory according to the reference information in the data index information, and obtains the target data according to all the data blocks and the verification information. The splitting process of the target data may refer to the corresponding embodiment, and will not be described in detail herein.
In an implementation scenario, after the data processing server obtains all the corresponding data blocks and the verification information according to the data index information, the verification information is utilized to verify all the data blocks so as to determine whether a data bit error occurs in the data blocks. If the data bit errors occur, the data processing server corrects the data in the corresponding data blocks according to the verification information, and obtains target data according to all corrected data blocks.
Further, after the data processing server extracts the target data, the target data is processed and analyzed. The processing and analyzing modes include, but are not limited to, operation and maintenance management of data, equipment operation state analysis and the like.
Referring to fig. 6, fig. 6 is a flow chart illustrating an embodiment of a data communication method according to the present application. In order to facilitate understanding of the data communication method provided by the application, the data communication method is described by combining the angles of the internet of things server and the data processing server, and the specific implementation process comprises the following steps:
s501: the internet of things server acquires target data acquired by the associated equipment and stores the target data into the target memory.
In one embodiment, in response to the internet of things server being coupled to at least one associated device, the internet of things server obtains target data collected by the associated device and stores the target data to the target memory.
The specific process of obtaining the target data by the internet of things server and the specific storage process of the target data may refer to the above corresponding embodiments, and will not be described herein.
S502: the Internet of things server generates data index information based on the target data and sends the data index information to the data processing server; wherein the data index information is determined based on the storage address and the storage size of the target data.
In an embodiment, the internet of things server stores the obtained target data in the target memory, and determines a storage address and a storage scale of the target data in the target memory, and uses the storage address and the storage scale as the data index information. Wherein the storage scale is used to represent the data size of the target data.
Further, the internet of things server sends the generated data index information to the data processing server. The generation process and the transmission process of the data index information can refer to the corresponding embodiments.
S503: the data processing server acquires the data index information sent by the Internet of things server and the reading authority given by the target memory.
In an embodiment, the data processing server obtains data index information sent by the internet of things server, generates a read request instruction according to the data index information, and sends the read request instruction to the target memory. In response to the target memory allowing the data to be read, the data processing server is given read rights.
S504: the data processing server extracts target data matching the data index information from the target database based on the data index information and the read authority.
In one embodiment, in response to the data index information including a storage address and a storage size to which the target data matches, the data processing server retrieves the target data from the target memory according to the storage address and the storage size.
Further, the data processing server performs data processing and analysis of specific tasks according to the acquired target data.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the application. The electronic device includes: a memory 10 and a processor 20 coupled to each other. The memory 10 has stored therein program instructions, and the processor 20 is configured to execute the program instructions to implement the data communication method according to any of the above embodiments. Specifically, the electronic device includes, but is not limited to: desktop computers, notebook computers, tablet computers, servers, etc., are not limited herein. Processor 20 may also be referred to as a CPU (Center Processing Unit, central processing unit). The processor 20 may be an integrated circuit chip having signal processing capabilities. The Processor 20 may also be a general purpose Processor, a digital signal Processor (DIGITAL SIGNAL Processor, DSP), an Application SPECIFIC INTEGRATED Circuit (ASIC), a Field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 20 may be commonly implemented by an integrated circuit chip.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an embodiment of a storage device according to the present application, where the storage device 30 stores program instructions 40 that can be executed by a processor, and the program instructions 40 implement the data communication method according to any of the above embodiments when executed by the processor.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical, or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description is only of embodiments of the present application, and is not intended to limit the scope of the application, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present application or directly or indirectly applied to other related technical fields are included in the scope of the present application.

Claims (10)

1.一种数据通讯方法,其特征在于,包括:1. A data communication method, comprising: 获取关联设备采集到的目标数据,将所述目标数据存储至目标存储器;Acquire target data collected by the associated device, and store the target data in a target memory; 基于所述目标数据,生成数据索引信息;其中,所述数据索引信息基于所述目标数据的存储地址和存储规模确定;Based on the target data, generate data index information; wherein the data index information is determined based on the storage address and storage size of the target data; 将所述数据索引信息发送至数据处理服务器,以使得所述数据处理服务器通过所述数据索引信息从所述目标存储器中获取所述目标数据。The data index information is sent to a data processing server, so that the data processing server obtains the target data from the target storage through the data index information. 2.根据权利要求1所述的方法,其特征在于,所述将所述目标数据存储至目标存储器,包括:2. The method according to claim 1, wherein storing the target data into a target memory comprises: 获取所述目标存储器赋予的存储权限;Obtaining storage permissions granted by the target storage; 基于所述存储权限,将所述目标数据存储至所述目标存储器。Based on the storage permission, the target data is stored in the target storage. 3.根据权利要求1所述的方法,其特征在于,响应于所述目标存储器包括多个存储模块,所述将所述目标数据存储至目标存储器,包括:3. The method according to claim 1, characterized in that, in response to the target memory comprising a plurality of storage modules, storing the target data into the target memory comprises: 将所述目标数据拆分为多个数据块以及与多个所述数据块匹配的校验信息;Splitting the target data into a plurality of data blocks and verification information matching the plurality of data blocks; 将所有所述数据块和所述校验信息存储至不同所述存储模块。All the data blocks and the verification information are stored in different storage modules. 4.根据权利要求3所述的方法,其特征在于,所述基于所述目标数据,生成数据索引信息,包括:4. The method according to claim 3, characterized in that the step of generating data index information based on the target data comprises: 获取所述数据块和所述校验信息分别匹配的参考信息;其中,所述参考信息包括存储地址和存储规模中的至少一种;Acquire reference information that matches the data block and the verification information respectively; wherein the reference information includes at least one of a storage address and a storage size; 基于所述数据块和所述校验信息分别对应的所述参考信息,确定所述数据索引信息。The data index information is determined based on the reference information respectively corresponding to the data block and the verification information. 5.根据权利要求1所述的方法,其特征在于,所述将所述数据索引信息发送至数据处理服务器,包括:5. The method according to claim 1, characterized in that sending the data index information to a data processing server comprises: 响应于物联网服务器与所述数据处理服务器之间设置有串口通信线路,将所述数据索引信息通过所述串口通信线路发送至所述数据处理服务器。In response to a serial communication line being set between the Internet of Things server and the data processing server, the data index information is sent to the data processing server through the serial communication line. 6.一种数据通讯方法,其特征在于,包括:6. A data communication method, comprising: 获取物联网服务器发送的数据索引信息以及目标存储器赋予的读取权限;其中,所述数据索引信息基于所述物联网服务器获取到的目标数据确定;Obtaining data index information sent by the Internet of Things server and the read permission granted by the target storage; wherein the data index information is determined based on the target data obtained by the Internet of Things server; 基于所述数据索引信息和所述读取权限,从所述目标数据库中提取与所述数据索引信息匹配的所述目标数据。Based on the data index information and the read permission, the target data matching the data index information is extracted from the target database. 7.根据权利要求6所述的方法,其特征在于,所述基于所述数据索引信息和所述读取权限,从所述目标数据库中提取与所述数据索引信息匹配的所述目标数据,包括:7. The method according to claim 6, characterized in that extracting the target data matching the data index information from the target database based on the data index information and the read permission comprises: 响应于所述数据索引信息包括所述目标数据匹配的存储地址和存储规模,基于所述读取权限、所述存储地址和所述存储规模,从所述目标存储器中获取所述目标数据。In response to the data index information including a storage address and a storage size matching the target data, the target data is acquired from the target storage based on the read permission, the storage address and the storage size. 8.根据权利要求6所述的方法,其特征在于,所述获取物联网服务器发送的数据索引信息,包括:8. The method according to claim 6, characterized in that the step of obtaining the data index information sent by the Internet of Things server comprises: 响应于数据处理服务器与所述物联网服务器之间设置有串口通信线路,通过所述串口通信线路获取所述物联网服务器发送的所述数据索引信息。In response to a serial communication line being provided between the data processing server and the Internet of Things server, the data index information sent by the Internet of Things server is acquired through the serial communication line. 9.一种电子设备,其特征在于,包括相互耦接的存储器和处理器,所述存储器中存储有程序指令,所述处理器用于执行所述程序指令以实现权利要求1-8中任一项所述的数据通讯方法。9. An electronic device, characterized in that it comprises a memory and a processor coupled to each other, wherein the memory stores program instructions, and the processor is used to execute the program instructions to implement the data communication method according to any one of claims 1 to 8. 10.一种存储装置,其特征在于,存储有能够被处理器运行的程序指令,所述程序指令用于实现权利要求1-8中任一项所述的数据通讯方法。10. A storage device, characterized in that it stores program instructions that can be executed by a processor, wherein the program instructions are used to implement the data communication method according to any one of claims 1 to 8.
CN202411049491.9A 2024-08-01 2024-08-01 Data communication method and related device Active CN118568331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411049491.9A CN118568331B (en) 2024-08-01 2024-08-01 Data communication method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411049491.9A CN118568331B (en) 2024-08-01 2024-08-01 Data communication method and related device

Publications (2)

Publication Number Publication Date
CN118568331A true CN118568331A (en) 2024-08-30
CN118568331B CN118568331B (en) 2024-12-17

Family

ID=92476785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411049491.9A Active CN118568331B (en) 2024-08-01 2024-08-01 Data communication method and related device

Country Status (1)

Country Link
CN (1) CN118568331B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472963A (en) * 2002-07-30 2004-02-04 深圳市中兴通讯股份有限公司 Distributive video interactive system and its data recording and accessing method
CN107092437A (en) * 2016-02-17 2017-08-25 杭州海康威视数字技术股份有限公司 Data write-in, read method and device, cloud storage system
CN111949479A (en) * 2020-07-31 2020-11-17 中国工商银行股份有限公司 Interactive system and method and equipment for determining index creation condition
CN113032814A (en) * 2021-04-28 2021-06-25 华南理工大学 Internet of things data management method and system
CN113473166A (en) * 2021-06-30 2021-10-01 杭州海康威视系统技术有限公司 Data storage system and method
CN114006928A (en) * 2021-11-04 2022-02-01 深圳市骏嘉科技发展有限公司 An IoT data processing method based on multi-protocol real-time communication
CN114327239A (en) * 2020-09-27 2022-04-12 伊姆西Ip控股有限责任公司 Method, electronic device and computer program product for storing and accessing data
WO2022246727A1 (en) * 2021-05-27 2022-12-01 华为技术有限公司 Data processing apparatus and data processing method
CN115967522A (en) * 2022-09-26 2023-04-14 中国建设银行股份有限公司 A data processing method, device, equipment and storage medium
CN118012865A (en) * 2024-01-18 2024-05-10 珠海剑心互动娱乐有限公司 Configuration data acquisition method, device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472963A (en) * 2002-07-30 2004-02-04 深圳市中兴通讯股份有限公司 Distributive video interactive system and its data recording and accessing method
CN107092437A (en) * 2016-02-17 2017-08-25 杭州海康威视数字技术股份有限公司 Data write-in, read method and device, cloud storage system
CN111949479A (en) * 2020-07-31 2020-11-17 中国工商银行股份有限公司 Interactive system and method and equipment for determining index creation condition
CN114327239A (en) * 2020-09-27 2022-04-12 伊姆西Ip控股有限责任公司 Method, electronic device and computer program product for storing and accessing data
CN113032814A (en) * 2021-04-28 2021-06-25 华南理工大学 Internet of things data management method and system
WO2022246727A1 (en) * 2021-05-27 2022-12-01 华为技术有限公司 Data processing apparatus and data processing method
CN113473166A (en) * 2021-06-30 2021-10-01 杭州海康威视系统技术有限公司 Data storage system and method
CN114006928A (en) * 2021-11-04 2022-02-01 深圳市骏嘉科技发展有限公司 An IoT data processing method based on multi-protocol real-time communication
CN115967522A (en) * 2022-09-26 2023-04-14 中国建设银行股份有限公司 A data processing method, device, equipment and storage medium
CN118012865A (en) * 2024-01-18 2024-05-10 珠海剑心互动娱乐有限公司 Configuration data acquisition method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN118568331B (en) 2024-12-17

Similar Documents

Publication Publication Date Title
US11501533B2 (en) Media authentication using distributed ledger
US10904320B1 (en) Performance testing in a distributed storage network based on memory type
US10355865B1 (en) Systems and techniques for certification of trusted media data
CN110764807B (en) An upgrade method, system, server and terminal device
CN110427785B (en) Equipment fingerprint acquisition method and device, storage medium and electronic device
CN108923908B (en) Authorization processing method, device, equipment and storage medium
KR101948721B1 (en) Method and apparatus for examining forgery of file by using file hash value
CN111984726A (en) Storage and distributed database of measurement datasets
KR20170101127A (en) Information processing apparatus, information processing system, information processing method, and computer program
CN106549750A (en) Computer-implemented method, system using same, and computer program product
CN111193817B (en) Method and device for automatically registering equipment serial number, computer equipment and storage medium
CN110362427A (en) A kind of image file processing method, system, BMC and readable storage medium
CN108073351A (en) The date storage method and credible chip of nonvolatile storage space in chip
US20210067323A1 (en) Method and Apparatus for Ensuring Integrity of Keys in a Secure Enterprise Key Manager Solution
CN103971063A (en) Transfer medium for security-critical medical image contents
CN113448817A (en) Page screen recording method and device and storage medium
CN113704700B (en) Software authorization method, device, system, electronic device and medium
US11063915B1 (en) Cluster of network-attachable storage devices with cluster manifest
CN109309655B (en) Stateless communication security signature method, terminal and server
CN110545542A (en) Main control key downloading method and device based on asymmetric encryption algorithm and computer equipment
JP2011253511A (en) Information generation system and method thereof
CN113872769A (en) PUF-based device authentication method and device, computer device and storage medium
CN118568331B (en) Data communication method and related device
CN114692037A (en) Form data processing method and device, storage medium and electronic equipment
CN108322420A (en) The detection method and device of backdoor file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250929

Address after: 310052 Zhejiang Province, Hangzhou City, Binjiang District, Leye Road 580, Building 1, 15th Floor

Patentee after: Zhejiang Huaqi Intelligent Technology Co.,Ltd.

Country or region after: China

Patentee after: ZHEJIANG DAHUA TECHNOLOGY Co.,Ltd.

Address before: No.1187 Bin'an Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: ZHEJIANG DAHUA TECHNOLOGY Co.,Ltd.

Country or region before: China