A data processing method, device and computer storage medium

By introducing encryption modules into 5G smart terminals and using custom protocols for data processing, the problem of difficulty in taking into account high network speed and high encryption speed in the prior art is solved, and the high speed and high encryption are achieved under 5G networks.

CN112188489BActive Publication Date: 2025-02-28SHENZHEN XINGLIAN TIANTONG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011025263.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-25
Publication Date
2025-02-28
Estimated Expiration
2040-09-25

AI Technical Summary

Technical Problem

Existing 5G smart terminals are difficult to take into account both high network speed and high encryption speed requirements. The software encryption and decryption speed is insufficient, and the encryption speed of the TF password card cannot meet the high-speed requirements of the 5G network.

Method used

The encryption module is introduced in the mobile terminal, and the control instructions and data transmission between the application module and the communication module are parsed and processed through custom protocols, so as to achieve the complete isolation of the application module and the communication module, ensuring the encryption speed and processing of high-speed communication.

Benefits of technology

It realizes the requirements of high encryption speed at high network speeds. Through the intervention of encryption modules, the application module and communication module are completely isolated, meeting the high-speed and high encryption needs of 5G networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method, device and computer storage medium, wherein an encryption module is connected between an application module and a communication module, and an initial control instruction or initial data is transmitted to the encryption module by the application module according to a custom protocol; the initial control instruction or initial data is received and parsed by the encryption module, and the parsed initial control instruction or initial data is used to generate a target control instruction or target data according to a custom protocol, and the target control instruction or target data is sent to the communication module; the target control instruction or target data is received and parsed by the communication module, and corresponding operations are performed. In this way, the application module and the communication module of the mobile terminal are completely isolated, and the application module cannot directly exchange data with the communication module. In this way, not only the encryption requirements are met, but also high-speed communication can be processed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and more specifically, to a data processing method, device and computer storage medium. Background Art

[0002] With the development of science and technology, smart terminals based on the fifth generation of mobile communications (5G) continue to highlight their important role in various application scenarios. While people enjoy the convenience of ultra-high-speed networks brought by smart terminals of the fifth generation of mobile communications (5G), they cannot ignore the potential safety hazards of smart terminals of the fifth generation of mobile communications (5G). At the same time, due to their low latency and high speed, smart terminals of the fifth generation of mobile communications (5G) are particularly suitable for ultra-high-definition video, Internet of Vehicles, networked drones, telemedicine, smart electricity, smart factories, smart security, personal AI assistants and other fields, and these fields have extremely high security requirements.

[0003] One solution to the current communication security issues between 5G smart terminals is to implement encryption and decryption through software algorithms. This can solve security issues for low-latency and medium-speed application scenarios, but the speed of software encryption and decryption cannot meet the requirements for applications with extremely low latency requirements (such as telemedicine) and extremely high speed requirements (ultra-high-definition video). Another solution is to use TF cryptographic cards for encryption, but the encryption speed of TF cryptographic cards is also limited and cannot meet the high-speed requirements of 5G networks.

[0004] In order to overcome the defects of the above-mentioned prior art, the present invention provides a 5G encrypted smart terminal. Summary of the invention

[0005] The present invention provides a data processing method, which can meet the requirement of high encryption speed under the condition of high network speed.

[0006] To solve the above technical problems, the present application provides a data processing method, which is applied to a mobile terminal, wherein the mobile terminal includes an application module, a communication module and an encryption module, wherein the encryption module is connected between the application module and the communication module, and transmits initial control instructions or initial data to the encryption module through the application module according to a custom protocol; receives and parses the initial control instructions or initial data through the encryption module, generates target control instructions or target data from the parsed initial control instructions or initial data according to the custom protocol, and sends the target control instructions or target data to the communication module; receives and parses the target control instructions or target data through the communication module, and performs corresponding operations.

[0007] Optionally, the application module and the encryption module transmit instructions via a control channel, the application module and the encryption module transmit data via a data channel, and the encryption module and the communication module transmit data via the data channel.

[0008] Optionally, the custom protocol includes length, protocol header, type field, status field, command field, data field and check field, wherein the type field is used to define the instructions or data transmission method between the application module, communication module and encryption module; the status field is used to define the status of the application module, communication module and encryption module, and the command field is used to define instructions of different functions.

[0009] Optionally, the method also includes: when the encryption module receives and parses the initial control instruction as a control instruction sent to the communication module, generating a target control instruction according to the custom protocol using the instruction data obtained by parsing the initial control instruction, and transmitting the target control instruction to the communication module through the control channel.

[0010] Optionally, the method also includes: when the encryption module receives and parses the initial control instruction as a control instruction sent to the communication module, generating a target control instruction according to the custom protocol using the instruction data obtained by parsing the initial control instruction, and transmitting the target control instruction to the communication module through the control channel.

[0011] Optionally, the method further includes performing key negotiation with the application module and the communication module respectively through the encryption module to establish an encryption channel, where the encryption channel is used to transmit data.

[0012] Optionally, the method further includes, when a change in the IP address is detected by the encryption module, or at every preset time interval, re-negotiating keys with the application module and the communication module respectively to establish an encryption channel.

[0013] Optionally, the method further includes: when the application module detects that the mobile terminal is turned on, determining whether the encryption module is detected, and when the encryption module is not detected, controlling the terminal to shut down; when the encryption module is detected, controlling the terminal to turn on.

[0014] Optionally, the method further comprises: when the encryption module is detected by the application module, performing verification, and when the verification fails, controlling shutdown; when the verification passes, controlling startup.

[0015] The present application also provides a mobile terminal, which includes: a touch screen; a processor; a memory connected to the processor, the memory containing control instructions, and when the processor reads the control instructions, it controls the mobile terminal to implement the above-mentioned data processing method.

[0016] The present application also provides a computer-readable storage medium, characterized in that the computer-readable storage medium has one or more programs, and the one or more programs are executed by one or more processors to implement the above-mentioned data processing method.

[0017] Through the data processing method provided by the present application, an encryption module is added between the application module and the communication module of the traditional mobile terminal, and the control instruction or data generated by the control module according to the custom protocol is generated instead of the conventional control instruction or data, and then the control instruction or data generated according to the custom protocol is sent to the encryption module, and the received control instruction or data is parsed by the encryption module. If the parsing determines that the control instruction or data is sent to the communication module, the encryption module processes the parsed data again according to the custom protocol, and then sends the processed instruction or data to the communication module to control the communication module to perform the corresponding function. In this way, the application module and the communication module of the mobile terminal are completely isolated, and the application module cannot directly communicate with the communication module. In this way, not only the encryption requirements are met, but also high-speed communication can be processed. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0019] Figure 1 A schematic diagram of a mobile terminal provided in an embodiment of the present application;

[0020] Figure 2 The custom protocol content provided for an embodiment of the present application;

[0021] Figure 3 A schematic diagram of the communication mode of each module of the mobile terminal provided in an embodiment of the present application;

[0022] Figure 4 A flowchart of a custom protocol processing provided in an embodiment of the present application;

[0023] Figure 5 A flowchart of the mobile terminal startup provided by an embodiment of the present application;

[0024] Figure 6 A flowchart of powering on a mobile terminal provided by another embodiment of the present application;

[0025] Figure 7A flow chart of a data processing method provided in one embodiment of the present application;

[0026] Figure 8 A schematic diagram of the structure of a mobile terminal provided in another embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and more understandable, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only for explaining the present invention and are not intended to limit the present invention.

[0028] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0029] It should be noted that the terms "first", "second" and the like in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0030] Figure 1 A mobile terminal provided for the present embodiment is used for communication and Internet access. The mobile terminal includes an application module, a communication module and an encryption module. The encryption module is connected between the application module and the communication module. The application module, the communication module and the encryption module are three independent modules. In the present embodiment, the application module, the communication module and the encryption module are physically independent. In other embodiments, the application module, the communication module and the encryption module are logically independent. The application module can send control instructions or data to each other with the encryption module, and the communication module can send control instructions or data to each other with the encryption module. The application module and the communication module cannot directly transmit control instructions or data, and need to be processed by the encryption module. The encryption module receives control instructions or data from the application module or the communication module, and after parsing the control instructions or data, determines to execute the corresponding instructions according to the parsing results or transmits the parsing results to the communication module or the application module after further processing.

[0031] In this way, the application module and the communication module of the mobile terminal are completely isolated, and the application module cannot directly exchange data with the communication module. In this way, not only the encryption requirements are met, but also high-speed communication can be handled.

[0032] The application module is used to perform initial control instruction transmission or initial data transmission with the encryption module according to a custom protocol.

[0033] In this embodiment, the application module can be an application processor, and the application processor generates corresponding instructions according to the application program installed on the operating system of the mobile terminal. The initial control instruction or initial data refers to the instruction or data from the instruction generating end or the data generating end. The custom protocol refers to a set of customized protocols for encrypting control instructions or data, thereby replacing traditional control instructions or data. It should be noted that the custom protocol is applied to the application module, encryption module and communication module of the mobile terminal, that is, when each module sends control instructions or data to other modules, it will package the information according to the custom protocol to form encrypted control instructions or data.

[0034] In an optional embodiment, if Figure 2 As shown, the custom protocol includes length, protocol header, type field, status field, command field, data field and check field, among which the type field is used to define the instructions or data transmission mode between the application module, communication module and encryption module; the status field is used to define the status of the application module, communication module and encryption module, and the command field is used to define instructions of different functions. Check field: used to check the integrity of the packet

[0035] For example

[0036] Protocol header: Fixed to: 0xAA 0xBB 0xCC 0xDD 0xEE 0xFF 0xFF 0xFF

[0037] Type field: 0x00 Application module->Cryptographic module

[0038] 0x01 Application module->Password module->Communication module

[0039] 0x02 Password module->Communication module

[0040] 0x10 Communication module->Password module

[0041] 0x11 Communication module->Password module->Application module

[0042] 0x12 Password module -> Application module

[0043] Status field: 0x00 0x00 No status field

[0044] 0x00 0x01 Application module is ready

[0045] 0x00 0x02 Battery level

[0046] 0x01 0x01 Password module power-on completed

[0047] 0x01 0x02 Password module starts authentication

[0048] 0x01 0x03 Password module authentication successful

[0049] 0x01 0x04 Password module authentication failed

[0050] 0x02 0x01 5G communication module powered on successfully

[0051] 0x02 0x02 5G communication module successfully accessed the network

[0052] 0x02 0x03 5G communication module failed to access the network

[0053] 0x02 0x04 5G communication module enters flight mode

[0054] 0x02 0x05 5G communication module exits flight mode

[0055] 0x02 0x06 5G communication module reports IP address

[0056] Command field: 0x00 0x00 No command field

[0057] 0x00 0x01 Enable 5G function

[0058] 0x00 0x02 Disable 5G function

[0059] 0x00 0x03 Enter airplane mode

[0060] 0x00 0x04 Exit airplane mode

[0061] 0x00 0x05 Shutdown

[0062] 0x01 0x01 Start password module authentication

[0063] 0x01 0x02 Stop password module authentication

[0064] 0x01 0x03 Password Verification

[0065] 0x01 0x04 Password modification

[0066] 0x01 0x05 Key Update

[0067] 0x02 0x01 Regular key update

[0068] 0x02 0x02 Key Destruction

[0069] Through the above-mentioned custom protocol, when each module sends information, it can be packaged into corresponding control instructions or data according to the custom protocol, so that the module that receives the control instruction or data can parse it according to the custom protocol. In this way, the purpose of completely isolating the application module and the communication module through the encryption module is achieved.

[0070] In an optional embodiment, if Figure 3 As shown, the application module and the encryption module transmit instructions through a control channel, and the application module and the encryption module transmit data through a data channel. In this embodiment, the application module is used to transmit initial control instructions to the encryption module through the control channel. The control channel is used to control key negotiation, key management, data encryption and decryption and other processes.

[0071] The encryption module is used to receive and parse the initial control instruction or initial data, generate a target control instruction or target data from the parsed initial control instruction or initial data according to the custom protocol, and send the target control instruction or target data to the communication module.

[0072] Specifically, in this embodiment, the encryption module is used to receive and parse the initial control instruction to perform the corresponding function. The encryption module pre-configures the content in the custom protocol, so that when the encryption module receives the initial control instruction or initial data sent by the application module, the initial control instruction or initial data can be parsed according to the custom protocol. After parsing, the specific control content or data content of the initial control instruction can be obtained. For example, the specific control instruction can be an instruction to control the encryption module to perform a corresponding function, such as changing a password, and the specific control instruction can also be an instruction to control the communication module to perform a corresponding function, such as turning on the 5G data function.

[0073] In an optional embodiment, in this embodiment, the encryption module and the communication module transmit instructions through the control channel, and the encryption module and the communication module transmit data through the data channel. The encryption module is also used to, when receiving and parsing the initial control instruction as a control instruction sent to the communication module, generate a target control instruction according to the custom protocol from the instruction data obtained by parsing the initial control instruction, and transmit the target control instruction to the communication module through the control channel. Specifically, in order to isolate the application module and the communication module, by setting the encryption module in the middle of the data transmission process between the application module and the communication module, the encryption module needs to parse the control instruction or data sent by any module according to the custom protocol first, and then determine whether it needs to be re-packaged according to the custom protocol and sent to another module based on the result of the parsing.

[0074] The communication module is used to receive and analyze the target control instruction or target data, and perform corresponding operations.

[0075] Specifically, the communication module is a 5G communication module. The communication module is also pre-configured with the content of the custom protocol. The communication module receives the target control instruction or target data through the control channel, and parses the target control instruction or data according to the custom protocol to obtain specific control content or data. In this embodiment, a control channel is included between the communication module and the encryption module, and the communication module receives the target control instruction transmitted by the encryption module through the control control.

[0076] Furthermore, the encryption module is also used to negotiate keys with the application module and the communication module respectively to establish an encryption channel, and the encryption channel is used to transmit data. The encryption channel refers to the data channel mentioned above. Specifically, when the encryption module executes the corresponding function according to the control instruction received through the control channel or when the encryption module receives the status information fed back by the communication module, if it is determined that data transmission is required, the control module negotiates keys with the application module and the communication module respectively to establish an encryption channel. It should be noted that the encryption module can establish an encrypted data channel only with the application module or only with the communication module according to the specific situation, or establish an encrypted channel between the application module and the communication module.

[0077] In an optional embodiment, the encryption module is further used to re-negotiate keys with the application module and the communication module respectively to establish an encryption channel when a change in the IP address is detected or at every preset time interval.

[0078] Through the above implementation, the application module, encryption module and communication module are completely isolated, and different contents are transmitted through different transmission channels, namely, control channel and data channel. Since the data channel uses Gigabit Ethernet port, it can handle high-speed communication. At the same time, the control channel is used to control key negotiation, key management, data encryption and decryption and other processes. In this way, the data encryption requirements in the case of 5G high-speed network data transmission are realized.

[0079] Below, according to the attached Figure 4 This article gives examples to illustrate the process of each module processing through custom protocols.

[0080] The application module packages the instruction data according to the custom protocol to generate a control command, and sends the control command to the encryption module through the control channel. The encryption module parses the control instruction according to the custom protocol to determine its control content. The control content includes reporting the status to the application module, sending it to the communication module, and the encryption module processing the instruction. In this example, the control content is sent to the communication module. Therefore, the encryption module repackages the parsed content according to the custom protocol to send it to the communication module through the control channel. The communication module parses the control instruction according to the custom protocol and performs corresponding operations according to the parsed content, for example, reporting the status to the encryption module or processing the command. It should be noted that the content that can be parsed by each module is pre-defined by the custom protocol, and the specific content is as shown in the custom protocol content above.

[0081] Furthermore, in order to improve the security of the mobile terminal, Figure 5 As shown, when the mobile terminal is turned on, the application module is also used to determine whether the encryption module is detected when the mobile terminal is detected to be turned on. When the encryption module is not detected, the control is shut down; when the encryption module is detected, the control is turned on.

[0082] Specifically, when the mobile terminal is turned on, the encryption module is detected by the application module to ensure that the encryption module is in a normal working state or a standby state. If the encryption module is not detected, the system determines that the mobile terminal is in an unsafe state at this time, and therefore controls the shutdown so that the current operator cannot use the mobile terminal. In an optional embodiment, when the encryption module is not detected, a prompt message is displayed on the screen, such as "no valid encryption module is detected". If the encryption module is detected, the power is controlled to be turned on.

[0083] Furthermore, in order to further improve the security of the mobile terminal, Figure 6 As shown, the application module is also used to perform verification when the encryption module is detected, and control shutdown when the verification fails; and control startup when the verification passes.

[0084] Specifically, since the current user is still an illegal user after the mobile terminal detects the encryption module, that is, not the owner of the mobile terminal, in order to prevent the illegal user from deciphering the screen decryption password of the mobile terminal through software after the mobile terminal is turned on, the application further verifies the encryption module after detecting the encryption module and before the power-on is completed. In this embodiment, the verification includes password verification, and when the password verification fails, the control is shut down. In an optional embodiment, when the password verification fails, the control is shut down, and at the same time, the encryption module is deregistered to face the illegal user to crack the password. In other embodiments, the verification also includes authentication, and when the authentication is successful, the control is turned on, and when the authentication is unsuccessful, the control is shut down.

[0085] Through the mobile terminal provided by the present application, an encryption module is added between the application module and the communication module of the traditional mobile terminal, and the control instruction or data generated by the control application module according to the custom protocol is not a conventional control instruction or data, and then the control instruction or data generated according to the custom protocol is sent to the encryption module, and the received control instruction or data is parsed by the encryption module. If the parsing determines that the control instruction or data is sent to the communication module, the encryption module processes the parsed data again according to the custom protocol, and then sends the processed instruction or data to the communication module to control the communication module to perform the corresponding function. In this way, the application module and the communication module of the mobile terminal are completely isolated, and the application module cannot directly communicate with the communication module. In this way, not only the encryption requirements are met, but also high-speed communication can be handled.

[0086] It should be noted that the computer program content that may be involved in the scheme recorded in the above specific implementation method is the prior art and is not an improvement of this application. This application improves the connection relationship between the modules in the circuit so that the modules can cooperate with each other when working, recover the heat energy lost by the equipment, and convert it into electrochemical energy stored in the power module. On the one hand, the heat dissipation effect of the equipment is enhanced through thermoelectric materials to achieve the effect of cooling and extending the battery life. On the other hand, the energy utilization rate of the power module is improved to extend the battery life of the equipment.

[0087] Figure 7This is a flowchart of an embodiment of a data processing method provided by the present application. Once the method of this embodiment is triggered by the user, the process in this embodiment is automatically run through the mobile terminal, wherein the mobile terminal includes an application module, a communication module and an encryption module, wherein the encryption module is connected between the application module and the communication module, and each step can be performed in sequence in the order shown in the flowchart during operation, or multiple steps can be performed simultaneously according to actual conditions, which is not limited here. The image processing method provided by the present application includes the following steps:

[0088] Step S710, transmitting an initial control instruction or initial data to the encryption module through the application module according to a custom protocol;

[0089] Step S720, receiving and parsing the initial control instruction or initial data through the encryption module, generating a target control instruction or target data from the parsed initial control instruction or initial data according to the custom protocol, and sending the target control instruction or target data to the communication module;

[0090] Step S730: receiving and parsing the target control instruction or target data through the communication module, and performing corresponding operations.

[0091] Optionally, the application module and the encryption module transmit instructions via a control channel, the application module and the encryption module transmit data via a data channel, and the encryption module and the communication module transmit data via the data channel.

[0092] Optionally, the custom protocol includes length, protocol header, type field, status field, command field, data field and check field, wherein the type field is used to define the instructions or data transmission method between the application module, communication module and encryption module; the status field is used to define the status of the application module, communication module and encryption module, and the command field is used to define instructions of different functions.

[0093] Optionally, the method also includes: when the encryption module receives and parses the initial control instruction as a control instruction sent to the communication module, generating a target control instruction according to the custom protocol using the instruction data obtained by parsing the initial control instruction, and transmitting the target control instruction to the communication module through the control channel.

[0094] Optionally, the method also includes: when the encryption module receives and parses the initial control instruction as a control instruction sent to the communication module, generating a target control instruction according to the custom protocol using the instruction data obtained by parsing the initial control instruction, and transmitting the target control instruction to the communication module through the control channel.

[0095] Optionally, the method further includes performing key negotiation with the application module and the communication module respectively through the encryption module to establish an encryption channel, where the encryption channel is used to transmit data.

[0096] Optionally, the method further includes, when a change in the IP address is detected by the encryption module, or at every preset time interval, re-negotiating keys with the application module and the communication module respectively to establish an encryption channel.

[0097] Optionally, the method further includes: when the application module detects that the mobile terminal is turned on, determining whether the encryption module is detected, and when the encryption module is not detected, controlling the terminal to shut down; when the encryption module is detected, controlling the terminal to turn on.

[0098] Optionally, the method further comprises: when the encryption module is detected by the application module, performing verification, and when the verification fails, controlling shutdown; when the verification passes, controlling startup.

[0099] It should be noted that the technical solutions in the aforementioned embodiments are also applicable to this embodiment, so they will not be described in detail.

[0100] Figure 8 The mobile terminal 100 provided in the embodiment of the present application is a schematic diagram of the structure of the mobile terminal 100, wherein the mobile terminal 100 includes: a touch panel 1071; a processor 110; a memory 109, which is connected to the processor 110, and the memory 109 includes a control instruction. When the processor 110 reads the control instruction, the mobile terminal 100 is controlled to implement the following steps:

[0101] Transmitting initial control instructions or initial data to the encryption module through the application module according to a custom protocol;

[0102] Receiving and parsing the initial control instruction or initial data through the encryption module, generating a target control instruction or target data from the parsed initial control instruction or initial data according to the custom protocol, and sending the target control instruction or target data to the communication module;

[0103] The target control instruction or target data is received and parsed through the communication module, and corresponding operations are performed.

[0104] It should be noted that the technical solutions in the aforementioned embodiments are also applicable to this embodiment, so they will not be described in detail.

[0105] The embodiment of the present application further provides a computer-readable storage medium, the computer-readable storage medium having one or more programs, and the one or more programs are executed by one or more processors to implement the following steps:

[0106] Transmitting initial control instructions or initial data to the encryption module through the application module according to a custom protocol;

[0107] Receiving and parsing the initial control instruction or initial data through the encryption module, generating a target control instruction or target data from the parsed initial control instruction or initial data according to the custom protocol, and sending the target control instruction or target data to the communication module;

[0108] The target control instruction or target data is received and parsed through the communication module, and corresponding operations are performed.

[0109] It should be noted that the technical solutions in the aforementioned embodiments are also applicable to this embodiment, so they will not be described in detail.

[0110] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0111] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0112] 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 can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a 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 a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of various embodiments of the present invention.

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

Claims

1. A data processing method, characterized in that: Applied to a mobile terminal, wherein the mobile terminal comprises an application module, a communication module and an encryption module, wherein the encryption module is connected between the application module and the communication module, Transmitting initial control instructions or initial data to the encryption module through the application module according to a custom protocol; Receiving and parsing the initial control instruction or initial data through the encryption module, generating a target control instruction or target data from the parsed initial control instruction or initial data according to the custom protocol, and sending the target control instruction or target data to the communication module; Receiving and parsing the target control instruction or target data through the communication module, and performing corresponding operations; The application module and the encryption module transmit instructions via a control channel, the application module and the encryption module transmit data via a data channel, and the encryption module and the communication module transmit data via the data channel; The custom protocol includes a length, a protocol header, a type field, a status field, a command field, a data field and a check field, wherein the type field is used to define the instructions or data transmission mode between the application module, the communication module and the encryption module; the status field is used to define the status of the application module, the communication module and the encryption module; and the command field is used to define instructions of different functions; When the encryption module receives and parses the initial control instruction as a control instruction sent to the communication module, the encryption module generates a target control instruction according to the custom protocol by parsing the instruction data obtained from the initial control instruction, and transmits the target control instruction to the communication module through the control channel; The encryption module performs key negotiation with the application module and the communication module respectively to establish an encryption channel, where the encryption channel is used to transmit data; When the encryption module detects a change in the IP address, or at every preset interval, re-negotiate the key with the application module and the communication module to establish an encryption channel; When the mobile terminal is detected to be powered on through the application module, determining whether the encryption module is detected, and when the encryption module is not detected, controlling the power off; when the encryption module is detected, controlling the power on; When the encryption module is detected by the application module, verification is performed. If the verification fails, the machine is controlled to be shut down; if the verification passes, the machine is controlled to be turned on.

2. A mobile terminal, characterized in that: Touch screen; processor; A memory is connected to the processor, the memory includes control instructions, and when the processor reads the control instructions, it controls the mobile terminal to implement the data processing method according to claim 1.

3. A computer-readable storage medium, characterized in that: The computer-readable storage medium has one or more programs, and the one or more programs are executed by one or more processors to implement the data processing method of claim 1.

Citation Information

Patent Citations

  • Seamless reconstruction method of three-module redundant fault tolerant computer based on micro-packet protocol

    CN101441586A

  • Application security enhancement method and system, and client with the system

    CN107040918A