SUGISAKAMASANORI

Journal of Advances in Artificial Life Robotics
Vol. 1(4); March (2021), pp. 181–186
ON LINE ISSN 2435-8061; ISSN-L 2435-8061
https://alife-robotics.org/jallr.html

Research Article

Book box design and implementation of intelligent networkbased sharing
Zhou Zhang1, Yajun Li1*, Yizhun Peng1,2, Yuqi Zhao1, Songyun Shi1

College of Electronic Information and Automation, Tianjin University of Science and Technology, Tianjin, 300222, China
Advanced Structural Integrity International Joint Research Centre, Tianjin University of Science and Technology, Tianjin, 300222, China

12ARTICLE INFOArticle HistoryReceived 09 November 2019
Accepted 10 September 2020
Keywords
Book
Wireless network
WiFiBluetoothISBNMCU
Cloud server

ABSTRACTThe original intention of this device is to allow people to use social book resources more
effectively. Users can share the books in their hands through this device. Multiple devices
connected by cloud servers can form a book storage network to realize the circulation of paper
books. The camera is used for the ISBN code identification of books, the WiFi module is used forthe wireless network communication between the device and the background server, the bluetoothmodule is used for the near distance communication between the device and the mobile terminal,
and the infrared module is used for detecting the storage state of the device. Equipment ISBN
read, storage of equipment state inspection, such as simple data processing done by the device
with a built-in MCU, user registration, user reading habits, such as book search more complex
data calculated by the background server processing,.By borrowing the concept of distributed
computing, implements the equipment, and efficient use of server resources, reduce the workloadof the entire system at the same time..

© 2022 The Author. Published by Sugisaka Masanori at ALife Robotics Corporation Ltd.
This is an open access article distributed under the CC BY-NC 4.0 license(http://creativecommons.org/licenses/by-nc/4.0/).

1. Introduction

eyesight, greater appreciation space and lower error
rate. So in today's advanced science and technology,
we still need to promote the traditional way of reading- paper reading.
However, while promoting paper reading, someproblems existing in paper books should not be ignored.
These problems mainly include that the price of paperbooks is relatively higher, which takes up more storage
space, and at the same time, it is easier to get boredwith the problem of storage after reading. Therefore,
this paper designed a kind of Shared bookcase that canbe placed in the community, school or shopping malland other public areas, so that users can not only sharebooks they no longer use but also borrow books forreading. Thanks to the rapidly developing
communication
technology,
multiple
Sharedbookcases can be connected through the network toform an extensive book network.

With the continuous popularization of Internet
technology, the exchange and transmission ofinformation is more convenient and fast, and electronic
reading develops accordingly. Compared withtraditional paper-based reading, e-reading is moreconvenient, fast, and easy to obtain, and has undoubted
advantages in carrying it out. However, the current
mainstream e-reading is relatively scattered reading.
digital media in order to gain the reader's preferences,with simple, rapid, shallow and other information to bo
person eyeball, ideological content of the article
without giving carefully chosen, causes the reader too
pursuit of reading speed and the number, the lack ofdeep thinking [1], [2]. Compared with e-reading,paper-based reading can give readers more in-depth
thinking and gain more from it. At the same time, paper
reading has many advantages, such as less harm toCorresponding author’s E-mail: *lyj_2872@sohu.com

181

2. Embedded hardware system design

2.2 Bluetooth communication module

The embedded hardware system adopts TM32F767IGT6
single-chip
microcomputer
producedbystmicroelectronics as the main control chip. In addition,
bluetooth communication module, DTU module,photoelectric switch module and beidou positioning
module are integrated around the main control chip.
Among them, bluetooth module is used for communication
between embedded device and mobile phone client, DTU
module is used for communication between embedded
device and background server, photoelectric switch
module is used for detecting the current storage state ofstorage unit, and beidou positioning module is used forbook case positioning.

Bluetooth communication is a short-range wirelesscommunication technology. Its initial goal is to replace
cable connections on existing digital devices, such as
handheld computers and mobile phones. Bluetoothtechnology is characterized by small volume ofcommunication module, low energy consumption,
especially suitable for remote, high speed transmission of
single-chip microcomputer system equipment. Bluetoothcommunication transmission distance is usually less than
10 meters, the use of bluetooth technology can be realizedby short-range wireless link instead of communication
cable, not only to avoid the trouble of wiring, but also tofacilitate wireless control of equipment, there is a very
wide application space. Bluetooth receiver shown in Fig.2
integrated circuit consists of rf, baseband and linkmanagement. In the terminal of MCU, there are four
terminals, two ports are connected with power supply,RxD in communication port is connected with TxD in
MCU, TxD in communication port is connected with RxDin MCU, that is, reading and writing terminals should becross-connected [3].

2.1 main control chip
The core microcontroller of the embedded hardware
system is stm32f767igt6 chip shown in Fig.1, and the coreis arm cortex-m7, which is introduced bySTMicroelectronics. The operating frequency is up to216mhz. On chip, 512KB flash memory and 256KbSRAM memory are integrated; there are up to 21
communication interfaces, including 4 UARTS, 4 USARTinterfaces running at 12.5 Mbit / s, 5 SPI interfaces running
at 50 Mbit / s, 3 I 2C interfaces, one can, two SDIO andone USB with PHY on chip 2.0 full speed device / host /OTG controller; 1 USB 2.0 High Speed / full speed device/ host / OTG controller with built-in dedicated DMA
controller, up to 18 synchronous 16 bit timers, and up to140 I / O ports with interrupt capability. Compared withother MCU, it has high performance, low cost and low
power consumption, which can fully meet the system
requirements.

Fig.2. Bluetooth communication module

2.3 DTU module
DTU(Data Transfer unit) Data transmission unit shown inFig.3 is a wireless terminal device specially used toconvert serial port Data into IP Data or IP Data into serial
port Data through wireless communication network fortransmission [4].

Fig.1. STM32F767IGT6 chip

Fig.3. DTU module

182

2.4 Photoelectric switch

3. System software design

The principle of photoelectric switch shown in Fig.4 is thesame as that of infrared detection, which belongs to active
infrared detection. The photoelectric switch module emits
pulse infrared light at a specific frequency, and the infrared
photosensitive receiving tube is used to receive thereflected light ahead, and the distance of the obstacle isjudged according to the intensity of the received light.
Because of its simple structure and low cost, it is often
used for non-contact distance measurement, obstacle
detection, obstacle color detection and other devices [5].

The system software layer design is divided into threeparts: client end, embedded end and background serverend. The communication between the client and theembedded end is conducted through bluetooth, and thecommunication between the client and the background
server and between the embedded end and the background
server is conducted through the public mobile
communication network.
3.1 Client software design
The mobile client takes APP as the carrier to provide theoperation of saving and borrowing books, Its program flow
chart is shown below shown in Fig.6.
When using the APP, users must scan the qr code pasted
on the box to confirm the current book case number. The
content of the qr code is the 48-bit MAC Address (MediaAccess Control Address) of the bluetooth module of thebook case, which is globally unique and can be used as thenumber of different book cases [7]. After obtaining thecase number, the user can store or borrow books according
to the instructions of the software interface.

Fig.4. Photoelectric switch

2.5 Beidou positioning module
Beidou navigation system is an active bidirectional
ranging 2d navigation system. The ground center control
system is solved to provide users with 3d positioning data.
Besides the function of GPS satellite positioning, it also
adds the communication function, which can play a greatrole in some fields such as ocean monitoring and militarycommunication. Beidou shown in Fig.5 is the world's firstsatellite navigation system to provide three-frequency
signal services. The three-frequency signal can better
eliminate the influence of high-order ionospheric delay
and improve the positioning reliability. Besides, beidou
also has its own special short message communication
Function [6].

Fig.6. Client program design flow chart

3.2 Embedded end software designThe software design of embedded device includes thecommunication between the embedded device and themobile phone client, the control of embedded device on
the bookcase storage unit, and the detection of embedded
device on the storage unit when storing books. This
flowchart is shown in Fig.7

Fig.5. Beidou positioning module183

Fig.8. Background server programming flow chart

4. Conclusion
With the development of modern lifestyle, people's paceof life is speeding up, so it is particularly necessary to set
aside more space for bookstores in the city's diversifiedspace. What we need to see is that although the flow ofpeople in shopping malls, downtowns, or financial centers
is large, noisy environments are not suitable for deep
reading. Schools, parks, hotels and other places withleisure functions are very suitable for reading. Break down
the mechanism barrier, update the business form, let thebooks naturally into these places, holding books quiet
cultural street scene will be more and more. In the case of
Beijing, the Palace Museum has added 6 exquisite
bookstores in recent years, with flowers flourishing and aroom full of books. Many hotels, service areas and otherrelated industries have also realized the transformationfrom "walking in" to "living" and "reading" by opening"book corners". Facts show that as long as a lot of support,
do the characteristics, reading can completely in thecontinuous "break the circle" to achieve diverse
development [8].
Based on the above reasons, the mobile book network
designed in this article. Through the application of theInternet of Things technology and the clever layout inreality, books can be shared many times between readers
who do not know each other, so that paper books can givefull play to their value and make readers more convenientand faster Read paper books without grace.

Fig.7. Embedded programming flowchart

3.3 Background server software design
The background server includes two parts, the server andthe database, which are respectively used to realize thedata interaction with the client and record the informationsuch as the bookcase storage. Its program flow chart isshown in the Fig.8. Whenever the storage status in thebookcase changes, the information in the database can be
updated in real time.

184==================================

Acknowledgements

Authors Introduction

This research was supported by Student’s Platform forInnovation and Entrepreneur Training Program, theMinistry of education of China (201910057158).

Mr. Zhou Zhang

References
1. Guo Xiaona and Huo Xiaoqin. Deep reading:knowledge creation in the era of artificial intelligence [J].
People's education, 2019 (18): 62-65.
2. Chen Xinfen, Peng Yinqiao. Smart home control system
based on STM32 and ZigBee [J]. Electronic technology
and software engineering, 2019 (21): 16-18.
3. Bo Likang, Zhang Haiyan, Duan Weiyang. apply
Wireless communication technology in single chip
microcomputer communication system [J]. Digitalcommunication world, 2019 (09): 158.
4. Qin Qinglei. Referring to this report, the design of an
ultra-low power infrared obstacle detection module [J].
Electronic manufacturing, 2017, (7): 15-16.5. ShenLeixian, Pang Jiayi, Zhang Qingyun, Xu he. The design
and implementation of positioning service platform basedon Beidou [J]. Computer technology and development,
2019, (01): 1-4.
6. Shen Leixian, Pang Jiayi, Zhang Qingyun, Xu he. The
design and implementation of positioning service platform
based on Beidou [J]. Computer technology anddevelopment, 2019, (01): 1-4.
7. Tian Jie. Research on detection device of traffic sensing
system based on Bluetooth [J]. Heilongjiang transportation
science and technology, 2008,41 (05): 216-217.
8. Baonan. Urban culture cannot be separated from thecultivation of "scholarly". Beijing Daily, November 27,
2019 (003).

Dr. Yajun Li

Dr. Yizhun Peng

Mr. Yuqi Zhao

185

He is now an undergraduate in
Tianjin University of Science &Technology. His research field isembedded development.

She is an lecturer in Tianjin
University of Science & Technology.
She received a doctor's degree in
Geo-exploration and information
technology from the college of GeoExploration Science and Technology,Jilin University, in 2007. Hersresearch field is signal andinformation processing.
He is an Associate Professor inTianjin University of Science &Technology. He received a doctor's
degree in control theory and control
engineering from the Institute ofAutomation，Chinese Academy ofSciences, in 2006.His research field
is intelligent robot and intelligent
control.
He is now an undergraduate of Tianjin
University of science and technology.
His research areas are 3D modelingand intelligent robot.

Mr. Songyun Shi

He is now an undergraduate ofTianjin University of science andtechnology, and his research field isintelligent robot.

=========================================

186