Flexible configuration method and system for training subjects
By constructing a protection dictionary and deciding logic alternative key encryption, the problem of high risk of key loss in image data transmission of training subjects is solved, and the secure transmission and reliable protection of the training set are achieved.
Patent Information
- Application Number
- CN202510486987.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-04-17
AI Technical Summary
In the prior art, the risk of key loss in the image data of trainees in training subjects is high during frequent encryption, resulting in an increase in the risk of image data leakage and unable to provide sufficient reliable protection.
By constructing the first and second protection dictionaries, binary conversion and conversion processing are performed on the training set, training communication data is generated, and dictionary and judgment logic substitute key encryption is used during the communication process to ensure data security.
It effectively avoids the risk of key loss during frequent transmission, improves the security of training set transmission, and ensures that only through specific dictionaries and judgment logic can the training set be restored and obtained.
Smart Images

Figure CN120378552A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of training subject image transmission, and specifically to a flexible configuration method and system for training subjects. Background Art
[0002] In various current training scenarios, from sports training to vocational skills training, and then to military combat training, etc., how to efficiently configure training subjects to improve the training effects and comprehensive abilities of trainees has always been a key concern for researchers;
[0003] With the rapid development of information technology, it has become a trend to monitor and optimize the training process by digital means. Among them, collecting training images of trainees participating in training subjects provides rich data support for the flexible configuration of training subjects. By analyzing the training images, multi-dimensional information such as the action postures, movement trajectories, and skill operation details of trainees can be obtained. Based on this information, the training status and ability levels of trainees can be understood more accurately;
[0004] However, in this process, the image data of trainees is extremely sensitive and important. At present, the encryption method for these image data depends on keys. The image data collection of trainees is a frequent process. Using keys to encrypt it here will result in frequent use of keys, increasing the risk of key loss. If the keys are lost, these image data will be leaked and cannot provide sufficient reliable protection for the image data of trainees;
[0005] To solve the above problems, the present invention proposes a solution. Summary of the Invention
[0006] The purpose of the present invention is to provide a flexible configuration method and system for training subjects to solve the problems raised in the above background art.
[0007] The present invention provides a flexible configuration method for training subjects, including the following steps:
[0008] Step 1: The image acquisition end collects all image data of the target trainee based on the target training subject in the current training cycle and generates a training image set of the target trainee in the current training cycle, and transmits the training image set to the communication processing platform;
[0009] Step 2: After the communication processing platform receives the transmitted training atlas, it adds binary numbers 00 and 01, 10 and 11 into an empty list respectively to obtain the first protection list and the second protection list; takes characters 0 and 1 as the keys of the first protection dictionary and the second protection dictionary A2 respectively, and takes the first protection list and the second protection list as the values of the second protection dictionary to obtain the first protection dictionary and the second protection dictionary of the current training cycle;
[0010] Step 3: Perform binary conversion on the training atlas to obtain communication processing data, and perform conversion processing on the communication processing data according to the preset conversion processing rules to obtain the training communication data of the target trainee in the current training cycle, and transmit the training communication data to the cloud analysis terminal;
[0011] Step 4: After the cloud analysis terminal receives the transmitted training communication data, it constructs the first protection dictionary and the second protection dictionary of the current training cycle, and then reversely executes the conversion processing rules to restore the training atlas of the target trainee in the current training cycle, and stores the training atlas.
[0012] A flexible configuration system for training subjects includes:
[0013] An image acquisition end, which is used to periodically acquire images of several training actions of the target trainee of the target training subject to obtain several image data based on the target training subject;
[0014] In the current training cycle, the image acquisition end generates the training atlas of the target trainee in the current training cycle according to all the image data of the target trainee based on the target training subject collected in the current training cycle;
[0015] A communication processing platform, which is used to perform conversion processing on the training atlas of the trainee. After the communication processing platform receives the training atlas of the target trainee in the current training cycle transmitted, it first constructs the first protection dictionary and the second protection dictionary of the current training cycle according to the preset construction rules;
[0016] After the construction is completed, perform binary conversion on the training atlas of the target trainee in the current training cycle, and re-label the converted data as communication processing data;
[0017] Perform conversion processing on the communication processing data according to the preset conversion processing rules to obtain the training communication data of the target trainee in the current training cycle.
[0018] Further, the construction rules for constructing the first protection dictionary and the second protection dictionary of the current training cycle are as follows:
[0019] Add the binary numbers 00 and 01 to an empty list in sequence to obtain the first protection list, and add the binary numbers 10 and 11 to an empty list in sequence to obtain the second protection list;
[0020] Use the characters 0 and 1 as the keys of the first protection dictionary and the second protection dictionary A2 respectively, and use the first protection list and the second protection list as the values of the second protection dictionary to obtain the first protection dictionary and the second protection dictionary.
[0021] Furthermore, the conversion processing rule for converting and processing the training communication data of the target trainee in the current training cycle is as follows:
[0022] S11: In the order from left to right, intercept the first 4 characters from the communication processing data to obtain a group of character combinations, and then continue to intercept the first 4 characters from the remaining communication processing data until the total number of characters in the remaining communication processing data is less than 4, then stop intercepting;
[0023] S12: In the order of interception, mark all the character combinations obtained from the communication processing data as B1, B2,..., Bb in sequence, where b≥1 and b is the total number of character combinations intercepted from the communication processing data;
[0024] S13: Determine and generate the digit sequences of the character combinations B1, B2,..., Bb according to the preset first determination generation rule;
[0025] S14: Traverse the digit sequences of the character combinations B1, B2,..., Bb, extract all the character combinations whose digit sequences are not null, and in the order of the character combinations B1, B2,..., Bb, mark all the extracted character combinations as C1, C2,..., Cc in sequence, where c is the total number of digit sequences of the character combinations B1, B2,..., Bb whose digit sequences are not null;
[0026] All the remaining character combinations after extraction are also marked as D1, D2,..., Dd in the order of the character combinations B1, B2,..., Bb, where d is the total number of digit sequences of the character combinations B1, B2,..., Bb whose digit sequences are null;
[0027] S15: Generate the protection sequence of the character combination C1 according to the preset second determination generation rule;
[0028] S16: According to S15, calculate and obtain the protection sequences of character combinations C1, C2, ..., Cc in sequence. For character combinations D1, D2, ..., Dd, use the binary number of the digit sequence of character combinations D1, D2, ..., Dd as their corresponding protection sequences. For the digit sequence that is null and converted to binary, each character's ascii code value in null is respectively converted to a binary number, and the converted binary numbers are concatenated.
[0029] S17: In the order of character combinations B1, B2, ..., Bb, concatenate the protection sequences of character combinations B1, B2, ..., Bb successively to obtain the training communication data of the target trainee in the current training cycle.
[0030] Furthermore, it also includes a cloud analysis terminal, which is used to periodically receive the training atlas of the target trainee in the cloud. After the cloud analysis terminal receives the training communication data of the target trainee in the current training cycle transmitted, it first constructs the first protection dictionary and the second protection dictionary of the current training cycle according to the same framework rules, then reversely executes the conversion processing rules to restore the training atlas of the target trainee in the current training cycle, and stores the training atlas.
[0031] Compared with the prior art, it has the following beneficial effects:
[0032] In the present invention, an image acquisition end periodically acquires images of several training actions of a target trainee for a target training subject to obtain a periodic training atlas. A communication processing platform performs conversion processing on the communication processing data converted from the training atlas. During the conversion processing, first construct the first and second protection dictionaries, then perform a determination of 1 for each character in any group of character combinations, obtain a digit sequence based on the determination result, select a relevant dictionary type according to the digit sequence, find the position of the corresponding element based on the relevant dictionary content, and thus obtain the corresponding protection conversion sequence. By this method, it avoids the risk of key loss during frequent transmission in the encryption method of the key. On the other hand, it uses an encryption logic to replace the key encryption, avoids the occurrence of key loss, and only through a specific dictionary and determination logic can the training atlas be restored and obtained, providing security for the transmission of the training atlas. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a flowchart of the method of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0034] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0035] Please refer to Figure 1 , this application provides a flexible configuration method and system for training subjects, including an image acquisition end;
[0036] The image acquisition end is used to periodically collect images of several training actions of the target trainees for the target training subject to obtain several image data based on the target training subject. In this application, the target training subject includes several specified training actions, and the target trainees need to complete all corresponding training actions to meet the training requirements for the target training subject;
[0037] In the current training cycle, the image acquisition end generates a training atlas of the target trainees in the current training cycle based on all the image data of the target trainees for the target training subject in the current training cycle, and transmits the training atlas to the communication processing platform;
[0038] The communication processing platform is used to perform conversion processing on the training atlas of the trainees to protect the security of the training atlas during the interaction process. After receiving the training atlas of the target trainees in the current training cycle transmitted, the communication processing platform first constructs a first protection dictionary and a second protection dictionary for the current training cycle according to the preset construction rules. The construction rules are as follows:
[0039] Add the binary numbers 00 and 01 to an empty list in sequence to obtain the first protection list, and add the binary numbers 10 and 11 to an empty list in sequence to obtain the second protection list;
[0040] Use the characters 0 and 1 as the keys of the first protection dictionary and the second protection dictionary A2 respectively, and use the first protection list and the second protection list as the values of the second protection dictionary to obtain the first protection dictionary and the second protection dictionary;
[0041] After the construction is completed, perform binary conversion on the training atlas of the target trainees in the current training cycle, and re-calibrate the converted data as communication processing data;
[0042] Perform conversion processing on the communication processing data according to the preset conversion processing rules. The conversion processing rules are as follows:
[0043] S11: Extract the first 4 characters from the communication processing data in order from left to right to obtain a set of character combinations, and then continue to extract the first 4 characters from the remaining communication processing data until the total number of characters in the remaining communication processing data is less than 4, at which point stop further extraction;
[0044] It should be noted here that if the total number of characters in the remaining communication processing data is less than 4, then mark the remaining communication processing data as protected redundant data;
[0045] S12: Mark all the character combinations obtained based on the communication processing data as B1, B2,..., Bb in the order of extraction, where b ≥ 1 and b is the total number of character combinations extracted from the communication processing data;
[0046] S13: Determine the digit sequences of the character combinations B1, B2,..., Bb according to a preset first determination generation rule, and the first determination generation rule is as follows:
[0047] S131: Sequentially perform a "1" determination on each character constituting the character combination B1 from left to right. During the determination process, record the positions of the characters that are "1" in the character combination B1, and splice all the recorded positions in the order of the "1" determination of the characters to obtain the digit sequence of the character combination B1;
[0048] It should be noted here that if all the characters constituting the character combination B1 are not "1", then use null as the digit sequence of the character combination B1;
[0049] In this embodiment, in the order from left to right, the positions corresponding to all the characters constituting the character combination B1 are 1, 2, 3, 4 respectively. Similarly, for the remaining character combinations, the positions corresponding to all the characters are 1, 2, 3, 4 respectively in the order from left to right;
[0050] S132: Sequentially calculate and obtain the digit sequences of the character combinations B2, B3,..., Bb according to S131;
[0051] S14: Traverse the digit sequences of the character combinations B1, B2,..., Bb, extract all the character combinations whose digit sequences are not null, and mark all the extracted character combinations as C1, C2,..., Cc in the order of the character combinations B1, B2,..., Bb, where c is the total number of digit sequences of the character combinations B1, B2,..., Bb whose digit sequences are not null;
[0052] All the remaining character combinations after extraction are also marked as D1, D2, ..., Dd in the order of character combinations B1, B2, ..., Bb, where d is the total number of bits in the bit sequence of character combinations B1, B2, ..., Bb that is null;
[0053] S15: Generate the protection sequence of character combination C1 according to the preset second determination generation rule. The second determination generation rule is as follows:
[0054] S151: Mark all the characters in the bit sequence that makes up character combination C1 as E1, E2, ..., Ee in order from left to right, where 1 ≤ e ≤ 4;
[0055] S152: First, perform a size determination on character E1. If the numerical size of character E1 is within the range (0, 2], then determine that character E1 is related to the first protection dictionary. If the numerical size of character E1 is in the range (2, 4], then determine that character E1 is related to the second protection dictionary;
[0056] S153: In S152, if it is determined that character E1 is related to the first protection dictionary, at this time, select 1 element from the first protection dictionary based on character E1. Specifically:
[0057] If character E1 is 1, extract the 1st element from the value of the first protection dictionary, that is, the first protection list, and splice the element and the key of the first protection dictionary to obtain the protection conversion sequence of character E1;
[0058] If character E1 is 2, extract the 2nd element from the value of the first protection dictionary, that is, the first protection list, and splice the element and the key of the first protection dictionary to obtain the protection conversion sequence of character E1. It should be noted here that in the process of splicing to obtain the protection conversion sequence, the key is spliced first and the element is spliced later;
[0059] S154: In S152, if it is determined that character E1 is related to the second protection dictionary, at this time, select 1 element from the second protection dictionary based on character E1. Specifically: If character E1 is 3, extract the 1st element from the value of the second protection dictionary, that is, the second protection list, and splice the element and the key of the second protection dictionary to obtain the protection conversion sequence of character E1;
[0060] If character E1 is 4, extract the 2nd element from the value of the second protection dictionary, that is, the second protection list, and splice the element and the key of the second protection dictionary to obtain the protection conversion sequence of character E1. It should be noted here that in the process of splicing to obtain the protection conversion sequence, the key is spliced first and the element is spliced later;
[0061] S155: Calculate and obtain the protection conversion sequences of characters E2, ..., Ee in sequence according to S151 to S154;
[0062] S156: Concatenate the corresponding protection conversion sequences in the order of characters E1, E2, ..., E4 to obtain the protection sequence of character combination C1;
[0063] S16: Calculate and obtain the protection sequences of character combinations C1, C2, ..., Cc in sequence according to S15. For character combinations D1, D2, ..., Dd, use the binary numbers of the digit sequences of character combinations D1, D2, ..., Dd as their corresponding protection sequences. In this application, when converting the null digit sequence to a binary number, the ascii code value of each character in null is separately converted to a binary number, and the converted binary numbers are concatenated;
[0064] S17: Concatenate the protection sequences of character combinations B1, B2, ..., Bb in sequence in the order of character combinations B1, B2, ..., Bb to obtain the training communication data of the target trainee in the current training cycle. It should be noted here that if there is protection redundant data, the protection redundant data is concatenated at the rightmost end of the training communication data;
[0065] The communication processing platform transmits the training communication data of the target trainee in the current training cycle to the cloud analysis terminal;
[0066] The cloud analysis terminal is used to periodically receive and analyze the training atlas of the target trainee in the cloud. After receiving the training communication data of the target trainee in the current training cycle transmitted, the cloud analysis terminal first constructs the first protection dictionary and the second protection dictionary of the current training cycle according to the same framework rules, and then reversely executes the conversion processing rules to restore the training atlas of the target trainee in the current training cycle, and stores the training atlas for researchers to analyze;
[0067] Some of the data in the above formula are numerically calculated after removing their dimensions, and the content not described in detail in this specification belongs to the prior art well-known to those skilled in the art.
[0068] The above embodiments are only used to illustrate the technical method of the present invention and not to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical method of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A flexible configuration method for training subjects, characterized in that, It includes the following steps: Step 1: The image acquisition end collects all the image data of the target trainee based on the target training subject in the current training cycle and generates a training image set of the target trainee in the current training cycle according to it, and transmits the training image set to the communication processing platform; Step 2: After receiving the transmitted training image set, the communication processing platform adds binary numbers 00 and 01, 10 and 11 into an empty list respectively to obtain a first protection list and a second protection list; uses characters 0 and 1 as the keys of the first protection dictionary and the second protection dictionary A2 respectively, and uses the first protection list and the second protection list as the values of the second protection dictionary to obtain the first protection dictionary and the second protection dictionary in the current training cycle; Step 3: Perform binary conversion on the training image set to obtain communication processing data, and perform conversion processing on the communication processing data according to a preset conversion processing rule to obtain the training communication data of the target trainee in the current training cycle, and transmit the training communication data to the cloud analysis terminal; Step 4: After receiving the transmitted training communication data, the cloud analysis terminal constructs the first protection dictionary and the second protection dictionary in the current training cycle, then reversely executes the conversion processing rule to restore the training image set of the target trainee in the current training cycle, and stores the training image set.
2. Flexible configuration system for training subjects, characterized in that It includes: An image acquisition end, used to periodically collect images of several training actions of the target trainee of the target training subject to obtain several image data based on the target training subject; In the current training cycle, the image acquisition end generates a training image set of the target trainee in the current training cycle according to all the image data of the target trainee based on the target training subject collected in the current training cycle; A communication processing platform, used to perform conversion processing on the training image set of the trainee. After receiving the training image set of the target trainee in the current training cycle transmitted, the communication processing platform first constructs the first protection dictionary and the second protection dictionary in the current training cycle according to a preset construction rule; After the construction is completed, perform binary conversion on the training image set of the target trainee in the current training cycle, and re-label the converted data as communication processing data; Perform conversion processing on the communication processing data according to a preset conversion processing rule to obtain the training communication data of the target trainee in the current training cycle.
3. The flexible configuration system for training subjects according to claim 2, wherein The construction rules for constructing the first protection dictionary and the second protection dictionary in the current training cycle are as follows: Add binary numbers 00 and 01 into an empty list successively to obtain a first protection list, and add binary numbers 10 and 11 into an empty list successively to obtain a second protection list; Use characters 0 and 1 as the keys of the first protection dictionary and the second protection dictionary A2 respectively, and use the first protection list and the second protection list as the values of the second protection dictionary to obtain the first protection dictionary and the second protection dictionary.
4. The flexible configuration system for training subjects according to claim 2, wherein The conversion processing rules for obtaining the training communication data of the target trainee in the current training cycle by conversion processing are as follows: S11: Extract the first 4 characters from the communication processing data in order from left to right to obtain a set of character combinations, and then continue to extract the first 4 characters from the remaining communication processing data until the total number of characters in the remaining communication processing data is less than 4, at which point stop further extraction; S12: Mark all the character combinations obtained from the communication processing data as B1, B2, ..., Bb in the order of extraction, where b ≥ 1 and b is the total number of character combinations extracted from the communication processing data; S13: Determine the digit sequences of the character combinations B1, B2, ..., Bb according to a preset first determination generation rule; S14: Traverse the digit sequences of the character combinations B1, B2, ..., Bb, extract all the character combinations whose digit sequences are not null, and mark all the extracted character combinations as C1, C2, ..., Cc in the order of the character combinations B1, B2, ..., Bb, where c is the total number of digit sequences of the character combinations B1, B2, ..., Bb whose digit sequences are not null; All the remaining character combinations after extraction are also marked as D1, D2, ..., Dd in the order of the character combinations B1, B2, ..., Bb, where d is the total number of digit sequences of the character combinations B1, B2, ..., Bb whose digit sequences are null; S15: Generate the protection sequence of the character combination C1 according to a preset second determination generation rule; S16: Calculate and obtain the protection sequences of the character combinations C1, C2, ..., Cc in turn according to S15. For the character combinations D1, D2, ..., Dd, use the binary number of the digit sequence of the character combinations D1, D2, ..., Dd as their corresponding protection sequences. For the digit sequence that is null, convert it to a binary number by converting the ascii code value of each character in null to a binary number respectively and then concatenating the converted binary numbers; S17: Concatenate the protection sequences of the character combinations B1, B2, ..., Bb in the order of the character combinations B1, B2, ..., Bb to obtain the training communication data of the target trainee in the current training cycle.
5. The flexible configuration system for training subjects according to claim 4, wherein S13, the first determination generation rule for generating the digit sequences of the character combinations B1, B2, ..., Bb is as follows: S131: In order from left to right, make a determination for each character in the character combination B1 to see if it is 1. During the determination process, record the digit of the character that is 1 in the character combination B1, and concatenate all the recorded digits in the order of the character determination to obtain the digit sequence of the character combination B1; If all the characters in the character combination B1 are not 1, then use null as the digit sequence of the character combination B1; In order from left to right, the digits corresponding to all the characters forming the character combination B1 are 1, 2, 3, 4 respectively. Similarly, for the remaining character combinations, the digits corresponding to all the characters are 1, 2, 3, 4 respectively in order from left to right; S132: Sequentially calculate and obtain the digit sequences of character combinations B2, B3, ..., Bb according to S131.
6. The flexible configuration system for training subjects according to claim 4, characterized in that S15. The second determination generation rule for generating the protection sequence of character combination C1 is as follows: S151: Sequentially mark all the characters constituting the digit sequence of character combination C1 as E1, E2, ..., Ee from left to right, where 1 ≤ e ≤ 4; S152: First, perform a size determination on character E1. If the numerical size of character E1 is within the range (0, 2], then determine that character E1 is related to the first protection dictionary. If the numerical size of character E1 is in the range (2, 4], then determine that character E1 is related to the second protection dictionary; S153: In S152, if it is determined that character E1 is related to the first protection dictionary, at this time, select 1 element from the first protection dictionary based on character E1. Specifically: If character E1 is 1, extract the 1st element from the value of the first protection dictionary, that is, the first protection list, and splice the element with the key of the first protection dictionary to obtain the protection conversion sequence of character E1; If character E1 is 2, extract the 2nd element from the value of the first protection dictionary, that is, the first protection list, and splice the element with the key of the first protection dictionary to obtain the protection conversion sequence of character E1; S154: In S152, if it is determined that character E1 is related to the second protection dictionary, at this time, select 1 element from the second protection dictionary based on character E1 to obtain the protection conversion sequence of character E1; S155: According to S151 to S154, sequentially calculate and obtain the protection conversion sequences of characters E2, ..., Ee.
7. The flexible configuration system for training subjects according to claim 6, characterized in that, In S154, the content of selecting 1 element from the second protection dictionary based on character E1 is as follows: If character E1 is 3, extract the 1st element from the value of the second protection dictionary, that is, the second protection list, and splice the element with the key of the second protection dictionary to obtain the protection conversion sequence of character E1; If character E1 is 4, extract the 2nd element from the value of the second protection dictionary, that is, the second protection list, and splice the element with the key of the second protection dictionary to obtain the protection conversion sequence of character E1.
8. The flexible configuration system for training subjects according to claim 2, wherein It also includes a cloud analysis terminal, which is used to periodically receive the training atlas of the target trainee in the cloud. After the cloud analysis terminal receives the transmitted training communication data of the target trainee in the current training cycle, it first constructs the first protection dictionary and the second protection dictionary of the current training cycle according to the same framework rules, and then reversely executes the conversion processing rules to restore the training atlas of the target trainee in the current training cycle, and stores the training atlas.
Citation Information
Patent Citations
Single-soldier information acquisition terminal and information acquisition method
CN101702770A
Method and system for identifying encrypted field of private protocol
CN112153045A
Beidou short message transmission method and compression system based on cloud-side cooperation
CN116192237A
Photovoltaic cell panel dust deposition state monitoring system based on machine vision
CN118890417A
Data processing apparatus, method and program
JP6085783B1
Cited By
Online real-time sharing collaborative data annotation method
CN120881212A