+

CN115348045A - Data transmission method, data transmission device and storage medium - Google Patents

Data transmission method, data transmission device and storage medium Download PDF

Info

Publication number
CN115348045A
CN115348045A CN202110522287.4A CN202110522287A CN115348045A CN 115348045 A CN115348045 A CN 115348045A CN 202110522287 A CN202110522287 A CN 202110522287A CN 115348045 A CN115348045 A CN 115348045A
Authority
CN
China
Prior art keywords
data
encryption
hardware entity
hardware
data transmission
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
CN202110522287.4A
Other languages
Chinese (zh)
Other versions
CN115348045B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110522287.4A priority Critical patent/CN115348045B/en
Publication of CN115348045A publication Critical patent/CN115348045A/en
Application granted granted Critical
Publication of CN115348045B publication Critical patent/CN115348045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present disclosure relates to a data transmission method, a data transmission apparatus, and a storage medium. The data transmission method is applied to the cloud terminal and comprises the following steps: determining a data encryption type of data transmitted to a cloud server by a cloud terminal, wherein the data encryption type is used for indicating an encryption hardware entity for encrypting the data; the encryption hardware entity is at least one hardware entity randomly selected from hardware entities for transmitting data between the cloud terminal and the cloud server; and encrypting the data based on the encryption hardware entity indicated by the data encryption type, and transmitting the encrypted data to the cloud server. According to the embodiment of the disclosure, in the hardware entity for transmitting data between the cloud terminal and the cloud server, the encryption hardware entity for encrypting the data is determined based on the data encryption type, the data is encrypted based on the encryption hardware entity, and the encrypted data is transmitted to the cloud server, so that when the cloud terminal transmits the data to the cloud server, the encryption hardware is utilized for encryption, the hardware-level encryption is realized, and the data use safety is ensured.

Description

数据传输方法、数据传输装置及存储介质Data transmission method, data transmission device and storage medium

技术领域technical field

本公开涉及终端技术领域,尤其涉及数据传输方法、数据传输装置及存储介质。The present disclosure relates to the technical field of terminals, and in particular, to a data transmission method, a data transmission device, and a storage medium.

背景技术Background technique

随着科学技术的飞速发展,移动终端也出现不同形态,云终端也随之诞生。云终端体型轻便,形态趋于轻薄化、透明化。云终端在使用中,本身不进行计算存储,将计算、存储、控制等计算较为重的任务放置在云端进行处理,云终端显示的系统和数据通过云端进行确定,云终端仅仅起到连接、显示作用。云终端它通过协议连接云端服务器后,可以达到同样的使用效果,满足用户多种需求。With the rapid development of science and technology, mobile terminals also appear in different forms, and cloud terminals are also born. The cloud terminal is light in size, and its shape tends to be thinner and more transparent. When the cloud terminal is in use, it does not perform calculation and storage itself, and places calculation, storage, control and other computationally heavy tasks on the cloud for processing. The system and data displayed by the cloud terminal are determined through the cloud, and the cloud terminal only serves to connect and display effect. After the cloud terminal is connected to the cloud server through the protocol, it can achieve the same use effect and meet the various needs of users.

云终端与云端的通信需要网络的参与,通信时数据传输安全成为备受瞩目的重要问题。The communication between the cloud terminal and the cloud requires the participation of the network, and the security of data transmission during communication has become an important issue that has attracted much attention.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供数据传输方法、数据传输装置及存储介质。In order to overcome the problems existing in related technologies, the present disclosure provides a data transmission method, a data transmission device and a storage medium.

根据本公开实施例的第一方面,提供一种数据传输方法,应用于云终端,所述数据传输方法包括:确定所述云终端向云端服务器传输数据的数据加密类型,所述数据加密类型用于指示对所述数据进行加密的加密硬件实体;所述加密硬件实体为在所述云终端与所述云端服务器之间传输所述数据的硬件实体中随机选择的至少一个硬件实体;基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密,并将加密后的数据传输至所述云端服务器。According to the first aspect of the embodiments of the present disclosure, there is provided a data transmission method applied to a cloud terminal, the data transmission method includes: determining the data encryption type for the cloud terminal to transmit data to the cloud server, and the data encryption type is used An encryption hardware entity indicating to encrypt the data; the encryption hardware entity is at least one randomly selected hardware entity among the hardware entities transmitting the data between the cloud terminal and the cloud server; based on the The encryption hardware entity indicated by the data encryption type encrypts the data, and transmits the encrypted data to the cloud server.

在一实施例中,基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密,包括:若所述加密硬件实体包括时钟电路,则确定所述时钟电路产生的时钟信号,以及所述时钟信号所控制的硬件实体中传输的数据;通过调整时钟信号与硬件实体中传输的数据比特位个数之间的对应关系,对所述时钟信号所控制的硬件实体中传输的数据进行加密;其中,所述对应关系包括一个时钟信号传输一个或多个比特位的数据;所述时钟信号所控制的硬件实体包括信源接收器、编码器、调制器以及变频器中的一个或多个。In an embodiment, encrypting the data based on the encryption hardware entity indicated by the data encryption type includes: if the encryption hardware entity includes a clock circuit, determining a clock signal generated by the clock circuit, and The data transmitted in the hardware entity controlled by the clock signal; by adjusting the corresponding relationship between the clock signal and the number of data bits transmitted in the hardware entity, the data transmitted in the hardware entity controlled by the clock signal Encryption; wherein, the corresponding relationship includes a clock signal to transmit one or more bits of data; the hardware entity controlled by the clock signal includes one or more of a source receiver, an encoder, a modulator, and a frequency converter indivual.

在一实施例中,基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密,包括:若所述加密硬件实体包括信源接收器以及编码器,则确定信源接收器接收到的信源信号;在信源编码过程中,通过调整数据电平的高低、信号沿的跳变、上升沿与下降沿、比特位代表的物理信息以及比特位压缩信息中的至少一项,对所述信源信号进行编码加密。In an embodiment, encrypting the data based on the encryption hardware entity indicated by the data encryption type includes: if the encryption hardware entity includes a source receiver and an encoder, determining that the source receiver receives In the process of source coding, by adjusting at least one of the data level level, signal edge transition, rising edge and falling edge, physical information represented by bits, and bit compressed information, Encoding and encryption is performed on the source signal.

在一实施例中,数据传输方法还包括:在对所述信源信号进行加密过程中,采用抗干扰能力编码进行编码。In an embodiment, the data transmission method further includes: in the process of encrypting the source signal, encoding by using anti-interference capability encoding.

在一实施例中,基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密,包括:若所述加密硬件实体包括调制器,则确定所述调制器在数字调制过程中采用的调制方式;将所述调制方式对应的编号信息添加调制的数据信息中,并在模拟调制过程中基于所述编号信息确定采用的调制方式,采用与数字调制过程中相同的调制方式进行模拟调制。In an embodiment, encrypting the data based on the encryption hardware entity indicated by the data encryption type includes: if the encryption hardware entity includes a modulator, determining that the modulator uses Modulation method; add the number information corresponding to the modulation method to the modulated data information, and determine the modulation method based on the number information in the analog modulation process, and use the same modulation method as in the digital modulation process for analog modulation .

在一实施例中,确定所述云终端向云端服务器传输数据的数据加密类型,包括:基于待传输数据的安全等级,确定匹配所述安全等级的数据加密类型;其中,不同的数据加密类型对应的加密硬件实体不同,和/或同一加密硬件实体采用的加密方式不同;不同的安全等级对应不同的数据加密类型。In one embodiment, determining the data encryption type for the cloud terminal to transmit data to the cloud server includes: determining a data encryption type that matches the security level based on the security level of the data to be transmitted; where different data encryption types correspond to Different encryption hardware entities, and/or different encryption methods used by the same encryption hardware entity; different security levels correspond to different data encryption types.

根据本公开实施例的第二方面,提供一种数据传输装置,应用于云终端,所述数据传输装置包括:确定模块,用于确定所述云终端向云端服务器传输数据的数据加密类型,所述数据加密类型用于指示对所述数据进行加密的加密硬件实体,所述加密硬件实体为在所述云终端与所述云端服务器之间传输所述数据的硬件实体中随机选择的至少一个硬件实体;控制模块,用于基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密;传输模块,用于将加密后的数据传输至所述云端服务器。According to the second aspect of the embodiments of the present disclosure, a data transmission device is provided, which is applied to a cloud terminal, and the data transmission device includes: a determination module, configured to determine the data encryption type for the cloud terminal to transmit data to the cloud server, the The data encryption type is used to indicate an encryption hardware entity that encrypts the data, and the encryption hardware entity is at least one randomly selected hardware entity among the hardware entities that transmit the data between the cloud terminal and the cloud server An entity; a control module, configured to encrypt the data based on the encryption hardware entity indicated by the data encryption type; a transmission module, configured to transmit the encrypted data to the cloud server.

在一实施例中,所述控制模块采用如下方式基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密:当所述加密硬件实体包括时钟电路时,确定所述时钟电路产生的时钟信号,以及所述时钟信号所控制的硬件实体中传输的数据;通过调整时钟信号与硬件实体中传输的数据比特位个数之间的对应关系,对所述时钟信号所控制的硬件实体中传输的数据进行加密;其中,所述对应关系包括一个时钟信号传输一个或多个比特位的数据;所述时钟信号所控制的硬件实体包括信源接收器、编码器、调制器以及变频器中的一个或多个。In an embodiment, the control module encrypts the data based on the encryption hardware entity indicated by the data encryption type in the following manner: when the encryption hardware entity includes a clock circuit, it is determined that the clock circuit generates clock signal, and the data transmitted in the hardware entity controlled by the clock signal; by adjusting the corresponding relationship between the clock signal and the number of data bits transmitted in the hardware entity, the hardware entity controlled by the clock signal The data transmitted in the system is encrypted; wherein, the correspondence includes a clock signal to transmit one or more bits of data; the hardware entities controlled by the clock signal include a source receiver, an encoder, a modulator, and a frequency converter one or more of the .

在一实施例中,所述控制模块采用如下方式基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密:当所述加密硬件实体包括信源接收器以及编码器时,确定信源接收器接收到的信源信号;在信源编码过程中,通过调整数据电平的高低、信号沿的跳变、上升沿与下降沿、比特位代表的物理信息以及比特位压缩信息中的至少一项,对所述信源信号进行编码加密。In an embodiment, the control module encrypts the data based on the encryption hardware entity indicated by the data encryption type in the following manner: when the encryption hardware entity includes a source receiver and an encoder, determine The source signal received by the source receiver; in the process of source coding, by adjusting the level of the data level, the jump of the signal edge, the rising edge and the falling edge, the physical information represented by the bit and the compressed information of the bit At least one item of the source signal is coded and encrypted.

在一实施例中,所述控制模块还用于:在对所述信源信号进行加密过程中,采用抗干扰能力编码进行编码。In an embodiment, the control module is further configured to: in the process of encrypting the source signal, use anti-jamming capability coding for coding.

在一实施例中,所述控制模块采用如下方式基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密:当所述加密硬件实体包括调制器时,确定所述调制器在数字调制过程中采用的调制方式;将所述调制方式对应的编号信息添加调制的数据信息中,并在模拟调制过程中基于所述编号信息确定采用的调制方式,采用与数字调制过程中相同的调制方式进行模拟调制。In an embodiment, the control module encrypts the data based on the encryption hardware entity indicated by the data encryption type in the following manner: when the encryption hardware entity includes a modulator, it is determined that the modulator is The modulation method used in the digital modulation process; the number information corresponding to the modulation method is added to the modulated data information, and the modulation method used is determined based on the number information in the analog modulation process, using the same method as in the digital modulation process The modulation method performs analog modulation.

在一实施例中,所述确定模块采用如下方式确定所述云终端向云端服务器传输数据的数据加密类型:基于待传输数据的安全等级,确定匹配所述安全等级的数据加密类型;其中,不同的数据加密类型对应的加密硬件实体不同,和/或同一加密硬件实体采用的加密方式不同;不同的安全等级对应不同的数据加密类型。In one embodiment, the determination module determines the data encryption type for data transmission from the cloud terminal to the cloud server in the following manner: based on the security level of the data to be transmitted, determine the data encryption type that matches the security level; wherein, different The data encryption types correspond to different encryption hardware entities, and/or the same encryption hardware entity adopts different encryption methods; different security levels correspond to different data encryption types.

根据本公开实施例的第三方面,提供一种数据传输装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,处理器被配置为:执行前述任意一项所述的数据传输方法。According to a third aspect of the embodiments of the present disclosure, there is provided a data transmission device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: execute the data described in any one of the preceding transfer method.

根据本公开实施例的又一方面,提供一种非临时性计算机可读存储介质,当存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行前述任意一项所述的数据传输方法。According to yet another aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute the data described in any one of the preceding items. transfer method.

本公开的实施例提供的技术方案可以包括以下有益效果:通过在云终端与云端服务器之间传输数据的硬件实体中,基于数据加密类型确定用于对数据加密的加密硬件实体,并基于加密硬件实体对数据进行加密,并将加密后的数据传输至云端服务器,实现云终端向云端服务器进行数据传输时,利用加密硬件进行加密,实现硬件级别的加密,确保数据使用安全。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: in the hardware entity for transmitting data between the cloud terminal and the cloud server, the encryption hardware entity for encrypting data is determined based on the data encryption type, and based on the encryption hardware The entity encrypts the data and transmits the encrypted data to the cloud server, so that when the cloud terminal transmits data to the cloud server, encryption hardware is used for encryption to achieve hardware-level encryption to ensure data security.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据本公开一示例性实施例示出的一种云终端加密系统示意图。Fig. 1 is a schematic diagram of a cloud terminal encryption system according to an exemplary embodiment of the present disclosure.

图2是根据本公开一示例性实施例示出的一种数据传输方法的流程图。Fig. 2 is a flowchart showing a data transmission method according to an exemplary embodiment of the present disclosure.

图3是根据本公开一示例性实施例示出的一种基于数据加密类型指示的加密硬件实体对数据进行加密方法的流程图。Fig. 3 is a flowchart showing a method for encrypting data based on an encryption hardware entity indicated by a data encryption type according to an exemplary embodiment of the present disclosure.

图4是根据本公开一示例性实施例示出的一种云终端加密电路示意图。Fig. 4 is a schematic diagram of a cloud terminal encryption circuit according to an exemplary embodiment of the present disclosure.

图5是根据本公开一示例性实施例示出的一种基于数据加密类型指示的加密硬件实体对数据进行加密方法的流程图。Fig. 5 is a flowchart showing a method for encrypting data based on an encryption hardware entity indicated by a data encryption type according to an exemplary embodiment of the present disclosure.

图6是根据本公开又一示例性实施例示出的一种数据传输方法的流程图。Fig. 6 is a flow chart showing a data transmission method according to yet another exemplary embodiment of the present disclosure.

图7是根据本公开又一示例性实施例示出的一种数据传输方法的流程图。Fig. 7 is a flowchart showing a data transmission method according to yet another exemplary embodiment of the present disclosure.

图8是根据本公开又一示例性实施例示出的一种数据传输方法的流程图。Fig. 8 is a flow chart showing a data transmission method according to yet another exemplary embodiment of the present disclosure.

图9是根据本公开一示例性实施例示出的一种数据传输装置框图。Fig. 9 is a block diagram of a data transmission device according to an exemplary embodiment of the present disclosure.

图10根据本公开一示例性实施例示出的一种用于数据传输的装置的框图。Fig. 10 is a block diagram showing a device for data transmission according to an exemplary embodiment of the present disclosure.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

云终端体型轻便,形态趋于轻薄化、透明化,在使用中,云终端不进行计算存储。将计算、存储、控制等计算较为重的任务放置在云端服务器进行处理,云终端显示的系统和数据通过云端服务器进行确定,云终端仅仅起到连接、显示作用。云终端它通过协议连接云端服务器后,可以达到与实体终端同样的使用效果,满足用户多种需求。The cloud terminal is light in size, and its shape tends to be thinner and more transparent. In use, the cloud terminal does not perform calculation and storage. The calculation, storage, control and other computationally heavy tasks are placed on the cloud server for processing, the system and data displayed by the cloud terminal are determined by the cloud server, and the cloud terminal only plays the role of connection and display. After the cloud terminal is connected to the cloud server through the protocol, it can achieve the same use effect as the physical terminal and meet various needs of users.

云终端与云端的通信需要网络的参与,在通过网络进行数据传输时,缺乏安全保护措施,数据被恶意截获导致云终端用户的财产损失、隐私信息泄露,严重时使得云终端处于危险操作。The communication between the cloud terminal and the cloud requires the participation of the network. When data is transmitted through the network, there is a lack of security protection measures. The data is maliciously intercepted, resulting in the loss of property of the cloud terminal user and the leakage of private information. In severe cases, the cloud terminal is in a dangerous operation.

由此,本公开提供一种数据传输方法,在云终端向云端服务器进行数据传输时,实现云终端处硬件级别的加密,确保数据传输安全。Therefore, the present disclosure provides a data transmission method, which implements hardware-level encryption at the cloud terminal to ensure data transmission security when the cloud terminal transmits data to the cloud server.

图1是根据本公开一示例性实施例示出的一种云终端加密系统示意图,参照图1所示,云终端与云端服务器通过网络通信或者移动通信网络确立通信,进行数据传输。其中,云终端的数据传输涉及的多个硬件实体,包括信源、编码、调制、变频、发射等传输步骤对应的硬件实体。云端服务器的数据传输涉及的多个硬件实体,包括接收、变频、解调、解码等步骤对应的硬件实体,最终获得云端服务器传输的信息。FIG. 1 is a schematic diagram of a cloud terminal encryption system according to an exemplary embodiment of the present disclosure. Referring to FIG. 1 , the cloud terminal and the cloud server establish communication through a network or a mobile communication network for data transmission. Among them, the data transmission of the cloud terminal involves multiple hardware entities, including hardware entities corresponding to transmission steps such as signal source, encoding, modulation, frequency conversion, and transmission. The data transmission of the cloud server involves multiple hardware entities, including the hardware entities corresponding to the steps of receiving, frequency conversion, demodulation, decoding, etc., and finally obtains the information transmitted by the cloud server.

图2是根据本公开一示例性实施例示出的一种数据传输方法的流程图,应用于云终端,如图2所示,数据传输方法包括以下步骤。Fig. 2 is a flowchart of a data transmission method according to an exemplary embodiment of the present disclosure, which is applied to a cloud terminal. As shown in Fig. 2 , the data transmission method includes the following steps.

在步骤S101中,确定云终端向云端服务器传输数据的数据加密类型,数据加密类型用于指示对数据进行加密的加密硬件实体。In step S101, a data encryption type for data transmission from the cloud terminal to the cloud server is determined, and the data encryption type is used to indicate an encryption hardware entity for encrypting data.

在步骤S102中,基于数据加密类型指示的加密硬件实体对数据进行加密,并将加密后的数据传输至云端服务器。In step S102, the encryption hardware entity indicated based on the data encryption type encrypts the data, and transmits the encrypted data to the cloud server.

在本公开实施例中,云终端向云端服务器传输数据,数据传输涉及云终端处的多个硬件实体。例如,数据传输过程中信源、编码、调制、变频、发射等步骤中涉及时钟电路、信源接收器、编码器、调制器等硬件实体。在云终端与云端服务器之间传输数据的多个硬件实体中,随机选择至少一个硬件实体,作为加密硬件实体。利用加密硬件实体对数据进行加密,确定用于指示对数据进行加密的加密硬件实体的数据加密类型,并基于数据加密类型确定加密硬件实体。基于加密硬件实体对数据进行加密,并将加密后的数据传输至云端服务器。In the embodiment of the present disclosure, the cloud terminal transmits data to the cloud server, and the data transmission involves multiple hardware entities at the cloud terminal. For example, the steps of source, encoding, modulation, frequency conversion, and transmission in the data transmission process involve hardware entities such as clock circuits, source receivers, encoders, and modulators. Among multiple hardware entities for data transmission between the cloud terminal and the cloud server, at least one hardware entity is randomly selected as the encryption hardware entity. Encrypting the data with an encryption hardware entity, determining a data encryption type indicating the encryption hardware entity for encrypting the data, and determining the encryption hardware entity based on the data encryption type. The data is encrypted based on the encryption hardware entity, and the encrypted data is transmitted to the cloud server.

根据本公开实施例,通过在云终端与云端服务器之间传输数据的硬件实体中,基于数据加密类型确定用于对数据加密的加密硬件实体,并基于加密硬件实体对数据进行加密,并将加密后的数据传输至云端服务器,实现云终端向云端服务器进行数据传输时,利用加密硬件进行加密,实现硬件级别的加密,确保数据使用安全。According to the embodiment of the present disclosure, among the hardware entities that transmit data between the cloud terminal and the cloud server, the encryption hardware entity used to encrypt the data is determined based on the data encryption type, and the data is encrypted based on the encryption hardware entity, and the encrypted After the data is transmitted to the cloud server, when the cloud terminal transmits data to the cloud server, encryption hardware is used for encryption to achieve hardware-level encryption and ensure data security.

在一实施例中,云终端与云端服务器具有对等设置的加密、解密机制以及秘钥,云终端与云端服务器通信时,云终端数据编码完毕进行加密,在云终端与云端服务器之间传输数据的多个硬件实体中,随机选择至少一个硬件实体,作为加密硬件实体。在传输数据的某些位信息包含数据加密类型。云端服务器接收云终端加密后的数据,基于加密的位信息确定云终端的数据加密类型,云端从秘钥库中调用该解密秘钥对接收到的数据进行解密。In one embodiment, the cloud terminal and the cloud server have a peer-to-peer encryption, decryption mechanism, and secret key. When the cloud terminal communicates with the cloud server, the cloud terminal data is encoded and encrypted, and the data is transmitted between the cloud terminal and the cloud server. Among the multiple hardware entities, randomly select at least one hardware entity as the encryption hardware entity. Certain bits of information in the transmitted data contain the data encryption type. The cloud server receives the encrypted data from the cloud terminal, determines the data encryption type of the cloud terminal based on the encrypted bit information, and the cloud calls the decryption key from the key store to decrypt the received data.

在一实施例中,云终端数据编码完毕进行加密,在云终端与云端服务器之间传输数据的多个硬件实体中,随机选择至少一个硬件实体,作为加密硬件实体。云终端在加密时随机的将秘钥也编码在数据中,并将加密后的数据传输至云端服务器。云端服务器接收云终端加密后的数据,基于对应设置的解密秘钥对接收到的数据进行解密。In one embodiment, the cloud terminal data is encoded and then encrypted, and at least one hardware entity is randomly selected among multiple hardware entities for data transmission between the cloud terminal and the cloud server as the encrypted hardware entity. When encrypting, the cloud terminal randomly encodes the secret key into the data, and transmits the encrypted data to the cloud server. The cloud server receives the data encrypted by the cloud terminal, and decrypts the received data based on the correspondingly set decryption key.

在一实施例中,云终端向云端服务器进行数据传输时,在云终端利用加密硬件进行数据加密,基于数据加密类型确定加密硬件实体,并基于加密硬件实体对数据进行加密,终端的微控制单元控制数据传输过程。微控制单元随机选择硬件实体作为加密硬件实体,数据传输的数据加密类型等信息,可以是加密向量,包括在传输数据中,传输至云端服务器。云端服务器具有对应的解密向量,解密向量中的元素包含加密项,加密矩阵在云终端和云端服务器相互对应。加密的矩阵可以进行类似于矩阵运算和矩阵的逆运算,实现数据传输过程的动态加密,保护用户的数据使用安全,实现云终端与云端服务器之间进行数据传输时物理层硬件级加密。In one embodiment, when the cloud terminal transmits data to the cloud server, encryption hardware is used to encrypt data at the cloud terminal, the encryption hardware entity is determined based on the data encryption type, and the data is encrypted based on the encryption hardware entity. The micro control unit of the terminal Control the data transfer process. The micro control unit randomly selects a hardware entity as an encrypted hardware entity, and information such as data encryption type for data transmission can be an encryption vector, included in the transmitted data, and transmitted to the cloud server. The cloud server has a corresponding decryption vector, the elements in the decryption vector contain encrypted items, and the encryption matrix corresponds to each other between the cloud terminal and the cloud server. The encrypted matrix can be similar to the matrix operation and matrix inverse operation, realize the dynamic encryption of the data transmission process, protect the user's data use security, and realize the physical layer hardware level encryption during data transmission between the cloud terminal and the cloud server.

图3是根据本公开一示例性实施例示出的一种基于数据加密类型指示的加密硬件实体对数据进行加密方法的流程图,如图3所示,方法包括以下步骤。Fig. 3 is a flowchart showing a method for encrypting data based on an encryption hardware entity indicated by a data encryption type according to an exemplary embodiment of the present disclosure. As shown in Fig. 3 , the method includes the following steps.

在步骤S201中,若加密硬件实体包括时钟电路,则确定时钟电路产生的时钟信号,以及时钟信号所控制的硬件实体中传输的数据。In step S201, if the encrypted hardware entity includes a clock circuit, then determine the clock signal generated by the clock circuit and the data transmitted in the hardware entity controlled by the clock signal.

在步骤S202中,通过调整时钟信号与硬件实体中传输的数据比特位个数之间的对应关系,对时钟信号所控制的硬件实体中传输的数据进行加密。In step S202, by adjusting the corresponding relationship between the clock signal and the number of data bits transmitted in the hardware entity, the data transmitted in the hardware entity controlled by the clock signal is encrypted.

在本公开一实施例中,云终端向云端服务器进行数据传输,用硬件实体对数据进行加密,在云终端与云端服务器之间传输数据的多个硬件实体中,随机选择至少一个硬件实体,作为加密硬件实体。可以理解地,在云终端与云端服务器之间传输数据的多个硬件实体中,选择多个硬件实体作为加密硬件实体,多个加密实体可以分别作为对应数据传输不同阶段的加密实体,叠加作用,共同实现加密。基于数据加密类型确定加密硬件实体,若加密硬件实体包括时钟电路,则确定时钟电路产生的时钟信号,以及时钟信号所控制的硬件实体中传输的数据。云终端在处理信号,各部分硬件实体的工作按节拍进行,要使电路的各部分统一节拍需要时钟信号,产生时钟信号的电路即时钟电路。确定加密硬件实体包括时钟电路时,确定时钟电路产生的时钟信号,以及时钟信号所控制的硬件实体中传输的数据。时钟信号表示一种特殊信号振荡之间的高和低的状态,信号的利用像一个节拍器协调行动的数字电路,时钟信号可以是方波电压,具有低电平以及高电平。时钟信号控制的硬件实体可以是信源接收器、编码器、调制器以及变频器等,即通过时钟电路产生的时钟信号加密信源接收器中传输的数据,通过时钟电路产生的时钟信号加密编码器中传输的数据,或通过时钟电路产生的时钟信号加密调制器中传输的数据。对时钟信号所控制的硬件实体中传输的数据进行加密时,通过调整时钟信号与硬件实体中传输的数据比特位个数之间的对应关系实现。时钟信号与硬件实体中传输的数据比特位个数之间的对应关系,即一个时钟信号传输一个比特位的数据,或一个时钟信号传输多个比特位的数据,或多个时钟信号传输一个比特位的数据等。对时钟信号所控制的硬件实体中传输的数据进行加密时,可以对一个或多个硬件实体中传输的数据进行加密,当对多个硬件实体中传输的数据进行加密时,可以是采用同一时钟信号与硬件实体中传输的数据比特位个数之间的对应关系,也可以是采用不同的对应关系。例如,利用时钟电路对信源接收器传输的数据进行加密,一个时钟信号传输第一数值个比特位的数据。再例如,利用时钟电路对信源接收器传输的数据进行加密,同时对调制器传输的数据进行加密,均为一个时钟信号传输第二数值个比特位的数据。再例如,利用时钟电路对信源接收器传输的数据进行加密,同时对编码器传输的数据进行加密,对信源接收器传输的数据进行加密采用一个时钟信号传输第三数值个比特位的数据,对编码器传输的数据进行加密采用一个时钟信号传输第四数值个比特位的数据。In an embodiment of the present disclosure, the cloud terminal transmits data to the cloud server, encrypts the data with a hardware entity, and randomly selects at least one hardware entity among multiple hardware entities transmitting data between the cloud terminal and the cloud server, as Cryptographic hardware entity. It can be understood that among the multiple hardware entities that transmit data between the cloud terminal and the cloud server, multiple hardware entities are selected as encryption hardware entities, and multiple encryption entities can be respectively used as encryption entities corresponding to different stages of data transmission, superimposed, Encryption together. The encryption hardware entity is determined based on the data encryption type. If the encryption hardware entity includes a clock circuit, the clock signal generated by the clock circuit and the data transmitted in the hardware entity controlled by the clock signal are determined. The cloud terminal is processing signals, and the work of each part of the hardware entity is carried out according to the beat. To make each part of the circuit have a unified beat requires a clock signal, and the circuit that generates the clock signal is the clock circuit. When it is determined that the encrypted hardware entity includes a clock circuit, the clock signal generated by the clock circuit and the data transmitted in the hardware entity controlled by the clock signal are determined. A clock signal represents a special signal that oscillates between high and low states. The signal utilizes a digital circuit that acts like a metronome. The clock signal can be a square wave voltage with a low level as well as a high level. The hardware entity controlled by the clock signal can be source receiver, encoder, modulator, frequency converter, etc., that is, the clock signal generated by the clock circuit encrypts the data transmitted in the source receiver, and the clock signal generated by the clock circuit encrypts the code The data transmitted in the modulator, or the clock signal generated by the clock circuit encrypts the data transmitted in the modulator. When encrypting the data transmitted in the hardware entity controlled by the clock signal, it is realized by adjusting the corresponding relationship between the clock signal and the number of data bits transmitted in the hardware entity. The corresponding relationship between the clock signal and the number of data bits transmitted in the hardware entity, that is, one clock signal transmits one bit of data, or one clock signal transmits multiple bits of data, or multiple clock signals transmit one bit bits of data, etc. When encrypting the data transmitted in the hardware entity controlled by the clock signal, the data transmitted in one or more hardware entities can be encrypted, and when the data transmitted in multiple hardware entities is encrypted, the same clock can be used The corresponding relationship between the signal and the number of data bits transmitted in the hardware entity may also adopt a different corresponding relationship. For example, a clock circuit is used to encrypt data transmitted by the source receiver, and a clock signal transmits data of a first number of bits. For another example, the clock circuit is used to encrypt the data transmitted by the source receiver, and at the same time, the data transmitted by the modulator is encrypted, and a clock signal transmits data of the second value number of bits. For another example, the clock circuit is used to encrypt the data transmitted by the source receiver, and at the same time, the data transmitted by the encoder is encrypted, and the data transmitted by the source receiver is encrypted, and a clock signal is used to transmit the data of the third value of bits. To encrypt the data transmitted by the encoder, a clock signal is used to transmit the data of the fourth numerical value bits.

图4是根据本公开一示例性实施例示出的一种云终端加密电路示意图,参照图4,加密硬件实体包括时钟电路,对时钟信号所控制的硬件实体中传输的数据进行加密,时钟信号所控制的硬件实体包括信源接收器、编码器、调制器以及变频器中的一个或多个。Fig. 4 is a schematic diagram of a cloud terminal encryption circuit according to an exemplary embodiment of the present disclosure. Referring to Fig. 4, the encryption hardware entity includes a clock circuit, which encrypts the data transmitted in the hardware entity controlled by the clock signal, and the clock signal controls The controlled hardware entities include one or more of source receivers, encoders, modulators, and frequency converters.

在进行加密时,在云终端的微控制单元控制下,确定时钟电路产生的时钟信号,以及时钟信号所控制的硬件实体中传输的数据,通过调整时钟信号与硬件实体中传输的数据比特位个数之间的对应关系,对应关系包括一个时钟信号传输一个或多个比特位的数据等。When encrypting, under the control of the micro-control unit of the cloud terminal, the clock signal generated by the clock circuit and the data transmitted in the hardware entity controlled by the clock signal are determined. By adjusting the clock signal and the data bits transmitted in the hardware entity The corresponding relationship between numbers, the corresponding relationship includes a clock signal to transmit one or more bits of data, etc.

根据本公开实施例,通过在云终端与云端服务器之间传输数据的硬件实体中,利用时钟电路产生时钟信号,对时钟信号所控制的信源接收器、编码器、调制器以及变频器等硬件实体中传输的数据进行加密,基于加密硬件实体对数据进行加密,并将加密后的数据传输至云端服务器,实现云终端向云端服务器进行数据传输时硬件级别的加密,确保数据使用安全。According to the embodiment of the present disclosure, by using the clock circuit to generate a clock signal in the hardware entity that transmits data between the cloud terminal and the cloud server, the hardware such as the source receiver, encoder, modulator, and frequency converter controlled by the clock signal The data transmitted in the entity is encrypted, and the data is encrypted based on the encryption hardware entity, and the encrypted data is transmitted to the cloud server, so as to realize hardware-level encryption when the cloud terminal transmits data to the cloud server to ensure the security of data use.

图5是根据本公开一示例性实施例示出的一种基于数据加密类型指示的加密硬件实体对数据进行加密方法的流程图,如图5所示,方法包括以下步骤。Fig. 5 is a flowchart showing a method for encrypting data based on an encryption hardware entity indicated by a data encryption type according to an exemplary embodiment of the present disclosure. As shown in Fig. 5 , the method includes the following steps.

在步骤S301中,若加密硬件实体包括信源接收器以及编码器,则确定信源接收器接收到的信源信号。In step S301, if the encrypted hardware entity includes a source receiver and an encoder, determine the source signal received by the source receiver.

在步骤S302中,在信源编码过程中,通过调整数据电平的高低、信号沿的跳变、上升沿与下降沿、比特位代表的物理信息以及比特位压缩信息中的至少一项,对信源信号进行编码加密。In step S302, in the information source coding process, by adjusting at least one of the level of the data level, the jump of the signal edge, the rising edge and the falling edge, the physical information represented by the bit, and the compressed information of the bit, the The source signal is encoded and encrypted.

在本公开实施例中,云终端向云端服务器进行数据传输,用硬件实体对数据进行加密,在云终端与云端服务器之间传输数据的多个硬件实体中,随机选择至少一个硬件实体,作为加密硬件实体。基于数据加密类型确定加密硬件实体,当基于信源接收器以及编码器作为加密硬件实体对数据进行加密,确定信源接收器接收到的信源信号,在信源编码过程中,通过调整数据电平高低、信号沿的跳变、上升沿与下降沿、比特位代表的物理信息以及比特位压缩信息中的至少一项,对信源信号进行编码加密。例如,各个比特位代表的物理信息具体内容,比特位信息是否进行压缩,即用第一数值比特位代表第二数值比特位信息。将信源编码的方式记录,并随机加入传输数据中。In the embodiment of the present disclosure, the cloud terminal transmits data to the cloud server, encrypts the data with a hardware entity, and randomly selects at least one hardware entity among the multiple hardware entities that transmit data between the cloud terminal and the cloud server as an encryption key. hardware entity. The encryption hardware entity is determined based on the data encryption type. When the data is encrypted based on the source receiver and the encoder as the encryption hardware entity, the source signal received by the source receiver is determined. During the source encoding process, by adjusting the data signal At least one of level height, signal edge transition, rising edge and falling edge, physical information represented by bits, and bit compression information is used to encode and encrypt the source signal. For example, the specific content of the physical information represented by each bit, and whether the bit information is compressed, that is, the first numerical bit represents the second numerical bit information. Record the encoding method of the source, and randomly add it to the transmission data.

根据本公开实施例,通过在云终端与云端服务器之间传输数据的硬件实体中,利用时钟电路产生时钟信号,对时钟信号所控制的信源接收器、编码器、调制器以及变频器等硬件实体中传输的数据进行加密,控制信源接收器以及编码器对数据进行加密,在信源编码过程中对信源信号进行编码加密,并将加密后的数据传输至云端服务器,实现云终端向云端服务器进行数据传输时硬件级别的加密,确保数据使用安全。According to the embodiment of the present disclosure, by using the clock circuit to generate a clock signal in the hardware entity that transmits data between the cloud terminal and the cloud server, the hardware such as the source receiver, encoder, modulator, and frequency converter controlled by the clock signal The data transmitted in the entity is encrypted, the source receiver and the encoder are controlled to encrypt the data, the source signal is encoded and encrypted during the source encoding process, and the encrypted data is transmitted to the cloud server to realize cloud terminal direction Hardware-level encryption is used when the cloud server transmits data to ensure data security.

图6是根据本公开又一示例性实施例示出的一种数据传输方法的流程图,如图6所示,数据传输方法包括以下步骤。Fig. 6 is a flow chart showing a data transmission method according to yet another exemplary embodiment of the present disclosure. As shown in Fig. 6 , the data transmission method includes the following steps.

在步骤S401中,确定云终端向云端服务器传输数据的数据加密类型。In step S401, a data encryption type for data transmission from the cloud terminal to the cloud server is determined.

在步骤S402中,基于数据加密类型确定加密硬件实体。In step S402, an encryption hardware entity is determined based on a data encryption type.

在步骤S403中,若加密硬件实体包括信源接收器以及编码器,则确定信源接收器接收到的信源信号。In step S403, if the encryption hardware entity includes a source receiver and an encoder, determine the source signal received by the source receiver.

在步骤S404中,在信源编码过程中,通过调整数据电平的高低、信号沿的跳变、上升沿与下降沿、比特位代表的物理信息以及比特位压缩信息中的至少一项,对信源信号进行编码加密。In step S404, in the information source coding process, by adjusting at least one of the level of the data level, the jump of the signal edge, the rising edge and the falling edge, the physical information represented by the bit, and the compressed information of the bit, the The source signal is encoded and encrypted.

在步骤S405中,在对信源信号进行加密过程中,采用抗干扰能力编码进行编码。In step S405, during the process of encrypting the source signal, the anti-jamming ability coding is used for coding.

在步骤S406中,将加密后的数据传输至云端服务器。In step S406, the encrypted data is transmitted to the cloud server.

在本公开实施例中,云终端向云端服务器进行数据传输,用硬件实体对数据进行加密,在云终端与云端服务器之间传输数据的多个硬件实体中,随机选择至少一个硬件实体,作为加密硬件实体。基于数据加密类型确定加密硬件实体,当基于信源接收器以及编码器作为加密硬件实体对数据进行加密,确定信源接收器接收到的信源信号,在信源编码过程中,通过调整数据电平的高低、信号沿的跳变、上升沿与下降沿、比特位代表的物理信息以及比特位压缩信息中的至少一项,对信源信号进行编码加密。为实现编码的信道抗干扰能力,可以添加抗干扰能力编码。例如,0、1信号组成的编码中,0过多,为了采用抗干扰能力编码进行编码,可以随机地在随机位置加入一些1,使电路中0和1信号的相对数量平衡,进而使电路稳定。采用抗干扰能力编码进行编码时,加入编码的位置Xi和数量Num-j,形成坐标(Xi,Num-j),其中,i,j=0,1,2,3…n。将添加抗干扰能力编码生成的比特位信息,第i个比特位信息与第j个比特位信息交换,并将交换的交换信息记录并加入传输数据中。再对传输数据进行校验,将比特位数据信息记录并加入传输数据中,以进行数据传输。In the embodiment of the present disclosure, the cloud terminal transmits data to the cloud server, encrypts the data with a hardware entity, and randomly selects at least one hardware entity among the multiple hardware entities that transmit data between the cloud terminal and the cloud server as an encryption key. hardware entity. The encryption hardware entity is determined based on the data encryption type. When the data is encrypted based on the source receiver and the encoder as the encryption hardware entity, the source signal received by the source receiver is determined. During the source encoding process, by adjusting the data signal Encode and encrypt the source signal by at least one of level height, signal edge transition, rising edge and falling edge, physical information represented by bits, and bit compressed information. In order to realize the coded channel anti-interference ability, the anti-interference ability coding can be added. For example, in the code composed of 0 and 1 signals, there are too many 0s. In order to use anti-interference ability coding for coding, some 1s can be randomly added at random positions to balance the relative number of 0 and 1 signals in the circuit, thereby making the circuit stable. . When coding with anti-interference ability coding, add the coded position Xi and number Num-j to form coordinates (Xi, Num-j), where i, j=0, 1, 2, 3...n. The bit information generated by adding the anti-interference ability encoding, the i-th bit information is exchanged with the j-th bit information, and the exchanged exchange information is recorded and added to the transmission data. Then the transmission data is verified, and the bit data information is recorded and added to the transmission data for data transmission.

根据本公开实施例,通过在云终端与云端服务器之间传输数据的硬件实体中,利用时钟电路产生时钟信号,对时钟信号所控制的信源接收器、编码器、调制器以及变频器等硬件实体中传输的数据进行加密,控制信源接收器以及编码器对数据进行加密,在信源编码过程中对信源信号进行编码加密,采用抗干扰能力编码进行编码,并将加密后的数据传输至云端服务器,实现云终端向云端服务器进行数据传输时硬件级别的加密,确保数据使用安全。According to the embodiment of the present disclosure, by using the clock circuit to generate a clock signal in the hardware entity that transmits data between the cloud terminal and the cloud server, the hardware such as the source receiver, encoder, modulator, and frequency converter controlled by the clock signal The data transmitted in the entity is encrypted, the source receiver and the encoder are controlled to encrypt the data, the source signal is encoded and encrypted during the source encoding process, the anti-interference ability encoding is used for encoding, and the encrypted data is transmitted To the cloud server, realize the hardware-level encryption when the cloud terminal transmits data to the cloud server, to ensure the security of data use.

图7是根据本公开又一示例性实施例示出的一种数据传输方法的流程图,如图7所示,数据传输方法包括以下步骤。Fig. 7 is a flow chart showing a data transmission method according to yet another exemplary embodiment of the present disclosure. As shown in Fig. 7, the data transmission method includes the following steps.

在步骤S501中,确定云终端向云端服务器传输数据的数据加密类型,数据加密类型用于指示对数据进行加密的加密硬件实体。In step S501, the data encryption type for data transmission from the cloud terminal to the cloud server is determined, and the data encryption type is used to indicate an encryption hardware entity for encrypting data.

在步骤S502中,基于数据加密类型确定加密硬件实体,若加密硬件实体包括调制器,则确定调制器在数字调制过程中采用的调制方式。In step S502, the encryption hardware entity is determined based on the data encryption type, and if the encryption hardware entity includes a modulator, the modulation mode adopted by the modulator in the digital modulation process is determined.

在步骤S503中,将调制方式对应的编号信息添加调制的数据信息中,并在模拟调制过程中基于编号信息确定采用的调制方式,采用与数字调制过程中相同的调制方式进行模拟调制。In step S503, the serial number information corresponding to the modulation mode is added to the modulated data information, and the modulation mode used is determined based on the serial number information in the analog modulation process, and the analog modulation is performed using the same modulation mode as in the digital modulation process.

在步骤S504中,将加密后的数据传输至云端服务器。In step S504, the encrypted data is transmitted to the cloud server.

在本公开实施例中,云终端向云端服务器进行数据传输,用硬件实体对数据进行加密,在云终端与云端服务器之间传输数据的多个硬件实体中,选择加密硬件实体。加密硬件实体为在云终端与云端服务器之间传输数据的硬件实体中随机选择的至少一个硬件实体基于数据加密类型确定加密硬件实体。基于调制器作为加密硬件实体对数据进行加密,确定调制器在数字调制过程中采用的调制方式。将调制方式对应的编号信息添加调制的数据信息中,调制方式可以根据微控制单元对其控制,例如,数字端的调制幅移键控法ask、频移键控法fsk、相移键控法psk、正交相移键控qpsk或正交幅度调制qam等方式。将数字段调制编码成代号DataMou-i,记录并加入传输数据中。在模拟调制过程中基于编号信息确定采用的调制方式,采用与数字调制过程中相同的调制方式进行模拟调制,对模拟段调制方式执行同样的编码AnalogMou-j,记录并加入传输数据中。In the embodiment of the present disclosure, the cloud terminal transmits data to the cloud server, encrypts the data with a hardware entity, and selects the encrypted hardware entity among multiple hardware entities for data transmission between the cloud terminal and the cloud server. The encryption hardware entity is at least one randomly selected hardware entity among the hardware entities transmitting data between the cloud terminal and the cloud server, and the encryption hardware entity is determined based on the data encryption type. Based on the data encrypted by the modulator as an encrypted hardware entity, the modulation mode adopted by the modulator in the digital modulation process is determined. Add the number information corresponding to the modulation mode to the modulated data information, and the modulation mode can be controlled according to the micro control unit, for example, the modulation amplitude shift keying method ask, frequency shift keying method fsk, phase shift keying method psk of the digital terminal , quadrature phase shift keying qpsk or quadrature amplitude modulation qam and other methods. Code the digital field modulation into the code DataMou-i, record and add to the transmitted data. In the analog modulation process, the modulation method used is determined based on the serial number information, and the same modulation method as in the digital modulation process is used for analog modulation, and the same coding AnalogMou-j is performed for the analog segment modulation method, and recorded and added to the transmission data.

根据本公开实施例,通过在云终端与云端服务器之间传输数据的硬件实体中,利用调制器在数字调制过程中对传输的数据进行加密,并将加密后的数据传输至云端服务器,实现云终端向云端服务器进行数据传输时硬件级别的加密,确保数据使用安全。According to the embodiment of the present disclosure, in the hardware entity that transmits data between the cloud terminal and the cloud server, the modulator is used to encrypt the transmitted data during the digital modulation process, and the encrypted data is transmitted to the cloud server to realize cloud computing. Hardware-level encryption is used when the terminal transmits data to the cloud server to ensure data security.

图8是根据本公开又一示例性实施例示出的一种数据传输方法的流程图,如图8所示,数据传输方法包括以下步骤。Fig. 8 is a flow chart showing a data transmission method according to yet another exemplary embodiment of the present disclosure. As shown in Fig. 8, the data transmission method includes the following steps.

在步骤S601中,基于待传输数据的安全等级,确定匹配安全等级的数据加密类型。In step S601, based on the security level of the data to be transmitted, a data encryption type matching the security level is determined.

在步骤S602中,基于数据加密类型指示的加密硬件实体对数据进行加密,并将加密后的数据传输至云端服务器。In step S602, the encryption hardware entity indicated based on the data encryption type encrypts the data, and transmits the encrypted data to the cloud server.

在本公开实施例中,云终端向云端服务器进行数据传输,利用硬件实体对数据进行加密,在云终端与云端服务器之间传输数据的多个硬件实体中,选择加密硬件实体。加密硬件实体为在云终端与云端服务器之间传输数据的硬件实体中随机选择的至少一个硬件实体。基于待传输数据的安全等级,确定匹配安全等级的数据加密类型。例如,待传输数据为重要性较低,即使被截获也不会对用户构成伤害,确定匹配安全等级的数据加密类型为较低等级。待传输数据为重要性较高,例如,身份信息、密码信息、账户信息等,确定匹配安全等级的数据加密类型为较高等级。对于待传输数据为重要性较高,即数据被非法获取可能会损害云终端正常运行,使云终端处于危险。例如,待传输数据为充电信息、调压信息等,采取更高等级,或者根据使用需求,确定最高等级的数据加密类型。In the embodiment of the present disclosure, the cloud terminal transmits data to the cloud server, encrypts the data with a hardware entity, and selects the encrypted hardware entity among multiple hardware entities for data transmission between the cloud terminal and the cloud server. The encryption hardware entity is at least one randomly selected hardware entity among the hardware entities that transmit data between the cloud terminal and the cloud server. Based on the security level of the data to be transmitted, the data encryption type matching the security level is determined. For example, the data to be transmitted is of low importance, even if it is intercepted, it will not cause harm to the user, and the data encryption type that matches the security level is determined to be a low level. The data to be transmitted is of high importance, such as identity information, password information, account information, etc., and the data encryption type that matches the security level is determined to be a higher level. The importance of the data to be transmitted is higher, that is, the illegal acquisition of data may damage the normal operation of the cloud terminal and put the cloud terminal at risk. For example, if the data to be transmitted is charging information, voltage regulation information, etc., a higher level is adopted, or the highest level of data encryption type is determined according to usage requirements.

不同的安全等级对应不同的数据加密类型,即不同的安全等级,对应确定的加密硬件实体不同。例如,不同的数据加密类型对应的加密硬件实体不同,对于重要性较高的数据加密类型对应数量相对较多的加密硬件实体,提高其加密等级。重要性较低的数据加密类型对应数量相对较少的加密硬件实体。又例如,同一加密硬件实体采用的加密方式可以不同,对于重要性较高的数据加密类型和重要性较低的数据加密类型,确定同一加密硬件进行数据加密时,重要性较高的数据加密类型采用更高等级的加密方式,重要性较低的数据加密类型采用较低等级的加密方式。Different security levels correspond to different data encryption types, that is, different security levels correspond to different encrypted hardware entities. For example, different data encryption types correspond to different encryption hardware entities, and for data encryption types with high importance corresponding to a relatively large number of encryption hardware entities, the encryption level is increased. Data encryption types of lesser importance correspond to a relatively smaller number of cryptographic hardware entities. For another example, the encryption methods adopted by the same encryption hardware entity can be different. For data encryption types with higher importance and data encryption types with lower importance, determine the data encryption type with higher importance when the same encryption hardware performs data encryption. Use higher levels of encryption, and less important data encryption types use lower levels of encryption.

基于相同的构思,本公开实施例还提供一种数据传输装置。Based on the same idea, the embodiment of the present disclosure also provides a data transmission device.

可以理解的是,本公开实施例提供的装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本公开实施例中所公开的各示例的单元及算法步骤,本公开实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本公开实施例的技术方案的范围。It can be understood that, in order to realize the above-mentioned functions, the apparatus provided by the embodiments of the present disclosure includes corresponding hardware structures and/or software modules for performing various functions. Combining the units and algorithm steps of each example disclosed in the embodiments of the present disclosure, the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the technical solutions of the embodiments of the present disclosure.

图9是根据本公开一示例性实施例示出的一种数据传输装置框图,数据传输装置应用于云终端,如图9所示,数据传输装置100包括:确定模块101、控制模块102和传输模块103。Fig. 9 is a block diagram of a data transmission device according to an exemplary embodiment of the present disclosure. The data transmission device is applied to a cloud terminal. As shown in Fig. 9, the data transmission device 100 includes: a determination module 101, a control module 102 and a transmission module 103.

确定模块101,用于确定云终端向云端服务器传输数据的数据加密类型,数据加密类型用于指示对数据进行加密的加密硬件实体,加密硬件实体为在云终端与云端服务器之间传输数据的硬件实体中随机选择的至少一个硬件实体,并基于数据加密类型确定加密硬件实体。The determining module 101 is used to determine the data encryption type for data transmission from the cloud terminal to the cloud server, the data encryption type is used to indicate the encryption hardware entity for encrypting the data, and the encryption hardware entity is the hardware for transmitting data between the cloud terminal and the cloud server randomly select at least one hardware entity among the entities, and determine the encryption hardware entity based on the data encryption type.

控制模块102,用于基于数据加密类型指示的加密硬件实体对数据进行加密。The control module 102 is configured to encrypt data based on the encryption hardware entity indicated by the data encryption type.

传输模块103,用于将加密后的数据传输至云端服务器。The transmission module 103 is configured to transmit the encrypted data to the cloud server.

在一实施例中,控制模块102采用如下方式基于数据加密类型指示的加密硬件实体对数据进行加密:当加密硬件实体包括时钟电路时,确定时钟电路产生的时钟信号,以及时钟信号所控制的硬件实体中传输的数据;通过调整时钟信号与硬件实体中传输的数据比特位个数之间的对应关系,对时钟信号所控制的硬件实体中传输的数据进行加密;其中,对应关系包括一个时钟信号传输一个或多个比特位的数据;时钟信号所控制的硬件实体包括信源接收器、编码器、调制器以及变频器中的一个或多个。In one embodiment, the control module 102 encrypts data based on the encryption hardware entity indicated by the data encryption type in the following manner: when the encryption hardware entity includes a clock circuit, determine the clock signal generated by the clock circuit and the hardware controlled by the clock signal The data transmitted in the entity; by adjusting the corresponding relationship between the clock signal and the number of data bits transmitted in the hardware entity, the data transmitted in the hardware entity controlled by the clock signal is encrypted; where the corresponding relationship includes a clock signal One or more bits of data are transmitted; the hardware entities controlled by the clock signal include one or more of source receivers, encoders, modulators, and frequency converters.

在一实施例中,控制模块102采用如下方式基于数据加密类型指示的加密硬件实体对数据进行加密:当加密硬件实体包括信源接收器以及编码器时,确定信源接收器接收到的信源信号;在信源编码过程中,通过调整数据电平的高低、信号沿的跳变、上升沿与下降沿、比特位代表的物理信息以及比特位压缩信息中的至少一项,对信源信号进行编码加密。In an embodiment, the control module 102 encrypts data based on the encryption hardware entity indicated by the data encryption type in the following manner: when the encryption hardware entity includes a source receiver and an encoder, determine the source Signal; in the source coding process, by adjusting at least one of the level of the data level, the jump of the signal edge, the rising edge and the falling edge, the physical information represented by the bit, and the compressed information of the bit, the source signal is Encode and encrypt.

在一实施例中,控制模块102还用于:在对信源信号进行加密过程中,采用抗干扰能力编码进行编码。In an embodiment, the control module 102 is further configured to: in the process of encrypting the source signal, use anti-interference capability coding to perform coding.

在一实施例中,控制模块102采用如下方式基于数据加密类型指示的加密硬件实体对数据进行加密:当加密硬件实体包括调制器时,确定调制器在数字调制过程中采用的调制方式;将调制方式对应的编号信息添加调制的数据信息中,并在模拟调制过程中基于编号信息确定采用的调制方式,采用与数字调制过程中相同的调制方式进行模拟调制。In an embodiment, the control module 102 encrypts the data based on the encryption hardware entity indicated by the data encryption type in the following manner: when the encryption hardware entity includes a modulator, determine the modulation mode used by the modulator in the digital modulation process; The number information corresponding to the mode is added to the modulated data information, and the modulation mode used is determined based on the number information in the analog modulation process, and the analog modulation is performed using the same modulation mode as in the digital modulation process.

在一实施例中,确定模块101采用如下方式确定云终端向云端服务器传输数据的数据加密类型:基于待传输数据的安全等级,确定匹配安全等级的数据加密类型;其中,不同的数据加密类型对应的加密硬件实体不同,和/或同一加密硬件实体采用的加密方式不同;不同的安全等级对应不同的数据加密类型。In one embodiment, the determination module 101 determines the data encryption type for data transmission from the cloud terminal to the cloud server in the following manner: based on the security level of the data to be transmitted, determine the data encryption type that matches the security level; where different data encryption types correspond to Different encryption hardware entities, and/or different encryption methods used by the same encryption hardware entity; different security levels correspond to different data encryption types.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图10是根据本公开一示例性实施例示出的一种用于数据传输的装置200的框图。例如,装置200可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 10 is a block diagram showing an apparatus 200 for data transmission according to an exemplary embodiment of the present disclosure. For example, the apparatus 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图10,装置200可以包括以下一个或多个组件:处理组件202,存储器204,电力组件206,多媒体组件208,音频组件210,输入/输出(I/O)的接口212,传感器组件214,以及通信组件216。Referring to FIG. 10 , the device 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and communication component 216 .

处理组件202通常控制装置200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件202可以包括一个或多个处理器220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件202可以包括一个或多个模块,便于处理组件202和其他组件之间的交互。例如,处理组件202可以包括多媒体模块,以方便多媒体组件208和处理组件202之间的交互。The processing component 202 generally controls the overall operations of the device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 202 may include one or more modules that facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202 .

存储器204被配置为存储各种类型的数据以支持在装置200的操作。这些数据的示例包括用于在装置200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 204 is configured to store various types of data to support operations at the device 200 . Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 204 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件206为装置200的各种组件提供电力。电力组件206可以包括电源管理系统,一个或多个电源,及其他与为装置200生成、管理和分配电力相关联的组件。The power component 206 provides power to various components of the device 200 . Power components 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 200 .

多媒体组件208包括在所述装置200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件208包括一个前置摄像头和/或后置摄像头。当装置200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 208 includes a front camera and/or a rear camera. When the device 200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件210被配置为输出和/或输入音频信号。例如,音频组件210包括一个麦克风(MIC),当装置200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器204或经由通信组件216发送。在一些实施例中,音频组件210还包括一个扬声器,用于输出音频信号。The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a microphone (MIC), which is configured to receive external audio signals when the device 200 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 204 or sent via communication component 216 . In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

I/O接口212为处理组件202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 212 provides an interface between the processing component 202 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件214包括一个或多个传感器,用于为装置200提供各个方面的状态评估。例如,传感器组件214可以检测到装置200的打开/关闭状态,组件的相对定位,例如所述组件为装置200的显示器和小键盘,传感器组件214还可以检测装置200或装置200一个组件的位置改变,用户与装置200接触的存在或不存在,装置200方位或加速/减速和装置200的温度变化。传感器组件214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 214 includes one or more sensors for providing various aspects of status assessment for device 200 . For example, the sensor component 214 can detect the open/closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, and the sensor component 214 can also detect a change in the position of the device 200 or a component of the device 200 , the presence or absence of user contact with the device 200 , the device 200 orientation or acceleration/deceleration and the temperature change of the device 200 . The sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 214 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件216被配置为便于装置200和其他设备之间有线或无线方式的通信。装置200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 216 is configured to facilitate wired or wireless communication between the apparatus 200 and other devices. The device 200 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 200 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器204,上述指令可由装置200的处理器220执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 204 including instructions, which can be executed by the processor 220 of the device 200 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

可以理解的是,本公开中“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It can be understood that "plurality" in the present disclosure refers to two or more, and other quantifiers are similar. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship. The singular forms "a", "said" and "the" are also intended to include the plural unless the context clearly dictates otherwise.

进一步可以理解的是,术语“第一”、“第二”等用于描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开,并不表示特定的顺序或者重要程度。实际上,“第一”、“第二”等表述完全可以互换使用。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。It can be further understood that the terms "first", "second", etc. are used to describe various information, but the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not imply a specific order or degree of importance. In fact, expressions such as "first" and "second" can be used interchangeably. For example, without departing from the scope of the present disclosure, first information may also be called second information, and similarly, second information may also be called first information.

进一步可以理解的是,除非有特殊说明,“连接”包括两者之间不存在其他构件的直接连接,也包括两者之间存在其他元件的间接连接。It can be further understood that, unless otherwise specified, "connection" includes a direct connection without other components between the two, and also includes an indirect connection between the two with other elements.

进一步可以理解的是,本公开实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。It can be further understood that although operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring that these operations be performed in the specific order shown or in a serial order, or that Perform all operations shown to obtain the desired result. In certain circumstances, multitasking and parallel processing may be advantageous.

本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1.一种数据传输方法,其特征在于,应用于云终端,所述数据传输方法包括:1. A data transmission method, characterized in that, being applied to a cloud terminal, the data transmission method comprises: 确定所述云终端向云端服务器传输数据的数据加密类型,所述数据加密类型用于指示对所述数据进行加密的加密硬件实体;Determine the data encryption type for data transmission from the cloud terminal to the cloud server, where the data encryption type is used to indicate an encryption hardware entity that encrypts the data; 所述加密硬件实体为在所述云终端与所述云端服务器之间传输所述数据的硬件实体中随机选择的至少一个硬件实体;The encryption hardware entity is at least one randomly selected hardware entity among the hardware entities that transmit the data between the cloud terminal and the cloud server; 基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密,并将加密后的数据传输至所述云端服务器。Encrypting the data based on the encryption hardware entity indicated by the data encryption type, and transmitting the encrypted data to the cloud server. 2.根据权利要求1所述的数据传输方法,其特征在于,基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密,包括:2. The data transmission method according to claim 1, wherein encrypting the data based on the encryption hardware entity indicated by the data encryption type comprises: 若所述加密硬件实体包括时钟电路,则确定所述时钟电路产生的时钟信号,以及所述时钟信号所控制的硬件实体中传输的数据;If the encryption hardware entity includes a clock circuit, then determine the clock signal generated by the clock circuit, and the data transmitted in the hardware entity controlled by the clock signal; 通过调整时钟信号与硬件实体中传输的数据比特位个数之间的对应关系,对所述时钟信号所控制的硬件实体中传输的数据进行加密;Encrypting the data transmitted in the hardware entity controlled by the clock signal by adjusting the corresponding relationship between the clock signal and the number of data bits transmitted in the hardware entity; 其中,所述对应关系包括一个时钟信号传输一个或多个比特位的数据;Wherein, the correspondence includes a clock signal transmitting one or more bits of data; 所述时钟信号所控制的硬件实体包括信源接收器、编码器、调制器以及变频器中的一个或多个。The hardware entities controlled by the clock signal include one or more of a source receiver, an encoder, a modulator, and a frequency converter. 3.根据权利要求1或2所述的数据传输方法,其特征在于,基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密,包括:3. The data transmission method according to claim 1 or 2, wherein encrypting the data based on the encryption hardware entity indicated by the data encryption type includes: 若所述加密硬件实体包括信源接收器以及编码器,则确定信源接收器接收到的信源信号;If the encryption hardware entity includes a source receiver and an encoder, then determine the source signal received by the source receiver; 在信源编码过程中,通过调整数据电平的高低、信号沿的跳变、上升沿与下降沿、比特位代表的物理信息以及比特位压缩信息中的至少一项,对所述信源信号进行编码加密。In the source coding process, the source signal is encoded by adjusting at least one of the level of the data level, the jump of the signal edge, the rising edge and the falling edge, the physical information represented by the bit, and the compressed information of the bit. Encode and encrypt. 4.根据权利要求3所述的数据传输方法,其特征在于,所述方法还包括:4. The data transmission method according to claim 3, wherein the method further comprises: 在对所述信源信号进行加密过程中,采用抗干扰能力编码进行编码。In the process of encrypting the source signal, anti-interference capability coding is used for coding. 5.根据权利要求1或2所述的数据传输方法,其特征在于,基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密,包括:5. The data transmission method according to claim 1 or 2, wherein encrypting the data based on the encryption hardware entity indicated by the data encryption type includes: 若所述加密硬件实体包括调制器,则确定所述调制器在数字调制过程中采用的调制方式;If the encryption hardware entity includes a modulator, then determine the modulation mode used by the modulator in the digital modulation process; 将所述调制方式对应的编号信息添加调制的数据信息中,并在模拟调制过程中基于所述编号信息确定采用的调制方式,采用与数字调制过程中相同的调制方式进行模拟调制。The number information corresponding to the modulation mode is added to the modulated data information, and the modulation mode used is determined based on the number information during the analog modulation process, and the analog modulation is performed using the same modulation mode as that during the digital modulation process. 6.根据权利要求1所述的数据传输方法,其特征在于,确定所述云终端向云端服务器传输数据的数据加密类型,包括:6. The data transmission method according to claim 1, wherein determining the data encryption type for the cloud terminal to transmit data to the cloud server comprises: 基于待传输数据的安全等级,确定匹配所述安全等级的数据加密类型;Based on the security level of the data to be transmitted, determine the data encryption type matching the security level; 其中,不同的数据加密类型对应的加密硬件实体不同,和/或同一加密硬件实体采用的加密方式不同;Among them, different data encryption types correspond to different encryption hardware entities, and/or the encryption methods adopted by the same encryption hardware entity are different; 不同的安全等级对应不同的数据加密类型。Different security levels correspond to different data encryption types. 7.一种数据传输装置,其特征在于,应用于云终端,所述数据传输装置包括:7. A data transmission device, characterized in that it is applied to a cloud terminal, and the data transmission device includes: 确定模块,用于确定所述云终端向云端服务器传输数据的数据加密类型,所述数据加密类型用于指示对所述数据进行加密的加密硬件实体,所述加密硬件实体为在所述云终端与所述云端服务器之间传输所述数据的硬件实体中随机选择的至少一个硬件实体;A determination module, configured to determine the data encryption type for data transmission from the cloud terminal to the cloud server, the data encryption type is used to indicate an encryption hardware entity that encrypts the data, and the encryption hardware entity is the encryption hardware entity in the cloud terminal at least one hardware entity randomly selected among the hardware entities that transmit the data to and from the cloud server; 控制模块,用于基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密;a control module, configured to encrypt the data based on the encryption hardware entity indicated by the data encryption type; 传输模块,用于将加密后的数据传输至所述云端服务器。The transmission module is used to transmit the encrypted data to the cloud server. 8.根据权利要求7所述的数据传输装置,其特征在于,所述控制模块采用如下方式基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密:8. The data transmission device according to claim 7, wherein the control module encrypts the data based on the encryption hardware entity indicated by the data encryption type in the following manner: 当所述加密硬件实体包括时钟电路时,确定所述时钟电路产生的时钟信号,以及所述时钟信号所控制的硬件实体中传输的数据;When the encryption hardware entity includes a clock circuit, determine the clock signal generated by the clock circuit, and the data transmitted in the hardware entity controlled by the clock signal; 通过调整时钟信号与硬件实体中传输的数据比特位个数之间的对应关系,对所述时钟信号所控制的硬件实体中传输的数据进行加密;Encrypting the data transmitted in the hardware entity controlled by the clock signal by adjusting the corresponding relationship between the clock signal and the number of data bits transmitted in the hardware entity; 其中,所述对应关系包括一个时钟信号传输一个或多个比特位的数据;Wherein, the correspondence includes a clock signal transmitting one or more bits of data; 所述时钟信号所控制的硬件实体包括信源接收器、编码器、调制器以及变频器中的一个或多个。The hardware entities controlled by the clock signal include one or more of a source receiver, an encoder, a modulator, and a frequency converter. 9.根据权利要求7或8所述的数据传输装置,其特征在于,所述控制模块采用如下方式基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密:9. The data transmission device according to claim 7 or 8, wherein the control module encrypts the data based on the encryption hardware entity indicated by the data encryption type in the following manner: 当所述加密硬件实体包括信源接收器以及编码器时,确定信源接收器接收到的信源信号;When the encryption hardware entity includes a source receiver and an encoder, determine the source signal received by the source receiver; 在信源编码过程中,通过调整数据电平的高低、信号沿的跳变、上升沿与下降沿、比特位代表的物理信息以及比特位压缩信息中的至少一项,对所述信源信号进行编码加密。In the source coding process, the source signal is encoded by adjusting at least one of the level of the data level, the jump of the signal edge, the rising edge and the falling edge, the physical information represented by the bit, and the compressed information of the bit. Encode and encrypt. 10.根据权利要求9所述的数据传输装置,其特征在于,所述控制模块还用于:10. The data transmission device according to claim 9, wherein the control module is further used for: 在对所述信源信号进行加密过程中,采用抗干扰能力编码进行编码。In the process of encrypting the source signal, anti-interference capability coding is used for coding. 11.根据权利要求7或8所述的数据传输装置,其特征在于,所述控制模块采用如下方式基于所述数据加密类型指示的所述加密硬件实体对所述数据进行加密:11. The data transmission device according to claim 7 or 8, wherein the control module encrypts the data based on the encryption hardware entity indicated by the data encryption type in the following manner: 当所述加密硬件实体包括调制器时,确定所述调制器在数字调制过程中采用的调制方式;When the encryption hardware entity includes a modulator, determine the modulation mode used by the modulator in the digital modulation process; 将所述调制方式对应的编号信息添加调制的数据信息中,并在模拟调制过程中基于所述编号信息确定采用的调制方式,采用与数字调制过程中相同的调制方式进行模拟调制。The number information corresponding to the modulation mode is added to the modulated data information, and the modulation mode used is determined based on the number information during the analog modulation process, and the analog modulation is performed using the same modulation mode as that during the digital modulation process. 12.根据权利要求7所述的数据传输装置,其特征在于,所述确定模块采用如下方式确定所述云终端向云端服务器传输数据的数据加密类型:12. The data transmission device according to claim 7, wherein the determination module determines the data encryption type for the cloud terminal to transmit data to the cloud server in the following manner: 基于待传输数据的安全等级,确定匹配所述安全等级的数据加密类型;Based on the security level of the data to be transmitted, determine the data encryption type matching the security level; 其中,不同的数据加密类型对应的加密硬件实体不同,和/或同一加密硬件实体采用的加密方式不同;Among them, different data encryption types correspond to different encryption hardware entities, and/or the encryption methods adopted by the same encryption hardware entity are different; 不同的安全等级对应不同的数据加密类型。Different security levels correspond to different data encryption types. 13.一种数据传输装置,其特征在于,包括:13. A data transmission device, characterized in that it comprises: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:执行权利要求1至6中任意一项所述的数据传输方法。Wherein, the processor is configured to: execute the data transmission method described in any one of claims 1-6. 14.一种非临时性计算机可读存储介质,其特征在于,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行权利要求1至6中任意一项所述的数据传输方法。14. A non-transitory computer-readable storage medium, characterized in that, when the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is able to execute any one of claims 1 to 6. data transfer method.
CN202110522287.4A 2021-05-13 2021-05-13 Data transmission method, data transmission device and storage medium Active CN115348045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110522287.4A CN115348045B (en) 2021-05-13 2021-05-13 Data transmission method, data transmission device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110522287.4A CN115348045B (en) 2021-05-13 2021-05-13 Data transmission method, data transmission device and storage medium

Publications (2)

Publication Number Publication Date
CN115348045A true CN115348045A (en) 2022-11-15
CN115348045B CN115348045B (en) 2025-05-23

Family

ID=83946715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110522287.4A Active CN115348045B (en) 2021-05-13 2021-05-13 Data transmission method, data transmission device and storage medium

Country Status (1)

Country Link
CN (1) CN115348045B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2720402A1 (en) * 2012-10-12 2014-04-16 Altis Semiconductor Hardware encryption and decryption apparatus using a N round AES algorithm
CN105227581A (en) * 2015-11-04 2016-01-06 江苏马上游科技股份有限公司 Cloud computing data security solution
CN108390942A (en) * 2018-03-21 2018-08-10 山东超越数控电子股份有限公司 A kind of encrypted distributed cloud storage method and apparatus of hardware
CN108667793A (en) * 2018-03-13 2018-10-16 大族激光科技产业集团股份有限公司 A kind of hardware cryptographic devices based on PROFIBUS buses
CN108933761A (en) * 2017-05-25 2018-12-04 深圳市鑫科蓝电子科技有限公司 A kind of the control flow encryption method and system of Intelligent hardware product
CN109151140A (en) * 2018-10-22 2019-01-04 西安工业大学 Mobile terminal sound cryptographic communication system and method
CN109792385A (en) * 2016-10-03 2019-05-21 日本电气株式会社 Communication device, communication means, communication system and recording medium
CN109861818A (en) * 2019-03-06 2019-06-07 京东方科技集团股份有限公司 Encryption and decryption circuit, encryption and decryption device, and encryption and decryption method
US20190325408A1 (en) * 2017-12-30 2019-10-24 Xeeda Inc. Devices, Systems, and Methods For Securing, Accessing and Transacting Cryptocurrency and Non-Crytptocurrency Assets
US10594668B1 (en) * 2016-12-01 2020-03-17 Thales Esecurity, Inc. Crypto Cloudlets
CN111628972A (en) * 2020-04-30 2020-09-04 京东数字科技控股有限公司 Data encryption and decryption device, method, system and storage medium
CN212302479U (en) * 2020-05-08 2021-01-05 北京智芯微电子科技有限公司 encryption device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2720402A1 (en) * 2012-10-12 2014-04-16 Altis Semiconductor Hardware encryption and decryption apparatus using a N round AES algorithm
CN105227581A (en) * 2015-11-04 2016-01-06 江苏马上游科技股份有限公司 Cloud computing data security solution
CN109792385A (en) * 2016-10-03 2019-05-21 日本电气株式会社 Communication device, communication means, communication system and recording medium
US10594668B1 (en) * 2016-12-01 2020-03-17 Thales Esecurity, Inc. Crypto Cloudlets
CN108933761A (en) * 2017-05-25 2018-12-04 深圳市鑫科蓝电子科技有限公司 A kind of the control flow encryption method and system of Intelligent hardware product
US20190325408A1 (en) * 2017-12-30 2019-10-24 Xeeda Inc. Devices, Systems, and Methods For Securing, Accessing and Transacting Cryptocurrency and Non-Crytptocurrency Assets
CN108667793A (en) * 2018-03-13 2018-10-16 大族激光科技产业集团股份有限公司 A kind of hardware cryptographic devices based on PROFIBUS buses
CN108390942A (en) * 2018-03-21 2018-08-10 山东超越数控电子股份有限公司 A kind of encrypted distributed cloud storage method and apparatus of hardware
CN109151140A (en) * 2018-10-22 2019-01-04 西安工业大学 Mobile terminal sound cryptographic communication system and method
CN109861818A (en) * 2019-03-06 2019-06-07 京东方科技集团股份有限公司 Encryption and decryption circuit, encryption and decryption device, and encryption and decryption method
CN111628972A (en) * 2020-04-30 2020-09-04 京东数字科技控股有限公司 Data encryption and decryption device, method, system and storage medium
CN212302479U (en) * 2020-05-08 2021-01-05 北京智芯微电子科技有限公司 encryption device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李瑛;杜丽萍;赵桂芬;: "云服务中可信第三方认证平台设计", 网络安全技术与应用, no. 02, 15 February 2018 (2018-02-15) *

Also Published As

Publication number Publication date
CN115348045B (en) 2025-05-23

Similar Documents

Publication Publication Date Title
US12101396B2 (en) Device sharing method and electronic device
KR20160061901A (en) Information interaction method and device, electronic device
CN107819572A (en) Order transmission method, device and electronic equipment
US10791124B2 (en) Method and terminal device for encrypting message
CN110188524B (en) Information encryption method, information decryption method and terminal
CN114885038B (en) Encryption protocol conversion method, result acquisition node and privacy calculation node
CN110826097A (en) A data processing method and electronic device
CN107040367B (en) Method, apparatus and system for session key negotiation
CN109246110A (en) data sharing method and device
CN112115464A (en) Unlocking processing method and device, electronic equipment and storage medium
CN111414639B (en) File encryption and decryption method, device and equipment
CN105120452B (en) Transmit the method, apparatus and system of information
CN115051790A (en) Data encryption method, data decryption method and device, and storage medium
CN105681365A (en) File transmission method and device
US9106429B2 (en) Method and system for pre-accessing conference telephone and network side device
CN109104361B (en) Instant messaging method, instant messaging device, electronic equipment and storage medium
CN107743063A (en) Data processing method and device
CN115348045A (en) Data transmission method, data transmission device and storage medium
CN104967992A (en) Encrypting and decrypting method and device
CN112671530B (en) Data processing method and device and data processing device
WO2018076671A1 (en) Voice data processing device, method and terminal
CN114969770B (en) Data encryption method, device, computer readable storage medium and product
Kang et al. Go anywhere: user-verifiable authentication over distance-free channel for mobile devices
CN115514479A (en) Blockchain-based data information processing method, device and equipment
CN116073980A (en) Data transmission method, device, computer readable storage medium and product

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载