Data transmission method and related device

Intent-driven technology automatically completes encrypted communication between user terminals during the attribute encryption process, solving the problem of cumbersome encryption operations under traditional encryption methods and improving the intelligence and security of the communication process.

CN118540696APending Publication Date: 2024-08-23CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410822195.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When the traditional attribute encryption method has a large amount of information and requires multiple communications, repeated encryption operations increase the message management burden on the sender, making the encrypted communication process between user terminals inconvenient.

Method used

By introducing intent-driven technology, the operation intention is obtained to match the preset system attribute set, the intent attribute set is generated, and the target data is encrypted and decrypted based on the intent attribute set, automatically completing the attribute encryption communication process and reducing manual operations.

Benefits of technology

It improves the automation and intelligence of the encrypted communication process between user terminals, optimizes the user experience, reduces the message management burden on the sender, and enhances the security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540696A
    Figure CN118540696A
Patent Text Reader

Abstract

The embodiment of the invention discloses a data transmission method and a related device, and relates to the technical field of information security. In the application, a server obtains an operation intention for target data and matches the operation intention with a preset system attribute set to obtain an intention attribute set, and the system attribute set is generated based on identity information of each terminal and data association information at least used for screening data types. The form of the operation intention is a text form or a voice form, and the intention attribute set is a subset of the system attribute set; and encrypting the target data according to the intention attribute set, and sending the encrypted target data to the target terminal. Thus, by introducing intention drive into the attribute encryption process, a sender can automatically complete the attribute encryption communication process only by expressing own communication intention through voice or characters, a large amount of messages do not need to be manually managed, the encryption communication process between user terminals is improved, and the intellectualization and automation of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security technology, and in particular to a data transmission method and related devices. Background Art

[0002] With the development of the fifth generation mobile communication technology (5G), network devices are increasing, and the communication between users and devices is becoming more frequent. In order to protect privacy data or data for specific users from being stolen by illegal users during the communication process, a common method is to use a specific encryption algorithm to encrypt the data before transmission.

[0003] At present, attribute encryption method is one of the important means to protect privacy data. Attribute encryption method uses user attributes as the basis for encryption and decryption. When the attribute set owned by the receiver includes the attributes used by the sender to encrypt the data, the message receiver can decrypt the data, thus realizing fine-grained access control of encrypted data.

[0004] However, the traditional attribute encryption method requires the sender to send a message and take encryption measures. When the amount of information is large and multiple communications are required, repeated encryption operations greatly increase the message management burden of the sender. Summary of the invention

[0005] The present application provides a data transmission method and related devices to improve the intelligence of data encryption.

[0006] In a first aspect, an embodiment of the present application provides a data transmission method, the method comprising:

[0007] Acquire an operation intention for target data, and match the operation intention with a preset system attribute set to obtain an intention attribute set, wherein the system attribute set is generated based on identity information of each terminal and data association information at least for screening data types, the operation intention is in a text form or a voice form, and the intention attribute set is a subset of the system attribute set;

[0008] The target data is encrypted according to the intent attribute set, and the encrypted target data is sent to the target terminal.

[0009] In a possible design, the operation intention is matched with a preset system attribute set to obtain an intention attribute set, including:

[0010] According to the multiple system properties included in the system property set, keywords that are the same as any system property in the operation intention are extracted, and the keywords are used as the intention property set.

[0011] In one possible design, target data is encrypted based on a set of intent attributes, including:

[0012] Encrypt the target data based on the public key in the key pair corresponding to any one of the intent attributes in the intent attribute set; or

[0013] The target data is encrypted based on the public key in the key pair corresponding to the combination of any multiple intent attributes in the intent attribute set.

[0014] In a possible design, before sending the encrypted target data to the target terminal, the following steps are further included:

[0015] When the intention attribute set is a subset of the user attribute set corresponding to a candidate terminal, the candidate terminal is determined as the target terminal, wherein the user attribute set is generated based on the identity information of the candidate terminal and data association information at least for filtering the data type, and the user attribute set is a subset of the system attribute set.

[0016] In a possible design, after the encrypted target data is sent to the target terminal, the following steps are further included:

[0017] Decrypt the target data based on the private key in the key pair corresponding to any one of the intent attributes in the intent attribute set; or

[0018] The target data is decrypted based on the private key in the key pair corresponding to the combination of any multiple intent attributes in the intent attribute set.

[0019] In a possible design, the information carried by the operation intention includes one or any combination of the following:

[0020] The identity information of the target terminal;

[0021] The encryption validity period for the target data;

[0022] Encryption method for target data;

[0023] The number of encryptions for the target data.

[0024] In a second aspect, an embodiment of the present application further provides a data transmission device, the device comprising:

[0025] an acquisition module, used to acquire an operation intention for target data, and match the operation intention with a preset system attribute set to obtain an intention attribute set, wherein the system attribute set is generated based on the identity information of each terminal and data association information at least for screening data types, the operation intention is in a text form or a voice form, and the intention attribute set is a subset of the system attribute set;

[0026] The sending module is used to encrypt the target data according to the intention attribute set and send the encrypted target data to the target terminal.

[0027] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method as described in any one of the first aspects when executing the computer program.

[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any method described in the first aspect.

[0029] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when called by a computer, enables the computer to execute the method described in the first aspect.

[0030] In an embodiment of the present application, the server obtains the operation intention for the target data, and matches the operation intention with a preset system attribute set to obtain an intention attribute set, wherein the system attribute set is generated based on the identity information of each terminal and data association information at least for filtering the data type, the operation intention is in the form of text or voice, and the intention attribute set is a subset of the system attribute set; the target data is encrypted according to the intention attribute set, and the encrypted target data is sent to the target terminal.

[0031] In this way, by introducing intent-driven into the attribute encryption process, the sender only needs to express his or her communication intention through voice or text to automatically complete the attribute encryption communication process. There is no need to manually manage a large number of messages and repeat unnecessary operations. This improves the encryption communication process between user terminals, optimizes the user experience, and improves the intelligence and automation of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of possible application scenarios in the embodiments of the present application;

[0033] Figure 2 This is a flow chart of a data transmission method in an embodiment of the present application;

[0034] Figure 3 This is a schematic diagram of a method for obtaining an intent attribute set in an embodiment of the present application;

[0035] Figure 4 This is a flow chart of an intent-driven attribute encryption communication method according to an embodiment of the present application;

[0036] Figure 5This is a schematic diagram of a scenario of an attribute encryption communication method based on intent-driven in an embodiment of the present application;

[0037] Figure 6 This is a schematic diagram of the structure of a data transmission device in an embodiment of the present application;

[0038] Figure 7 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

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

[0040] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.

[0041] Some of the terms used in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.

[0042] (1) Intent-driven: A technology that achieves network autonomy. Users tell the network their intentions, and the network will autonomously develop the best solution and automatically execute the task.

[0043] (2) Intent translation: The natural language describing network requirements or tasks is expressed as rules that can be recognized by the network, that is, high-level intent is converted into network strategy.

[0044] (3) Attribute-Based Encryption (ABE): ABE is an extension of traditional public key encryption. ABE treats user identity information as a series of attributes and encrypts messages based on the attributes. It does not need to pay attention to the identity of the receiver. Only users who meet the attribute requirements can decrypt the ciphertext, thus ensuring the confidentiality of the data.

[0045] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.

[0046] See also Figure 1 As shown, it is a schematic diagram of possible application scenarios in the embodiments of the present application.

[0047] The application scenario includes terminal devices 110 (including terminal devices 1101, 1102 ... terminal devices 110n) and a server 120. The terminal devices 110 and the server 120 can communicate with each other through a communication network.

[0048] In an optional implementation, the communication network may be a wired network or a wireless network. Therefore, the terminal device 110 and the server 120 may be directly or indirectly connected via a wired or wireless communication. For example, the terminal device 110 may be indirectly connected to the server 120 via a wireless access point, or the terminal device 110 may be directly connected to the server 120 via the Internet, and this application does not limit this.

[0049] In the embodiment of the present application, the terminal device 110 includes but is not limited to mobile phones, tablet computers, laptop computers, desktop computers, e-book readers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals and other devices; various clients may be installed on the terminal device, and the client may be an application program (such as a browser, game software, etc.) that supports functions such as video preview and video playback, or a web page, a small program, etc.;

[0050] The server 120 is a background server corresponding to the client installed in the terminal device 110. The server 120 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0051] It should be noted that the data transmission method in the embodiment of the present application can be executed by an electronic device, which may be a server 120 or a terminal device 110, that is, the method can be executed by the server 120 or the terminal device 110 alone, or can be executed jointly by the server 120 and the terminal device 110.

[0052] It should be noted that, in the following, the example of execution by a server alone is mainly used for illustration, and no specific limitation is made here.

[0053] It should be noted that Figure 1The figure is only an example. In fact, the number of terminal devices 110 and servers 120 is not limited and is not specifically limited in the embodiments of the present application.

[0054] In the embodiment of the present application, when there are multiple servers 120, the multiple servers 120 can form a blockchain, and the servers 120 are nodes on the blockchain.

[0055] See also Figure 2 As shown, it is a flow chart of a data transmission method in an embodiment of the present application. Figure 2 , and explain the specific execution steps in detail:

[0056] Step S201: Acquire the operation intention for the target data, and match the operation intention with a preset system attribute set to obtain an intention attribute set.

[0057] The system attribute set is generated based on the identity information of each terminal and data association information at least for filtering data types. The operation intention is in the form of text or voice, and the intention attribute set is a subset of the system attribute set.

[0058] Specifically, in an embodiment of the present application, during the system initialization phase, the server assigns identity identifiers to all registered user terminals, and sets attributes that may be covered in the system based on the identity identifiers and data association information reported by each user terminal, thereby generating a system attribute set.

[0059] For example, the user terminal reports the data-related information such as the message type (such as bill) that it wants to obtain to the server, and the server counts and saves it, and builds a system attribute set in combination with the identity identification of each user terminal. Usually, only a part of the system attributes in the system attribute set are related to the identity information of the user terminal, and the rest can be reported by each user terminal or actively added by the server. In different application scenarios, the corresponding system attributes may be different.

[0060] It should be noted that the attributes involved in this application can be characters, words, phrases, numbers or character strings, etc., and this application does not impose any restrictions on this.

[0061] Furthermore, in an embodiment of the present application, when a user terminal needs to communicate with other user terminals, the control object of the user terminal inputs the operation intention for the target data through voice or text. After receiving the operation intention, the server translates the intention and formulates an intention implementation strategy.

[0062] In an optional embodiment, the information carried by the operation intention includes but is not limited to one or any combination of the following:

[0063] (1) Identity information of the target terminal.

[0064] (2) Encryption validity period for target data.

[0065] (3) Encryption method for target data.

[0066] (4) The number of encryption times for the target data.

[0067] In actual applications, in addition to the above information, the operation intention may also carry other special encryption conditions for the target data, etc., and this application does not impose any restrictions on this.

[0068] Based on this, users can use intents to express their expectations for encryption of private messages, eliminating the need for multiple manual operations in scenarios with frequent message communications, thereby improving the convenience of message management.

[0069] Specifically, the server matches the operation intention with the system property set to obtain the intention property set. In an embodiment of the present application, the server extracts keywords in the operation intention that are the same as any system property according to the multiple system properties included in the system property set, and uses the keywords as the intention property set.

[0070] For example, the control object of user terminal A inputs the operation intention through voice: "Send an email about the 2023 annual bill to user terminal B." Among them, the 2023 annual bill is the target data to be operated. The server translates the operation intention into network rules through intent-driven technology and automatically implements it.

[0071] See also Figure 3 As shown, it is a schematic diagram of a method for obtaining an intent attribute set in an embodiment of the present application, wherein the front end of the user terminal A receives the operation intention input by the control object, and then the server extracts the intent attributes from the operation intention according to the system attributes such as the identity information and data association information of each user terminal contained in the system attribute set. For example, the operation intention contains three keywords "user terminal B", "annual bill" and "email" that are the same as the system attributes, then the server regards these three keywords as the intent attribute set.

[0072] Step S201: Encrypt the target data according to the intent attribute set, and send the encrypted target data to the target terminal.

[0073] After obtaining the intent attribute set, the server encrypts the target data based on the intent attribute set and sends it to the target terminal.

[0074] Specifically, in an embodiment of the present application, when the server encrypts the target data, it may encrypt the target data based on the public key in the key pair corresponding to any one of the intent attributes in the intent attribute set, or it may encrypt the target data based on the public key in the key pair corresponding to the combination of any multiple intent attributes in the intent attribute set.

[0075] Normally, when the operation intention carries the identity information of the target data recipient, the server will directly encrypt the target data based on the public key in the corresponding key pair of the recipient.

[0076] For example, in an embodiment of the present application, the server encrypts the 2023 annual bill based on the public key in the key pair corresponding to user terminal B.

[0077] In another optional embodiment, when there are multiple recipients of the target data, in order to allow all recipients to decrypt the target data, the server selects a public key in the key pair corresponding to a combination of any one or more intent attributes except the recipient's identity information to encrypt the target data.

[0078] In addition, it is understandable that when the operation intention also carries encryption expectations such as the encryption validity period and number of encryptions for the target data, the server will complete the encryption processing of the target data in accordance with the corresponding conditions.

[0079] Optionally, in order to further ensure the authenticity and validity of the data, the server can also use the sender's private key to sign the target data before or after encryption to increase the security of the ciphertext.

[0080] It is worth noting that the above encryption process in this application is implemented by intent-driven technology, which can improve the automation capability of the attribute encryption process.

[0081] Furthermore, the server first determines the target terminal based on the user attribute set of each candidate terminal, and then sends the encrypted data to the target terminal.

[0082] The user attribute set is generated based on the identity information of the candidate terminal and data association information at least used to filter the data type, and the user attribute set is a subset of the system attribute set.

[0083] In an embodiment of the present application, during the system initialization phase, each user terminal, while reporting data association information and constructing a system attribute set, will also construct a user attribute set based on its own data association information and identity information, which is used to determine the correct recipient through attribute matching during the communication phase, thereby improving the accuracy of message push.

[0084] Specifically, when the intention attribute set is a subset of the user attribute set corresponding to a candidate terminal, the server determines the candidate terminal as the target terminal.

[0085] For example, if the user attribute set of user terminal B is {user terminal B, email, meeting, annual bill}, which includes the intent attribute set, then user terminal B is the target terminal, and the server pushes the encrypted target data to user terminal B.

[0086] It should be noted that the number of target terminals in the embodiment of the present application may be zero.

[0087] For example, if the user attribute set of user terminal B is {user terminal B, email, meeting, department file}, which is only partially consistent with the intent attribute set and there is no inclusion relationship, user terminal B will not be determined as the target terminal, and the server will not push the encrypted target data to user terminal B.

[0088] After the target terminal receives the target data, the server automatically decrypts the target data based on the corresponding private key.

[0089] In an embodiment of the present application, the server decrypts the target data based on the private key in the key pair corresponding to any one of the intent attributes in the intent attribute set, or decrypts the target data based on the private key in the key pair corresponding to the combination of any multiple intent attributes in the intent attribute set.

[0090] For example, in combination with the encryption method of the target data by the server described above, the server here decrypts the target data based on the private key of the key pair corresponding to the user terminal B.

[0091] In this way, the server determines whether the recipient can access the ciphertext by matching the intent attribute with the user attribute, without sending the ciphertext to all user terminals, thereby reducing the exposure of the ciphertext and improving the security of private messages.

[0092] It should be noted that in the embodiment of the present application, the server extracts intent attributes, encrypts the target data, and screens recipients based on intent attributes and user attributes, all of which are automatically executed by intent-driven technology. The human-computer interface of intent-driven technology generally uses voice or text input and involves natural language understanding. At the same time, key actions such as intelligent orchestration of network resources, troubleshooting of network management, and network performance optimization in subsequent processes require the participation of big data and artificial intelligence algorithms, and all of them can refer to existing well-known technologies, which will not be elaborated in this application.

[0093] The above embodiment is further described in detail below through a specific application scenario:

[0094] See also Figure 4As shown, it is a flow chart of an intent-driven attribute encryption communication method according to an embodiment of the present application, wherein:

[0095] Step S401: assigning identity credentials to registered user terminals and constructing a system attribute set.

[0096] Combined with Figure 5 As shown, it is a schematic diagram of a scenario of an intent-driven attribute encryption communication method in an embodiment of the present application, wherein, in the system initialization phase, each registered user terminal has its own identity ID, and reports data association information to the attribute server for storage as system attributes.

[0097] Step S402: The sender creates an operation intention.

[0098] Combined with Figure 5 As shown, the sender inputs the operation intention, and the central server translates the operation intention into network rules and implements them, wherein the central server is a server configured with natural language understanding, big data and artificial intelligence algorithms.

[0099] Optionally, the central server and the attribute server can be deployed as a unified server cluster or separately. Here, the separate deployment of the two is taken as an example.

[0100] Step S403: Determine whether the user attribute of the recipient matches the intent attribute. If so, execute step S404; otherwise, execute step S406.

[0101] Combined with Figure 5 As shown, the central server filters the data recipients based on the attribute information stored in the attribute server and accurately pushes the messages to the recipients that meet the screening criteria.

[0102] Step S404: Push the ciphertext to the target terminal.

[0103] Step S405: decrypt the ciphertext for the recipient based on network rules.

[0104] Step S406: The sender and the receiver cannot communicate.

[0105] To sum up, in the embodiments of the present application, intent-driven is introduced into the attribute encryption process. The sender only needs to express his communication intention through voice or text to automatically complete the attribute encryption communication process. There is no need to manually manage a large number of messages and repeat unnecessary operations. The encrypted communication process between user terminals is improved and the user experience is optimized. In addition, the server records the attributes of all users and filters messages for recipients through attribute matching. This can prevent useless messages from impacting recipients and causing communication interruptions or system crashes. The intelligence and automation of the system are improved through active screening, active push and active decryption operations.

[0106] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0107] Based on the same technical concept, see Figure 6 As shown, the embodiment of the present application also provides a data transmission device, which includes:

[0108] The acquisition module 601 is used to acquire the operation intention for the target data, and match the operation intention with a preset system attribute set to obtain an intention attribute set, wherein the system attribute set is generated based on the identity information of each terminal and at least data association information for screening the data type, the operation intention is in a text form or a voice form, and the intention attribute set is a subset of the system attribute set;

[0109] The sending module 602 is used to encrypt the target data according to the intention attribute set and send the encrypted target data to the target terminal.

[0110] Optionally, when the operation intention is matched with a preset system attribute set and the intention attribute set is obtained, the acquisition module 601 is used to:

[0111] According to the multiple system properties included in the system property set, keywords that are the same as any system property in the operation intention are extracted, and the keywords are used as the intention property set.

[0112] Optionally, when encrypting the target data according to the intention attribute set, the sending module 602 is used to:

[0113] Encrypt the target data based on the public key in the key pair corresponding to any one of the intent attributes in the intent attribute set; or

[0114] The target data is encrypted based on the public key in the key pair corresponding to the combination of any multiple intent attributes in the intent attribute set.

[0115] Optionally, before sending the encrypted target data to the target terminal, the sending module 602 is further used to:

[0116] When the intention attribute set is a subset of the user attribute set corresponding to a candidate terminal, the candidate terminal is determined as the target terminal, wherein the user attribute set is generated based on the identity information of the candidate terminal and data association information at least for filtering the data type, and the user attribute set is a subset of the system attribute set.

[0117] Optionally, after sending the encrypted target data to the target terminal, the sending module 602 is further used to:

[0118] Decrypt the target data based on the private key in the key pair corresponding to any one of the intent attributes in the intent attribute set; or

[0119] The target data is decrypted based on the private key in the key pair corresponding to the combination of any multiple intent attributes in the intent attribute set.

[0120] Optionally, the information carried by the operation intention includes one or any combination of the following:

[0121] The identity information of the target terminal;

[0122] The encryption validity period for the target data;

[0123] Encryption method for target data;

[0124] The number of encryptions for the target data.

[0125] Based on the same technical concept, an embodiment of the present application also provides an electronic device, which can implement the method flow of data transmission provided in the above embodiments of the present application.

[0126] In one embodiment, the electronic device may be a server, or a terminal device or other electronic device.

[0127] See also Figure 7 As shown, the electronic device may include:

[0128] At least one processor 701, and a memory 702 connected to the at least one processor 701. The specific connection medium between the processor 701 and the memory 702 is not limited in the embodiment of the present application. Figure 7 In the example, the processor 701 and the memory 702 are connected via a bus 700. Figure 7 The connections between other components are shown in bold lines, and are not intended to be limiting. The bus 700 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 7 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 701 can also be called a controller, and there is no limitation on the name.

[0129] In the embodiment of the present application, the memory 702 stores instructions that can be executed by at least one processor 701. The at least one processor 701 can execute a data transmission method discussed above by executing the instructions stored in the memory 702. The processor 701 can implement Figure 6 The functions of each module in the device shown.

[0130] Among them, the processor 701 is the control center of the device, and can use various interfaces and lines to connect the various parts of the entire control device. By running or executing instructions stored in the memory 702 and calling data stored in the memory 702, the various functions of the device and process data, the device can be monitored as a whole.

[0131] In one possible design, the processor 701 may include one or more processing units, and the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 701. In some embodiments, the processor 701 and the memory 702 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.

[0132] Processor 701 may be a general-purpose processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of a data transmission method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0133] The memory 702 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 702 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 702 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 702 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0134] By programming the processor 701, the code corresponding to the data transmission method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 2 The steps of a data transmission method in the embodiment shown are as follows: How to design and program the processor 701 is a technique known to those skilled in the art and will not be described in detail here.

[0135] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes a data transmission method discussed above.

[0136] In some possible implementations, various aspects of a data transmission method provided by the present application may also be implemented in the form of a program product, which includes program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of a data transmission method according to various exemplary implementations of the present application described above in this specification.

[0137] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0138] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0139] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0140] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0141] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0142] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0143] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A data transmission method, characterized in that: include: Acquire an operation intention for target data, and match the operation intention with a preset system attribute set to obtain an intention attribute set, wherein the system attribute set is generated based on identity information of each terminal and data association information at least for screening data types, the operation intention is in a text form or a voice form, and the intention attribute set is a subset of the system attribute set; The target data is encrypted according to the intention attribute set, and the encrypted target data is sent to the target terminal.

2. The method according to claim 1, characterized in that The step of matching the operation intention with a preset system attribute set to obtain an intention attribute set includes: According to the multiple system attributes included in the system attribute set, keywords that are the same as any one of the system attributes in the operation intention are extracted, and the keywords are used as the intention attribute set.

3. The method according to claim 1, characterized in that The encrypting the target data according to the set of intent attributes includes: Encrypting the target data based on a public key in a key pair corresponding to any one of the intent attributes in the set of intent attributes; or The target data is encrypted based on a public key in a key pair corresponding to a combination of any multiple intent attributes in the intent attribute set.

4. The method according to claim 1, characterized in that Before sending the encrypted target data to the target terminal, the method further includes: When the intention attribute set is a subset of the user attribute set corresponding to a candidate terminal, the candidate terminal is determined as the target terminal, wherein the user attribute set is generated based on the identity information of the candidate terminal and data association information at least for filtering data types, and the user attribute set is a subset of the system attribute set.

5. The method according to claim 3, characterized in that After sending the encrypted target data to the target terminal, the method further includes: Decrypting the target data based on a private key in a key pair corresponding to any one of the intent attributes in the set of intent attributes; or The target data is decrypted based on a private key in a key pair corresponding to a combination of any multiple intent attributes in the intent attribute set.

6. The method according to claim 1, characterized in that The information carried by the operation intention includes one or any combination of the following: The identity information of the target terminal; the encryption validity period for the target data; an encryption method for the target data; The number of encryptions for the target data.

7. A data transmission device, characterized in that: include: an acquisition module, used to acquire an operation intention for target data, and match the operation intention with a preset system attribute set to obtain an intention attribute set, wherein the system attribute set is generated based on the identity information of each terminal and data association information at least for screening data types, the operation intention is in a text form or a voice form, and the intention attribute set is a subset of the system attribute set; The sending module is used to encrypt the target data according to the intention attribute set and send the encrypted target data to the target terminal.

8. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that When the computer program product is called by a computer, the computer executes the method according to any one of claims 1 to 6.