CN105049332B - method for sharing files in group based on vehicle-mounted terminal - Google Patents

method for sharing files in group based on vehicle-mounted terminal Download PDF

Info

Publication number
CN105049332B
CN105049332B CN201510454360.3A CN201510454360A CN105049332B CN 105049332 B CN105049332 B CN 105049332B CN 201510454360 A CN201510454360 A CN 201510454360A CN 105049332 B CN105049332 B CN 105049332B
Authority
CN
China
Prior art keywords
file
group
shared
rule
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510454360.3A
Other languages
Chinese (zh)
Other versions
CN105049332A (en
Inventor
刘均
宋朝忠
欧阳张鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201510454360.3A priority Critical patent/CN105049332B/en
Publication of CN105049332A publication Critical patent/CN105049332A/en
Application granted granted Critical
Publication of CN105049332B publication Critical patent/CN105049332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a method for sharing files in a group based on a vehicle-mounted terminal, which comprises the following steps: acquiring a file to be shared for sharing in a group; encrypting the file to be shared according to a preset encryption rule to generate an encrypted shared file; sharing the encrypted shared file into a group. The embodiment of the invention also discloses a vehicle-mounted terminal. By adopting the method and the device, the privacy and the safety of the file can be improved when the vehicle-mounted terminal shares the file.

Description

Method for sharing files in group based on vehicle-mounted terminal
Technical Field
The invention relates to the technical field of electronics, in particular to a group file sharing method based on a vehicle-mounted terminal and the vehicle-mounted terminal.
background
With the development of communication technology, people use social networks to communicate more and more frequently. As in social applications, users often create social network groups for some purpose (e.g., technical communication, interest groups, communication between team members, etc.) and share various types of files, such as pictures, videos, and documents, among the group members.
At present, with the rapid development of vehicle terminals, more and more vehicle terminals can provide a function of establishing a social network group for exchanging vehicle related information and sharing files, so that vehicle owners, maintenance personnel or vehicle related personnel can conveniently discuss the vehicle terminals. However, when a user shares a file through a group of a vehicle-mounted terminal, the user can only directly share the file into the group, all members of the group can view the file, but if the information is private or only some members can view the file, the user needs to encrypt the file manually and share the file, so that the operation complexity of the user is increased, and inconvenience is brought to the user.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a group file sharing method based on a vehicle-mounted terminal and the vehicle-mounted terminal. When the vehicle-mounted terminal shares the file, the privacy and the safety of the file can be improved.
In order to solve the above technical problem, an embodiment of the present invention provides a method for sharing files in a group based on a vehicle-mounted terminal, including:
acquiring a file to be shared for sharing in a group;
encrypting the file to be shared according to a preset encryption rule to generate an encrypted shared file;
sharing the encrypted shared file into a group.
the encrypting process of the file to be shared according to the preset encryption rule comprises the following steps before generating the encrypted shared file:
outputting a first prompt interface, wherein the first prompt interface is used for prompting a user whether to encrypt the file to be shared;
Receiving a first operation instruction input by the user aiming at the first prompt page, and confirming whether the file to be shared is encrypted or not according to the first operation instruction;
And when the file to be shared is confirmed to be encrypted, executing the step of encrypting the file to be shared according to a preset encryption rule to generate an encrypted shared file.
wherein the sharing the encrypted shared file into the group previously comprises:
Setting members of a group to be received;
The sharing the encrypted shared file to a group comprises:
And acquiring a decryption rule corresponding to the encryption rule, and sending the decryption rule to the group member to be received.
Before the obtaining of the decryption rule corresponding to the encryption rule and the sending of the decryption rule to the group member to be received includes:
setting a corresponding relation between the encryption rule and the decryption rule;
The obtaining the decryption rule corresponding to the encryption rule and sending the decryption rule to the group member to be received includes:
And acquiring a decryption rule corresponding to the encryption rule according to the corresponding relation between the encryption rule and the decryption rule.
the encrypting the group information according to a preset encryption algorithm to obtain an encrypted shared file comprises:
Outputting a second prompt interface, wherein the second prompt interface is used for prompting the user whether to hide the group members;
receiving a second operation instruction input by the user aiming at the second prompt page, and confirming whether the encrypted shared file is hidden according to the second operation instruction;
when the second judging unit confirms that the encrypted shared file is hidden, a group member to be hidden is set;
The sharing the encrypted shared file into a group comprises:
And sharing the encrypted shared file to the group members except the group member to be hidden.
correspondingly, the embodiment of the invention also provides a vehicle-mounted terminal, which comprises:
The device comprises an acquisition unit, a sharing unit and a sharing unit, wherein the acquisition unit is used for acquiring files to be shared for sharing in a group;
the processing unit is used for encrypting the file to be shared according to a preset encryption rule to generate an encrypted shared file;
And the sharing unit is used for sharing the encrypted sharing file to a group.
Wherein, the vehicle-mounted terminal includes:
The first output unit is used for outputting a first prompt interface, and the first prompt interface is used for prompting a user whether to encrypt the file to be shared;
the first judging unit is used for receiving a first operation instruction input by the user aiming at the first prompt page and confirming whether the file to be shared is encrypted or not according to the first operation instruction;
When the judging unit confirms that the file to be shared is encrypted, the judging unit informs the processing unit to encrypt the file to be shared according to a preset encryption rule to generate an encrypted shared file.
Wherein, the vehicle-mounted terminal includes:
the first setting unit is used for setting members of the group to be received;
the vehicle-mounted terminal includes:
And the sending unit is used for acquiring the decryption rule corresponding to the encryption rule and sending the decryption rule to the group members to be received.
wherein, the vehicle-mounted terminal further includes:
The second setting unit is used for setting the corresponding relation between the encryption rule and the decryption rule;
The sending unit is specifically configured to:
And acquiring a decryption rule corresponding to the encryption rule according to the corresponding relation between the encryption rule and the decryption rule.
wherein, the vehicle-mounted terminal includes:
The second output unit is used for outputting a second prompt interface, and the second prompt interface is used for prompting the user whether to hide the group members;
The second judging unit is used for receiving a second operation instruction input by the user aiming at the second prompt page and confirming whether the encrypted shared file is hidden according to the second operation instruction;
a third setting unit, configured to set a group member to be hidden when the second determining unit determines to hide the encrypted shared file;
the sharing unit is specifically configured to:
And sharing the encrypted shared file to the group members except the group member to be hidden.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the vehicle-mounted terminal can acquire the file to be shared for sharing in the group, encrypt the file to be shared according to the preset encryption rule to generate the encrypted shared file, and share the encrypted shared file in the group, so that the privacy and the safety of the file can be improved when the vehicle-mounted terminal shares the file, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
fig. 1 is a flowchart illustrating a method for sharing files in a group based on a vehicle-mounted terminal according to a first embodiment of the present invention;
Fig. 2 is a flowchart illustrating a second embodiment of a method for sharing files in a group based on a vehicle-mounted terminal according to an embodiment of the present invention;
Fig. 3 is a flowchart illustrating a third embodiment of a method for sharing files in a group based on a vehicle-mounted terminal according to an embodiment of the present invention;
fig. 4 is a structural diagram of a first embodiment of a vehicle-mounted terminal according to an embodiment of the present invention;
Fig. 5 is a structural diagram of a second embodiment of a vehicle-mounted terminal according to an embodiment of the present invention;
fig. 6 is a structural diagram of a second embodiment of a vehicle-mounted terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
referring to fig. 1, a flowchart of a method for sharing files in a group based on a vehicle-mounted terminal according to a first embodiment of the present invention is shown. As shown in fig. 1, a method for sharing files in a group based on a vehicle-mounted terminal according to this embodiment includes the steps of:
S100, obtaining files to be shared for sharing in the group.
In the embodiment of the invention, the execution main body can be a vehicle-mounted terminal, the vehicle-mounted terminal is front-end equipment of a vehicle monitoring management system, the front-end equipment of the GPS vehicle navigation and monitoring management system can be realized, and a user can realize the GPS vehicle navigation and the vehicle monitoring management through the vehicle-mounted terminal. The vehicle-mounted terminal can also establish a social network group for communicating the relevant information of the vehicle. The user can share files through a social network group established by the vehicle-mounted terminal, so that group members can acquire the files shared by the user.
in the embodiment of the invention, the group can be a group to which the user joins as a group member, when the user needs to share files in the group, the user can operate the vehicle-mounted terminal to open a target group interface which is already joined in the group, the group interface can be a group dialog box, and the files to be shared are uploaded to the group through the target group interface, so that other users can share the files conveniently. When a user operates the vehicle-mounted terminal to upload a file to be shared into a group through the group interface (for example, the user pulls the file to be shared to the group interface to realize uploading, or an uploading control of the user operation interface uploads the file to be shared), the vehicle-mounted terminal can acquire the file to be shared in the group through the group interface. The file to be shared may be a picture, a video, a folder, or other files, and further, the file to be shared may also be other files, which is not limited.
S101, encrypting the file to be shared according to a preset encryption rule to generate an encrypted shared file.
In the embodiment of the invention, when the vehicle-mounted terminal acquires the file to be shared, the vehicle-mounted terminal can call the preset encryption rule to encrypt the file to be shared. The vehicle-mounted terminal can preset encryption rules, and the encryption rules can comprise keys, encryption algorithms, encryption algorithm types and the like. After the vehicle-mounted terminal calls the preset encryption rule to encrypt the file to be shared, the vehicle-mounted terminal can obtain the processed encrypted shared file. If the vehicle-mounted terminal adopts a preset CP _ DECODE _ SI encryption algorithm for encryption; or the vehicle-mounted terminal acquires the corresponding encryption rule according to the importance level of the file to be shared, so that the vehicle-mounted terminal encrypts the file to be shared according to the corresponding encryption rule to generate the encrypted shared file. The vehicle-mounted terminal can preset the corresponding relation between the file to be shared and the important level. Further, the vehicle-mounted terminal can also output a setting page, the page can comprise various encryption rules, and the user selects the encryption rules, so that the vehicle-mounted terminal encrypts the file to be shared according to the encryption rules selected by the user to generate the encrypted shared file.
s102, sharing the encrypted shared file into a group.
in the embodiment of the invention, after the vehicle-mounted terminal acquires the encrypted shared file, the vehicle-mounted terminal can push the encrypted shared file to other members in the group. Further, the vehicle-mounted terminal can send the encrypted shared file to the server, and the service pushes the encrypted shared file to other members in the group, so that the purpose that the vehicle-mounted terminal shares the encrypted shared file to the group is achieved.
In the embodiment of the invention, the vehicle-mounted terminal can acquire the file to be shared for sharing in the group, encrypt the file to be shared according to the preset encryption rule to generate the encrypted shared file, and share the encrypted shared file in the group, so that the privacy and the safety of the file can be improved when the vehicle-mounted terminal shares the file, and the user experience is improved.
fig. 2 is a flowchart illustrating a method for sharing files in a group based on a vehicle-mounted terminal according to a first embodiment of the present invention. As shown in fig. 2, the method for sharing files in a group based on a vehicle-mounted terminal according to this embodiment includes the steps of:
S200, obtaining files to be shared for sharing in the group.
s201, outputting a first prompt interface.
in the embodiment of the invention, when the vehicle-mounted terminal receives the file to be shared, the vehicle-mounted terminal can pop up a first prompt interface, wherein the first prompt interface is used for prompting a user whether to encrypt the file to be shared. Further, the first prompt interface also provides an operation button which can be operated by a user to generate operation for confirming the encryption instruction or not encrypting the instruction. When the user thinks that the file to be shared needs to be encrypted, the user can operate the operation button provided on the first prompt interface, for example, click the operation button, so that the vehicle-mounted terminal can receive a confirmation encryption instruction generated by the operation of the operation button by the user.
S202, receiving a first operation instruction input by the user aiming at the first prompt page, and confirming whether the file to be shared is encrypted according to the first operation instruction.
In the embodiment of the invention, the vehicle-mounted terminal can receive the first operation instruction input by the user aiming at the first prompt page, if the user needs to encrypt, the user can operate the button to generate the operation instruction for confirming the encryption instruction, and if the user does not need to encrypt, the button can be operated to generate the operation instruction for not encrypting the instruction. When the vehicle-mounted terminal receives the operation instruction, the vehicle-mounted terminal can confirm whether the file to be shared is encrypted or not according to the operation instruction, if the operation instruction received by the vehicle-mounted terminal is the encryption confirmation instruction, the vehicle-mounted terminal can judge that the file to be shared is encrypted, and if the operation instruction received by the vehicle-mounted terminal is the non-encryption instruction, the vehicle-mounted terminal can judge that the file to be shared is not encrypted.
in the embodiment of the present invention, when the vehicle-mounted terminal determines to encrypt the file to be shared according to the operation instruction, the vehicle-mounted terminal may execute step S203.
s203, encrypting the file to be shared according to a preset encryption rule to generate an encrypted shared file.
S204, the group members to be received are set.
In the embodiment of the invention, when the vehicle-mounted terminal obtains the encrypted shared file, the vehicle-mounted terminal can pop up a first setting interface, and the setting interface is used for prompting a user to set the group members to be received. The user can set the group members to be received which can have the authority to view the shared file according to the setting interface. Such as: the first setup page may display all members in the group, and the user may mark the displayed members as group members to which information needs to be transmitted.
s205, sharing the encrypted shared file to the group.
s206, acquiring a decryption rule corresponding to the encryption rule, and sending the decryption rule to the group member to be received.
In an embodiment of the present invention, the decryption rule may include: a key, a decryption algorithm, a type of decryption algorithm, etc. The decryption rule may be a preset decryption rule, such as: the CP _ DECODE _ SI decryption algorithm is preset as a decryption rule. Further, the vehicle-mounted terminal can set the corresponding relation between the encryption rule and the decryption rule. The vehicle-mounted terminal can acquire the decryption rule corresponding to the adopted encryption rule according to the corresponding relation between the encryption rule and the decryption rule and send the decryption rule to the group member to be received, and for example, after the vehicle-mounted terminal adopts the CP _ DECODE _ SI encryption algorithm to encrypt the shared file, the vehicle-mounted terminal can acquire the CP _ DECODE _ SI decryption algorithm corresponding to the CP _ DECODE _ SI encryption algorithm according to the corresponding relation between the encryption rule and the decryption rule, so that the vehicle-mounted terminal can acquire the decryption rule. Further, the vehicle-mounted terminal can also receive a decryption rule input by a user, so that the decryption rule corresponding to the encryption rule is obtained, and the decryption rule is sent to the group member to be received, so that the group member can decrypt the encrypted shared file according to the received decryption rule.
In the embodiment of the present invention, specific implementation processes of step S200, step S203, and step S205 may refer to specific implementation manners of step S100, step S101, and step S102 in the first embodiment, which are not described herein again.
In the embodiment of the invention, the vehicle-mounted terminal can acquire the file to be shared for sharing in the group, encrypt the file to be shared according to the preset encryption rule to generate the encrypted shared file, and share the encrypted shared file in the group, so that the privacy and the safety of the file can be improved when the vehicle-mounted terminal shares the file, and the user experience is improved.
fig. 3 is a flowchart illustrating a method for sharing files in a group based on a vehicle-mounted terminal according to a first embodiment of the present invention. As shown in fig. 3, the method for sharing files in a group based on a vehicle-mounted terminal according to this embodiment includes the steps of:
S300, obtaining files to be shared for sharing in the group.
S301, encrypting the file to be shared according to a preset encryption rule to generate an encrypted shared file.
And S302, outputting a second prompt interface.
in the embodiment of the invention, when the vehicle-mounted terminal generates the encrypted shared file, the vehicle-mounted terminal can pop up a second prompt interface, wherein the second prompt interface is used for prompting a user whether to hide the group members. Further, the second prompt interface also provides an operation button which can be operated by a user to generate an operation instruction for confirming the hiding instruction or the un-hiding instruction. When the user thinks that the encrypted shared file is necessary to be hidden and shared, the user can operate an operation button provided on the second prompt interface, for example, click the button, so that the in-vehicle terminal can receive a hidden confirmation instruction generated by the user operating the operation button.
and S303, receiving a second operation instruction input by the user aiming at the second prompt page, and confirming whether the file to be shared is hidden according to the second operation instruction.
In the embodiment of the invention, the vehicle-mounted terminal can receive a second operation instruction input by a user aiming at the second prompt page, if the user needs to hide, the user can operate the button to generate an operation instruction for confirming the hidden instruction, and if the user does not need to hide, the button can be operated to generate an operation instruction for not hiding the instruction. When the vehicle-mounted terminal receives the operation instruction, the vehicle-mounted terminal can judge whether to hide the encrypted shared file according to the operation instruction, if the operation instruction received by the vehicle-mounted terminal is a hiding confirmation instruction, the vehicle-mounted terminal can confirm to hide the encrypted shared file, and if the operation instruction received by the vehicle-mounted terminal is a non-hiding instruction, the vehicle-mounted terminal can judge not to hide the encrypted shared file.
in the embodiment of the present invention, when the in-vehicle terminal determines to encrypt the encrypted shared file, the in-vehicle terminal may perform step S304.
s304, when the encrypted shared file is confirmed to be hidden, the group members to be hidden are set.
In the embodiment of the invention, when the vehicle-mounted terminal confirms that the encrypted shared file is hidden, the vehicle-mounted terminal can pop up a second setting interface, and the second setting interface is used for prompting a user to set the group members to be hidden. The user can set the group members to be hidden on the second setting interface. Such as: the second setup page may display all members in the group, and the user may mark the displayed members as group members to be hidden.
S305, sharing the encrypted shared file to the group members except the group member to be hidden.
In the embodiment of the invention, the vehicle-mounted terminal can push the encrypted shared file to the group members except the group member to be hidden. Further, the vehicle-mounted terminal can send the encrypted shared file and the information of the group members to be hidden to the server, and the service pushes the encrypted shared file to the group members except the group members to be hidden according to the information of the group members to be hidden, so that the purposes that the vehicle-mounted terminal shares the encrypted shared file to the group and hides the group members to be hidden are achieved.
In the embodiment of the present invention, specific implementations of step S300 and step S301 may refer to specific implementations of step S100 and step S101 in the first embodiment, which are not described herein again.
In the embodiment of the invention, the vehicle-mounted terminal can acquire the file to be shared for sharing in the group, encrypt the file to be shared according to the preset encryption rule to generate the encrypted shared file, and share the encrypted shared file in the group, so that the privacy and the safety of the file can be improved when the vehicle-mounted terminal shares the file, and the user experience is improved.
Fig. 4 is a structural diagram of a first embodiment of a vehicle-mounted terminal according to an embodiment of the present invention. The in-vehicle terminal described in the embodiment of the present invention includes:
an obtaining unit 100, configured to obtain a file to be shared for sharing in a group.
And the processing unit 200 is configured to encrypt the file to be shared according to a preset encryption rule, and generate an encrypted shared file.
A sharing unit 300, configured to share the encrypted shared file to a group.
in the embodiment of the invention, the execution main body can be a vehicle-mounted terminal, the vehicle-mounted terminal is front-end equipment of a vehicle monitoring management system, the front-end equipment of the GPS vehicle navigation and monitoring management system can be realized, and a user can realize the GPS vehicle navigation and the vehicle monitoring management through the vehicle-mounted terminal. The vehicle-mounted terminal can also establish a social network group for communicating the relevant information of the vehicle. The user can share files through a social network group established by the vehicle-mounted terminal, so that group members can acquire the files shared by the user.
In the embodiment of the invention, the group can be a group to which the user joins as a group member, when the user needs to share files in the group, the user can operate the vehicle-mounted terminal to open a target group interface which is already joined in the group, the group interface can be a group dialog box, and the files to be shared are uploaded to the group through the target group interface, so that other users can share the files conveniently. When a user operates the vehicle-mounted terminal to upload a file to be shared into a group through a group interface (for example, the user pulls the file to be shared to the group interface to realize uploading, or an upload control of a user operation interface uploads the file to be shared), the obtaining unit 100 may obtain the file to be shared, which is used for sharing in the group, through the group interface. The file to be shared may be a picture, a video, a folder, or other files, and further, the file to be shared may also be other files, which is not limited.
in this embodiment of the present invention, when the obtaining unit 100 obtains the file to be shared, the processing unit 200 may call a preset encryption rule to encrypt the file to be shared. The vehicle-mounted terminal can preset encryption rules, and the encryption rules can comprise keys, encryption algorithms, encryption algorithm types and the like. After the processing unit 200 invokes a preset encryption rule to encrypt the file to be shared, the processing unit 200 may obtain the processed encrypted shared file. If the processing unit 200 adopts a preset CP _ DECODE _ SI encryption algorithm for encryption; or the processing unit 200 obtains the corresponding encryption rule according to the importance level of the file to be shared, so that the processing unit 200 encrypts the file to be shared according to the corresponding encryption rule to generate the encrypted shared file. The vehicle-mounted terminal can preset the corresponding relation between the file to be shared and the important level. Further, the processing unit 200 may further output a setting page, where the setting page may include various encryption rules, and the user selects the encryption rules, so that the processing unit 200 encrypts the file to be shared according to the encryption rules selected by the user, and generates an encrypted shared file.
In this embodiment of the present invention, after the processing unit 200 obtains the encrypted shared file, the sharing unit 300 may push the encrypted shared file to other members in the group. Further, the sharing unit 300 may send the encrypted shared file to the server, and the service pushes the encrypted shared file to other members in the group, so as to achieve the purpose that the vehicle-mounted terminal shares the encrypted shared file to the group.
In the embodiment of the invention, the vehicle-mounted terminal can acquire the file to be shared for sharing in the group, encrypt the file to be shared according to the preset encryption rule to generate the encrypted shared file, and share the encrypted shared file in the group, so that the privacy and the safety of the file can be improved when the vehicle-mounted terminal shares the file, and the user experience is improved.
Fig. 5 is a structural diagram of a second embodiment of a vehicle-mounted terminal according to an embodiment of the present invention. The in-vehicle terminal described in the embodiment of the present invention includes:
An acquisition unit 100, a processing unit 200 and a sharing unit 300.
Wherein, vehicle-mounted terminal still includes:
A first output unit 400, configured to output a first prompt interface, where the first prompt interface is used to prompt a user whether to encrypt the file to be shared;
a first determining unit 500, configured to receive a first operation instruction input by the user for the first hint page, and determine whether to encrypt the file to be shared according to the first operation instruction.
The first setting unit 600 is configured to set members of a group to be received.
A sending unit 700, configured to obtain a decryption rule corresponding to the encryption rule, and send the decryption rule to the group member to be received.
The second setting unit is used for setting the corresponding relation between the encryption rule and the decryption rule;
The sending unit is specifically configured to:
and acquiring a decryption rule corresponding to the encryption rule according to the corresponding relation between the encryption rule and the decryption rule.
in this embodiment of the present invention, when the obtaining unit 100 receives a file to be shared, the first output unit 400 may pop up a first prompt interface, where the first prompt interface is used to prompt a user whether to encrypt the file to be shared. Further, the first prompt interface also provides an operation button which can be operated by a user to generate operation for confirming the encryption instruction or not encrypting the instruction. When the user considers that the file to be shared needs to be encrypted, the user may operate, for example, click, an operation button provided on the first prompt interface, so that the first determination unit 500 may receive a confirmation encryption instruction generated by the user operating the operation button.
in the embodiment of the present invention, the first determining unit 500 may receive a first operation instruction input by a user for the first prompt page, where if the user needs to encrypt, the user may operate the button to generate an operation instruction for confirming the encrypted instruction, and if the user does not need to encrypt, the user may operate the button to generate an operation instruction for not encrypting the instruction. When the first determining unit 500 receives the operation instruction, the first determining unit 500 may determine whether to encrypt the file to be shared according to the operation instruction, for example, when the operation instruction received by the first determining unit 500 is an encryption confirmation instruction, the first determining unit 500 may determine to encrypt the file to be shared, and when the operation instruction received by the first determining unit 500 is a non-encryption instruction, the first determining unit 500 may determine to not encrypt the file to be shared. Further, when the first determining unit 500 determines to encrypt the file to be shared, the first determining unit 500 notifies the processing unit 200 to encrypt the file to be shared according to a preset encryption rule, so as to generate an encrypted shared file.
In this embodiment of the present invention, when the processing unit 200 obtains the encrypted shared file, the first setting unit 600 may pop up a first setting interface, where the setting interface is used to prompt the user to set the group members to be received. The user can set the group members to be received which can have the authority to view the shared file according to the setting interface. Such as: the first setup page may display all members in the group, and the user may mark the displayed members as group members to which information needs to be transmitted.
In an embodiment of the present invention, the decryption rule may include: a key, a decryption algorithm, a type of decryption algorithm, etc. The decryption rule may be a preset decryption rule, such as: the CP _ DECODE _ SI decryption algorithm is preset as a decryption rule. Further, the second setting unit may set a correspondence relationship between the encryption rule and the decryption rule. The sending unit 700 may obtain the decryption rule corresponding to the employed encryption rule according to the corresponding relationship between the encryption rule and the decryption rule, and send the decryption rule to the group member to be received, for example, after the processing unit 200 encrypts the shared file by using the CP _ DECODE _ SI encryption algorithm, the sending unit 700 may obtain the CP _ DECODE _ SI decryption algorithm corresponding to the CP _ DECODE _ SI encryption algorithm according to the corresponding relationship between the encryption rule and the decryption rule, so that the sending unit 700 obtains the decryption rule. Further, the sending unit 700 may further receive a decryption rule input by the user, so as to obtain the decryption rule corresponding to the encryption rule, and send the decryption rule to the group member to be received, so that the group member may decrypt the encrypted shared file according to the received decryption rule.
It is to be understood that the functions of the functional modules in this embodiment may also be described with reference to the foregoing embodiments, and are not described herein again.
In the embodiment of the invention, the vehicle-mounted terminal can acquire the file to be shared for sharing in the group, encrypt the file to be shared according to the preset encryption rule to generate the encrypted shared file, and share the encrypted shared file in the group, so that the privacy and the safety of the file can be improved when the vehicle-mounted terminal shares the file, and the user experience is improved.
Fig. 6 is a structural diagram of a third embodiment of a vehicle-mounted terminal according to an embodiment of the present invention. The in-vehicle terminal described in the embodiment of the present invention includes:
an acquisition unit 100, a processing unit 200 and a sharing unit 300.
wherein, vehicle-mounted terminal still includes:
a second output unit 800, configured to output a second prompt interface, where the second prompt interface is used to prompt a user whether to hide a group member.
A second determining unit 900, configured to receive a second operation instruction input by the user for the second hint page, and determine whether to hide the encrypted shared file according to the second operation instruction.
A third setting unit 1000, configured to set a group member to be hidden when the second determining unit determines to hide the encrypted shared file.
The sharing unit 300 is specifically configured to:
and sharing the encrypted shared file to the group members except the group member to be hidden.
in this embodiment of the present invention, when the processing unit 200 generates the encrypted shared file, the second output unit 800 may pop up a second prompt interface, where the second prompt interface is used to prompt the user whether to hide the group member. Further, the second prompt interface also provides an operation button which can be operated by a user to generate an operation instruction for confirming the hiding instruction or the un-hiding instruction. When the user thinks that the encrypted shared file is necessary to be hidden and shared, the user can operate an operation button provided on the second prompt interface, for example, click the button, so that the in-vehicle terminal can receive a hidden confirmation instruction generated by the user operating the operation button.
In the embodiment of the present invention, the second determining unit 900 may receive a second operation instruction input by the user with respect to the second prompt page, where if the user needs to hide, the user may operate the button to generate an operation instruction for confirming the hidden instruction, and if the user does not need to hide, the user may operate the button to generate an operation instruction for not hiding the instruction. When the second determining unit 900 receives the operation instruction, the second determining unit 900 may determine whether to hide the encrypted shared file according to the operation instruction, for example, when the operation instruction received by the second determining unit 900 is a confirm hiding instruction, the second determining unit 900 may confirm to hide the encrypted shared file, and when the operation instruction received by the second determining unit 900 is a non-hiding instruction, the second determining unit 900 may determine not to hide the encrypted shared file.
In this embodiment of the present invention, when the second determining unit 900 determines to hide the encrypted shared file, the third setting unit 1000 may pop up a second setting interface, where the second setting interface is used to prompt the user to set a group member to be hidden. The user can set the group members to be hidden on the second setting interface. Such as: the second setup page may display all members in the group, and the user may mark the displayed members as group members to be hidden.
In the embodiment of the present invention, the sharing unit 300 may push the encrypted shared file to the group members other than the group member to be hidden. Further, the sharing unit 300 may send the encrypted shared file and the information of the group member to be hidden to the server, and the service pushes the encrypted shared file to the group members other than the group member to be hidden according to the information of the group member to be hidden, so as to achieve the purpose that the vehicle-mounted terminal shares the encrypted shared file to the group and hides the group member to be hidden.
it is to be understood that the functions of the functional modules in this embodiment may also be described with reference to the foregoing embodiments, and are not described herein again.
In the embodiment of the invention, the vehicle-mounted terminal can acquire the file to be shared for sharing in the group, encrypt the file to be shared according to the preset encryption rule to generate the encrypted shared file, and share the encrypted shared file in the group, so that the privacy and the safety of the file can be improved when the vehicle-mounted terminal shares the file, and the user experience is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
the above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (6)

1. a method for sharing files in a group based on a vehicle-mounted terminal is characterized by comprising the following steps:
acquiring a file to be shared for sharing in a group;
Acquiring a corresponding encryption rule according to the importance level of the file to be shared, and encrypting the file to be shared based on the corresponding encryption rule to generate an encrypted shared file;
When the encrypted shared file is obtained, popping up a second prompt interface, wherein the second prompt interface is used for prompting a user whether to hide a group member, the second prompt interface provides an operation button, the operation button is used for the user to click and generate an operation instruction, and the operation instruction comprises a hiding confirmation instruction and a non-hiding instruction;
Receiving a second operation instruction input by the user clicking an operation button of the second prompt page, and determining whether to hide the encrypted shared file according to the second operation instruction;
When the encrypted shared file is confirmed to be hidden, popping up a second setting interface for prompting a user to set members of a group to be hidden, wherein the second setting interface displays all members in the group;
acquiring group members to be hidden and group members to be received marked by a user in all members in the group displayed on the second setting interface;
Sharing the encrypted shared file into a group, wherein the sharing the encrypted shared file into the group comprises: and sharing the encrypted shared file to group members except the group member to be hidden, acquiring a decryption rule corresponding to the encryption rule, and sending the decryption rule to the group member to be received so that the group member to be received decrypts the encrypted shared file according to the decryption rule.
2. The method according to claim 1, wherein the obtaining of the corresponding encryption rule according to the importance level of the file to be shared, the encrypting of the file to be shared based on the corresponding encryption rule, and the generating of the encrypted shared file comprises:
Outputting a first prompt interface, wherein the first prompt interface is used for prompting a user whether to encrypt the file to be shared;
receiving a first operation instruction input by the user aiming at the first prompt page, and confirming whether the file to be shared is encrypted or not according to the first operation instruction;
And when the file to be shared is confirmed to be encrypted, executing the step of encrypting the file to be shared according to a preset encryption rule to generate an encrypted shared file.
3. The method of claim 2, wherein before obtaining the decryption rule corresponding to the encryption rule and sending the decryption rule to the group member to be received, the method comprises:
Setting a corresponding relation between the encryption rule and the decryption rule;
The obtaining the decryption rule corresponding to the encryption rule and sending the decryption rule to the group member to be received includes:
And acquiring a decryption rule corresponding to the encryption rule according to the corresponding relation between the encryption rule and the decryption rule.
4. A vehicle-mounted terminal, characterized in that the vehicle-mounted terminal comprises:
the device comprises an acquisition unit, a sharing unit and a sharing unit, wherein the acquisition unit is used for acquiring files to be shared for sharing in a group;
The processing unit is used for acquiring a corresponding encryption rule according to the importance level of the file to be shared, and encrypting the file to be shared based on the corresponding encryption rule to generate an encrypted shared file;
A third setting unit, configured to pop up a second prompt interface when the encrypted shared file is obtained, where the second prompt interface is used to prompt a user whether to hide a group member, wherein the second prompt interface provides an operation button, the operation button is used for a user to click and generate an operation instruction, the operation instruction comprises a hiding confirmation instruction and a non-hiding instruction, a second operation instruction input by clicking an operation button of the second prompt page by the user is received, whether the encrypted shared file is hidden or not is confirmed according to the second operation instruction, when the encrypted shared file is confirmed to be hidden, popping up a second setting interface for prompting the user to set the members of the group to be hidden, displaying all members in the group on the second setting interface, and acquiring the group members to be hidden and the group members to be received marked by the user in all the members in the group displayed on the second setting interface;
a sharing unit, configured to share the encrypted shared file to a group, wherein the sharing unit is further configured to: and sharing the encrypted shared file to group members except the group member to be hidden, acquiring a decryption rule corresponding to the encryption rule, and sending the decryption rule to the group member to be received so that the group member to be received decrypts the encrypted shared file according to the decryption rule.
5. the in-vehicle terminal according to claim 4, wherein the in-vehicle terminal includes:
the first output unit is used for outputting a first prompt interface, and the first prompt interface is used for prompting a user whether to encrypt the file to be shared;
The first judging unit is used for receiving a first operation instruction input by the user aiming at the first prompt page and confirming whether the file to be shared is encrypted or not according to the first operation instruction;
when the first judging unit confirms that the file to be shared is encrypted, the first judging unit informs the processing unit to encrypt the file to be shared according to a preset encryption rule to generate an encrypted shared file.
6. the in-vehicle terminal according to claim 5, wherein the in-vehicle terminal further comprises:
the second setting unit is used for setting the corresponding relation between the encryption rule and the decryption rule;
And the sending unit is used for acquiring the decryption rule corresponding to the encryption rule according to the corresponding relation between the encryption rule and the decryption rule.
CN201510454360.3A 2015-07-29 2015-07-29 method for sharing files in group based on vehicle-mounted terminal Active CN105049332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510454360.3A CN105049332B (en) 2015-07-29 2015-07-29 method for sharing files in group based on vehicle-mounted terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510454360.3A CN105049332B (en) 2015-07-29 2015-07-29 method for sharing files in group based on vehicle-mounted terminal

Publications (2)

Publication Number Publication Date
CN105049332A CN105049332A (en) 2015-11-11
CN105049332B true CN105049332B (en) 2019-12-10

Family

ID=54455553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510454360.3A Active CN105049332B (en) 2015-07-29 2015-07-29 method for sharing files in group based on vehicle-mounted terminal

Country Status (1)

Country Link
CN (1) CN105049332B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483314B (en) * 2016-06-07 2018-11-23 腾讯科技(深圳)有限公司 A kind of information processing method and system, terminal device
CN107666395A (en) * 2016-07-28 2018-02-06 中兴通讯股份有限公司 One population file management method, user terminal, group chat system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859081A (en) * 2006-02-17 2006-11-08 华为技术有限公司 Immediate news enciphering transmission method and system
WO2009030158A1 (en) * 2007-08-28 2009-03-12 Huawei Technologies Co., Ltd. Content sharing method, server and system
CN101459622A (en) * 2007-12-12 2009-06-17 北京亿企通信息技术有限公司 Method and system for sending files in instant communication
CN101764834A (en) * 2008-12-24 2010-06-30 中国移动通信集团公司 Method, user terminal and system for sharing files in group
CN102843432A (en) * 2012-08-30 2012-12-26 西可通信技术设备(河源)有限公司 Network communication system applicable to sharing and synchronous updating of data at multiple clients

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391205B (en) * 2012-05-08 2017-06-06 阿里巴巴集团控股有限公司 The sending method of group communication information, client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859081A (en) * 2006-02-17 2006-11-08 华为技术有限公司 Immediate news enciphering transmission method and system
WO2009030158A1 (en) * 2007-08-28 2009-03-12 Huawei Technologies Co., Ltd. Content sharing method, server and system
CN101459622A (en) * 2007-12-12 2009-06-17 北京亿企通信息技术有限公司 Method and system for sending files in instant communication
CN101764834A (en) * 2008-12-24 2010-06-30 中国移动通信集团公司 Method, user terminal and system for sharing files in group
CN102843432A (en) * 2012-08-30 2012-12-26 西可通信技术设备(河源)有限公司 Network communication system applicable to sharing and synchronous updating of data at multiple clients

Also Published As

Publication number Publication date
CN105049332A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
US10135612B1 (en) Secure telecommunications
US9521097B2 (en) System and method for management of persistent and irrefutable instant messages
EP3220573B1 (en) Method and system for controlling encryption of information and analyzing information as well as terminal
CN104144049A (en) Encryption communication method, system and device
CN104507080A (en) File processing method and terminal
CN113242224B (en) Authorization method and device, electronic equipment and storage medium
US20230037251A1 (en) Device sharing method and electronic device
CN109246110B (en) Data sharing method and device and computer readable storage medium
CN103107887A (en) Method and device for controlling files based on position information
CN112003696A (en) SM9 key generation method, system, electronic equipment, device and storage medium
WO2016045464A1 (en) Decryption method and mobile terminal
US20180167283A1 (en) Communication apparatus and communication method, communication system, and computer-readable storage medium
CN106685897B (en) Safe input method, device and system
CN105049332B (en) method for sharing files in group based on vehicle-mounted terminal
CN113300999A (en) Information processing method, electronic device, and readable storage medium
US10218684B2 (en) Secure data transmission
CN109120576B (en) Data sharing method and device, computer equipment and storage medium
US9473471B2 (en) Method, apparatus and system for performing proxy transformation
CN105530089B (en) Attribute-based encryption method and device
CN103997730A (en) Method for decrypting, copying and pasting encrypted data
CN112163046A (en) Block chain-based equipment data storage method, device and system
WO2015156145A1 (en) Re-encryption method, re-encryption system, and re-encryption device
CN108055271B (en) Encryption and decryption method for electronic mail, storage medium and electronic equipment
US20160219053A1 (en) Intelligent terminal and interactive control system and interactive control method using same
CN114117488A (en) File management method, file uploading method, file decryption method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant