CN116805912B - College educational administration system data transmission and storage method based on angle mapping - Google Patents

College educational administration system data transmission and storage method based on angle mapping Download PDF

Info

Publication number
CN116805912B
CN116805912B CN202311050157.0A CN202311050157A CN116805912B CN 116805912 B CN116805912 B CN 116805912B CN 202311050157 A CN202311050157 A CN 202311050157A CN 116805912 B CN116805912 B CN 116805912B
Authority
CN
China
Prior art keywords
state
packet
user
administration system
educational administration
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
CN202311050157.0A
Other languages
Chinese (zh)
Other versions
CN116805912A (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.)
Xuzhou Medical University
Original Assignee
Xuzhou Medical University
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 Xuzhou Medical University filed Critical Xuzhou Medical University
Priority to CN202311050157.0A priority Critical patent/CN116805912B/en
Publication of CN116805912A publication Critical patent/CN116805912A/en
Application granted granted Critical
Publication of CN116805912B publication Critical patent/CN116805912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0407Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
    • H04L63/0414Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden during transmission, i.e. party's identity is protected against eavesdropping, e.g. by using temporary identifiers, but is known to the other party or parties involved in the communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the technical field of data safety transmission and storage, and discloses a college educational administration system data transmission and storage method based on angle mapping, which comprises the following steps: designing finite states of a college educational administration system and a cloud database, and describing different states of the college educational administration system and the cloud database in the information transmission and storage processes and responses to external events; data packets with different formats are designed, so that the university educational administration system and the cloud database can communicate in different states, and different data packets are sent in different states; designing a data transmission method based on geometric margin and complementary angle, and performing non-plaintext transmission on user data of a college educational administration system; then, decryption verification is carried out; the data storage method based on geometric residuals and complementary angles is designed to process the decrypted and verified data, so that the cloud database can store the private data in an plaintext manner; and the cloud server returns the stored information receipt of the cloud database to the college educational administration system to finish one-time data transmission and storage operation.

Description

College educational administration system data transmission and storage method based on angle mapping
Technical Field
The invention relates to the technical field of data safety transmission and storage, in particular to a college educational administration system data transmission and storage method based on angle mapping.
Background
In the application process of the university educational administration system, a great amount of user data, such as complex and private data of a plurality of teacher accounts, passwords, user ID information, school achievements, course plans and the like, is inevitably generated, and burden is brought to the response efficiency of the university information maintenance and educational administration system; in order to reduce the storage burden of a local server and improve the response speed, the common solution is to store data in a cloud database, and access the cloud database through an API interface.
In order to ensure the transmission and storage safety of user data of a educational administration system in a college, a privacy protection method for a cloud database, such as identity verification, data encryption transmission, access control and the like, is generated; although the technologies can realize safe transmission and storage of user data of the college educational administration system, complex protection logic and hardware requirements increase the communication burden between the college educational administration system and the cloud database, and reduce the response speed; how to quickly and light-weight realize safe transmission and storage of user data of a college educational administration system is a hot problem of current research.
Disclosure of Invention
The invention aims to provide a college educational administration system data transmission and storage method based on angle mapping, which solves the following technical problems:
how to realize the safe transmission and storage of the user data of the college educational administration system fast and light, and further realize the higher efficiency and conciseness of the user privacy protection effect.
The aim of the invention can be achieved by the following technical scheme:
the utility model provides a college educational administration system data transmission and storage method based on angle mapping, based on college educational administration system, cloud database and cloud server, the method includes:
designing a finite state of a college educational administration system and a finite state of a cloud database, and describing different states of the college educational administration system and the cloud database in the information transmission and storage processes and responses to external events;
step two, designing data packets with different formats, realizing communication between a college educational administration system and a cloud database in different states, and sending different data packets in different states;
the data packet in the second step includes: seven kinds of packets are selected from a Request packet, a Free packet, a Busy packet, a user_one packet, a user_two packet, a user_other packet and a result_info packet;
the Request packet is used for acquiring Request information sent by a user side;
the Free package is used for describing cloud server state information;
the Busy packet is configured to predict transmission latency information;
the user_one packet is used for transmitting User ID information;
the user_two packet is used for transmitting User password information;
the user_other packet is used for transmitting Other information of the User;
the result_info packet is used for displaying the storage Result information;
step three, designing a data transmission method based on geometric margin and complementary angle, and performing non-plaintext transmission on user data of a college educational administration system; then, decryption verification is carried out; the data transmission method based on geometric margin and complementary angle comprises the steps of realizing safe transmission of user ID information and safe transmission of user passwords;
transmitting user ID information to a cloud database through a college educational administration system, wherein the user ID information comprises a mobile phone number, a mailbox, a school number and an identity card number, wherein the user ID information comprises numbers, letters and characters of 0-9, and the last digit of the identity card number is a letter and is calculated according to a corresponding ASCII value; the method for safely transmitting the user ID information comprises the following steps:
s1, dividing continuous numbers by taking the beginning continuous 3 numbers as a group, comparing the continuous numbers with 180, if the number is larger than 180, dividing the 3 numbers in the current group into 2 numbers as a group, then carrying out recombination division on the following numbers as a group, and if only one number is left at last, directly taking a single number as a group;
s2, for a compound containing numbers, letters or characters; if the number of the continuous numbers is more than 3, processing according to the method of the step S1, and if the number of the continuous numbers is less than 3, taking the current number as a group;
for letters or characters, the letters or characters are represented by ASCII values, and the ASCII values corresponding to the letters or characters are singly used as a group;
s3, arranging each group of numerical values according to the original sequence, and comparing each numerical value with 90 and 180 in sequence; if the value of the current group is equal to 0, 90 or 180, directly outputting the value; if the value of the current group is smaller than 90, calculating the remaining angle; if the numerical value of the current group is more than 90 and less than 180, calculating the complement angle; until all groups of data are processed;
s4, putting the numerical value processed in the step S3 into User ID information in a user_one package, and transmitting the numerical value to a cloud database;
the college educational administration system transmits user password information to the cloud database, wherein the user password information consists of numbers, english letters and characters of 0-9; the method for safely transmitting the user password comprises the following steps:
SS1, dividing the continuous numbers by taking the first 3 numbers as a group, comparing with 180, if the number is larger than 180, dividing the 3 numbers in the current group into 2 numbers as a group, then dividing the following numbers into a group by recombination, and if only one number is left at last, directly taking a single number as a group;
SS2, for numeric, alphabetic or character containing; if the number of the continuous numbers is more than 3, processing according to the method of the step SS1, and if the number of the continuous numbers is less than 3, taking the current number as a group;
for letters or characters, the letters or characters are represented by ASCII values, and the ASCII values corresponding to the letters or characters are singly used as a group;
SS3, arranging each group of values according to the original sequence, and comparing each value with 90 and 180 in sequence; if the value of the current group is equal to 0, 90 or 180, directly outputting the value; if the value of the current group is smaller than 90, calculating the remaining angle; if the numerical value of the current group is more than 90 and less than 180, calculating the complement angle; until all groups of data are processed;
SS4, putting the numerical value processed in the step SS3 into User password information in a user_two packet, and transmitting the numerical value to a cloud database;
step four, designing a data storage method based on geometric residuals and complementary angles to process the decrypted and verified data, so as to realize the non-plaintext storage of the private data by the cloud database;
the cloud database receives and integrates user ID information, password information and other information sent by a college educational administration system to be arranged into a corresponding storage table; the user ID information, the password information and other information data consist of numbers of 0-9 and English letters and characters;
the method for storing the private data by the cloud database comprises the following steps:
SSS1, dividing continuous numbers by taking the first 3 numbers as a group, comparing the continuous numbers with 180, if the number is larger than 180, dividing the 3 numbers in the current group into 2 numbers as a group, then carrying out recombination division on the following numbers as a group, and if only one number is left at last, directly taking a single number as a group;
SSS2, for a composition containing numbers, letters or characters; if the number of the continuous numbers is more than 3, processing according to the method of the step SSS1, and if the number of the continuous numbers is less than 3, taking the current number as a group;
for letters or characters, the letters or characters are represented by ASCII values, and the ASCII values corresponding to the letters or characters are singly used as a group;
SSS3, arranging each group of numerical values according to the original sequence, and comparing each numerical value with 90 and 180 in sequence; if the value of the current group is equal to 0, 90 or 180, directly outputting the value; if the value of the current group is smaller than 90, calculating the remaining angle; if the numerical value of the current group is more than 90 and less than 180, calculating the complement angle; until all groups of data are processed;
SSS4, storing the numerical value processed in the step SSS3 under a corresponding key value of a database, and putting the storage abstract into the storage abstract in a result_Info packet to return to a college educational administration system;
and fifthly, returning the stored information receipt of the cloud database to the college educational administration system by the cloud server, and completing one-time data transmission and storage operation.
Preferably, the packet format is designed as follows:
(1) Request packet: packet ID-representing data packet type with fixed value 01, destination address-cloud database API interface address, source address-college educational administration system IP address, request content, data size, timestamp-for verifying if the request is overtime;
(2) Free package: packet ID-represents data packet type, source address-college educational administration system IP address, minimum processing size, maximum processing size, cloud server status with fixed value 02;
(3) Busy package: packet ID-represents the packet type, source address, minimum processing size, maximum processing size, expected latency with a fixed value 03;
(4) User_one package: packet ID-represents data packet type, target address-cloud database API interface address, source address-college educational administration system IP address, timestamp-information for verifying whether request is overtime, user ID information-information including mobile phone number, mailbox, school number, ID card number form, data represented by a group of geometric remainders and complement angles;
(5) User_two packet: packet ID-represents data packet type, target address-cloud database API interface address, source address-college educational administration system IP address, timestamp-data for verifying whether request is overtime, user password information-user self-defined password information, a group of geometric surplus and supplementary angle representation by fixed value 05;
(6) User_other packet: packet ID-representing data packet type with fixed value 06, destination address-cloud database API interface address, source address-college educational administration system IP address, timestamp-for verifying if the request is overtime, user other information-including gender, age, number of academic, performance information;
(7) Result_info packet: packet ID-represents the packet type, destination address-cloud database API interface address, source address-college educational administration system IP address, storage digest-including this number of storage, time, and size at a fixed value 07.
Preferably, the finite states of the first-step college educational administration system include an Init state, a send_ask state, a Wait state, a send_info state, and a passage state, and the total of 5 states are specifically designed as follows:
(1) Init state: this state indicates that the college educational administration system is in an initial state;
(2) Send_ask state: in the Init state, according to the data storage requirement of the user of the college educational administration system, the college educational administration system state is changed from the Init state to the send_ash state, a Request packet is sent to a cloud database, and the user data storage of the college educational administration system is requested;
(3) Wait state: in the Send_Ash state, the college educational administration system receives a Busy packet returned by the cloud database, and at the moment, the college educational administration system state is changed from the Send_Ash state to the Wait state until a Free packet returned by the cloud database is received;
(4) Send_info status: in the Send_Ask state or the Wait state, the college educational administration system receives a Free packet returned by the cloud database, and at the moment, the college educational administration system state is changed from the Send_Ask state to the Send_Info state, and a user_one packet, a user_two packet and a user_other packet are sent to the cloud database;
(5) Man state: in the Send_Info state, the college educational administration system receives a result_Info packet returned by the cloud database, and at the moment, the college educational administration system state is changed from the Send_Info state to the Manage state, and the next operation is performed according to a response Result.
Preferably, the finite states of the step-cloud database include an Init State, a get_state, a Storage State, and a send_result State, which are 4 states, and are specifically designed as follows:
(1) Init state: this state indicates that the cloud database is in an initial state;
(2) Get_state State: in the Init State, the cloud database receives a Request packet sent by a college educational administration system, at this time, the cloud database changes from the Init State to the get_state State, and the cloud database evaluates based on the current data management system and the storage infrastructure and returns a Free packet or a Busy packet to the college educational administration system;
(3) Storage state: in the get_State State, the cloud database receives a user_one packet, a user_two packet and a user_other packet sent by a college educational administration system, and at the moment, the cloud database changes from the get_State State to the Storage State, and stores User ID information, password information and Other information of the college educational administration system;
(4) Send_result state: and in the Storage state, the cloud database returns a result_info package, and at the moment, the cloud database state is changed from the Storage state to the send_result state, so that primary college educational administration system data Storage is completed.
The invention has the beneficial effects that: according to the invention, communication between the college educational administration system and the cloud database is realized by defining the finite states of the college educational administration system and the cloud database and the designs of data packets with different formats; the user data of the college educational administration system is transmitted and stored in an plaintext manner, so that the transmission and storage safety is ensured; the user data safety transmission and storage method of the college educational administration system based on the angle mapping is designed, so that the privacy protection effect is more efficient and concise.
Of course, it is not necessary for any one product to practice the invention to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a step diagram of a data transmission and storage method of a college educational administration system based on angle mapping;
FIG. 2 is a flow chart of the college educational administration system and cloud database transmission of the present invention;
FIG. 3 is a schematic diagram of a college educational administration system state transition according to the present invention;
FIG. 4 is a schematic diagram of a cloud database state transition according to the present invention;
FIG. 5 is a diagram showing the format of a Request packet according to the present invention;
FIG. 6 is a Free packet format diagram of the present invention;
FIG. 7 is a diagram illustrating a Busy packet format according to the present invention;
FIG. 8 is a diagram illustrating a user_one packet format according to the present invention;
FIG. 9 is a diagram illustrating a user_two packet format according to the present invention;
FIG. 10 is a diagram of a user_other packet format according to the present invention;
fig. 11 is a schematic diagram of the result_info packet format according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to reduce the storage burden of a local server and improve the response speed, the current common solution is to store data in a cloud database, and access the cloud database through an API interface; meanwhile, in order to ensure the transmission and storage safety of user data of a educational administration system in a college, a privacy protection method for a cloud database is generated, such as identity verification, data encryption transmission, access control and the like; although the technologies can realize safe transmission and storage of user data of the college educational administration system, complex protection logic and hardware requirements increase the communication burden between the college educational administration system and the cloud database, and reduce the response speed; how to realize the safe transmission and storage of user data of a college educational administration system rapidly and light is a hotspot problem of current research; in order to solve the above technical problems, referring to fig. 1, the present invention provides a method for transmitting and storing data of a college educational administration system based on angle mapping, including a college educational administration system, a cloud database and a cloud server, the method comprising:
designing a finite state of a college educational administration system and a finite state of a cloud database, and describing different states of the college educational administration system and the cloud database in the information transmission and storage processes and responses to external events;
step two, designing data packets with different formats, realizing communication between a college educational administration system and a cloud database in different states, and sending different data packets in different states;
step three, designing a data transmission method based on geometric margin and complementary angle, and performing non-plaintext transmission on user data of a college educational administration system; then, decryption verification is carried out;
step four, designing a data storage method based on geometric residuals and complementary angles to process the decrypted and verified data, so as to realize the non-plaintext storage of the private data by the cloud database;
and fifthly, returning the stored information receipt of the cloud database to the college educational administration system by the cloud server, and completing one-time data transmission and storage operation.
As an embodiment of the present invention, referring to fig. 5-11, the data packet in the second step includes: seven kinds of packets are selected from a Request packet, a Free packet, a Busy packet, a user_one packet, a user_two packet, a user_other packet and a result_info packet;
the Request packet is used for acquiring Request information sent by the user side;
the Free package is used for describing cloud server state information;
a Busy packet for predicting transmission latency information;
a user_one packet for transmitting User ID information;
the user_two packet is used for transmitting User password information;
the user_other packet is used for transmitting Other information of the User;
the result_info packet is used for displaying the storage Result information;
and the packet format is designed as follows:
(1) Request packet: packet ID-representing data packet type with fixed value 01, destination address-cloud database API interface address, source address-college educational administration system IP address, request content, data size, timestamp-for verifying if the request is overtime;
(2) Free package: packet ID-represents data packet type, source address-college educational administration system IP address, minimum processing size, maximum processing size, cloud server status with fixed value 02;
(3) Busy package: packet ID-represents the packet type, source address, minimum processing size, maximum processing size, expected latency with a fixed value 03;
(4) User_one package: packet ID-represents data packet type, target address-cloud database API interface address, source address-college educational administration system IP address, timestamp-information for verifying whether request is overtime, user ID information-information in the form of mobile phone number, mailbox, school number, identity card number and the like, and data represented by a group of geometric remainders and supplementary angles;
(5) User_two packet: packet ID-represents data packet type, target address-cloud database API interface address, source address-college educational administration system IP address, timestamp-data for verifying whether request is overtime, user password information-user self-defined password information, a group of geometric surplus and supplementary angle representation by fixed value 05;
(6) User_other packet: packet ID-represents data packet type, destination address-cloud database API interface address, source address-college educational administration system IP address, timestamp-information for verifying whether the request is overtime, user other information-including information of gender, age, number of academic, score, etc. with fixed value 06;
(7) Result_info packet: packet ID-represents the packet type, destination address-cloud database API interface address, source address-college educational administration system IP address, storage digest-including this number of storage, time, and size at a fixed value 07.
As an embodiment of the present invention, referring to fig. 2-3 specifically, the finite states of the college educational administration system in the first step include an Init state, a send_ask state, a Wait state, a send_info state, and a passage state, and the total of 5 states are specifically designed as follows:
(1) Init state: this state indicates that the college educational administration system is in an initial state;
(2) Send_ask state: in the Init state, according to the data storage requirement of the user of the college educational administration system, the college educational administration system state is changed from the Init state to the send_ash state, a Request packet is sent to a cloud database, and the user data storage of the college educational administration system is requested;
(3) Wait state: in the Send_Ash state, the college educational administration system receives a Busy packet returned by the cloud database, and at the moment, the college educational administration system state is changed from the Send_Ash state to the Wait state until a Free packet returned by the cloud database is received;
(4) Send_info status: in the Send_Ask state or the Wait state, the college educational administration system receives a Free packet returned by the cloud database, and at the moment, the college educational administration system state is changed from the Send_Ask state to the Send_Info state, and the user_one packet, the user_two packet and the user_other packet are sent to the cloud database, wherein the User ID information, the password information and Other information are contained;
(5) Man state: in the Send_Info state, the college educational administration system receives a result_Info packet returned by the cloud database, and at the moment, the college educational administration system state is changed from the Send_Info state to the Manage state, and the next operation is performed according to a response Result.
As an embodiment of the present invention, referring to fig. 4 specifically, the finite states of the cloud database in the first step include an Init State, a get_state, a Storage State, and a send_result State, and the total of 4 states are specifically designed as follows:
(1) Init state: this state indicates that the cloud database is in an initial state;
(2) Get_state State: in the Init State, the cloud database receives a Request packet sent by a college educational administration system, at this time, the cloud database changes from the Init State to the get_state State, and the cloud database evaluates based on the current data management system and the storage infrastructure and returns a Free packet or a Busy packet to the college educational administration system;
(3) Storage state: in the get_State State, the cloud database receives a user_one packet, a user_two packet and a user_other packet sent by a college educational administration system, and at the moment, the cloud database changes from the get_State State to the Storage State, and stores User ID information, password information and Other information of the college educational administration system;
(4) Send_result state: and in the Storage state, the cloud database returns a result_info package, and at the moment, the cloud database state is changed from the Storage state to the send_result state, so that primary college educational administration system data Storage is completed.
As an implementation mode of the invention, specifically, the user ID information is transmitted to the cloud database through the college educational administration system, wherein the user ID information comprises a mobile phone number, a mailbox, a school number, an identity card number and the like, and the user ID information consists of numbers, letters and characters of 0-9; part of user ID card numbers contain letters and are positioned at the last position of the ID card numbers, and the last position of the ID card numbers is letter, and the calculation is carried out according to the corresponding ASCII values; the method for safely transmitting the user ID information is designed as follows:
s1, dividing continuous numbers by taking the beginning continuous 3 numbers as a group, comparing the continuous numbers with 180, if the number is larger than 180, dividing the 3 numbers in the current group into 2 numbers as a group, then carrying out recombination division on the following numbers as a group, and if only one number is left at last, directly taking a single number as a group;
s2, for a compound containing numbers, letters or characters; if the number of the continuous numbers is more than 3, processing according to the method of the step S1, and if the number of the continuous numbers is less than 3, taking the current number as a group;
for letters or characters, the letters or characters are represented by ASCII values, and the ASCII values corresponding to the letters or characters are singly used as a group;
s3, arranging each group of numerical values according to the original sequence, and comparing each numerical value with 90 and 180 in sequence; if the value of the current group is equal to 0, 90 or 180, directly outputting the value; if the value of the current group is smaller than 90, calculating the remaining angle; if the numerical value of the current group is more than 90 and less than 180, calculating the complement angle; until all groups of data are processed;
s4, putting the numerical value processed in the step S3 into User ID information in a user_one package, and transmitting the User ID information to a cloud database.
The special characters currently used for user names and passwords generally include "", "-", "|" "," # "," $ "", "%", "" "," (",") ","/"" and ":", and "". ".
In order to facilitate calculation of the original value, the complement angle is represented by four digits, the front of the complement angle is not enough is complemented with '0', the remaining angle is represented by three digits, and the front of the complement angle is not enough is complemented with '0'; and the present invention is directed to distinguishing numerals, characters and letters, the characters and letters being represented by decimal numbers.
For example, the user name to be transmitted is: 15756325168, the ID card ID is: 34120419930423987X.
First, the user names are divided into a group of 3 numbers: 157 Respectively comparing with 180,
(1) 157<180, then the complement angle of 157 is 180-157=23;
(2) 563>180, then re-dividing into 56, 325, 168, then the complementary angle of 56 is 90-56=34;
(3) 325>180, then re-divided into 32, 516,8, then the complementary angle of 32 is 90-32=58;
(4) 516>180, and is subdivided into 51, 68, the complementary angle of 51 is 90-51=39;
(5) the complementary angle of 68 is 90-68=22;
in order to facilitate the calculation of the original value, the complement angle is represented by four digits, the insufficient front complement is represented by three digits, the remaining angle is represented by the insufficient front complement is represented by 0, and the user name 15756325168 finally transmits the content [0023, 034, 058, 039, 022];
similarly, the available ID cards are divided into: 341 Respectively comparing with 180, 204, 199, 304, 239, 87 and X,
(1) 341>180, then subdivided into 34, 120, 419, 930, 423, 987, x, then the complementary angle of 34 is 90-34=56;
(2) 120<180, then the complement angle of 120 is 180-120 = 60;
(3) 419>180, then 41, 993, 042, 398,7, x, then the complementary angle of 41 is 90-41=49;
(4) 993>180, then being subdivided into 99, 304, 239, 87, x, then the complement angle of 99 is 180-99=81;
(5) 304>180, then 30, 423, 987, x, then the complementary angle of 30 is 90-30=60;
(6) 423>180, then subdivided into 42, 398,7, x, then the complementary angle of 42 is 90-42=48;
(7) 398>180, then, the segments are subdivided into 39, 87, x, the complementary angles of 39 are 90-39=51, the complementary angles of 87 are 90-87=3, the corresponding ASCII values of x are 88, and the complementary angles of 88 are 90-88=2;
the final transmission of the user identity ID is [056, 0060, 049, 0081, 060, 048, 051, 003, 0.02].
As an implementation mode of the invention, specifically, the college educational administration system transmits user password information to the cloud database, wherein the user password information consists of numbers of 0-9, english letters and characters; the design method of the user password safety transmission is as follows:
SS1, dividing the continuous numbers by taking the first 3 numbers as a group, comparing with 180, if the number is larger than 180, dividing the 3 numbers in the current group into 2 numbers as a group, then dividing the following numbers into a group by recombination, and if only one number is left at last, directly taking a single number as a group;
SS2, for numeric, alphabetic or character containing; if the number of the continuous numbers is more than 3, processing according to the method of the step SS1, and if the number of the continuous numbers is less than 3, taking the current number as a group;
for letters or characters, the letters or characters are represented by ASCII values, and the ASCII values corresponding to the letters or characters are singly used as a group;
SS3, arranging each group of values according to the original sequence, and comparing each value with 90 and 180 in sequence; if the value of the current group is equal to 0, 90 or 180, directly outputting the value; if the value of the current group is smaller than 90, calculating the remaining angle; if the numerical value of the current group is more than 90 and less than 180, calculating the complement angle; until all groups of data are processed;
and SS4, putting the numerical value processed in the step SS3 into User password information in a user_two packet, and transmitting the numerical value to a cloud database.
As above, it is known in the prior art that the maximum ASCII value for letters and general special characters is less than 180, so that no angle greater than 180 is present.
In order to facilitate calculation of the original value, the complement angle is represented by four digits, the front of the complement angle is not enough is complemented with '0', the remaining angle is represented by three digits, and the front of the complement angle is not enough is complemented with '0'; and the present application refers to decimal numbers for distinguishing between numbers, characters and letters.
For example, the user password to be transmitted is: w3423 as-!
Firstly, find the corresponding ASCII value of W in ASCII code table to be 87, compare with 90, 180,
(1) 87<90, then the complementary angle of 87 is 90-87=3;
then, the division is performed in 3423 triplets, i.e. 342,3
(2) 342>180, and then is subdivided into 34, 23, the complementary angle of 34 is 90-34=56, and the complementary angle of 23 is 90-23=67;
then, finding an ASCII value corresponding to a in an ASCII code table to be 97, and comparing the ASCII value with 90 and 180;
(3) 97<180, then the complement angle of 97 is 180-97 = 83;
thirdly, finding an s corresponding ASCII value of 115 in an ASCII code table, and comparing the s corresponding ASCII value with 90 and 180;
(4) 115<180, then the complement angle of 115 is 180-115=65;
finally, find the ASCII value 33 corresponding to "|" in ASCII code table, compare with 90, 180,
(5) 33<90, then the complementary angle of 33 is 90-33=57;
the user password ultimately transmits the content 0.03, 056, 067,0.083,0.065,0.57.
As an implementation mode of the invention, specifically, the cloud database receives and integrates the user ID information, the password information and other information sent by the university educational administration system to be arranged into a corresponding storage table; the user ID information, the password information and other information data consist of numbers and English letters of 0-9; privacy protection operation is carried out on privacy data such as user ID information, password information and the like through a cloud database, and the specific steps are as follows:
SSS1, dividing continuous numbers by taking the first 3 numbers as a group, comparing the continuous numbers with 180, if the number is larger than 180, dividing the 3 numbers in the current group into 2 numbers as a group, then carrying out recombination division on the following numbers as a group, and if only one number is left at last, directly taking a single number as a group;
SSS2, for a composition containing numbers, letters or characters; if the number of the continuous numbers is more than 3, processing according to the method of the step SSS1, and if the number of the continuous numbers is less than 3, taking the current number as a group;
for letters or characters, the letters or characters are represented by ASCII values, and the ASCII values corresponding to the letters or characters are singly used as a group;
SSS3, arranging each group of numerical values according to the original sequence, and comparing each numerical value with 90 and 180 in sequence; if the value of the current group is equal to 0, 90 or 180, directly outputting the value; if the value of the current group is smaller than 90, calculating the remaining angle; if the numerical value of the current group is more than 90 and less than 180, calculating the complement angle; until all groups of data are processed;
and SSS4, storing the numerical value processed in the step SSS3 under a corresponding key value of a database, and putting the storage abstract into the storage abstract in a result_Info packet to return to a college educational administration system.
As above, it is known in the prior art that there is no angle greater than 180 degrees where the maximum ASCII value for letters and general special characters is less than 180 degrees.
In order to facilitate calculation of the original value, the complement angle is represented by four digits, the insufficient front complement is represented by three digits, the complement angle is represented by three digits, the insufficient front complement is represented by two digits, and the letter and the character are represented by the insufficient front complement is represented by 0; and the letters and characters are expressed in decimal numbers for the purpose of distinguishing between numbers, characters and letters.
For example, after receiving user ID information, user password and other information, the cloud database integrates:
User message:
{
User name: 15756325168,
User ID: 34120419930423987X,
User password: W3423as!,
Others: gender, age, exam results, et al
}
the method for safely storing the user data of the college educational administration system based on geometric margin and supplementary angle is used for protecting the private data, namely
User message:
{
User name: [0023, 034, 058, 039, 022],
User ID: [056, 0060, 049, 0081, 060, 048, 051, 003, 0.02],
User password: [0.03,056,067,0.083,0.065,0.57],
Other: gender, age, exam results, et al.
}
Through the operation, the user data of the college educational administration system is safely stored.
For example, the data to be transmitted is: w34as 8-!
Firstly, find the corresponding ASCII value of W in ASCII code table to be 87, compare with 90, 180,
(1) 87<90, then the complementary angle of 87 is 90-87=3;
then, the consecutive number is 34, the number is less than 3, two groups are divided, and compared with 90, 180,
(2) 34<90, then the complementary angle of 34 is 90-34 = 56;
then, finding an ASCII value corresponding to a in an ASCII code table to be 97, and comparing the ASCII value with 90 and 180;
(3) 97<180, then the complement angle of 97 is 180-97 = 83;
thirdly, finding an s corresponding ASCII value of 115 in an ASCII code table, and comparing the s corresponding ASCII value with 90 and 180;
(4) 115<180, then the complement angle of 115 is 180-115=65;
again, a single number 8, then directly aligned with 90, 180,
(5) 8<90, then the complementary angle of 8 is 90-8=82;
finally, find the corresponding ASCII value of 33 for "|", compare with 90, 180,
(6) 33<90, then the complementary angle of 33 is 90-33=57;
the user password ultimately transmits the content 0.03, 056,0.083,0.065, 082,0.57.
The foregoing is merely illustrative and explanatory of the principles of the invention, as various modifications and additions may be made to the specific embodiments described, or similar thereto, by those skilled in the art, without departing from the principles of the invention or beyond the scope of the appended claims.

Claims (4)

1. The utility model provides a college educational administration system data transmission and storage method based on angle mapping, based on college educational administration system, cloud database and cloud server, characterized in that, the method includes:
designing a finite state of a college educational administration system and a finite state of a cloud database, and describing different states of the college educational administration system and the cloud database in the information transmission and storage processes and responses to external events;
step two, designing data packets with different formats, realizing communication between a college educational administration system and a cloud database in different states, and sending different data packets in different states;
the data packet in the second step includes: seven kinds of packets are selected from a Request packet, a Free packet, a Busy packet, a user_one packet, a user_two packet, a user_other packet and a result_info packet;
the Request packet is used for acquiring Request information sent by a user side;
the Free package is used for describing cloud server state information;
the Busy packet is configured to predict transmission latency information;
the user_one packet is used for transmitting User ID information;
the user_two packet is used for transmitting User password information;
the user_other packet is used for transmitting Other information of the User;
the result_info packet is used for displaying the storage Result information;
step three, designing a data transmission method based on geometric margin and complementary angle, and performing non-plaintext transmission on user data of a college educational administration system; then, decryption verification is carried out; the data transmission method based on geometric margin and complementary angle comprises the steps of realizing safe transmission of user ID information and safe transmission of user passwords;
transmitting user ID information to a cloud database through a college educational administration system, wherein the user ID information comprises a mobile phone number, a mailbox, a school number and an identity card number, wherein the user ID information comprises numbers, letters and characters of 0-9, and the last digit of the identity card number is a letter and is calculated according to a corresponding ASCII value; the method for safely transmitting the user ID information comprises the following steps:
s1, dividing continuous numbers by taking the beginning continuous 3 numbers as a group, comparing the continuous numbers with 180, if the number is larger than 180, dividing the 3 numbers in the current group into 2 numbers as a group, then carrying out recombination division on the following numbers as a group, and if only one number is left at last, directly taking a single number as a group;
s2, for a compound containing numbers, letters or characters; if the number of the continuous numbers is more than 3, processing according to the method of the step S1, and if the number of the continuous numbers is less than 3, taking the current number as a group;
for letters or characters, the letters or characters are represented by ASCII values, and the ASCII values corresponding to the letters or characters are singly used as a group;
s3, arranging each group of numerical values according to the original sequence, and comparing each numerical value with 90 and 180 in sequence; if the value of the current group is equal to 0, 90 or 180, directly outputting the value; if the value of the current group is smaller than 90, calculating the remaining angle; if the numerical value of the current group is more than 90 and less than 180, calculating the complement angle; until all groups of data are processed;
s4, putting the numerical value processed in the step S3 into User ID information in a user_one package, and transmitting the numerical value to a cloud database;
the college educational administration system transmits user password information to the cloud database, wherein the user password information consists of numbers, english letters and characters of 0-9; the method for safely transmitting the user password comprises the following steps:
SS1, dividing the continuous numbers by taking the first 3 numbers as a group, comparing with 180, if the number is larger than 180, dividing the 3 numbers in the current group into 2 numbers as a group, then dividing the following numbers into a group by recombination, and if only one number is left at last, directly taking a single number as a group;
SS2, for numeric, alphabetic or character containing; if the number of the continuous numbers is more than 3, processing according to the method of the step SS1, and if the number of the continuous numbers is less than 3, taking the current number as a group;
for letters or characters, the letters or characters are represented by ASCII values, and the ASCII values corresponding to the letters or characters are singly used as a group;
SS3, arranging each group of values according to the original sequence, and comparing each value with 90 and 180 in sequence; if the value of the current group is equal to 0, 90 or 180, directly outputting the value; if the value of the current group is smaller than 90, calculating the remaining angle; if the numerical value of the current group is more than 90 and less than 180, calculating the complement angle; until all groups of data are processed;
SS4, putting the numerical value processed in the step SS3 into User password information in a user_two packet, and transmitting the numerical value to a cloud database;
step four, designing a data storage method based on geometric residuals and complementary angles to process the decrypted and verified data, so as to realize the non-plaintext storage of the private data by the cloud database;
the cloud database receives and integrates user ID information, password information and other information sent by a college educational administration system to be arranged into a corresponding storage table; the user ID information, the password information and other information data consist of numbers of 0-9 and English letters and characters;
the method for storing the private data by the cloud database comprises the following steps:
SSS1, dividing continuous numbers by taking the first 3 numbers as a group, comparing the continuous numbers with 180, if the number is larger than 180, dividing the 3 numbers in the current group into 2 numbers as a group, then carrying out recombination division on the following numbers as a group, and if only one number is left at last, directly taking a single number as a group;
SSS2, for a composition containing numbers, letters or characters; if the number of the continuous numbers is more than 3, processing according to the method of the step SSS1, and if the number of the continuous numbers is less than 3, taking the current number as a group;
for letters or characters, the letters or characters are represented by ASCII values, and the ASCII values corresponding to the letters or characters are singly used as a group;
SSS3, arranging each group of numerical values according to the original sequence, and comparing each numerical value with 90 and 180 in sequence; if the value of the current group is equal to 0, 90 or 180, directly outputting the value; if the value of the current group is smaller than 90, calculating the remaining angle; if the numerical value of the current group is more than 90 and less than 180, calculating the complement angle; until all groups of data are processed;
SSS4, storing the numerical value processed in the step SSS3 under a corresponding key value of a database, and putting the storage abstract into the storage abstract in a result_Info packet to return to a college educational administration system;
and fifthly, returning the stored information receipt of the cloud database to the college educational administration system by the cloud server, and completing one-time data transmission and storage operation.
2. The method for transmitting and storing data of college educational administration system based on angle mapping according to claim 1, wherein the packet format is designed as follows:
(1) Request packet: packet ID-representing data packet type with fixed value 01, destination address-cloud database API interface address, source address-college educational administration system IP address, request content, data size, timestamp-for verifying if the request is overtime;
(2) Free package: packet ID-represents data packet type, source address-college educational administration system IP address, minimum processing size, maximum processing size, cloud server status with fixed value 02;
(3) Busy package: packet ID-represents the packet type, source address, minimum processing size, maximum processing size, expected latency with a fixed value 03;
(4) User_one package: packet ID-represents data packet type, target address-cloud database API interface address, source address-college educational administration system IP address, timestamp-information for verifying whether request is overtime, user ID information-information including mobile phone number, mailbox, school number, ID card number form, data represented by a group of geometric remainders and complement angles;
(5) User_two packet: packet ID-represents data packet type, target address-cloud database API interface address, source address-college educational administration system IP address, timestamp-data for verifying whether request is overtime, user password information-user self-defined password information, a group of geometric surplus and supplementary angle representation by fixed value 05;
(6) User_other packet: packet ID-representing data packet type with fixed value 06, destination address-cloud database API interface address, source address-college educational administration system IP address, timestamp-for verifying if the request is overtime, user other information-including gender, age, number of academic, performance information;
(7) Result_info packet: packet ID-represents the packet type, destination address-cloud database API interface address, source address-college educational administration system IP address, storage digest-including this number of storage, time, and size at a fixed value 07.
3. The method for transmitting and storing data of college educational administration system based on angle mapping according to claim 2, wherein the finite states of the college educational administration system in the step one include an Init state, a send_ash state, a Wait state, a send_info state and a management state, and the total of 5 states are specifically designed as follows:
(1) Init state: this state indicates that the college educational administration system is in an initial state;
(2) Send_ask state: in the Init state, according to the data storage requirement of the user of the college educational administration system, the college educational administration system state is changed from the Init state to the send_ash state, a Request packet is sent to a cloud database, and the user data storage of the college educational administration system is requested;
(3) Wait state: in the Send_Ash state, the college educational administration system receives a Busy packet returned by the cloud database, and at the moment, the college educational administration system state is changed from the Send_Ash state to the Wait state until a Free packet returned by the cloud database is received;
(4) Send_info status: in the Send_Ask state or the Wait state, the college educational administration system receives a Free packet returned by the cloud database, and at the moment, the college educational administration system state is changed from the Send_Ask state to the Send_Info state, and a user_one packet, a user_two packet and a user_other packet are sent to the cloud database;
(5) Man state: in the Send_Info state, the college educational administration system receives a result_Info packet returned by the cloud database, and at the moment, the college educational administration system state is changed from the Send_Info state to the Manage state, and the next operation is performed according to a response Result.
4. The method for transmitting and storing data of college educational administration system based on angle mapping according to claim 2, wherein the finite states of the cloud database in the step one include Init State, get_state, storage State and send_result State, and the total of 4 states are specifically designed as follows:
(1) Init state: this state indicates that the cloud database is in an initial state;
(2) Get_state State: in the Init State, the cloud database receives a Request packet sent by a college educational administration system, at this time, the cloud database changes from the Init State to the get_state State, and the cloud database evaluates based on the current data management system and the storage infrastructure and returns a Free packet or a Busy packet to the college educational administration system;
(3) Storage state: in the get_State State, the cloud database receives a user_one packet, a user_two packet and a user_other packet sent by a college educational administration system, and at the moment, the cloud database changes from the get_State State to the Storage State, and stores User ID information, password information and Other information of the college educational administration system;
(4) Send_result state: and in the Storage state, the cloud database returns a result_info package, and at the moment, the cloud database state is changed from the Storage state to the send_result state, so that primary college educational administration system data Storage is completed.
CN202311050157.0A 2023-08-21 2023-08-21 College educational administration system data transmission and storage method based on angle mapping Active CN116805912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311050157.0A CN116805912B (en) 2023-08-21 2023-08-21 College educational administration system data transmission and storage method based on angle mapping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311050157.0A CN116805912B (en) 2023-08-21 2023-08-21 College educational administration system data transmission and storage method based on angle mapping

Publications (2)

Publication Number Publication Date
CN116805912A CN116805912A (en) 2023-09-26
CN116805912B true CN116805912B (en) 2023-12-19

Family

ID=88079646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311050157.0A Active CN116805912B (en) 2023-08-21 2023-08-21 College educational administration system data transmission and storage method based on angle mapping

Country Status (1)

Country Link
CN (1) CN116805912B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117040934B (en) * 2023-10-09 2023-12-22 徐州医科大学 College VPN user identity security re-verification method based on geometric mapping

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281377A (en) * 2013-05-31 2013-09-04 北京鹏宇成软件技术有限公司 Cryptograph data storage and searching method for cloud
CN116401650A (en) * 2023-04-14 2023-07-07 苏州慧睿康智能科技有限公司 Determinant-based API finite state security calling method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281377A (en) * 2013-05-31 2013-09-04 北京鹏宇成软件技术有限公司 Cryptograph data storage and searching method for cloud
CN116401650A (en) * 2023-04-14 2023-07-07 苏州慧睿康智能科技有限公司 Determinant-based API finite state security calling method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高校教务管理系统中的数据库安全问题;郭姗姗;电子技术与软件工程(第第19期期);第181-182页 *

Also Published As

Publication number Publication date
CN116805912A (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN116805912B (en) College educational administration system data transmission and storage method based on angle mapping
CN112949760B (en) Model precision control method, device and storage medium based on federal learning
US6529886B1 (en) Authenticating method for an access and/or payment control system
CN109815051A (en) The data processing method and system of block chain
CN105305615B (en) A kind of monitoring method of wireless test and data transmission system
CN113343305A (en) Intersection calculation method, device and equipment of private data and storage medium
CN107948192A (en) A kind of block chain account customization identification and login method and system
CN109977684A (en) A kind of data transmission method, device and terminal device
CN113112252B (en) Resource transfer method and device based on block chain, electronic equipment and storage medium
CN109754322A (en) A kind of data service system
CN105281432B (en) A kind of supervising device of wireless test and data transmission system
CN113822675A (en) Block chain based message processing method, device, equipment and storage medium
CN114417374A (en) Intelligent contract business card method, device, equipment and storage medium based on block chain
CN114553532A (en) Data secure transmission method and device, electronic equipment and storage medium
CN112084487B (en) Weak password analysis method and device, storage medium and electronic equipment
CN110234082A (en) A kind of addressing method of mobile terminal, device, storage medium and server
CN112445873B (en) List display processing method, related device, equipment and medium
CN116628759B (en) MNSS platform communication Cookie data blurring method and data management method
CN102685121A (en) Digital signature method and digital signature device
CN117725062A (en) Database table processing method and device, storage medium and computer equipment
CN110618989B (en) Information processing method, information processing device and related products
US7889861B2 (en) Multiple sequential security key encryption-decryption
CN112217639A (en) Data encryption sharing method and device, electronic equipment and computer storage medium
US20220247564A1 (en) Parallel tokenization of floating point information in a distributed network environment
CN104933547A (en) Data input method, device and system

Legal Events

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