网络图书销售数据库er图与网络图书馆

基于ER图分析校园二手书交易系统.mp31:48

来自LearningYard学苑

E-R模型用E-R图表示。实体是用户工作环境中所涉及的事务,属性是对实体特征的描述。

该系统的总体ER图中总共包含6个实体,分别是用户、订单、书籍、管理员、类别。

The E-R model is represented by an E-R diagram. The entity is the transaction involved in the user's work environment, and the attribute is the description of the entity's characteristics.

The overall ER diagram of the system contains a total of 6 entities, namely users, orders, books, administrators, and categories.



(1)若实体间的联系是1:1

两个实体类型转换成的两个关系模式中任意一个关系模式的属性中加入另一个关系模式的键和联系类型的属性。

(2)若实体间的联系是1:N

在N端实体类型转换成的关系模式中加入1端实体类型转换成的关系模式的键和联系类型的属性。

(3)若实体间的联系是N:M

将联系转换为实体,然后在该实体上加上另外两个实体的主键,作为联系实体的主键,然后再加上该联系自身带的属性。

(1) If the connection between entities is 1:1

The attributes of any one of the two relational schemas converted by the two entity types are added with the key of the other relational schema and the attributes of the connection type.

(2) If the connection between entities is 1:N

Add the key and connection type attributes of the relational model converted from the 1-end entity type to the relational model converted from the N-end entity type.

(3) If the connection between entities is N: M

Convert the contact into an entity, and then add the primary keys of the other two entities to the entity as the primary key of the contact entity, and then add the attributes of the contact itself.



根据以上转换规则可得校园二手书交易系统的数据库设计逻辑结构为:

According to the above conversion rules, the logical structure of the database design of the campus second-hand book trading system can be obtained as:

用户(用户名,密码)

管理员(用户名,密码)

书籍(书籍ID,价格)

订单(书籍ID ,购买人,价格,数量)

User (user name, password)

Administrator (user name, password)

Books (book ID, price)

Order (book ID, purchaser, price, quantity)

素材来源:百度、知乎

翻译来源:谷歌翻译‍

青海新闻网讯 近日,省广电网络公司上线数字电视图书馆,用户可在任意营业厅办理开通,通过机顶盒访问数字电视图书馆,借阅成百上万种图书。

据悉,“数字电视网络图书馆”是利用全国有线电视专网得天独厚的优势,集成海量正版数字图书资源,实现广电网络与新闻出版业务融合的供给侧创新项目,2017年列入国家广电总局《广播电视十三五发展规划》。它可以把数字化图书传递到每个家庭,使电视机成为公共图书馆的终端。数字电视图书馆的上线,使青海各民族用户可通过电视屏、电脑屏、平板电脑屏、手机屏进行正版图书的阅读,满足各族群众对精神食粮的需求,是我省广电提升公共文化服务数量和质量的重要举措。