Electronic reader online data service center based on deep learning
By using deep learning models in the online data service center of e-reader, building a network traffic identification model, collecting and identifying network traffic information, the problem that existing firewall technologies are difficult to cope with new types of network attacks is solved, and security monitoring of e-readers is realized and abnormal behavior detection improves safety performance.
Patent Information
- Application Number
- CN202411523557.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-10-30
AI Technical Summary
The firewall technology of existing e-reader online data service centers is difficult to effectively respond to new types of cyber attacks and cannot meet the security needs of data services.
The online data service center of electronic reader based on deep learning is adopted to build a network traffic identification model through data storage module, network traffic acquisition module and deep learning module, collect and identify network traffic information, conduct security supervision, and control access rights based on the identification results. , prevent illegal attacks.
It realizes network security monitoring and abnormal behavior detection of e-reader online data service centers, improves security performance, and can promptly detect and prevent illegal attacks.
Smart Images

Figure CN119051981A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data recognition technology, and in particular relates to an online data service center for electronic readers based on deep learning. Background Art
[0002] The e-reader online data service center is a platform that utilizes modern technology to provide digital reading services. This service leverages digital technologies such as cloud computing and big data to provide users with an integrated digital reading experience, including book searching, reading, listening, and purchasing. Cloud reading platforms not only aggregate a vast amount of content resources, including books, journals, and web articles, but also support high-quality digital reading on a variety of devices. These online data service centers often rely on conventional firewalls to ensure service security. However, traditional firewall technology, lacking the ability to mitigate emerging cyberattacks, no longer meets the security requirements of data services. Summary of the Invention
[0003] The present invention provides an electronic reader online data service center based on deep learning, which is used to solve the technical problems existing in the prior art.
[0004] An online data service center for electronic readers based on deep learning, comprising: a data storage module, a network traffic collection module, a deep learning module, and a security supervision module; The data storage module is used to store online data of the electronic reader and allow the electronic reader to access the stored electronic book data; The network traffic collection module is used to collect network traffic information generated during data interaction with the electronic reader; The deep learning module is used to use a deep learning model to build a network traffic identification model for security supervision, and after training the network traffic identification model, obtain a network traffic identification model with network security monitoring capabilities; The security supervision module is used to identify network traffic information using a network traffic identification model with network security monitoring, obtain network security supervision results, and control access to the electronic reader based on the network security supervision results.
[0005] Furthermore, a deep learning model is used to construct a network traffic identification model for security supervision, including: using the first convolutional layer, the first ReLU activation layer, the first pooling layer, the second convolutional layer, the second ReLU activation layer, the second pooling layer, the third convolutional layer, the third ReLU activation layer, the third pooling layer, the Flatten layer, the fully connected layer, the Dropout layer and the Softmax output layer connected in sequence to construct a network intrusion detection model.
[0006] Furthermore, after training the network traffic identification model, a network traffic identification model with network security monitoring is obtained, including: Initializing the hyperparameters of the network traffic identification model multiple times to obtain hyperparameter encoding; After repeated initialization, multiple different hyperparameter encodings are obtained; Obtain the fitness corresponding to each hyperparameter encoding, and determine the optimal hyperparameter encoding according to the fitness corresponding to each hyperparameter encoding; Taking the optimal hyperparameter code as a reference, a nonlinear weighted bootstrapping strategy is used to perform a bootstrapping update on each hyperparameter code to obtain a hyperparameter code after the bootstrapping update; A double-optimal bootstrap strategy is used to perform a secondary bootstrap update on the hyperparameter encoding after the primary bootstrap update, thereby obtaining the hyperparameter encoding after the secondary bootstrap update. The random matching cross-guided update strategy is used to perform a three-step guide update on the hyperparameter encoding after the two-step guide update to obtain the hyperparameter encoding after the three-step guide update; The random flight guidance strategy is used to perform four guidance updates on the hyperparameter encoding after three guidance updates to obtain the hyperparameter encoding after four guidance updates; Determine whether the iteration end condition is met. If so, re-obtain the optimal hyperparameter encoding, and use the re-obtained hyperparameter encoding as the final parameter of the network traffic identification model to obtain a network traffic identification model with network security monitoring. Otherwise, return to the step of guiding the update once.
[0007] Furthermore, the fitness corresponding to each hyperparameter encoding is obtained, including: Obtaining a training set that is pre-stored or input through human-computer interaction; wherein the training set includes sample network traffic information and sample labels corresponding to the sample network traffic information; After applying the hyperparameters included in the hyperparameter encoding to the network traffic identification model, using the sample network traffic information as input of the network traffic identification model to obtain the actual output of the network traffic identification model; Determine the cross entropy loss function corresponding to the hyperparameter encoding based on the actual output of the network traffic recognition model and the sample labels corresponding to the sample network traffic information; According to the cross entropy loss function corresponding to the hyperparameter encoding, the fitness corresponding to the hyperparameter encoding is determined to be: 1 / (cross entropy loss function + 0.0001); Traverse all hyperparameter encodings and get the fitness corresponding to each hyperparameter encoding.
[0008] Furthermore, determining the optimal hyperparameter encoding according to the fitness corresponding to each hyperparameter encoding includes: determining the hyperparameter encoding with the smallest fitness as the optimal hyperparameter encoding according to the fitness corresponding to each hyperparameter encoding.
[0009] Furthermore, taking the optimal hyperparameter code as a reference, a nonlinear weighted guidance strategy is used to perform a guidance update on each hyperparameter code to obtain a hyperparameter code after the guidance update, including: For any hyperparameter encoding, perform weighted subtraction on the optimal hyperparameter encoding and the hyperparameter encoding to determine the guidance information item; combining the guidance information items using a first nonlinear search coefficient to obtain first guidance update information; The hyperparameter encoding is weighted using the second nonlinear search coefficient to obtain the original position information; The original position information is fused with the first guided update information to obtain an updated hyperparameter encoding.
[0010] Furthermore, a dual-optimal bootstrap strategy is used to perform a secondary bootstrap update on the hyperparameter encoding after the primary bootstrap update, and the hyperparameter encoding after the secondary bootstrap update is obtained, including: For any hyperparameter code after a guided update, determine a first guided update coefficient and a second guided update coefficient according to the fitness corresponding to each hyperparameter code; Determining a second guided update term corresponding to the hyperparameter code according to the optimal hyperparameter code, the historical optimal state corresponding to the hyperparameter code, and the first guided update coefficient; Determining a third guided update term corresponding to the hyperparameter code according to the optimal hyperparameter code, the historical optimal state corresponding to the hyperparameter code, and the second guided update coefficient; According to the second guided update item and the third guided update item, the hyperparameter code is guided twice to update, so as to obtain the hyperparameter code after the second guided update.
[0011] Furthermore, a random matching cross-guided update strategy is used to perform a three-step guide update on the hyperparameter encoding after the two-step guide update, and the hyperparameter encoding after the three-step guide update is obtained, including: For any hyperparameter code after the secondary bootstrap update, randomly matching a first random code and a second random code for the hyperparameter code; Obtaining a fourth guided update item corresponding to the hyperparameter code using an adaptive search control coefficient according to the first random code and the second random code; According to the fourth guided update item corresponding to the hyperparameter code, the hyperparameter code is guided and updated three times to obtain the hyperparameter code after the three guided updates.
[0012] Furthermore, the random flight guidance strategy is used to perform four guidance updates on the hyperparameter encoding after the three guidance updates, and the hyperparameter encoding after the four guidance updates is obtained, including: For each hyperparameter encoding after three bootstrap updates, the optimal hyperparameter encoding is used as a reference to determine the information difference term corresponding to the hyperparameter encoding; The fourth guided update term is obtained by weighting the information difference term corresponding to the hyperparameter encoding using random flight; According to the fourth guided update item, the hyperparameter code is guided and updated four times to obtain the hyperparameter code after the four guided updates.
[0013] Furthermore, a network traffic identification model with network security monitoring is used to identify network traffic information, obtain network security supervision results, and control access to the electronic reader based on the network security supervision results, including: Using the network traffic information as input to a network traffic identification model with network security monitoring to obtain network security monitoring results; wherein the network security monitoring results include network security or network anomalies; When the network security supervision result is network security, maintaining the access connection with the electronic reader; When the network security supervision result is a network anomaly, the access connection with the electronic reader is disconnected, and a network security anomaly log is generated based on the information of the electronic reader.
[0014] The present invention provides an e-reader online data service center based on deep learning. When interacting with an e-reader for data, the center collects network traffic information generated during the interaction process, and uses a network traffic identification model with network security monitoring to identify the network traffic information. This allows the center to detect anomalies in the interaction process between the e-reader and the data server center, and promptly discover illegal attacks, thereby improving the security performance of the e-reader online data service center. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0016] Figure 1 A schematic diagram of the structure of an e-reader online data service center based on deep learning provided by an embodiment of the present invention.
[0017] Figure 2 A flowchart of training the network traffic identification model provided in an embodiment of the present invention.
[0018] Among them, 101-data storage module, 102-network traffic collection module, 103-deep learning module, and 104-security supervision module.
[0019] The above drawings illustrate specific embodiments of the present invention, which will be described in more detail below. These drawings and the accompanying description are not intended to limit the scope of the present invention in any way, but rather to illustrate the concept of the present invention to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0020] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0021] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0022] like Figure 1 As shown, the embodiment of the present invention provides an e-reader online data service center based on deep learning, including: a data storage module 101, a network traffic collection module 102, a deep learning module 103 and a security supervision module 104; The data storage module 101 is used to store online data of the e-reader and allow the e-reader to access stored e-book data; The data storage module 101 is mainly used to provide online data services for the electronic reader, which is consistent with the existing technology and will not be described in detail in the embodiment of the present invention.
[0023] The network traffic collection module 102 is used to collect network traffic information generated during data interaction with the electronic reader; Network traffic information is used to reflect the characteristics of network security during data interaction. By collecting and identifying network traffic information, the security of the e-reader's online data service center can be effectively tested.
[0024] The deep learning module 103 is used to use a deep learning model to build a network traffic identification model for security supervision, and after training the network traffic identification model, obtain a network traffic identification model with network security monitoring capabilities; A network traffic identification model can be constructed using deep learning models such as convolutional neural networks and BP (Back Propagation) neural networks. Then, the hyperparameters of the network traffic identification model can be optimized using methods such as gradient descent and intelligent optimization algorithms, thereby obtaining a network traffic identification model with network security monitoring capabilities.
[0025] The security supervision module 104 is configured to identify network traffic information using a network traffic identification model with network security monitoring, obtain network security supervision results, and control access to the electronic reader based on the network security supervision results.
[0026] Controlling access to the electronic book reader according to the network security supervision result may include: generating an early warning message and / or interrupting the connection with the electronic book reader when there is an abnormality in the network security supervision result.
[0027] The present invention provides an e-reader online data service center based on deep learning. When interacting with an e-reader for data, the center collects network traffic information generated during the interaction process, and uses a network traffic identification model with network security monitoring to identify the network traffic information. This allows the center to detect anomalies in the interaction process between the e-reader and the data server center, and promptly discover illegal attacks, thereby improving the security performance of the e-reader online data service center.
[0028] In an embodiment of the present invention, a deep learning model is used to construct a network traffic identification model for security supervision, including: using a first convolutional layer, a first ReLU activation layer, a first pooling layer, a second convolutional layer, a second ReLU activation layer, a second pooling layer, a third convolutional layer, a third ReLU activation layer, a third pooling layer, a Flatten layer (flattening layer), a fully connected layer, a Dropout layer (regularization layer) and a Softmax output layer connected in sequence to construct a network intrusion detection model.
[0029] It is worth noting that the above network traffic identification model is only a preferred embodiment of the present invention, and other neural network models can also be used to construct a network traffic identification model, such as a convolutional neural network or a BP neural network.
[0030] After constructing a network traffic identification model, it is often necessary to optimize its hyperparameters. This typically involves optimizing the connection weights and thresholds between layers. This allows the model to accurately identify network traffic information and ultimately determine the security of the e-reader's online data service center. However, existing techniques often employ algorithms such as the particle swarm optimization algorithm for hyperparameter optimization, but these algorithms often fall into local optima and exhibit unsatisfactory convergence speed and effectiveness. Therefore, embodiments of the present invention provide a method for training the network traffic identification model, specifically referring to the following method.
[0031] like Figure 2 As shown, after training the network traffic identification model, a network traffic identification model with network security monitoring is obtained, including: S201, initializing the hyperparameters of the network traffic identification model multiple times to obtain hyperparameter codes; For example, the hyperparameters of a network traffic identification model all have upper and lower limits, and can usually be randomly initialized between the upper and lower limits of the hyperparameters to obtain hyperparameter encoding.
[0032] It is worth noting that, in the embodiment of the present invention, the initialization may be all the hyperparameters of the network traffic identification model, or may be part of the hyperparameters of the network traffic identification model.
[0033] S202, after repeated initialization, multiple different hyperparameter encodings are obtained; S203, obtaining the fitness corresponding to each hyperparameter code, and determining the optimal hyperparameter code according to the fitness corresponding to each hyperparameter code; The fitness is used to reflect the quality of the position of the hyperparameter encoding. Therefore, the greater the fitness, the better the position of the hyperparameter encoding in the solution space, so that the optimal hyperparameter encoding can be determined.
[0034] S204, using the optimal hyperparameter code as a reference, performing a guided update on each hyperparameter code using a nonlinear weighted guided strategy to obtain a hyperparameter code after the guided update; S205, performing a secondary bootstrap update on the hyperparameter code after the primary bootstrap update using a dual-optimal bootstrap strategy to obtain the hyperparameter code after the secondary bootstrap update; S206, performing a three-step bootstrap update on the hyperparameter code after the two-step bootstrap update using a random matching cross-bootstrap update strategy to obtain the three-step bootstrap update hyperparameter code; S207, performing four guided updates on the hyperparameter code after the three guided updates using a random flight guided strategy, to obtain the hyperparameter code after the four guided updates; S208. Determine whether the iteration end condition is met. If so, re-obtain the optimal hyperparameter encoding, and use the re-obtained hyperparameter encoding as the final parameter of the network traffic identification model to obtain a network traffic identification model with network security monitoring. Otherwise, return to the step of guiding the update once.
[0035] The iteration end condition can be set as: the current training number is greater than the maximum training number or the maximum fitness is greater than a preset threshold.
[0036] In the embodiment of the present invention, obtaining the fitness corresponding to each hyperparameter encoding includes: Obtaining a training set that is pre-stored or input through human-computer interaction; wherein the training set includes sample network traffic information and sample labels corresponding to the sample network traffic information; After applying the hyperparameters included in the hyperparameter encoding to the network traffic identification model, using the sample network traffic information as input of the network traffic identification model to obtain the actual output of the network traffic identification model; Determine the cross entropy loss function corresponding to the hyperparameter encoding based on the actual output of the network traffic recognition model and the sample labels corresponding to the sample network traffic information; According to the cross entropy loss function corresponding to the hyperparameter encoding, the fitness corresponding to the hyperparameter encoding is determined to be: 1 / (cross entropy loss function + 0.0001); Traverse all hyperparameter encodings and get the fitness corresponding to each hyperparameter encoding.
[0037] The training set can use the network intrusion detection dataset KDD Cup 1999, which has a total of nearly 5 million data points. Each data point contains 42 columns. The first 41 columns are feature attributes, and the last column is the label, which indicates which type of attack this row of data belongs to.
[0038] Due to the high dimensionality of feature attributes, previous machine learning experience inevitably indicates the presence of irrelevant and redundant features. Failure to remove these features will, on the one hand, reduce model detection accuracy, and on the other hand, increase computational complexity when encoding and decoding the data's feature attributes, leading to slower model convergence, increased training time, and increased memory usage, placing stricter demands on computer performance. Therefore, dimensionality reduction can also be performed on sample network traffic information and network traffic information.
[0039] In an embodiment of the present invention, determining the optimal hyperparameter encoding according to the fitness corresponding to each hyperparameter encoding includes: determining the hyperparameter encoding with the smallest fitness as the optimal hyperparameter encoding according to the fitness corresponding to each hyperparameter encoding.
[0040] In an embodiment of the present invention, taking the optimal hyperparameter code as a reference, a nonlinear weighted guidance strategy is used to perform a guidance update on each hyperparameter code to obtain a hyperparameter code after the guidance update, including: For any hyperparameter encoding, perform weighted subtraction on the optimal hyperparameter encoding and the hyperparameter encoding to determine the guided information item as ( );in, represents the first weighting coefficient, and , represents pi, represents the second weighting coefficient, and , Indicates the t During the training m Hyperparameter encoding, m= 1,2,…,M, where M represents the total number of hyperparameter encodings, represents the optimal hyperparameter encoding; Use the first nonlinear search coefficient Combine the boot information items to obtain the first boot update information: * ;in, represents the first random number between [0,2π], Represents the second random number between [0,π]; Using the second nonlinear search coefficient | |Weight the hyperparameter encoding and get the original position information as | |* ; The original position information is fused with the first guided update information to obtain the updated hyperparameter encoding: =| |* + * ;in, Represents the hyperparameter encoding after an update .
[0041] The nonlinear weighted guidance strategy provided by the embodiment of the present invention can be based on the optimal hyperparameter encoding, and adopts nonlinear movement speed and irregular movement rules to move in the optimal direction, that is, it can realize the search of local areas and search more unknown areas, thereby effectively improving the convergence speed of the algorithm.
[0042] In an embodiment of the present invention, a dual-optimal guidance strategy is used to perform a secondary guidance update on the hyperparameter code after the primary guidance update, to obtain the hyperparameter code after the secondary guidance update, including: For any hyperparameter code after a guided update, determine a first guided update coefficient and a second guided update coefficient according to the fitness corresponding to each hyperparameter code; Among them, the first guided update coefficient is:
[0043] The second guided update coefficient is:
[0044] in, represents the first guided update coefficient during the t-th training process, represents the maximum fitness corresponding to the hyperparameter encoding after a guided update, represents the minimum fitness corresponding to the hyperparameter encoding after a guided update, represents the average fitness corresponding to the hyperparameter encoding after a guided update, represents a constant factor between (0,1), represents the second guided update coefficient during the t-th training process.
[0045] The embodiment of the present invention can adaptively adjust the search speed by setting the adaptively changing first guide update coefficient and the second guide update coefficient, thereby effectively improving the convergence speed of the algorithm.
[0046] According to the optimal hyperparameter encoding, the historical optimal state corresponding to the hyperparameter encoding, and the first guided update coefficient, the second guided update term corresponding to the hyperparameter encoding is determined to be ;in, represents the optimal hyperparameter encoding, Indicates the n The historical optimal state of the hyperparameter encoding after a single guided update, Indicates the n The hyperparameter encoding after a bootstrap update, m= 1,2,…,M; According to the optimal hyperparameter code, the historical optimal state corresponding to the hyperparameter code, and the second guided update coefficient, the third guided update term corresponding to the hyperparameter code is determined to be ;in, Indicates that the fitness is greater than the hyperparameter encoding Randomly select paired hyperparameter encodings from the encodings of ; According to the second guided update item and the third guided update item, the hyperparameter code is guided twice to update, and the hyperparameter code after the second guided update is obtained as follows: ;in, Represents the hyperparameter encoding after the second bootstrap update .
[0047] The dual-optimal guidance strategy provided by the embodiment of the present invention can enable sufficient information interaction and effectively prevent the algorithm from falling into a local optimum.
[0048] In an embodiment of the present invention, a random matching cross-guided update strategy is used to perform a three-step guided update on the hyperparameter code after the two-step guided update, to obtain the hyperparameter code after the three-step guided update, including: For any hyperparameter code after the secondary bootstrap update, randomly match the hyperparameter code with a first random code and the second random code ; According to the first random code and the second random code , the fourth guided update term corresponding to the hyperparameter encoding is obtained by adaptive search control coefficients: ;in, s represents the boot update step size, represents the adaptive search control coefficient, and , T Indicates the maximum number of training times; According to the fourth guided update item corresponding to the hyperparameter code, the hyperparameter code is guided and updated three times. The hyperparameter code after the three guided updates is obtained as follows: ; Indicates the k The hyperparameter encoding after the second bootstrap update, Represents the hyperparameter encoding after three bootstrap updates , k= 1,2,…,M; The random matching cross-guided update strategy of the embodiment of the present invention can perform a larger range of searches under the premise of the algorithm, and as the algorithm proceeds, the convergence accuracy can be effectively improved, thereby improving the convergence effect of the algorithm.
[0049] In an embodiment of the present invention, a random flight guidance strategy is used to perform four guidance updates on the hyperparameter code after three guidance updates, and the hyperparameter code after four guidance updates is obtained, including: For each hyperparameter encoding after three bootstrap updates, the optimal hyperparameter encoding is used as a reference to determine the information difference term corresponding to the hyperparameter encoding ;in, represents the Levy flight code; The fourth guided update term is obtained by weighting the information difference term corresponding to the hyperparameter encoding using random flight * ;in, l Represents a random number between [-1,1], Indicates the upper limit and the lower limit The random coefficients between π represents pi; According to the fourth guided update item, the hyperparameter code is guided and updated four times, and the hyperparameter code after the four guided updates is obtained as follows: = + * ;in, Indicates the i Hyperparameter encoding after three bootstrap updates, Represents the hyperparameter encoding after four bootstrap updates , i= 1,2,…,M.
[0050] Although the previous algorithm has a certain global search capability, the global search capability is limited. In order to prevent the algorithm from falling into the local optimum, the embodiment of the present invention adopts a random flight guidance strategy to search in the solution space in an irregular flying manner, thereby preventing the algorithm from falling into the local optimum.
[0051] Optionally, in the phase involving global search, embodiments of the present invention may also employ a greedy strategy to control the global search, thereby ensuring the convergence speed of the algorithm. Out-of-bounds processing may also be performed after each search to ensure the validity of hyperparameters.
[0052] In an embodiment of the present invention, a network traffic identification model with network security monitoring is used to identify network traffic information, obtain network security monitoring results, and control access to the electronic reader based on the network security monitoring results, including: Using the network traffic information as input to a network traffic identification model with network security monitoring to obtain network security monitoring results; wherein the network security monitoring results include network security or network anomalies; When the network security supervision result is network security, maintaining the access connection with the electronic reader; When the network security supervision result is a network anomaly, the access connection with the electronic reader is disconnected, and a network security anomaly log is generated based on the information of the electronic reader.
[0053] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk drives, CD-ROMs, optical storage devices, etc.) containing computer-usable program code. The solutions in the embodiments of the present invention may be implemented using various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.
[0054] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0055] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0056] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0057] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0058] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.
Claims
1. An electronic reader online data service center based on deep learning, characterized in that: include: Data storage module, network traffic collection module, deep learning module and security supervision module; The data storage module is used to store online data of the electronic reader and allow the electronic reader to access the stored electronic book data; The network traffic collection module is used to collect network traffic information generated during data interaction with the electronic reader; The deep learning module is used to construct a network traffic identification model for security supervision using a deep learning model, and after training the network traffic identification model, obtain a network traffic identification model with network security monitoring capabilities; The security supervision module is used to identify network traffic information using a network traffic identification model with network security monitoring, obtain network security supervision results, and control access to the electronic reader based on the network security supervision results.
2. The deep learning-based online data service center for electronic readers according to claim 1, characterized in that: A deep learning model is used to build a network traffic identification model for security supervision, including: a network intrusion detection model is built by sequentially connecting the first convolution layer, the first ReLU activation layer, the first pooling layer, the second convolution layer, the second ReLU activation layer, the second pooling layer, the third convolution layer, the third ReLU activation layer, the third pooling layer, the Flatten layer, the fully connected layer, the Dropout layer and the Softmax output layer.
3. The deep learning-based online data service center for electronic readers according to claim 2, characterized in that: After training the network traffic identification model, a network traffic identification model with network security monitoring is obtained, including: Initializing the hyperparameters of the network traffic identification model multiple times to obtain hyperparameter encoding; After repeated initialization, multiple different hyperparameter encodings are obtained; Obtain the fitness corresponding to each hyperparameter encoding, and determine the optimal hyperparameter encoding according to the fitness corresponding to each hyperparameter encoding; Taking the optimal hyperparameter encoding as a reference, a nonlinear weighted bootstrapping strategy is used to perform a bootstrapping update on each hyperparameter encoding to obtain a hyperparameter encoding after the bootstrapping update; A double optimal bootstrap strategy is used to perform a secondary bootstrap update on the hyperparameter encoding after the primary bootstrap update, and the hyperparameter encoding after the secondary bootstrap update is obtained; A random matching cross-guided update strategy is used to perform a three-step guide update on the hyperparameter encoding after the two-step guide update to obtain the hyperparameter encoding after the three-step guide update; The random flight guidance strategy is used to guide the hyperparameter encoding after three guide updates for four times, and the hyperparameter encoding after four guide updates is obtained; Determine whether the iteration end condition is met. If so, re-obtain the optimal hyperparameter encoding, and use the re-obtained hyperparameter encoding as the final parameter of the network traffic identification model to obtain a network traffic identification model with network security monitoring. Otherwise, return to the step of guiding the update once.
4. The deep learning-based online data service center for electronic readers according to claim 3, characterized in that: Get the fitness corresponding to each hyperparameter encoding, including: Acquire a training set that is pre-stored or input through human-computer interaction; wherein the training set includes sample network traffic information and sample labels corresponding to the sample network traffic information; After applying the hyperparameters included in the hyperparameter encoding to the network traffic identification model, using the sample network traffic information as the input of the network traffic identification model to obtain the actual output of the network traffic identification model; Determine the cross entropy loss function corresponding to the hyperparameter encoding according to the actual output of the network traffic recognition model and the sample labels corresponding to the sample network traffic information; According to the cross entropy loss function corresponding to the hyperparameter encoding, the fitness corresponding to the hyperparameter encoding is determined to be: 1 / (cross entropy loss function + 0.0001); Traverse all hyperparameter encodings and get the fitness corresponding to each hyperparameter encoding.
5. The electronic reader online data service center based on deep learning according to claim 3 or 4, characterized in that: Determining the optimal hyperparameter encoding according to the fitness corresponding to each hyperparameter encoding includes: determining the hyperparameter encoding with the smallest fitness as the optimal hyperparameter encoding according to the fitness corresponding to each hyperparameter encoding.
6. The electronic reader online data service center based on deep learning according to claim 3, characterized in that: Taking the optimal hyperparameter encoding as a reference, a nonlinear weighted bootstrap strategy is used to perform a bootstrap update on each hyperparameter encoding to obtain a hyperparameter encoding after a bootstrap update, including: For any hyperparameter encoding, weighted subtraction is performed on the optimal hyperparameter encoding and the hyperparameter encoding to determine the guidance information item; combining the guidance information items using a first nonlinear search coefficient to obtain first guidance update information; The hyperparameter encoding is weighted using a second nonlinear search coefficient to obtain the original position information; The original position information is merged with the first guided update information to obtain an updated hyperparameter encoding.
7. The deep learning-based online data service center for electronic readers according to claim 6, characterized in that: The double optimal bootstrap strategy is used to perform a secondary bootstrap update on the hyperparameter encoding after the primary bootstrap update, and the hyperparameter encoding after the secondary bootstrap update is obtained, including: For any hyperparameter code after a guided update, determine a first guided update coefficient and a second guided update coefficient according to the fitness corresponding to each hyperparameter code; Determining a second guided update item corresponding to the hyperparameter encoding according to the optimal hyperparameter encoding, the historical optimal state corresponding to the hyperparameter encoding, and the first guided update coefficient; Determining a third guided update item corresponding to the hyperparameter encoding according to the optimal hyperparameter encoding, the historical optimal state corresponding to the hyperparameter encoding, and the second guided update coefficient; According to the second boot update item and the third boot update item, the hyperparameter code is boot-updated for a second time to obtain the hyperparameter code after the boot update for the second time.
8. The electronic reader online data service center based on deep learning according to claim 7, characterized in that: The random matching cross-guided update strategy is used to perform three-times-guided update on the hyperparameter encoding after the two-times-guided update, and the hyperparameter encoding after the three-times-guided update is obtained, including: For any hyperparameter code after the secondary bootstrap update, randomly match a first random code and a second random code for the hyperparameter code; According to the first random code and the second random code, an adaptive search control coefficient is used to obtain a fourth guided update item corresponding to the hyperparameter code; According to the fourth guided update item corresponding to the hyperparameter code, the hyperparameter code is guided and updated three times to obtain the hyperparameter code after the three guided updates.
9. The electronic reader online data service center based on deep learning according to claim 8, characterized in that: The random flight guidance strategy is used to perform four guidance updates on the hyperparameter encoding after three guidance updates, and the hyperparameter encoding after four guidance updates is obtained, including: For each hyperparameter encoding after three bootstrap updates, the optimal hyperparameter encoding is used as a reference to determine the information difference term corresponding to the hyperparameter encoding; The fourth guided update term is obtained by weighting the information difference term corresponding to the hyperparameter encoding using random flight; According to the fourth guided update item, the hyperparameter encoding is guided and updated four times to obtain the hyperparameter encoding after the four guided updates.
10. The deep learning-based online data service center for electronic readers according to claim 9, characterized in that: The network traffic information is identified by using a network traffic identification model with network security monitoring to obtain a network security supervision result, and the access to the electronic reader is controlled according to the network security supervision result, including: Using the network traffic information as input to a network traffic identification model with network security monitoring to obtain network security supervision results; wherein the network security supervision results include network security or network anomalies; When the network security supervision result is network security, maintaining the access connection with the electronic reader; When the network security supervision result is a network anomaly, the access connection with the electronic reader is disconnected, and a network security anomaly log is generated based on the information of the electronic reader.
Citation Information
Patent Citations
Abnormal traffic detection method based on optimized stacked noise reduction convolutional auto-encoding network, memory and processor
CN113660236A
Network anomaly detection method based on federated learning and deep learning
CN118590289A
Deep neural network hyperparameter optimization method, electronic device and storage medium
WO2021007812A1
Transfer learning-based method for improved VGG16 network pig identity recognition
WO2022252272A1
