Microservice architecture integrates Sa-Token to implement gateway authentication and authentication services This project is a hands-on project I made, using the SpringCloudAlibaba microservice architecture. When I was working on the authentication module, I remembered the Sa-Token project I had seen online before. It was called the Light of Domestic Authentication, so I checked their documentation […]
Tag: hit
Basic Spring annotation method to build architecture and query data
1. Annotation (1) Traditional annotation Annotation Description @Component Used on classes to instantiate Beans @Controller Used on web layer classes to instantiate Beans @Service Used on the service layer class to instantiate Bean @Repository Used on dao layer classes to instantiate beans @Autowired Used on fields for type dependency injection @Qualifer Used in conjunction with […]
Xilinx DDR3 MIG Series – Clock Architecture for DDR3 Controllers
Contents of this section 1. Clock architecture of ddr3 controller 1. PLL input clock – system clock system_clk 2. PLL output clock – sync_pulse, mem_refclk, freq_refclk, input clock of MMCM1 3. Input clock and output clock of MMCM1 4. Input clock and output clock of MMCM2 1. Clock architecture of ddr3 controller For FPGA development, […]
Install mysql5.7 or above database on linux x86 architecture
Article directory 1 **Install mysql5.7 or above database** 1.1. Download 1.2. Place the compressed package in the tools directory and decompress it. 1.3. Establish user groups and users 1.4. Set permissions 1.5. Install mysql **If an installation error message appears:** 1.6. Start the service 1.7. Put mysql into the local system service 1.8. Set msyql […]
[Analysis of Spring’s underlying core architecture concepts]
Article directory 1. BeanDefinition 2. BeanDefinitionReader 2.1. AnnotatedBeanDefinitionReader 2.2.XmlBeanDefinitionReader 5. ClassPathBeanDefinitionScanner 6. BeanFactory 7. ApplicationContext 7.1. AnnotationConfigApplicationContext 7.2. ClassPathXmlApplicationContext 8. Type conversion 8.1.PropertyEditor 8.2.ConversionService 8.3. TypeConverter 9. FactoryBean 10. ExcludeFilter and IncludeFilter 11. MetadataReader, ClassMetadata, AnnotationMetadata Prepare the test object User in advance: public class User {<!– –> public User(int flag, String uuid){<!– –> System.out.println(flag […]
[OpenCV image implementation: White balance algorithm using OpenCV image processing techniques]
Article directory summary Load sample image Statistical data analysis White Patch Algorithm summary Summary White balance technology plays a vital role in photography and image processing. Under different lighting conditions, the camera may not accurately capture the true color of an object, resulting in images that appear dull, unnatural in tone, or washed out. In […]
Computer architecture instruction pipeline execution analysis
Topic: Chp3 Lab: Analysis of Instruction Execution Pipelining Problem description: Using the following code fragment: LOOP: LW R1,0(R2) ; load R1 from address 0 + R2 ADDI R1,R1,#1; R1=R1 + 1 SW 0(R2),R1; store R1 at address 0 + R2 ADDI R2,R2,#4; R2=R2 + 4 SUB R4,R3,R2; R4=R3-R2 BNEZ R4,Loop ; branch to loop if […]
[MT8766][Android12] Add application installation whitelist or blacklist
Article directory Basic information of development platform Problem Description Solution Basic information on development platform Chip: MT8766 Version: Android 12 kernel: msm-4.19 Problem description During project development, some customers often require the system to perform signature verification when installing applications; that is, the system does not allow any application installation by default. When the application […]
[MySQL5.7 Kirin system, offline installation under ARM architecture, building master-slave cluster]
MySQL5.7 Master-Slave Cluster Deployment Manual 1. Check the local operating system #Be sure to check the operating system of the machine, whether it is amd (x86) or arm (aarch) architecture uname -a cat /etc/os-release Note: MsSQL8.0 has only supported arm architecture since then. We can go to a third party to download the compiled installation […]
Android 11 adds all privileged permissions whitelist
Environment Android 11 SDK Requirements After modifying some built-in system APPs and adding some permissions, it may cause the problem of restarting after burning the firmware. When running logcat, an error similar to the following will be printed: 023-11-08 11:36:23.854 4173-4173/system_process E/AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions […]