Data transmission method, electronic device, storage medium and program product

By determining multiple target transmission nodes in a wireless sensor network and dividing data blocks, the problem of insufficient applicability of existing data transmission methods between real machines and cloud phones is solved, and data transmission efficiency and user experience are improved.

CN119835630APending Publication Date: 2025-04-15CHINA MOBILE INTERNET CO LTD +1
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411905643.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing data transmission methods are poorly applicable in data interaction scenarios between real machines and cloud mobile phones, and it is difficult to meet the need to modify files or download files during data transmission, resulting in a reduced user experience.

Method used

By determining multiple target transmission nodes based on the information of each transmission node in the wireless sensor network, the target data to be transmitted is divided into multiple target data blocks, and the data blocks are transmitted to the target cloud mobile phone of the server through the multiple target transmission nodes.

Benefits of technology

It improves data transmission efficiency and enhances user experience. It can meet the requirements of modifying files or downloading files during data transmission while ensuring safe data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835630A_ABST
    Figure CN119835630A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method, electronic equipment, a storage medium and a program product, belongs to the technical field of communication, and is used for improving data transmission efficiency. The method comprises the following steps: determining a plurality of target transmission nodes from transmission nodes according to information of the transmission nodes in the wireless sensor network; dividing target data to be transmitted into a plurality of target data blocks; and transmitting the plurality of target data blocks to a target cloud mobile phone of a server through the plurality of target transmission nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a data transmission method, electronic equipment, storage medium and program product. Background Art

[0002] A cloud phone is a virtual phone running in the cloud. All operating systems, mobile applications, data storage and computing functions are processed in the cloud, and then the video stream is transmitted to the physical phone through the 5G network to achieve end-to-cloud interaction. At present, there are many scenarios for data interaction between real phones and cloud phones. For example, files and applications need to be uploaded and downloaded between real phones and cloud phones. Real phones need to transmit data such as sensors, microphones, and camera positioning information to cloud phones to achieve real phone simulation functions. All these scenarios require data transmission. With the popularization of 5G networks, the amount of data interacting between real phones and cloud phones is relatively large, and the network scenarios are also relatively complex. Therefore, how to perform high-reliability, high-quality and low-latency data transmission between real phones and cloud phones has become an important indicator of cloud phone experience.

[0003] Based on this, currently, the method of setting permissions, etc., is used to prevent the recipient from caching and modifying the file viewing permissions, so as to achieve secure file transmission. Although this method can ensure the security of files to a certain extent, it does not take into account the need to modify files or download files during the data transmission between the cloud phone and the real machine. Therefore, the current data transmission method has poor applicability and is likely to reduce the user's data transmission experience. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method, an electronic device, a storage medium, and a program product, which can solve the problem that the current data transmission method has poor applicability.

[0005] In the first aspect, an embodiment of the present application provides a data transmission method, which is applied to a terminal device. The method includes: determining multiple target transmission nodes from each transmission node in a wireless sensor network; dividing the target data to be transmitted into multiple target data blocks; and transmitting the multiple target data blocks to a target cloud phone of a server through multiple target transmission nodes.

[0006] In the second aspect, an embodiment of the present application provides a data transmission method, which is applied to a server, and the method includes: receiving the multiple target data blocks transmitted by a terminal device through multiple target transmission nodes, wherein the multiple target transmission nodes are determined by the terminal device from each transmission node according to the information of each transmission node in the wireless sensor network, and the multiple target data blocks are obtained by the terminal device dividing the target data to be transmitted; transmitting the target data blocks to a target cloud phone, and the target cloud phone is determined according to the data transmission request sent by the terminal device.

[0007] In the third aspect, an embodiment of the present application provides a data transmission device, which includes: a determination module, used to determine multiple target transmission nodes from each transmission node according to information of each transmission node in the wireless sensor network; a division module, used to divide the target data to be transmitted into multiple target data blocks; a transmission module, used to transmit the multiple target data blocks to the target cloud phone of the server through multiple target transmission nodes.

[0008] In a fourth aspect, an embodiment of the present application provides a data transmission device, which includes: a receiving module, used to receive the multiple target data blocks transmitted by a terminal device through multiple target transmission nodes, wherein the multiple target transmission nodes are determined by the terminal device from each transmission node according to information of each transmission node in a wireless sensor network, and the multiple target data blocks are obtained by the terminal device dividing the target data to be transmitted; a processing module, used to transmit the target data blocks to a target cloud phone, and the target cloud phone is determined according to a data transmission request sent by the terminal device.

[0009] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect or implements the steps of the method described in the second aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect or the steps of the method described in the second aspect are implemented.

[0011] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer executes the steps of the method described in the first aspect or executes the steps of the method described in the second aspect.

[0012] In an embodiment of the present application, by determining multiple target transmission nodes from each transmission node based on the information of each transmission node in the wireless sensor network; dividing the target data to be transmitted into multiple target data blocks; and transmitting the multiple target data blocks to the target cloud phone of the server through multiple target transmission nodes, the data transmission efficiency can be improved and the user experience can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a flowchart of a data transmission method provided by an embodiment of the present application; Figure 2 It is a flowchart of another data transmission method provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of a data transmission device provided in an embodiment of the present application; Figure 4 is a structural schematic diagram of another data transmission device provided in an embodiment of the present application; Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0014] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

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

[0016] The data transmission method, electronic device, storage medium and program product provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0017] Figure 1A data transmission method provided by an embodiment of the present application is shown, and the method can be executed by a terminal device, and the terminal device may include: a user's real machine. In other words, the method can be executed by software or hardware installed in the terminal device, and the method includes the following steps: Step 102: According to the information of each transmission node in the wireless sensor network, a plurality of target transmission nodes are determined from each transmission node.

[0018] In the embodiment of the present application, in order to improve the data transmission efficiency between the user's terminal device (also referred to as the real machine) and the server's cloud phone, before the data transmission between the user's terminal device and the server's cloud phone is performed, the optimal multiple target transmission nodes can be selected from the wireless sensor network according to the information of each transmission node in the wireless sensor network and the preset transmission node selection method, and then the target data of the real machine is transmitted based on the optimal multiple target transmission nodes. Among them, the cloud phone can be one or more cloud phones of the same user corresponding to the real machine, or one or more cloud phones of other users except the user corresponding to the real machine.

[0019] In one implementation, the method of determining a plurality of target transmission nodes from each transmission node based on information of each transmission node in a wireless sensor network includes: determining a fitness value of the transmission node based on information of each transmission node, information of the wireless sensor network, a total amount of the target data, and a pre-set number of target data blocks, wherein the information of each transmission node includes a node delay of each transmission node, the number of the transmission nodes, and a traffic rate and density of the transmission nodes; and determining a plurality of target transmission nodes corresponding to a pre-set number of target data blocks from each transmission node based on the fitness values ​​of the transmission nodes from high to low.

[0020] In one implementation, before determining the node delay of each transmission node based on the information of each transmission node, the information of the wireless sensor network, the total amount of the target data and the pre-set amount of the target data blocks, it also includes: determining the node delay of each transmission node based on the minimized delay of each transmission node, the cross-network transmission delay, the transmission delay under preset conditions, and the transmission rate of transmitting data at a preset time.

[0021] Specifically, the user's terminal device can select the target data to be transmitted from the local storage space, and then send a wireless transmission request for the target data to the wireless sensor network. The wireless transmission request for the target data may include the data volume of the target data to be transmitted, the data content of the target data, and the allowed transmission delay. After the wireless sensor network receives the wireless transmission request for the target data sent by the terminal device, the optimal target transmission node can be selected from the wireless sensor network to transmit the target data of the real machine.

[0022] First, the information of each transmission node in the wireless sensor network is determined respectively, wherein the information of the transmission node may include node delay, minimized delay, cross-network transmission delay, transmission delay under preset conditions, transmission rate of data transmitted at a preset time, etc.

[0023] In the embodiment of the present application, minimizing the delay should be given priority when selecting the optimal target transmission node, so the node delay of the transmission node p can be determined as follows:

[0024] in, represents the minimized delay of transmission node p; Indicates the delay of transmission across the network; represents the transmission delay of the transmission node under specific transmission conditions x; Indicates the transmission rate of data transmitted by transmission node p at a specific time. In one implementation, before determining the node delay of each transmission node according to the minimized delay, cross-network transmission delay, transmission delay under preset conditions, and transmission rate of data transmitted at a preset time of each transmission node, it also includes: determining the transmission rate of data transmitted by each transmission node at a preset time according to the forwarding rate of forwarded data and the acquisition rate of acquired data under preset conditions of each transmission node. It can be calculated as follows:

[0025] in, represents the forwarding rate of the transmission node p forwarding data packets under specific transmission conditions x; It represents the acquisition rate of data packets obtained by transmission node p under specific transmission condition x.

[0026] Secondly, the information of the wireless sensor network is obtained respectively. The information of the wireless sensor network may include the standard delay of data transmission in the wireless sensor network. , the total number of transmission nodes in the wireless sensor network, etc., to obtain the total amount of target data to be transmitted, the number of preset transmission nodes (that is, the number expected to be used to transmit target data), the flow rate and density of the transmission nodes in the wireless sensor network.

[0027] Finally, based on the above information, the fitness value of the multi-objective fitness function of the transmission node is calculated as follows:

[0028] in, represents the fitness value of the multi-objective fitness function of the transmission node; Indicates standard delay; represents the node delay of the transmission node p; Indicates the number of preset transmission nodes; Indicates the total amount of target data to be transmitted; represents the total number of transmission nodes in the wireless sensor network; represents the transmission distance between the transmission node p and the terminal device; represents the energy used by the transmission node p to transmit data; represents the traffic rate of the transmission node p; represents the density of transmission node p.

[0029] The fitness values ​​of the multi-objective fitness functions of the transmission nodes in the wireless sensor network are sorted, and then X fitness values ​​of the multi-objective fitness functions are selected from high to low according to the sorting results, and the target transmission nodes corresponding to the X fitness values ​​are used as the optimal transmission nodes of the target data.

[0030] Step 104: Divide the target data to be transmitted into a plurality of target data blocks.

[0031] Specifically, after obtaining the target transmission node for transmitting the target data, the target data to be transmitted can be divided into multiple target data blocks according to the data volume of the target data to be transmitted, the data content of the target data, the allowed transmission delay, and the node information of each transmission node (including the flow rate and density, delay, energy and other information of the data transmission node). For example, the target data to be transmitted can be divided into X target data blocks.

[0032] Step 106: Transmit the multiple target data blocks to the target cloud phone of the server through the multiple target transmission nodes.

[0033] Specifically, after the target data to be transmitted is divided into multiple target data blocks, the multiple target data blocks can be distributed to multiple target transmission nodes, and the multiple target data blocks can be transmitted to the target cloud phone of the server through the multiple target transmission nodes.

[0034] The data transmission method provided in the embodiment of the present application can provide data transmission efficiency by determining multiple target transmission nodes from each transmission node according to the information of each transmission node in the wireless sensor network; dividing the target data to be transmitted into multiple target data blocks; transmitting the multiple target data blocks to the target cloud phone of the server through multiple target transmission nodes, and solving the problem that the traditional data transmission method has poor applicability and is easy to reduce the user's data transmission experience. The fitness value of the multi-objective fitness function of the transmission node is calculated according to the standard delay of data transmission in the wireless sensor network, the total number of transmission nodes in the wireless sensor network, the total number of target data to be transmitted, the number of preset transmission nodes (that is, the number expected to be used to transmit target data), the flow rate and density of the transmission nodes in the wireless sensor network, and then selecting the optimal target transmission node for transmitting the target data according to the fitness value for data transmission. In this way, data can be transmitted through the optimal data transmission node, which can improve data transmission efficiency and reduce data transmission delay.

[0035] In one implementation, before determining multiple target transmission nodes from each transmission node in the wireless sensor network based on the information of each transmission node, it also includes: in response to the identity authentication request sent by the server, inputting the data transmission password into the super SIM card; when it is determined through the super SIM card that the data transmission password is consistent with the pre-stored password corresponding to the target cloud phone, sending a notification message to the server to verify that the data transmission password is passed, so that the server determines that the identity authentication of the terminal device is passed.

[0036] Specifically, the terminal device sends a data transmission request to the target cloud phone of the server, and the data transmission request includes the identity information of the data recipient (i.e., the target cloud phone), and data-related information of the data to be transmitted, including data size, data content summary, data type, etc. The target cloud phone can be one or more cloud phones of the same user corresponding to the terminal device, or one or more cloud phones of other users except the user corresponding to the terminal device.

[0037] For example, suppose user 1 has applied for three cloud phones, namely cloud phone A, cloud phone B, and cloud phone C. User 2 has applied for two cloud phones, namely cloud phone D and cloud phone E. At this time, if user 1 wants to transfer the target data in the terminal device to cloud phone A, user 1 can send a data transmission request to the target cloud phone of the server with cloud phone A. Alternatively, if user 1 wants to transfer the target data in the terminal device to cloud phone A, cloud phone B, and cloud phone C at the same time, user 1 can send a data transmission request between cloud phone A, cloud phone B, and cloud phone C to the target cloud phone of the server. Alternatively, if user 2 expects user 1 to share the target data in user 1's terminal device with himself, but because the storage space required for the target data is large and the storage space of user 2's terminal device is small, based on this, user 2 expects user 1's terminal device to share the target data with user 2's cloud phone E, that is, user 1's terminal device needs to transfer the target data to user 2's cloud phone E, then user 1 can send a data transmission request between cloud phone E to the target cloud phone of the server.

[0038] After receiving the data transmission request from the terminal device, the server can classify and authenticate the terminal device according to the type of the target cloud phone, and determine whether the data recipient in the data transmission request is the cloud phone of the same user as the terminal device, or the cloud phone of another user.

[0039] Case 1: The data recipient is the cloud phone of the same user as the terminal device.

[0040] In the following case, considering that users themselves usually do not launch attacks on the target data they send, the server can use the super SIM card of the terminal device to authenticate the terminal device by using a data transmission password. Specifically: The server sends an identity authentication request of the terminal device to the super SIM card of the terminal device, and the identity authentication request of the terminal device includes the identity identification information of the target cloud phone, data-related information of the data to be transmitted, etc. After the super SIM card of the terminal device receives the identity authentication request of the terminal device, an identity authentication window pops up on the interface of the terminal device to prompt the terminal device to enter the data transmission password between the terminal device and the target cloud phone. In addition, part of the identity authentication window also displays the identity identification information of the target cloud phone of the data transmission task, data-related information of the data to be transmitted, etc., to help the terminal device understand the relevant situation of the data transmission task that calls the identity authentication.

[0041] After the super SIM card receives the data transmission password input by the terminal device, it will verify the data transmission password. If the data transmission password is consistent with the pre-stored data transmission password of the terminal device and the target cloud phone, the terminal device’s identity authentication is considered to be successful.

[0042] When the identity authentication of the terminal device is passed, the super SIM card of the terminal device feeds back a notification message of identity authentication passing to the server, so as to realize the identity authentication of the terminal device by the server.

[0043] In one implementation, before determining multiple target transmission nodes from each transmission node in the wireless sensor network based on the information of each transmission node, it also includes: receiving an encrypted random value and a temporary token sent by a server; decrypting the encrypted random value according to the temporary token to obtain a decrypted random value; and sending the decrypted random value to the server, so that the server determines the identity authentication of the terminal device when it is determined that the received decrypted random value is the same as the preset target random value.

[0044] In one implementation, before determining multiple target transmission nodes from each transmission node in the wireless sensor network based on the information of each transmission node, it also includes: receiving an encrypted random value and a temporary token sent by a server; decrypting the encrypted random value according to the temporary token to obtain a decrypted random value; and sending the decrypted random value to the server, so that the server determines that the identity authentication of the terminal device has passed when it determines that the received decrypted random value is the same as the preset target random value.

[0045] Case 2: The data recipient is another user’s cloud phone.

[0046] In this case, in order to ensure the security of data transmission between the terminal device and the cloud phone of other users, in the embodiment of the present application, the following preset identity authentication method can be used to implement the server's identity authentication of the terminal device. Among them, the preset identity authentication method includes a registration stage and an identity authentication stage.

[0047] Registration stage: The terminal device sends a registration request {IDsn, H(Un), infon, H(pwdn)} to the server, which includes the terminal device's identity information, hashed username, hashed password, and other additional information. The additional information may include, for example, the registration type, account type, and information that can be used to characterize the data access rights of the terminal device.

[0048] Among them, IDsn represents the identity information of the terminal device; H (Un) represents the hashed user name of the terminal device; H (pwdn) represents the hashed password; infon represents other additional information.

[0049] After receiving the registration request, the server stores the hashed username and hashed password of the terminal device, and then forwards the terminal device's identity information and other additional information to the identity authorization module under the server.

[0050] After receiving the identity information and other additional information of the terminal device, the identity authorization module under the server stores the identity information of the terminal device and maps the other additional information into a set of attribute information about the terminal device. , Identify the identity of the terminal device; then, the identity authorization module provides public parameters to the server, denoted as { }.

[0051] in, represents the preset bilinear mapping group; represents the first public parameter; Represents the second public parameter.

[0052]

[0053]

[0054] in, Represents a random number; express( ) generator. After receiving the public parameters, the server sends the public parameters and the public key signed for the terminal device. Forwarded to the terminal device to complete the registration phase.

[0055] Similarly, the target cloud phone also completes registration on the server in a similar way as above. For related content, please refer to the above registration stage content, which will not be repeated here.

[0056] Identity authentication stage: When the server receives a data transmission request sent by a terminal device, the server authentication phase begins.

[0057] When the server receives a data transmission request sent by a terminal device, it sends an identity authentication notification message to the terminal device; wherein the identity authentication notification message is mainly used to notify the terminal device to perform identity authentication.

[0058] After receiving the identity authentication notification message, the terminal device sends the terminal device's identity information IDsn, hashed user name H (Un), and hashed password H (pwdn) to the server.

[0059] After receiving the terminal device's identity information IDsn, hashed username H (Un), and hashed password H (pwdn), the server verifies whether the terminal device's identity matches based on the information stored during the registration phase; if there is a match, the terminal device's identity information is forwarded to the identity authorization module under the server.

[0060] The server's identity authorization module collects locally stored attribute information about the terminal device, namely ; Then, the identity authorization module determines the random bit string ,in, Indicates the temporary identity temporarily assigned to the terminal device by the identity authorization module.

[0061] According to the random bit string and locally stored attribute information about the terminal device , convert each temporary identity into a temporary attribute, and obtain the temporary attribute set corresponding to all temporary identities ,in, Indicates based on and , The converted information Temporary properties of .

[0062] The identity authorization module creates a temporary key for each temporary attribute as follows: First, for each temporary attribute ,according to and Concatenate to create a vector .

[0063] Secondly, select a random number r and z, and determine the random value based on the random number r and z .

[0064] Finally, according to the random value 、( ) generator, random number The temporary key is calculated as follows:

[0065] in, Represents a temporary attribute The temporary key.

[0066] Repeat the above steps to obtain the temporary key set corresponding to all temporary attributes. , then and Send to server.

[0067] After the server receives the message sent by the identity authorization module, the server Create a temporary token Each temporary token includes a unique identifier, a temporary identity, a timestamp of token creation, token expiration time, etc. The server then digitally signs the entire content of the temporary token using a private key:

[0068] in, Represents the entire token, excluding the signature field. Represents the server's private key.

[0069] Finally, the server Select a valid and previously unused target temporary identity and the associated target temporary token , assigned to the terminal device. And the server will The target data and its data identifier are sent to the target cloud phone.

[0070] The target cloud phone receives the temporary token sent by the server After receiving the target data identifier and other information, the target data identifier is first verified to confirm whether the target data to be transmitted is the data expected to be received; if so, the target cloud phone further verifies the target temporary token Is it effective? Among them, verify the target temporary token Whether it is effective includes the following steps: First, the target cloud phone uses the public key obtained during the registration phase Perform the decryption operation as follows to obtain the signature information:

[0071] If the digital signature is valid, then the target temporary token Check whether the expiration time is less than the current actual time. If the expiration time is also less than the current actual time, perform the following steps according to the target temporary token Authenticate the end device.

[0072] The target cloud phone creates a temporary data transmission policy for the terminal device according to the preset data transmission policy and the temporary identity of the target cloud phone as follows:

[0073] in, Indicates a temporary data transmission strategy for terminal devices; Indicates the preset data transmission strategy; Indicates the temporary identity of the target cloud phone.

[0074] Then, the target cloud phone determines a random value , and use the temporary data transmission strategy for the terminal device to perform the random value as follows To encrypt:

[0075] in, Indicates the degree of the preset polynomial. The target cloud phone sends the encrypted random value through the server Send to the terminal device.

[0076] After the terminal device receives the encrypted random value sent by the target cloud phone, it uses the temporary token and other information to perform the challenge decryption as follows, and sends the obtained decrypted random value to the target cloud phone on the server:

[0077] in, Indicates the obtained decrypted random value.

[0078] The target cloud phone receives the decrypted random value After that, match the target random value stored locally If they match, it means that the terminal device's identity verification has passed, and the terminal device is allowed to transmit the target data to the target cloud phone. In addition, the target cloud phone synchronizes the message that the terminal device's identity verification has passed to the server.

[0079] In this way, the terminal devices are classified and authenticated according to the type of the target cloud phone. After the authentication, a number of optimal data transmission nodes will be allocated through the wireless sensor network for data transmission. In this method, as long as the authentication is passed, the data transmission parties can be allowed to perform relevant operations on the data to be transmitted. Compared with the data transmission method, the embodiment of the present application can improve the user experience by considering the need to modify files or download files during the data transmission process between the cloud phone and the terminal device under the premise of ensuring the secure transmission of data.

[0080] Figure 2 A data transmission method provided by an embodiment of the present application is shown, and the method can be executed by a server. In other words, the method can be executed by software or hardware installed on the server, and the method includes the following steps: Step 202: receiving the multiple target data blocks transmitted by the terminal device via multiple target transmission nodes.

[0081] Specifically, the multiple target transmission nodes are determined by the terminal device from each transmission node according to the information of each transmission node in the wireless sensor network, and the multiple target data blocks are obtained by the terminal device dividing the target data to be transmitted. The terminal device determines multiple target transmission nodes from each transmission node according to the information of each transmission node in the wireless sensor network, and divides the target data to be transmitted into multiple target databases. The process of transmitting multiple target data blocks to the target cloud phone of the server through multiple target transmission nodes is described in step 102, step 104 and step 106, which will not be repeated here.

[0082] Step 204: Transmit the target data block to the target cloud phone.

[0083] Specifically, after receiving the target data block, the server can transmit the target data block to the target cloud phone, which is determined according to the data transmission request sent by the terminal device, that is, the data transmission request sent by the terminal device carries the identification of the target cloud phone.

[0084] The terminal device determines multiple target transmission nodes from each transmission node according to the information of each transmission node in the wireless sensor network; divides the target data to be transmitted into multiple target data blocks; transmits the multiple target data blocks to the target cloud phone of the server through the multiple target transmission nodes, and the server receives the multiple target data blocks transmitted by the terminal device through the multiple target transmission nodes, and transmits the target data blocks to the target cloud phone. This can improve data transmission efficiency and solve the problem that traditional data transmission methods have poor applicability and easily reduce the user's data transmission experience.

[0085] In one implementation, the receiving terminal device transmits the multiple target data blocks through multiple target transmission nodes, including: upon receiving a data transmission request sent by the terminal device, authenticating the terminal device; and if the authentication is passed, receiving the multiple target data blocks transmitted by the terminal device through multiple target transmission nodes.

[0086] In the embodiment of the present application, the terminal device first sends a data transmission request to the server. After receiving the data transmission request from the terminal device, the server can authenticate the terminal device. If the classified identity authentication of the terminal device is passed, multiple target data blocks transmitted by the terminal device through multiple target transmission nodes can be received, which can ensure the secure transmission of data.

[0087] In one implementation, the authenticating the terminal device includes: authenticating the terminal device according to a correspondence between the target cloud phone and the terminal device.

[0088] The terminal device can be classified and authenticated according to the type of the target cloud phone, that is, the terminal device can be authenticated according to the corresponding relationship between the target cloud phone and the terminal device. If the terminal device passes the classified authentication, multiple target data blocks transmitted by the terminal device through multiple target transmission nodes can be received. In this way, the security of the data transmission process can be guaranteed by authenticating the terminal device.

[0089] In one implementation, the identity authentication of the terminal device is performed based on the correspondence between the target cloud phone and the terminal device, including: when the target cloud phone and the terminal device correspond to the same user, sending an identity authentication request to the terminal device so that the terminal device inputs the data transmission password into the super SIM card; when receiving a notification message sent by the terminal device to verify that the data transmission password is passed, determining that the identity authentication of the terminal device is passed, wherein the notification message is sent when the terminal device determines through the super SIM card that the data transmission password is consistent with the pre-stored password corresponding to the target cloud phone.

[0090] Specifically, in the case of a cloud phone of the same user corresponding to the data recipient and the terminal device, it is considered that the user himself will not usually launch an attack on the target data he sends. Therefore, when the server authenticates the terminal device, it can use the super SIM card of the terminal device to authenticate the terminal device by means of a data transmission password. Specifically: the server sends an authentication request to the terminal device, and the terminal device then sends the authentication request to the super SIM card. The authentication request of the terminal device includes the identity identification information of the target cloud phone, data-related information of the data to be transmitted, etc.

[0091] After the super SIM card of the terminal device receives the identity authentication request of the terminal device, an identity authentication window pops up on the interface of the terminal device to prompt the terminal device to enter the data transmission password between the terminal device and the target cloud phone. In addition, part of the area of ​​the identity authentication window also displays the identity identification information of the target cloud phone of the data transmission task, data-related information of the data to be transmitted, etc., to help the terminal device understand the relevant situation of the data transmission task that calls the identity authentication. After the super SIM card receives the data transmission password input by the terminal device, it will verify the data transmission password. If the data transmission password is consistent with the pre-stored data transmission password of the target cloud phone pre-stored by the terminal device, it is considered that the identity authentication of the terminal device is passed. When the identity authentication of the terminal device is passed, the super SIM card of the terminal device feeds back a notification message of the identity authentication to the server to realize the identity authentication of the terminal device by the server. In this way, by authenticating the terminal device, the secure transmission of data can be guaranteed and the security of data transmission can be provided.

[0092] In one implementation, when the target cloud phone and the terminal device correspond to different users, the identity information, hashed username and hashed password sent by the terminal device are received; when it is determined that the identity information, hashed username and hashed password sent by the terminal device match the identity information, hashed username and hashed password pre-stored when the terminal device is registered, a temporary identity is assigned to the terminal device; and the terminal device is authenticated based on the temporary identity.

[0093] Specifically, when the data recipient is another user's cloud phone, that is, the target cloud phone and the terminal device do not correspond to the same user, the server sends an identity authentication notification message to the terminal device; wherein, the identity authentication notification message is mainly used to notify the terminal device to perform identity authentication. The server receives the terminal device's identity information IDsn, hashed username H (Un), and hashed password H (pwdn) sent by the terminal. The server can verify whether the identity of the terminal device matches based on the stored identity information, hashed username, and hashed password of the terminal device during the registration phase; if it matches, the identity information of the terminal device is forwarded to the identity authorization module under the server.

[0094] The server's identity authorization module collects locally stored attribute information about the terminal device, namely , then, the identity authorization module determines the random bit string ,in, It indicates the temporary identity temporarily assigned by the identity authorization module to the terminal device. Then, the terminal device can be authenticated according to the temporary identity, so that the terminal device can be authenticated to ensure the security of data transmission.

[0095] In one implementation, the identity authentication of the terminal device based on the temporary identity includes: creating a temporary token for each of the temporary identities; digitally signing each of the temporary tokens using a private key; selecting a valid and unused target temporary identity and a target temporary token of the target temporary identity; verifying the target temporary token when the data identifier of the target data is successfully verified; and authenticating the terminal device using the target temporary token when the verification of the target temporary token is successful.

[0096] Specifically, after the temporary identity is temporarily allocated to the terminal device, the random bit string and locally stored attribute information about the terminal device , convert each temporary identity into a temporary attribute, and obtain the temporary attribute set corresponding to all temporary identities ,in, Indicates based on and , The converted information Temporary properties of .

[0097] The identity authorization module creates a temporary key for each temporary attribute as follows: First, for each temporary attribute ,according to and Concatenate to create a vector:

[0098] Secondly, select a random number r and z, and determine the random value based on the random number r and z ; Finally, according to the random value 、( ) generator, random number The temporary key is calculated as follows:

[0099] in, Represents a temporary attribute The temporary key.

[0100] Repeat the above steps to obtain the temporary key set corresponding to all temporary attributes. , then and Send to server.

[0101] After the server receives the message sent by the identity authorization module, the server Create a temporary token Each temporary token includes a unique identifier, a temporary identity, a timestamp of token creation, token expiration time, etc. The server then digitally signs the entire content of the temporary token using a private key:

[0102] in, Represents the entire token, excluding the signature field. Represents the server's private key.

[0103] Finally, the server Select a valid and previously unused target temporary identity and the associated target temporary token , assigned to the terminal device. And the server will The target data and its data identifier are sent to the target cloud phone.

[0104] The target cloud phone receives the temporary token sent by the server After receiving the target data identifier and other information, the target data identifier is first verified to confirm whether the target data to be transmitted is the data expected to be received; if so, the target cloud phone further verifies the target temporary token Whether it is valid, if the target temporary token is verified, the terminal device is authenticated through the target temporary token.

[0105] In one implementation, the verification of the target temporary token includes: obtaining signature information based on the public key and the digital signature when the terminal device is registered; and verifying that the target temporary token passes when the signature information is valid and the expiration time of the signature information determined based on the target temporary token is less than the current actual time.

[0106] Specifically, the server's target cloud phone can be based on the public key obtained during the registration phase The digital signature is decrypted as follows to obtain the signature information:

[0107] If the digital signature is valid, then the target temporary token Check whether the expiration time is less than the current actual time. If the expiration time is also less than the current actual time, it means that the verification of the target temporary token has passed, and the target temporary token can be used to Authenticate the end device.

[0108] In one implementation, the identity authentication of the terminal device through the target temporary token includes: creating a temporary data transmission strategy based on a preset data transmission strategy and the temporary identity of the target cloud phone; encrypting a random value through the temporary data transmission strategy to obtain an encrypted random value; and authenticating the terminal device through the encrypted random value.

[0109] The target cloud phone creates a temporary data transmission policy for the terminal device according to the preset data transmission policy and the temporary identity of the target cloud phone as follows:

[0110] in, Indicates a temporary data transmission strategy for terminal devices; Indicates the preset data transmission strategy; Indicates the temporary identity of the target cloud phone.

[0111] Then, the target cloud phone determines a target random value , and use the temporary data transmission strategy for the terminal device to perform the random value as follows Encrypt and get the encrypted random value:

[0112] in, Indicates the degree of the preset polynomial. The target cloud phone sends the encrypted random value through the server Sent to the terminal device. The terminal device can then be authenticated by encrypting the random value.

[0113] In one implementation, the identity authentication of the terminal device through the target encrypted random value includes: sending the encrypted random value and the temporary token to the terminal device, so that the terminal device decrypts the encrypted random value to obtain a decrypted random value; when the decrypted random value sent by the terminal device is the same as the target random value, determining that the identity authentication of the terminal device is successful.

[0114] After the terminal device receives the encrypted random value sent by the target cloud phone, it uses the temporary token and other information to perform the challenge decryption as follows, and sends the obtained decrypted random value to the target cloud phone on the server:

[0115] in, Indicates the obtained decrypted random value.

[0116] The target cloud phone receives the decrypted random value After that, match the target random value stored locally If the decrypted random value With the target random value If the two are the same, it means that the terminal device has passed the identity authentication, and the terminal device is allowed to transmit the target data to the target cloud phone. In addition, the target cloud phone synchronizes the message of the terminal device's identity authentication to the server.

[0117] In this way, the terminal devices are classified and authenticated according to the type of the target cloud phone. After the authentication, a number of optimal data transmission nodes will be allocated through the wireless sensor network for data transmission. In this method, as long as the authentication is passed, the data transmission parties can be allowed to perform relevant operations on the data to be transmitted. Compared with the data transmission method, the embodiment of the present application can improve the user experience by considering the need to modify files or download files during the data transmission process between the cloud phone and the terminal device under the premise of ensuring the secure transmission of data.

[0118] Figure 3 is a schematic diagram of the structure of a data transmission device according to an embodiment of the present application. Figure 3 As shown, the data transmission device 300 includes: a determination module 310 , a division module 320 and a transmission module 330 .

[0119] The determination module 310 is used to determine multiple target transmission nodes from each transmission node according to the information of each transmission node in the wireless sensor network; the division module 320 is used to divide the target data to be transmitted into multiple target data blocks; the transmission module 330 is used to transmit the multiple target data blocks to the target cloud phone of the server through the multiple target transmission nodes.

[0120] In one implementation, the determination module 310 is used to determine the fitness value of the transmission node based on the information of each transmission node, the information of the wireless sensor network, the total amount of the target data and the pre-set number of the target data blocks, the information of each transmission node including the node delay of each transmission node, the number of the transmission nodes, the traffic rate and density of the transmission nodes; according to the fitness value of the transmission node from high to low, determine a plurality of target transmission nodes corresponding to the pre-set number of the target data blocks from each transmission node.

[0121] In one implementation, the determination module 310 is further used to determine the node delay of each transmission node based on the minimized delay of each transmission node, the cross-network transmission delay, the transmission delay under preset conditions, and the transmission rate of transmitting data at a preset time.

[0122] In one implementation, the determination module 310 is further configured to determine a transmission rate at which each transmission node transmits data at a preset time according to a forwarding rate at which each transmission node forwards data and an acquisition rate at which each transmission node acquires data under preset conditions.

[0123] In one implementation, the transmission module 330 is used to input the data transmission password into the super SIM card in response to the identity authentication request sent by the server; when it is determined through the super SIM card that the data transmission password is consistent with the pre-stored password corresponding to the target cloud phone, a notification message verifying the success of the data transmission password is sent to the server, so that the server determines that the identity authentication of the terminal device is successful.

[0124] In one implementation, the transmission module 330 is also used to receive an encrypted random value and a temporary token sent by a server; decrypt the encrypted random value according to the temporary token to obtain a decrypted random value; and send the decrypted random value to the server, so that the server determines that the identity authentication of the terminal device is passed when it determines that the received decrypted random value is the same as a preset target random value.

[0125] The data transmission device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0126] The data transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0127] The data transmission device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented in the method embodiment will not be described again here.

[0128] Figure 4is a schematic diagram of the structure of a data transmission device according to an embodiment of the present application. Figure 4 As shown, the data transmission device 400 includes: a receiving module 410 and a processing module 420.

[0129] The receiving module 410 is used to receive the multiple target data blocks transmitted by the terminal device through multiple target transmission nodes, wherein the multiple target transmission nodes are determined by the terminal device from each transmission node according to the information of each transmission node in the wireless sensor network, and the multiple target data blocks are obtained by the terminal device dividing the target data to be transmitted; the processing module 420 is used to transmit the target data blocks to the target cloud phone, and the target cloud phone is determined according to the data transmission request sent by the terminal device.

[0130] In one implementation, the processing module 420 is used to authenticate the terminal device upon receiving a data transmission request sent by the terminal device; if the authentication is successful, the multiple target data blocks transmitted by the terminal device through multiple target transmission nodes are received.

[0131] In one implementation, the processing module 420 is used to perform identity authentication on the terminal device according to the correspondence between the target cloud phone and the terminal device.

[0132] In one implementation, the processing module 420 is used to send an identity authentication request to the terminal device when the target cloud phone and the terminal device correspond to the same user, so that the terminal device inputs the data transmission password into the super SIM card; when receiving a notification message sent by the terminal device to verify that the data transmission password is passed, determine that the identity authentication of the terminal device is passed, wherein the notification message is sent when the terminal device determines through the super SIM card that the data transmission password is consistent with the pre-stored password corresponding to the target cloud phone.

[0133] In one implementation, the processing module 420 is used to receive the identity information, hashed username and hashed password sent by the terminal device when the target cloud phone and the terminal device correspond to different users; assign a temporary identity to the terminal device when it is determined that the identity information, hashed username and hashed password sent by the terminal device match the identity information, hashed username and hashed password pre-stored when the terminal device is registered; and authenticate the terminal device based on the temporary identity.

[0134] In one implementation, the processing module 420 is used to create a temporary token for each of the temporary identities; digitally sign each of the temporary tokens using a private key; select a valid and unused target temporary identity and a target temporary token for the target temporary identity; verify the target temporary token when the data identifier of the target data is successfully verified; and authenticate the terminal device using the target temporary token when the verification of the target temporary token is successful.

[0135] In one implementation, the processing module 420 is used to obtain signature information based on the public key and the digital signature when the terminal device is registered; when the signature information is valid and the expiration time of the signature information determined according to the target temporary token is less than the current actual time, verify that the target temporary token passes.

[0136] In one implementation, the processing module 420 is used to create a temporary data transmission strategy based on a preset data transmission strategy and the temporary identity of the target cloud phone; encrypt the random value through the temporary data transmission strategy to obtain an encrypted random value; and authenticate the terminal device through the encrypted random value.

[0137] In one implementation, the processing module 420 is used to send the encrypted random value and the temporary token to the terminal device so that the terminal device decrypts the encrypted random value to obtain a decrypted random value; when the decrypted random value sent by the terminal device is the same as the target random value, it is determined that the identity authentication of the terminal device is passed.

[0138] The data transmission device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0139] The data transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0140] The data transmission device provided in the embodiment of the present application can achieve Figure 2 To avoid repetition, the various processes implemented in the method embodiment will not be described again here.

[0141] like Figure 5 As shown, an embodiment of the present application further provides an electronic device 500, including a processor 501 and a memory 502, wherein the memory 502 stores a program or instruction that can be executed on the processor 501, and when the program or instruction is executed by the processor 501, it implements: based on the information of each transmission node in the wireless sensor network, determining multiple target transmission nodes from each transmission node; dividing the target data to be transmitted into multiple target data blocks; and transmitting the multiple target data blocks to the target cloud phone of the server through the multiple target transmission nodes.

[0142] In one implementation, the fitness value of the transmission node is determined based on the information of each transmission node, the information of the wireless sensor network, the total amount of the target data and the pre-set number of the target data blocks, the information of each transmission node includes the node delay of each transmission node, the number of the transmission nodes, the traffic rate and density of the transmission nodes; according to the fitness value of the transmission node from high to low, a plurality of target transmission nodes corresponding to the pre-set number of the target data blocks are determined from each transmission node.

[0143] In one implementation, before determining the node delay of each transmission node based on the information of each transmission node, the information of the wireless sensor network, the total amount of target data and the pre-set number of target data blocks, the node delay of each transmission node is determined according to the minimized delay of each transmission node, the cross-network transmission delay, the transmission delay under preset conditions, and the transmission rate of transmitting data at a preset time.

[0144] In one implementation, before determining the node delay of each transmission node based on the minimized delay of each transmission node, the cross-network transmission delay, the transmission delay under preset conditions, and the transmission rate of transmitting data at a preset time, the transmission rate of data transmitted by each transmission node at a preset time is determined based on the forwarding rate of data forwarded by each transmission node under preset conditions and the acquisition rate of data acquired.

[0145] In one implementation, before determining multiple target transmission nodes from each transmission node based on the information of each transmission node in the wireless sensor network, the data transmission password is input into the super SIM card in response to the identity authentication request sent by the server; when it is determined through the super SIM card that the data transmission password is consistent with the pre-stored password corresponding to the target cloud phone, a notification message for verifying that the data transmission password is passed is sent to the server, so that the server determines that the identity authentication of the terminal device is passed.

[0146] In one implementation, before determining multiple target transmission nodes from each transmission node in the wireless sensor network based on the information of each transmission node, an encrypted random value and a temporary token sent by a server are received; the encrypted random value is decrypted according to the temporary token to obtain a decrypted random value; and the decrypted random value is sent to the server, so that the server determines that the identity authentication of the terminal device has passed when it determines that the received decrypted random value is the same as the preset target random value.

[0147] Alternatively, when the program or instruction is executed by the processor 601, it is implemented: receiving the multiple target data blocks transmitted by the terminal device through multiple target transmission nodes, wherein the multiple target transmission nodes are determined by the terminal device from each transmission node according to the information of each transmission node in the wireless sensor network, and the multiple target data blocks are obtained by the terminal device dividing the target data to be transmitted; transmitting the target data blocks to the target cloud phone, and the target cloud phone is determined according to the data transmission request sent by the terminal device.

[0148] In one implementation, when a data transmission request sent by the terminal device is received, the terminal device is authenticated; if the authentication is successful, the multiple target data blocks transmitted by the terminal device via multiple target transmission nodes are received.

[0149] In one implementation, the terminal device is authenticated based on the correspondence between the target cloud phone and the terminal device.

[0150] In one implementation, when the target cloud phone and the terminal device correspond to the same user, an identity authentication request is sent to the terminal device so that the terminal device inputs the data transmission password into the super SIM card; when a notification message sent by the terminal device to verify that the data transmission password is passed is received, it is determined that the identity authentication of the terminal device is passed, wherein the notification message is sent when the terminal device determines through the super SIM card that the data transmission password is consistent with the pre-stored password corresponding to the target cloud phone.

[0151] In one implementation, when the target cloud phone and the terminal device correspond to different users, the identity information, hashed username and hashed password sent by the terminal device are received; when it is determined that the identity information, hashed username and hashed password sent by the terminal device match the identity information, hashed username and hashed password pre-stored when the terminal device is registered, a temporary identity is assigned to the terminal device; and the terminal device is authenticated based on the temporary identity.

[0152] In one implementation, a temporary token is created for each temporary identity and each temporary token is digitally signed using a private key; a valid and unused target temporary identity and a target temporary token for the target temporary identity are selected; when the data identifier of the target data is successfully verified, the target temporary token is verified; when the target temporary token is successfully verified, the terminal device is authenticated using the target temporary token.

[0153] In one implementation, signature information is obtained based on the public key and the digital signature when the terminal device is registered; when the signature information is valid and the expiration time of the signature information is determined to be less than the current actual time based on the target temporary token, the target temporary token is verified to pass.

[0154] In one implementation, a temporary data transmission strategy is created based on a preset data transmission strategy and the temporary identity of the target cloud phone; the random value is encrypted using the temporary data transmission strategy to obtain an encrypted random value; and the terminal device is authenticated using the encrypted random value.

[0155] In one implementation, the encrypted random value and the temporary token are sent to a terminal device so that the terminal device decrypts the encrypted random value to obtain a decrypted random value; when the decrypted random value sent by the terminal device is the same as the target random value, it is determined that the identity authentication of the terminal device is passed.

[0156] The specific execution steps can refer to the various steps of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0157] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices except terminals.

[0158] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0159] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).

[0160] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.

[0161] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned data transmission method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0162] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as ROM, RAM, magnetic disk or optical disk.

[0163] An embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the various processes of the embodiment of the above-mentioned data transmission method and can achieve the same technical effect. To avoid repetition, they are not repeated here.

[0164] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0165] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0166] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A data transmission method, characterized in that: Applied to terminal equipment, including: According to the information of each transmission node in the wireless sensor network, a plurality of target transmission nodes are determined from each of the transmission nodes; Dividing the target data to be transmitted into a plurality of target data blocks; The multiple target data blocks are transmitted to the target cloud phone of the server through the multiple target transmission nodes.

2. The method according to claim 1, characterized in that The step of determining a plurality of target transmission nodes from each transmission node according to information of each transmission node in the wireless sensor network includes: Determine the fitness value of the transmission node according to the information of each transmission node, the information of the wireless sensor network, the total amount of the target data and the preset amount of the target data blocks, wherein the information of each transmission node includes the node delay of each transmission node, the number of the transmission nodes, and the flow rate and density of the transmission nodes; According to the fitness values ​​of the transmission nodes from high to low, a plurality of target transmission nodes corresponding to the preset number of the target data blocks are determined from the transmission nodes.

3. The method according to claim 2, characterized in that Before the step of calculating the number of target data blocks according to the information of each transmission node, the information of the wireless sensor network, the total number of target data and the preset number of target data blocks, the step further includes: The node delay of each transmission node is determined according to the minimized delay of each transmission node, the cross-network transmission delay, the transmission delay under preset conditions, and the transmission rate of data transmitted at a preset time.

4. The method according to claim 3, characterized in that Before determining the node delay of each transmission node according to the minimized delay of each transmission node, the cross-network transmission delay, the transmission delay under preset conditions, and the transmission rate of data transmitted at a preset time, the method further includes: The transmission rate at which each transmission node transmits data at a preset time is determined according to the forwarding rate at which each transmission node forwards data and the acquisition rate at which each transmission node acquires data under preset conditions.

5. The method according to claim 1, characterized in that Before determining a plurality of target transmission nodes from each transmission node according to information of each transmission node in the wireless sensor network, the method further includes: In response to the identity authentication request sent by the server, inputting the data transmission password into the super SIM card; When it is determined through the super SIM card that the data transmission password is consistent with the pre-stored password corresponding to the target cloud phone, a notification message for verifying that the data transmission password is passed is sent to the server, so that the server determines that the identity authentication of the terminal device is passed.

6. The method according to claim 1, characterized in that Before determining a plurality of target transmission nodes from each transmission node according to information of each transmission node in the wireless sensor network, the method further includes: Receive the encrypted random value and temporary token sent by the server; Decrypting the encrypted random value according to the temporary token to obtain a decrypted random value; The decrypted random value is sent to the server, so that the server determines that the identity authentication of the terminal device is passed when determining that the received decrypted random value is the same as the preset target random value.

7. A data transmission method, characterized in that: Applicable to servers, including: Receiving the multiple target data blocks transmitted by the terminal device through multiple target transmission nodes, wherein the multiple target transmission nodes are determined by the terminal device from each transmission node according to information of each transmission node in the wireless sensor network, and the multiple target data blocks are obtained by the terminal device dividing the target data to be transmitted; The target data block is transmitted to a target cloud phone, where the target cloud phone is determined according to a data transmission request sent by a terminal device.

8. The method according to claim 7, characterized in that The receiving terminal device transmits the plurality of target data blocks through the plurality of target transmission nodes, comprising: Upon receiving a data transmission request sent by the terminal device, performing identity authentication on the terminal device; When the identity authentication is passed, the receiving terminal device transmits the multiple target data blocks via the multiple target transmission nodes.

9. The method according to claim 8, characterized in that The performing identity authentication on the terminal device includes: According to the correspondence between the target cloud phone and the terminal device, the terminal device is authenticated.

10. The method according to claim 9, characterized in that The performing identity authentication on the terminal device according to the correspondence between the target cloud phone and the terminal device includes: In the case where the target cloud phone and the terminal device correspond to the same user, sending an identity authentication request to the terminal device so that the terminal device inputs the data transmission password into the super SIM card; When a notification message is received from a terminal device to verify that the data transmission password has been passed, it is determined that the identity authentication of the terminal device has been passed, wherein the notification message is sent when the terminal device determines through a super SIM card that the data transmission password is consistent with a pre-stored password corresponding to the target cloud phone.

11. The method according to claim 9, characterized in that The performing identity authentication on the terminal device according to the correspondence between the target cloud phone and the terminal device includes: In the case where the target cloud phone and the terminal device correspond to different users, receiving the identity information, hashed user name and hashed password sent by the terminal device; When it is determined that the identity information, hashed user name and hashed password sent by the terminal device match the identity information, hashed user name and hashed password pre-stored when the terminal device is registered, assign a temporary identity to the terminal device; The terminal device is authenticated according to the temporary identity.

12. The method according to claim 11, characterized in that The performing identity authentication on the terminal device according to the temporary identity includes: Creating a temporary token for each of the temporary identities; Digitally signing each of the temporary tokens using a private key; Select a valid and unused target temporary identity and a target temporary token of the target temporary identity; If the data identification of the target data is successfully verified, verifying the target temporary token; When the target temporary token is verified successfully, the terminal device is authenticated by the target temporary token.

13. The method according to claim 12, characterized in that The verifying the target temporary token includes: Obtaining signature information according to the public key and the digital signature when the terminal device is registered; In the case that the signature information is valid and it is determined according to the target temporary token that the expiration time of the signature information is less than the current actual time, the verification of the target temporary token is successful.

14. The method according to claim 12, characterized in that The authenticating the terminal device by using the target temporary token includes: Creating a temporary data transmission strategy according to the preset data transmission strategy and the temporary identity of the target cloud phone; The random value is encrypted by the temporary data transmission strategy to obtain an encrypted random value; The terminal device is authenticated by using the encrypted random value.

15. The method according to claim 14, characterized in that The performing identity authentication on the terminal device by using the target encrypted random value includes: Sending the encrypted random value and the temporary token to a terminal device, so that the terminal device decrypts the encrypted random value to obtain a decrypted random value; When the decrypted random value received from the terminal device is identical to the target random value, it is determined that the identity authentication of the terminal device is successful.

16. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the data transmission method according to any one of claims 1 to 6 are implemented or the steps of the data transmission method according to any one of claims 7 to 15 are implemented.

17. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the data transmission method according to any one of claims 1 to 6 or the steps of the data transmission method according to any one of claims 7 to 15 are implemented.

18. A computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer executes the steps of the data transmission method as described in any one of claims 1 to 6 or implements the steps of the data transmission method as described in any one of claims 7 to 15.

Citation Information

Patent Citations

  • Method, equipment and system for authenticating identities

    CN104639516A

  • Identity authentication login method in cloud environment

    CN110659471A

  • Data transmission system, method, device, storage medium and program product

    CN114268613A

  • Mobile phone data transmission method and device, storage medium and computer equipment

    CN114338713A

  • Cloud service cross-terminal authentication method and service system

    CN114666076A