当前位置:网站首页>Understanding of user / Account / Account
Understanding of user / Account / Account
2022-07-19 09:00:00 【liaowenxiong】
List of articles
user
Understanding of user concepts :
Users are users , It can be an individual user , It can also be an institutional user .
Account
Understanding of account concept :
Account , So-called “ zhang ”, Is the system basis “ zhang ” To store and manage data , Similar to bookkeeping 、 The concept of making accounts . for example , After a user uses the system, a lot of data belonging to the user will be generated , Then these data must be stored and managed according to different users , Therefore, it is necessary to manage these data separately , Record these data into an account ( Similar to accounting ), This is the concept of account .
Accounts are used to classify 、 Collecting user behavior data , It was originally used by financial institutions to record the financial data of different accounts , Now Internet products also use the concept of account to classify and record user behavior data or business data .
The system can actually generate multiple accounts for a user , That is, a user can have multiple accounts , Different accounts record different data .
Take the banking system for example , A person opens an account in a bank for the first time , The system will generate a record of individual users , This record records the relevant attributes of this person ( User name 、 full name 、 Gender 、 nationality 、 marriage 、 Nationality, etc ), At the same time, a record of the financial account will be generated , This record records the relevant attributes of financial accounts ( account number 、 Account type 、 balance 、 password 、 Head of household, etc ). You can still open an account in this bank , Then the system will generate another financial account record , The result is that there is only one user record about you in the system , But there are two financial account records .
however , Many times, system designers or developers , Confuse users with accounts , Therefore, users and accounts of many systems now have the same concept . A user record records the user name 、 full name 、 Gender 、 account number 、 title of account 、 Password and all other information , This is not reasonable .
account number
The account number is the only identification of the account 、 Number 、 Code name .
Enterprise account ( Account refers to users ) The account number of the account opened .
Relationship
The relationship between user and account is one to many
Account and account are one-to-one
The relationship between user and account is one to many
In a software system , If users always have only one account , Then you can combine the attribute information of the account and the user into one record , At this point, you can simply equate users with accounts ( The essence is not the same concept ).
Or to understand it like this :
If a user in the system always has only one account , Then just design a table - Account form , Every account has an account ( That is, the owner of the account , That is, users ), So the account information of the account will be recorded in the account table ( That is, user information ), Account types can be divided into personal accounts 、 Institutional Accounts , In fact, it is to classify accounts by user type . In the business scenario where a user corresponds to multiple accounts , Accounts are classified according to business types . So such an account can also be called a personal account 、 Institutional Accounts , Similar accounts classified by business are called insurance accounts 、 Deposit account .
In fact, whether it's an insurance account 、 Deposit account , Or the so-called personal account 、 Institutional Accounts , Are accounts under a certain user name , Accounts belong to users , Therefore, these accounts can also be called user accounts .
边栏推荐
- LeetCode 0116.填充每个节点的下一个右侧节点指针
- 不创建临时变量交换数组元素
- SharePoint接入简要笔记
- 最新水果FLStudio20.9低版本版升级高版本教程
- 2022 Shanghai safety officer C certificate national question bank and answers
- Linear regression + basic optimization of deep learning
- Markdown(5):锚链接
- C# - this 的用法
- Resolve the applicationeventmulticast not initialized - call 'refresh' before multicast events exception
- Programming in the novel [serial 14] the moon bends in the yuan universe
猜你喜欢

2022t elevator repair examination question bank and answers

Distributed transaction best effort notification scheme

静态路由!!静态路由!!静态路由!!

数据库——sql-server

案例分享 | 基于Linkis+DSS构建合合信息一站式数据开发平台

How to set preferences when developing esp8266 and esp32 with Arduino

【手写数字识别】基于Lenet网络实现手写数字识别附matlab代码

Authing 实践|制造业身份认证统一管理解决方案

Distributed transaction reliable message final consistency solution

LeetCode 0116.填充每个节点的下一个右侧节点指针
随机推荐
单机项目进行微服务拆分
Simple case of wechat applet calling API
freeswitch的话单模块
SSM实现一对一查询实战详细教程(一)
【手写数字识别】基于Lenet网络实现手写数字识别附matlab代码
第六天训练
【论文笔记】融合多传感器数据的抓取机械臂末端定位研究
LeetCode 0116. Populate the next right node pointer for each node
ETCD数据库源码分析——etcdserver bootstrap从快照中恢复store
解决接口跨域问题和node操作MySQL
Qprocess of QT
Shell notes
第七天训练
小说里的编程 【连载之十一】元宇宙里月亮弯弯
Binary installation MySQL initialization password problem
OGG中token的使用
自定义MVC原理及简单实现
Change the theme of hbuilderx into vscode
Support for multiple devices in (ghost engine)
【LeetCode】通用操作总结