Information processing method, device and electronic equipment

By changing the order of sending and receiving information fragments in electronic devices, the problems of complex information encryption and decryption operations and low security are solved, and efficient information security protection is achieved. It is suitable for information transmission and instant messaging applications between electronic devices.

CN113886799BActive Publication Date: 2025-09-19VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111208401.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-18
Publication Date
2025-09-19
Estimated Expiration
2041-10-18

AI Technical Summary

Technical Problem

In the existing technology, information encryption and decryption operations are complex and have low security. The same third-party encryption and decryption application needs to be installed in the electronic devices at both ends, resulting in low efficiency and the risk of information leakage.

Method used

By displaying a gesture input interface in an electronic device, determining the arrangement order of information fragments according to touch gestures, and changing the sending and receiving order of information fragments to achieve encryption and decryption, it avoids the extra occupation of storage resources and the installation of third-party applications.

Benefits of technology

It improves information security and encryption and decryption efficiency, reduces user operations, and prevents information leakage during transmission. It is particularly suitable for privacy protection of large files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113886799B_ABST
    Figure CN113886799B_ABST
Patent Text Reader

Abstract

The present application discloses an information processing method, device and electronic device, belonging to the field of communication technology, wherein, when a first input of first information is received, a first gesture input interface is displayed, and the first gesture input interface includes multiple string controls arranged in a preset order; when a second input of the first gesture input interface is received, a first touch gesture corresponding to the second input is obtained; according to a first touch order of the first string control corresponding to the first touch gesture, a first arrangement order is determined, and the first arrangement order is the arrangement order of at least two information segments in the first information; and according to the first arrangement order, the first information is sent to a second electronic device.
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 an information processing method, device, electronic device and storage medium. Background Art

[0002] With the continuous development of science and technology, users can encrypt information through third-party encryption and decryption applications provided by electronic devices and transmit the encrypted information to other electronic devices through electronic devices to ensure the security and privacy of the information. The electronic device receiving the information also needs to install the same encryption and decryption application as the electronic device sending the information in order to decrypt the received information.

[0003] However, the above method requires the installation of the same third-party encryption and decryption application in the electronic devices at both ends, which makes the information encryption and decryption operations complicated and reduces the encryption and decryption efficiency. In addition, the third-party encryption and decryption application may also cause information leakage, reducing information security. Summary of the Invention

[0004] The purpose of the embodiments of the present application is to provide an information processing method, an electronic device, and a storage medium that can solve the current problems of complex information encryption and decryption operations, low encryption and decryption efficiency, and low information security.

[0005] In a first aspect, an embodiment of the present application provides an information processing method, applied to a first electronic device, which may include:

[0006] In the case of receiving a first input of the first information, displaying a first gesture input interface, the first gesture input interface including a plurality of string controls arranged in a preset order;

[0007] When receiving a second input to the first gesture input interface, obtaining a first touch gesture corresponding to the second input;

[0008] Determining a first arrangement order according to a first touch sequence of the first string control corresponding to the first touch gesture, where the first arrangement order is an arrangement order of at least two information segments in the first information;

[0009] The first information is sent to the second electronic device according to the first arrangement sequence.

[0010] In a second aspect, an embodiment of the present application provides an information processing method, which is applied to a second electronic device. The information processing method may include:

[0011] receiving first information sent by a first electronic device, where the first information includes at least two information segments;

[0012] When a third input of the first information is received, displaying a second gesture input interface, the second gesture input interface including a plurality of string controls arranged in a preset order;

[0013] Upon receiving a fourth input to the second gesture input interface, acquiring a second touch gesture corresponding to the fourth input;

[0014] Determining a second arrangement order according to a second touch sequence of the third string control corresponding to the second touch gesture, where the second arrangement order is an order of reading the at least two information segments;

[0015] At least two information segments are read in sequence according to the second arrangement order.

[0016] In a third aspect, an embodiment of the present application provides an information processing device, applied to a first electronic device, where the information processing device may include:

[0017] a display module configured to display a first gesture input interface upon receiving a first input of the first information, the first gesture input interface comprising a plurality of string controls arranged in a preset order;

[0018] an acquisition module, configured to, upon receiving a second input to the first gesture input interface, acquire a first touch gesture corresponding to the second input;

[0019] a determination module, configured to determine a first arrangement order according to a first touch sequence of the first string control corresponding to the first touch gesture, the first arrangement order being an arrangement order of at least two information segments in the first information;

[0020] The sending module is used to send the first information to the second electronic device according to the first arrangement sequence.

[0021] In a fourth aspect, an embodiment of the present application provides an information processing device, applied to a second electronic device, and the information processing device may include:

[0022] A receiving module, configured to receive first information sent by a first electronic device, where the first information includes at least two information segments;

[0023] a display module configured to display a second gesture input interface upon receiving a third input of the first information, the second gesture input interface comprising a plurality of string controls arranged in a preset order;

[0024] an acquisition module, configured to, upon receiving a fourth input to the second gesture input interface, acquire a second touch gesture corresponding to the fourth input;

[0025] a determination module, configured to determine a second arrangement order according to a second touch order of the third string control corresponding to the second touch gesture, the second arrangement order being an order of reading at least two information segments;

[0026] The reading module is used to read at least two information fragments in sequence according to the second arrangement order.

[0027] In the fifth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and runnable on the processor. When the program or instruction is executed by the processor, it implements at least one of the following aspects: the steps of the information processing method shown in the first aspect and the second aspect.

[0028] 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, at least one of the following aspects is implemented: the steps of the information processing method shown in the first aspect and the second aspect.

[0029] In the seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement at least one of the following aspects: the steps of the information processing method shown in the first aspect and the second aspect.

[0030] In an embodiment of the present application, when a first input of a first message is received, a first gesture input interface is displayed, the first gesture input interface including a plurality of string controls arranged in a preset order; then, when a second input of the first gesture input interface is received, a first touch gesture corresponding to the second input is obtained; a first arrangement order is determined according to a first touch order of the first string control corresponding to the first touch gesture, and the first message is sent to the second electronic device according to the first arrangement order, the first arrangement order being the arrangement order of at least two information fragments in the first message. Thus, the embodiment of the present application can encrypt the message by changing the order of the information fragments in the sent message. Similarly, the receiving party can decrypt the message by changing the order of at least two information fragments in the read message. In this way, the storage resources of the electronic devices at both ends are not additionally occupied, and the user does not need to install other third-party encryption and decryption applications in the electronic device. While reducing user operations, the problem of information leakage during transmission is prevented, effectively improving information security and encryption and decryption efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of an information processing architecture provided in an embodiment of the present application;

[0032] Figure 2This is one of the interface interaction diagrams of an information processing provided in an embodiment of the present application;

[0033] Figure 3 This is a second diagram of an information processing interface interaction provided by an embodiment of the present application;

[0034] Figure 4 A flowchart of the information processing method provided in an embodiment of the present application;

[0035] Figure 5 A schematic diagram of a first interface provided in an embodiment of the present application;

[0036] Figure 6 This is one of the schematic diagrams of a first gesture input interface provided in an embodiment of the present application;

[0037] Figure 7 This is a second schematic diagram of a first gesture input interface provided in an embodiment of the present application;

[0038] Figure 8 This is one of the schematic diagrams of an association relationship provided in an embodiment of the present application;

[0039] Figure 9 A flowchart of an information processing method based on a second electronic device provided in an embodiment of the present application;

[0040] Figure 10 A second schematic diagram of an association relationship provided in an embodiment of the present application;

[0041] Figure 11 A third schematic diagram of an association relationship provided in an embodiment of the present application;

[0042] Figure 12 A schematic diagram of a display interface provided in an embodiment of the present application;

[0043] Figure 13 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application;

[0044] Figure 14 A schematic structural diagram of an information processing device based on a second electronic device provided in an embodiment of the present application;

[0045] Figure 15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0046] Figure 16 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described 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 are within the scope of protection of this application.

[0048] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0049] In order to solve the above problems, the information processing method provided in the embodiment of the present application can encrypt the information by changing the order of the information fragments in the sent information. Similarly, the recipient can decrypt the information by changing the order of at least two information fragments in the read information. In this way, no additional storage resources of the electronic devices on both ends will be occupied, and the user does not need to install other third-party encryption and decryption applications in the electronic devices. While reducing user operations, it prevents the problem of information leakage during transmission, effectively improving information security and encryption and decryption efficiency.

[0050] Based on this, the following Figure 1-Figure 2 , the information processing method provided in the embodiment of the present application is described in detail through specific embodiments and their application scenarios.

[0051] The embodiment of the present application proposes an information processing architecture, such as Figure 1 As shown, the information processing architecture may include a first electronic device 10 and a second electronic device 20. The first electronic device 10 and the second electronic device 20 may include a device for receiving information and a touch screen. The device for receiving information may include a transceiver, a network module, or other devices. The touch screen may be used to display interfaces such as a gesture input interface, a first interface, and other interfaces involved in the embodiments of the present application, as well as to receive user touch operations.

[0052] Based on the above information processing architecture, the embodiment of this application combines Figure 2 The information processing method provided in the embodiments of the present application is described in detail.

[0053] like Figure 2As shown, in one or more possible embodiments, if a user wants to transmit information from the first electronic device 10 to the second electronic device 20, the user can select the information to be transmitted, such as pictures, videos, files, etc. on the first electronic device 10 for sending to the second electronic device. Based on this, the first electronic device 10 displays a first interface 21, and the first interface 21 may include the first information 211 to be transmitted selected by the user, a first control 212, and a second control 213. Here, the first control 212 and the second control 213 are controls for the sending methods corresponding to the first information. Further, the first control 212 is a control for sending the first information privately (i.e., encrypting), and the second control 213 is a control for sending the first information publicly.

[0054] Next, when the first electronic device 10 receives a first input from the user to the first control 212, a first gesture input interface 22 is displayed. Here, as Figure 2 shown, the first gesture input interface 22 may be a nine-grid gesture input interface. The nine-grid gesture input interface may include nine digital string controls in a preset order, such as from 1 to 9, or nine text string controls of "The passage of time is just like this, never ceasing day or night" displayed in sequence from left to right. Here, the first electronic device 10 can divide the first information according to the first number of string controls in the nine-grid gesture input interface, such as 9, to obtain nine information segments, and associate each information segment with each string control in "The passage of time is just like this, never ceasing day or night" in sequence. For example, associate the first information segment in the nine information segments with the string control "逝", associate the second information segment in the nine information segments with the string control "者", and so on for the other information segments, which will not be elaborated here.

[0055] Furthermore, the user can slide on the nine-grid gesture input interface to form a touch gesture. Based on this, the first electronic device 10 receives a second input from the user to the nine-grid gesture input interface, and obtains a first touch gesture corresponding to the second input. For example, the user slides in a Z shape on the nine-grid gesture input interface. In this way, according to the first touch gesture, the first touch order of the first string control corresponding to the first touch gesture can be determined. For example, for the first string control "逝者夫舍昼夜" corresponding to the Z shape, the first touch order is "逝" -> "者" -> "如" -> "夫" -> "舍" -> "昼" -> "夜".

[0056] Then, the first electronic device 10 determines the first transmission sequence of the first information segment corresponding to the first string control "逝者如夫舍昼夜" according to the first touch order, and, according to the second string controls, that is, the string controls not touched by the user in the first gesture input interface, such as "斯" and "不", obtains the second transmission sequence of the second information segment corresponding to the second string controls in the order of text arrangement. The first transmission sequence and the second transmission sequence are concatenated successively to obtain the first arrangement order, that is, the first arrangement order is "逝" -> "者" -> "如" -> "夫" -> "舍" -> "昼" -> "夜" -> "斯" -> "不". In this way, the first electronic device 10 sends the information segments corresponding to each string control to the second electronic device according to the first arrangement order, so as to send all the first information to the second electronic device 20.

[0057] As Figure 3 shown, the second electronic device 20 receives the first information sent by the first electronic device 10, and displays the second gesture input interface 31, such as a nine-grid gesture input interface, when receiving the third input to open the first information. The nine-grid gesture input interface may include a plurality of string controls arranged in a preset order, such as in the order of numerical size, such as 1-9 numerical string controls. It should be noted that the number of string controls in the first gesture input interface and the second gesture input interface is the same. Based on this, nine information segments in the first information are obtained, and each information segment in the nine information segments is associated with the 1-9 numerical string controls in turn. For example, the information segment corresponding to "逝" is associated with the "1" string control, the information segment corresponding to "者" is associated with the "2" string control, and the same applies to other information segments, which will not be elaborated here. Additionally, in an optional embodiment, the second gesture input interface 31 displayed by the second electronic device may include, in addition to the 1-9 numerical string controls, the same text string controls as those displayed by the first electronic device, and the types of string controls in the gesture input interface are not limited here.

[0058] Then, the second electronic device 20 receives a fourth input to the second gesture input interface. In response to the fourth input, it obtains a second touch gesture corresponding to the fourth input. For example, the user slides in a Z shape on the nine-grid gesture input interface. In this way, according to the second touch order of the third string control corresponding to the second touch gesture, the second arrangement order can be determined. The second arrangement order is the order of reading at least two information segments. If the third string control corresponding to the Z shape is "1235789", then the second touch order is "1" -> "2" -> "3" -> "5" -> "7" -> "8" -> "9", and the string controls not touched in the second gesture input interface, such as "4" and "6". In this way, according to the second touch order, the third string controls are respectively associated with the third information segments in the first information. For example, "1" corresponds to "the dead", "2" corresponds to "ones", "3" corresponds to "such as", "5" corresponds to "husband", "7" corresponds to "abandon", "8" corresponds to "daytime", and "9" corresponds to "nighttime". Also, according to the arrangement order of the fourth string controls, the fourth string controls are associated with the fourth information segments in the first information. Here, the arrangement position of the third information segments in the first information is before the arrangement position of the fourth information segments, that is, "4" corresponds to "this" and "6" corresponds to "not". Based on this, the second electronic device 20 determines the arrangement order of the multiple string controls in the second gesture input interface, that is, the order of 1-9 as the second arrangement order, and reads nine information segments in sequence according to the second arrangement order "1" -> "2" -> "3" -> "4" -> "5" -> "6" -> "7" -> "8" -> "9", that is, "the dead" -> "ones" -> "such as" -> "this" -> "husband" -> "not" -> "abandon" -> "daytime" -> "nighttime".

[0059] Based on this, when the order of reading the nine information segments is the same as the order set by the first electronic device 10, the first information is displayed. On the contrary, when the order of reading the nine information segments is different from the order set by the first electronic device 10, a prompt message is displayed. The prompt message is used to prompt the user to re-enter a touch gesture in the second gesture input interface. Thus, if the gesture input received by the second electronic device is incorrect, it will lead to an incorrect sorting of the information segments read, resulting in the inability to open the first information. On the contrary, if the gesture input received by the second electronic device is correct, the sorting of the information segments read will be correct, that is, the first information is displayed, so as to improve the security of information transmission.

[0060] Therefore, the embodiments of the present application can encrypt the information by changing the order of the information fragments in the sent information. Similarly, the recipient can decrypt the information by changing the order of at least two information fragments in the read information. In this way, it will not occupy the storage resources of the electronic devices on both ends, nor does it require the user to install other third-party encryption and decryption applications in the electronic devices. It is particularly suitable for the privacy protection of large files such as long videos and long screenshots. While reducing user operations, it prevents the problem of information leakage during transmission, effectively improving information security and encryption and decryption efficiency.

[0061] It should be noted that the first gesture input interface and the second gesture input interface mentioned above can be the same type of interface, such as both being numeric string controls or both being text string controls. The number of text string controls in the gesture input interface can be an integer greater than 2.

[0062] Based on this, the information processing method provided in the embodiment of the present application can be applied not only to the above-mentioned scenario of information transmission between electronic devices, but also to the scenario of information transmission in instant messaging applications. Of course, the information processing method provided in the embodiment of the present application can be applied to any scenario of encrypting and decrypting information.

[0063] According to the above architecture and application scenarios, the following are combined Figure 4 The information processing method provided in the embodiments of the present application is described in detail.

[0064] Figure 4 A flowchart of an information processing method provided in an embodiment of the present application.

[0065] like Figure 4 As shown, the information processing method can be applied to Figure 1 Based on the first electronic device shown, the information processing method may specifically include the following steps:

[0066] Step 410: Upon receiving a first input for the first message, display a first gesture input interface, the first gesture input interface including a plurality of string controls arranged in a preset order. Step 420: Upon receiving a second input for the first gesture input interface, obtain a first touch gesture corresponding to the second input. Step 430: Determine a first arrangement order based on a first touch order of the first string controls corresponding to the first touch gesture, the first arrangement order being the arrangement order of at least two information segments in the first message. Step 440: Send the first message to the second electronic device according to the first arrangement order.

[0067] In this way, the encryption of information is achieved by changing the order of information fragments in the sent information. Similarly, the recipient can decrypt the information by changing the order of at least two information fragments in the read information. In this way, no additional storage resources of the electronic devices on both ends are occupied, and the user does not need to install other third-party encryption and decryption applications in the electronic devices. While reducing user operations, it prevents information leakage during transmission, effectively improving information security and encryption and decryption efficiency.

[0068] The above steps are described in detail below.

[0069] First, referring to step 410, in one or more optional embodiments, before step 410, the information processing method may further include:

[0070] Displaying a first interface, the first interface including the first information and a first control, the first control being a control for a sending method corresponding to the first information;

[0071] An input to the first control is determined as a first input.

[0072] For example, Figure 5 As shown, the first electronic device 10 displays a first interface, which may include first information 211 to be transmitted and a first control 212 selected by the user. Here, the first control 212 is a control for sending the first information privately (ie, encrypted).

[0073] Next, referring to step 420 , the first gesture input interface in the embodiment of the present application may include multiple string controls, and the multiple string controls may be arranged in a preset order.

[0074] For example, Figure 6 As shown, if the first gesture input interface is a nine-square gesture input interface and the multiple string controls are digital string controls, the multiple string controls can be arranged according to the size of the numbers corresponding to the digital string controls. Figure 7 As shown, if the first gesture input interface is a six-grid gesture input interface and the multiple string controls are text string controls, the multiple string controls can be arranged according to the reading order of the text.

[0075] Furthermore, regarding step 440, in one or more optional embodiments, step 440 may specifically include steps 4401 to 4404, as shown below.

[0076] Step 4401: Divide first information according to a first number of string controls in a first gesture input interface to obtain information segments corresponding to the first number.

[0077] In a possible example, when the number of first bytes corresponding to the first information is a preset multiple of the first number, the number of first bytes can be evenly divided according to the first number.

[0078] Exemplarily, if the first number is 9 and the number of first bytes is 198, then the number of bytes of each information segment is 22.

[0079] In another possible instance, when the number of first bytes corresponding to the first information is not a preset multiple of the first number, the information segments corresponding to the first number include first-type information segments and second-type information segments; wherein, the number of second bytes corresponding to the first-type information segments is an integer multiple of the first number, and the number of third bytes corresponding to the second-type information segments is the sum of an integer multiple of the first number and a first value, and the first value is the difference between the number of first bytes and the number of second bytes.

[0080] Exemplarily, if the first number is 9 and the number of first bytes is 200, then for the first 8 information segments, the decimal part of the number of bytes of each information segment is removed and only the integer part is retained, and the number of bytes of the last information segment is the remaining number of bytes of the first information, that is, 200 / 9 = 22.22. Thus, the first 8 information segments are first-type information segments, that is, the number of second bytes of each first-type information segment is 22, and the last information segment is a second-type information segment, that is, the number of third bytes of the second-type information segment is 24 bytes.

[0081] Step 4402: Associate each string control among multiple string controls with each information segment.

[0082] Exemplarily, as Figure 8 shown, associate "The passage of time like this, never ceasing day or night" with multiple information segments "ABCDEFGHI" in the first information respectively, such as associating "逝" with "A", associating "者" with "B", and so on, which will not be elaborated here.

[0083] Step 4404: Determine a first layout order according to the first touch order and the order of the second string control layout, where the second string control is the string control in the first gesture input interface that has not been touched.

[0084] Furthermore, according to the first touch order, obtain a first sending sequence of the first information segment corresponding to the first string control;

[0085] According to the order of the second string control layout, obtain a second sending sequence of the second information segment corresponding to the second string control;

[0086] Generate a first layout order according to the first sending sequence and the second sending sequence, where the layout position of the first sending sequence in the first layout order is before the layout position of the second sending sequence.

[0087] Exemplarily, referring to Figure 2 , if the first touch gesture of the user in the nine-grid gesture input interface is a Z shape, the first transmission sequence is "shi" -> "zhe" -> "ru" -> "fu" -> "she" -> "zhou" -> "ye", and the second transmission sequence corresponding to the second information segment of the second string control is "si" -> "bu". Based on this, the two sequences are concatenated, with the first transmission sequence placed in front and the second transmission sequence placed behind, thus generating the first arrangement order, such as "shi" -> "zhe" -> "ru" -> "fu" -> "she" -> "zhou" -> "ye" -> "si" -> "bu".

[0088] Then, referring to step 440, the first information is sent to the second electronic device according to the first arrangement order. <0000(...)]]Exemplarily, based on the first arrangement order, the transmission order of the information segments in the first information is "A" -> "B" -> "C" -> "E" -> "G" -> "H" -> "I" -> "D" -> "F".

[0090] Based on the same inventive concept, the flowchart of an information processing method provided by an embodiment of the present application based on a second electronic device is shown.

[0091] As Figure 9 shown, this information processing method can be applied to the second electronic device as shown in Figure 1 . Based on this, the information processing method may specifically include the following steps:

[0092] Step 910, receiving the first information sent by the first electronic device, where the first information includes at least two information segments. Step 920, displaying a second gesture input interface in the case of receiving a third input to the first information, where the second gesture input interface includes a plurality of string controls arranged in a preset order. Step 930, obtaining a second touch gesture corresponding to the fourth input in the case of receiving a fourth input to the second gesture input interface. Step 940, determining a second arrangement order according to the second touch order of the third string control corresponding to the second touch gesture, where the second arrangement order is the order of reading at least two information segments. Step 950, reading at least two information segments in sequence according to the second arrangement order.

[0093] The above steps will be described in detail below, as specifically shown below.

[0094] First, referring to step 940, in one or more optional embodiments, this step 940 may specifically include:

[0095] Associate the third string control with the third information segment in the first information according to the second touch order, and associate the fourth string control with the fourth information segment in the first information according to the arrangement order of the fourth string controls. The fourth string control is the string control that has not been touched in the second gesture input interface. The arrangement position of the third information segment in the first information is before the arrangement position of the fourth information segment;

[0096] Determine the second arrangement order according to the arrangement order of multiple string controls in the second gesture input interface.

[0097] Exemplarily, as Figure 10 shown, if the user slides in a Z shape in the nine-square grid gesture input interface, the second arrangement order can be determined according to the second touch order of the third string control corresponding to the second touch gesture. The second arrangement order is the order of reading at least two information segments. If the third string control corresponding to the Z shape is "1235789", the second touch order is "1" -> "2" -> "3" -> "5" -> "7" -> "8" -> "9". Also, the string controls that have not been touched in the second gesture input interface, such as "4" and "6". In this way, according to the second touch order, associate the third string control with the third information segment in the first information respectively. For example, associate "1" with "the dead", "2" with "ones", "3" with "such as", "5" with "husband", "7" with "abandon", "8" with "daytime", and "9" with "nighttime". And, according to the arrangement order of the fourth string control, associate the fourth string control with the fourth information segment in the first information. Here, the arrangement position of the third information segment in the first information is before the arrangement position of the fourth information segment, that is, "4" corresponds to "this" and "6" corresponds to "not". Based on this, the second electronic device 20 determines the second arrangement order as the arrangement order of multiple string controls in the second gesture input interface, that is, the order of 1 - 9, and reads nine information segments in sequence according to the second arrangement order "1" -> "2" -> "3" -> "4" -> "5" -> "6" -> "7" -> "8" -> "9", that is, "the dead" -> "ones" -> "such as" -> "this" -> "husband" -> "not" -> "abandon" -> "daytime" -> "nighttime".

[0098] Conversely, as Figure 11As shown, if the user slides in an L shape on the nine-grid gesture input interface, the second arrangement order can be determined according to the second touch order of the third string control corresponding to the second touch gesture. The second arrangement order is the order of reading at least two information segments. If the third string control corresponding to the L shape is "14789", the second touch order is "1" -> "4" -> "7" -> "8" -> "9". Also, the string controls not touched in the second gesture input interface, such as "2", "3", "5", and "6". In this way, according to the second touch order, the third string controls are associated with the third information segments in the first information respectively. For example, "1" corresponds to "the dead", "4" corresponds to "ones", "7" corresponds to "such as", "8" corresponds to "husband", and "9" corresponds to "give up". Also, according to the arrangement order of the fourth string control, the fourth string control is associated with the fourth information segment in the first information. Here, the arrangement position of the third information segment in the first information is before the arrangement position of the fourth information segment, that is, "2" corresponds to "day", "3" corresponds to "night", "5" corresponds to "this", and "6" corresponds to "not". Based on this, the second electronic device 20 determines the second arrangement order as the arrangement order of the multiple string controls in the second gesture input interface, that is, the order of 1-9, and reads nine information segments in sequence according to the second arrangement order "1" -> "2" -> "3" -> "4" -> "5" -> "6" -> "7" -> "8" -> "9", that is, "the dead" -> "day" -> "night" -> "ones" -> "this" -> "not" -> "such as" -> "husband" -> "give up".

[0099] In addition, after step 950, the information processing method in the embodiments of the present application may further include:

[0100] When the order of reading at least two information segments meets the preset conditions, display the first information. Exemplarily, based on the gesture as Figure 10 shown, if the gesture input received by the second electronic device is correct, the sorting of the read information segments will be correct, that is, as Figure 12 shown in the left figure, display the first information.

[0101] On the contrary, based on the gesture as Figure 11 shown, when the order of reading at least two information segments does not meet the preset conditions, display a prompt message, which is used to prompt the user to re-enter a touch gesture in the second gesture input interface. Exemplarily, if the gesture input received by the second electronic device is incorrect, it will cause the sorting of the read information segments to be incorrect, resulting in the inability to open the first information, that is, as Figure 12 shown in the right figure, a prompt message can be displayed.

[0102] In summary, the embodiments of the present application can encrypt information by changing the order of information fragments in the sent information. Similarly, the recipient can decrypt information by changing the order of at least two information fragments in the read information. In this way, it will not occupy additional storage resources of electronic devices on both ends, nor does it require users to install other third-party encryption and decryption applications in the electronic devices. It is particularly suitable for the privacy protection of large files such as long videos and long screenshots. While reducing user operations, it prevents information leakage during transmission, effectively improving information security and encryption and decryption efficiency.

[0103] It should be noted that the information processing method provided in the embodiments of the present application can be executed by an information processing device, or an information processing module in the information processing device for executing the information processing method. In the embodiments of the present application, the information processing device provided in the embodiments of the present application is described by taking the information processing device executing the information processing method as an example.

[0104] based on Figure 3 The information processing method shown in the present application also provides an information processing device. Figure 13 Provide detailed explanation.

[0105] Figure 13 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application.

[0106] like Figure 13 As shown, the electronic device 130 is used as Figure 1 In the first electronic device shown, the information processing device 130 may specifically include:

[0107] The display module 1301 is configured to display a first gesture input interface upon receiving a first input of the first information, where the first gesture input interface includes a plurality of string controls arranged in a preset order;

[0108] An acquisition module 1302 is configured to, upon receiving a second input to the first gesture input interface, acquire a first touch gesture corresponding to the second input;

[0109] A determining module 1303 is configured to determine a first arrangement order according to a first touch sequence of the first string control corresponding to the first touch gesture, where the first arrangement order is an arrangement order of at least two information segments in the first information;

[0110] The sending module 1304 is configured to send the first information to the second electronic device according to the first arrangement sequence.

[0111] The information processing device 130 is described in detail below.

[0112] In one or more possible embodiments, the determining module 1303 may be specifically configured to divide the first information according to a first number of string controls in the first gesture input interface to obtain information segments corresponding to the first number;

[0113] Associating each string control in the plurality of string controls with each information fragment;

[0114] The first arrangement order is determined according to the first touch order and the arrangement order of the second string controls, where the second string controls are string controls that are not touched in the first gesture input interface.

[0115] Furthermore, the determining module 1303 may be specifically configured to obtain, according to the first touch sequence, a first sending sequence of the first information segment corresponding to the first character string control;

[0116] According to the arrangement order of the second string controls, a second sending sequence of the second information fragment corresponding to the second string controls is obtained;

[0117] A first arrangement sequence is generated according to the first sending sequence and the second sending sequence, wherein an arrangement position of the first sending sequence in the first arrangement sequence is before an arrangement position of the second sending sequence.

[0118] It should be noted that, in the case where the number of first bytes corresponding to the first information is not a preset multiple of the first number, the information segments corresponding to the first number include first-category information segments and second-category information segments;

[0119] Among them, the second byte quantity corresponding to the first type of information segment is an integer multiple of the first quantity, the third byte quantity corresponding to the second type of information segment is the sum of the integer multiple of the first quantity and the first value, and the first value is the difference between the first byte quantity and the second byte quantity.

[0120] In another or more possible embodiments, the display module 1301 in the embodiment of the present application can also be used to display a first interface, where the first interface includes first information and a first control, and the first control is a control for a sending method corresponding to the first information; based on this, the determination module 1303 can also be used to determine the input to the first control as the first input.

[0121] Based on the same inventive concept and Figure 9 The information processing method shown in the present application also provides an information processing device. Figure 14 Provide detailed explanation.

[0122] Figure 14 A schematic structural diagram of an information processing device based on a second electronic device provided in an embodiment of the present application.

[0123] like Figure 14 As shown, the electronic device 140 is used as Figure 1 In the second electronic device shown, the information processing device 140 may specifically include:

[0124] The receiving module 1401 is configured to receive first information sent by a first electronic device, where the first information includes at least two information segments;

[0125] Display module 1402, configured to display a second gesture input interface upon receiving a third input of the first information, the second gesture input interface including a plurality of string controls arranged in a preset order;

[0126] An acquisition module 1403 is configured to, upon receiving a fourth input to the second gesture input interface, acquire a second touch gesture corresponding to the fourth input;

[0127] A determining module 1404 is configured to determine a second arrangement order according to a second touch order of the third string control corresponding to the second touch gesture, where the second arrangement order is an order of reading the at least two information segments;

[0128] The reading module 1405 is configured to read at least two information segments in sequence according to the second arrangement order.

[0129] The information processing device 140 is described in detail below.

[0130] In one or more possible embodiments, the determination module 1404 may be specifically configured to, according to the second touch order, associate the third string control with the third information segment in the first message, and, according to the arrangement order of the fourth string control, associate the fourth string control with the fourth information segment in the first message, where the fourth string control is a string control that is not touched in the second gesture input interface, and the arrangement position of the third information segment in the first message is before the arrangement position of the fourth information segment;

[0131] The arrangement order of the multiple string controls in the second gesture input interface is determined as a second arrangement order.

[0132] In another or more possible embodiments, the display module 1402 can also be used to display the first information when the order of reading at least two information segments meets the preset conditions; and to display a prompt message when the order of reading at least two information segments does not meet the preset conditions, wherein the prompt message is used to prompt the user to re-enter the touch gesture in the second gesture input interface.

[0133] The electronic device in the embodiments of the present application may be an information processing device, or a component, integrated circuit, or chip in an electronic device. The electronic device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may 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 may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the embodiments of the present application do not specifically limit this.

[0134] The electronic 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.

[0135] The electronic device provided in the embodiment of the present application can achieve Figures 1 to 12 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0136] In an embodiment of the present application, when a first input of a first message is received, a first gesture input interface is displayed, the first gesture input interface including a plurality of string controls arranged in a preset order; then, when a second input of the first gesture input interface is received, a first touch gesture corresponding to the second input is obtained; a first arrangement order is determined according to a first touch order of the first string control corresponding to the first touch gesture, and the first message is sent to the second electronic device according to the first arrangement order, the first arrangement order being the arrangement order of at least two information fragments in the first message. Thus, the embodiment of the present application can encrypt the message by changing the order of the information fragments in the sent message. Similarly, the receiving party can decrypt the message by changing the order of at least two information fragments in the read message. In this way, the storage resources of the electronic devices at both ends are not additionally occupied, and the user does not need to install other third-party encryption and decryption applications in the electronic device. While reducing user operations, the problem of information leakage during transmission is prevented, effectively improving information security and encryption and decryption efficiency.

[0137] Optional, such as Figure 15As shown, the embodiment of the present application further provides an electronic device 150, where the electronic device 150 can be at least one of the following devices in the embodiment of the present application: a first electronic device, a second electronic device, and the electronic device 150 includes a processor 1501, a memory 1502, and a program or instruction stored in the memory 1502 and executable on the processor 1501. When the program or instruction is executed by the processor 1501, each process of the above-mentioned information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0138] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0139] Figure 16 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0140] The electronic device 1600 includes but is not limited to: a radio frequency unit 1601, a network module 1602, an audio output unit 1603, an input unit 1604, a sensor 1605, a display unit 1606, a user input unit 1607, an interface unit 1608, a memory 1609, a processor 1610 and a transceiver.

[0141] Those skilled in the art will understand that the electronic device 1600 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 1610 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 16 The electronic device structure shown in the figure 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, which will not be repeated here.

[0142] In an embodiment of the present application, the display unit 1606 is used to display a first gesture input interface when receiving a first input of the first information, and the first gesture input interface includes a plurality of string controls arranged in a preset order. The user input unit 1607 is used to obtain a first touch gesture corresponding to the second input when receiving a second input of the first gesture input interface. The processor 1610 is used to determine a first arrangement order based on a first touch order of the first string control corresponding to the first touch gesture, and the first arrangement order is the arrangement order of at least two information fragments in the first information. The transceiver is used to send the first information to the second electronic device according to the first arrangement order.

[0143] It should be understood that the input unit 1604 may include a graphics processing unit (GPU) 16041 and a microphone 16042, and the graphics processor 16041 processes the image data of the static image or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1606 may include a display panel 16061, and the display panel 16061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1607 includes a touch panel 16071 and other input devices 16072. The touch panel 16071 is also called a touch screen. The touch panel 16071 may include two parts: a touch detection device and a touch display. Other input devices 16072 may include but are not limited to a physical keyboard, function keys (such as a volume display button, a switch button, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here. The memory 1609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understood that the modem processor may not be integrated into the processor 1610.

[0144] 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 information processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0145] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0146] In addition, an embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned information processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0147] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0148] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0149] Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in reverse order depending on the functions involved. For example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Furthermore, features described with reference to certain examples may be combined in other examples.

[0150] 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 the 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 this 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, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0151] 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 this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. An information processing method, applied to a first electronic device, characterized in that: include: In the case of receiving a first input of the first information, displaying a first gesture input interface, wherein the first gesture input interface includes a plurality of string controls arranged in a preset order; Upon receiving a second input to the first gesture input interface, acquiring a first touch gesture corresponding to the second input; determining a first arrangement order according to a first touch order of the first string control corresponding to the first touch gesture, where the first arrangement order is an arrangement order of at least two information segments in the first information; sending the first information to a second electronic device according to the first arrangement sequence; The determining of the first arrangement order according to the first touch sequence of the first string control corresponding to the first touch gesture includes: dividing the first information according to a first number of string controls in the first gesture input interface to obtain information segments corresponding to the first number; associating each string control of the plurality of string controls with each information segment; The first arrangement order is determined according to the first touch order and the arrangement order of the second string controls, where the second string controls are string controls that are not touched in the first gesture input interface.

2. The method according to claim 1, characterized in that The determining the first arrangement order according to the first touch order and the arrangement order of the second string controls includes: Obtaining, according to the first touch sequence, a first sending sequence of a first information segment corresponding to the first string control; Obtaining a second sending sequence of the second information segment corresponding to the second string control according to the arrangement order of the second string control; A first arrangement sequence is generated according to the first sending sequence and the second sending sequence, wherein an arrangement position of the first sending sequence in the first arrangement sequence is before an arrangement position of the second sending sequence.

3. The method according to claim 1, characterized in that In a case where the number of first bytes corresponding to the first information is not a preset multiple of the first number, the information segments corresponding to the first number include first-category information segments and second-category information segments; The second byte quantity corresponding to the first type of information segment is an integer multiple of the first quantity, the third byte quantity corresponding to the second type of information segment is the sum of the integer multiple of the first quantity and a first value, and the first value is the difference between the first byte quantity and the second byte quantity.

4. The method according to claim 1, wherein Before displaying the first gesture input interface, the method further includes: Displaying a first interface, the first interface including the first information and a first control, the first control being a control for a sending method corresponding to the first information; An input to the first control is determined as the first input.

5. An information processing method, applied to a second electronic device, characterized in that: include: receiving first information sent by a first electronic device, where the first information includes at least two information segments; When a third input of the first information is received, displaying a second gesture input interface, wherein the second gesture input interface includes a plurality of string controls arranged in a preset order; When receiving a fourth input to the second gesture input interface, acquiring a second touch gesture corresponding to the fourth input; Determining a second arrangement order according to a second touch order of the third string control corresponding to the second touch gesture, where the second arrangement order is an order of reading the at least two information segments; Reading the at least two information segments in sequence according to the second arrangement order; wherein determining the second arrangement order according to the second touch order of the third string control corresponding to the second touch gesture includes: Associating the third string control with the third information segment in the first message according to the second touch order, and associating the fourth string control with the fourth information segment in the first message according to the arrangement order of the fourth string controls, where the fourth string control is a string control that has not been touched in the second gesture input interface, and the arrangement position of the third information segment in the first message is before the arrangement position of the fourth information segment; The arrangement order of the plurality of string controls in the second gesture input interface is determined as a second arrangement order.

6. The method according to claim 5, characterized in that After sequentially reading the at least two information segments according to the second arrangement order, the method further includes: If the order of reading the at least two information fragments meets a preset condition, displaying the first information; When the order of reading the at least two information segments does not meet a preset condition, a prompt message is displayed, where the prompt message is used to prompt the user to re-input a touch gesture in the second gesture input interface.

7. An information processing device, applied to a first electronic device, characterized in that: include: a display module configured to display a first gesture input interface upon receiving a first input of the first information, wherein the first gesture input interface includes a plurality of string controls arranged in a preset order; an acquisition module, configured to, upon receiving a second input to the first gesture input interface, acquire a first touch gesture corresponding to the second input; a determining module, configured to determine a first arrangement order according to a first touch sequence of a first string control corresponding to the first touch gesture, wherein the first arrangement order is an arrangement order of at least two information segments in the first information; a sending module, configured to send the first information to a second electronic device according to the first arrangement sequence; Among them, the determination module is specifically used to divide the first information according to the first number of string controls in the first gesture input interface to obtain information segments corresponding to the first number; associate each string control in the multiple string controls with each information segment; determine the first arrangement order according to the first touch order and the arrangement order of the second string controls, and the second string control is the string control that has not been touched in the first gesture input interface.

8. An information processing device, applied to a second electronic device, characterized in that: include: A receiving module, configured to receive first information sent by a first electronic device, where the first information includes at least two information segments; a display module configured to display a second gesture input interface upon receiving a third input of the first information, wherein the second gesture input interface includes a plurality of string controls arranged in a preset order; an acquisition module, configured to, upon receiving a fourth input on the second gesture input interface, acquire a second touch gesture corresponding to the fourth input; a determination module, configured to determine a second arrangement order according to a second touch order of the third string control corresponding to the second touch gesture, wherein the second arrangement order is an order of reading the at least two information segments; a reading module, configured to read the at least two information fragments in sequence according to the second arrangement order; The determination module is specifically configured to, in accordance with the second touch order, associate the third string control with the third information segment in the first information, and, in accordance with the arrangement order of the fourth string controls, associate the fourth string control with the fourth information segment in the first information, wherein the fourth string control is a string control that is not touched in the second gesture input interface, and the arrangement position of the third information segment in the first information is before the arrangement position of the fourth information segment; The arrangement order of the plurality of string controls in the second gesture input interface is determined as a second arrangement order.

9. An electronic device, characterized in that: The method comprises 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 information processing method according to any one of claims 1 to 4, or the steps of the information processing method according to claim 5 or 6.

Citation Information

Patent Citations

  • Method and device for data encrypting

    CN106664197A

  • Display control method and device

    CN113230649A