CN111045765A - Android system-based electrical technical manual platform - Google Patents

Android system-based electrical technical manual platform Download PDF

Info

Publication number
CN111045765A
CN111045765A CN201911140884.XA CN201911140884A CN111045765A CN 111045765 A CN111045765 A CN 111045765A CN 201911140884 A CN201911140884 A CN 201911140884A CN 111045765 A CN111045765 A CN 111045765A
Authority
CN
China
Prior art keywords
module
user
interface
account
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201911140884.XA
Other languages
Chinese (zh)
Inventor
刘光星
曹茜林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Shiyou University
Original Assignee
Xian Shiyou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Shiyou University filed Critical Xian Shiyou University
Priority to CN201911140884.XA priority Critical patent/CN111045765A/en
Publication of CN111045765A publication Critical patent/CN111045765A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Abstract

The invention provides an Android system-based electrical engineering technical manual platform which is characterized by comprising a starting module, a login module, a home page module, a main interface module and a content module. The invention has the advantages that: the Android system-based electrical technical manual platform is based on an Android system and an SQLite database, adopts a C/S architecture-based electrical technical manual platform, adopts a man-machine interaction operation mode, is rich and clear in picture and text, has learning efficiency 5-10 times higher than that of a traditional method, and has certain innovativeness and practicability; the electric transmission device is suitable for reference of teachers, students and scientific and technological workers who are in electric transmission in universities, scientific research institutions and industrial and mining enterprises, and has wide popularization prospect.

Description

Android system-based electrical technical manual platform
Technical Field
The invention belongs to the technical field of electricians, and particularly relates to an Android system-based electrotechnical manual platform.
Background
On the one hand, the electrical technology is basic professional knowledge which needs to be mastered by teachers, students and scientific workers who are engaged in electrical transmission in colleges and universities, scientific research institutions and industrial and mining enterprises, and needs various technical manuals for reference in learning and research application. However, the paper handbooks are inconvenient to use in many ways, and are inconvenient to find relevant information quickly. And the searching of the webpage takes longer time and the content is not integrated enough.
On the other hand, in recent years, the mobile internet has been rapidly developed, and the mobile intelligent terminal has been widely popularized, especially the mobile phone has the advantages of being convenient to carry and complete in function, so that the mobile intelligent terminal becomes an essential tool in the life of people, not only influences the aspects of people's clothes and residence, but also becomes an important channel for people to acquire information, understand the world and read.
The 2012 China Mobile Internet application report issued by the Internet data center (DCCI) shows that books on the Android platform are ranked the third and account for 11.2%. Therefore, the important influence of book applications, namely reading applications APP, on the mobile user can be seen, and the digital reading based on the mobile terminal is already a non-trivial amount of force. The smart phone realizes the integration of a communication tool and a reading tool, frees people from the fixed space-time reading environment such as paper books and desktop computers, and really realizes the mobile reading anytime and anywhere.
With the increasing popularity and development of mobile devices, the development of related software is more and more favored by programmers. At present, the Android is developed most rapidly in the field of mobile development. Android is a Linux kernel-based platform published by Google corporation specifically developed for mobile devices, using Java as the primary development language. In the early Android release stage, the recommended development tool is Eclipse, but Eclipse can do a lot of things and is not focused enough. In 2015, Google formally promoted a new Android studio tool developed only for mobile phones.
The Android Studio is a brand-new Android development environment based on IntelliJ IDEA, provides an integrated Android development tool for development and debugging, and developers do not need to download SDK and JDK additionally. The method comprises the steps that an app interface is built in Eclipse, the effect is greatly different from that of a real machine, the speed is slow, but the Android Studio interface is very clear in display and very quick to modify; the printed information of the Eclipse is particularly sloppy, and the printed information of the anti-observation Android Studio is much more detailed; after deleting a file in Eclipse, the previous editing record is emptied, even if the file is restored, the file is hard to understand quickly, and how to roll back many previous operations is a problem unless you use a version control tool; the intelligent identification of the Android Studio is a very big highlight. The system can recognize and push only one or two letters in a long and complex character string regardless of the number of separated characters or different case.
Java is an object-oriented programming language, not only absorbs various advantages of C + + language, but also abandons concepts such as multiple inheritance, pointers and the like which are difficult to understand in C + +, so that the Java language has two characteristics of strong function, simplicity and easiness in use. The Java language, which is representative of the static object-oriented programming language, excellently implements object-oriented theory, allowing programmers to perform complex programming in an elegant, mental manner. Java looks much like C + +, but it removes features in C + + that are rarely used by many programmers, removes operator overload (overload) and multi-inheritance features in C + +, and does not use main files, eliminating pre-processing procedures. Since Java has no structure, arrays and strings are objects, no pointers are needed. Java can automatically process the reference and indirect reference of an object, automatic garbage collection is realized, a user does not need to worry about storage management problems, and more time and effort can be spent on research and development.
The SQLite is a lightweight database, is an ACID-compliant relational database management system, is contained in a relatively small C library, is very portable, and can be applied to software environments with various configurations. The design target is embedded, and the embedded type memory is used in a plurality of embedded products at present, the occupied resource is very low, and only a few hundred K of memories are enough in the embedded type equipment. The system can support a mainstream operating system such as Windows/Linux/Unix and the like, can be combined with a plurality of programming languages such as Tcl, C #, PHP, Java and the like, has an ODBC interface, and has a processing speed higher than that of a world-known database management system with two types of sources such as Mysql and PostgreSQL.
Books like apps are diverse in form and very widely used. However, most of them are reading novels and pushing information, and at present, no App is available for the learners of electrotechnics. However, no platform aiming at the electrical technical manual is available in the market for teachers and students and technologists to inquire and use in real time, so that the Android system-based electrical technical manual platform is designed and developed by combining the prior technologies such as Android, Java, SQLite databases and C/S architecture.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a reliability testing method for a meta-motion assembling unit, aiming at effectively analyzing the performance of the meta-motion assembling unit and improving the accuracy of reliability evaluation.
An Android system-based electrical technical manual platform comprises a starting module, a login module, a home page module, a main interface module and a content module;
the starting module is used for realizing the functions of firstly displaying a starting interface and then automatically jumping to the login module through an Intent statement after a program runs; the starting interface comprises a starting module title bar and a starting module content display area, the starting module title bar is composed of a motor picture and a platform name, and the starting module content display area is composed of a text control and an image control;
the login module comprises a registration component, a login component and an exit component; the interface layout file of the login module is divided into a login module title bar and a login module content display area, and the login module content display area consists of a text box, an edit box, a button and an image control;
the registration component is used for realizing the functions of registering an account by using a mailbox or a mobile phone number, setting a 6-15 bit length password and storing the registered account and the password as user information by using an SQLite database;
the login component has the following functions:
(1) inputting an account number;
(2) whether the account with the correct format is input is checked through a regular expression: if the input format is not correct, display "you input account with incorrect format! "; if the account is not input, logging in, and displaying 'please input the account'; if the input format is correct, displaying 'input password';
(3) inputting a password;
(4) judging whether the password with the correct format is input: the password length is set to 6-15 bits, and if the input length is incorrect, the password display shows that the password length input by you is not correct! "; if the password is not input, logging in, and displaying 'please input the password';
(5) judging whether the account number and the password are matched: if the input password is correct, the login is successful, and the home page module is skipped; if the entered account number and password do not match, the login fails, displaying "username or password error! "
The quit component realizes a dialog box for popping up whether to confirm quit or not through a showdialog function: clicking to confirm and quitting the platform; clicking to cancel, and returning to the login module executed before;
the home page module is a frame constructed by using a Framelayout frame layout, consists of 4 fragment fragments, and is a home page, a book page, a search page and an account page respectively;
the homepage is a module classification which comprises four functional modules of introduction, video, picture query and help; the video function module is used for enabling a user to collect videos required or interested by the user into an account of the user so as to watch the videos at a later date; the picture query function module is used for quickly finding the detailed pictures stored in the SQlite picture folder and required by the user; the help function module is used for explaining the use method and the purpose of the platform for the user;
the book pages are used for displaying the manual contents according to various book formats, all the electric engineering manuals stored in the SQlite database of the platform are included, and the clicking details can jump to the corresponding content interfaces;
the search page is provided with a search frame SearchView for a user to input related key words on the search page to quickly search the titles of all chapters of the manual contents stored in a SQlite database title folder; the search page can also monitor the content input by the search box through a TextWatcher function, realize intelligent reminding, and store and prompt 9 latest search history records of the user;
the account page is used for displaying detailed information of the user, including head portrait, user name, collection and information, realizing the account exit function and returning to the login module;
the main interface module comprises an abstract component and an exit account component, wherein the abstract component is used for introducing the application range, the practicability and the content summarization of the platform; the log-out account component can realize the account log-out function and returns to the log-in module;
the content module comprises a text page, a picture operation page and a directory page;
the text page is used for displaying all the contents of the electric technical manual stored in the SQlite database, and a return button is arranged at a title column to realize the function of returning to the previous interface; if the content is more and can not be displayed in one interface at one time, nesting the layout managers, adding a scroll view, and facilitating the operation of the user, wherein the user can browse the contents of the manual by touching and sliding the screen of the mobile phone;
the directory page is created by calling menu resources provided in the Android and used for a user to quickly find and jump to a required content interface; the user pops up a directory page after clicking the menu option, can visually see the content titles of all chapters stored in the database, and directly jumps to a corresponding content interface after clicking the titles;
the picture operation page is used for enabling a user to have more visual experience and deeper understanding on the electrical technology; a series of codes are compiled by applying a Matrix concept, so that a user can click a picture to enter a picture operation interface, and the picture is subjected to any translation, zooming and rotation operations through a touch event on the picture operation interface; in the interface, the system creates a touch event, so that a user can view pictures more flexibly and more vividly, the pictures are vividly displayed for the user in a 2D and 3D mode, the pictures operate a return key of a title bar of the interface to realize the function of clicking a return content interface, and after return, the user can continue reading;
preferably, the transparency animation is added in the starting module, so that the starting interface can rotate, and after the starting interface stays for 2 seconds, the automatic jump to the login interface is realized through the Intent statement.
Preferably, the account page can realize the self-defined setting of the head portrait and the user name of the user, and can realize the recording of the interested contents in the collection column, and teachers and students can realize chat interaction, the discussion of academic problems, and the submission of experimental reports and operations in respective message columns through Socket data transmission; the implementation method comprises the following steps: establishing a TCP communication model based on Socket, and firstly declaring a Socket Server server side and a Socket client side; the SocketServer object of the server side is responsible for monitoring the network state in real time, waiting for the connection request of the client side, and receiving and reading the data of the client side; the Socket object of the client is responsible for indicating the address and the port number of the Socket of the server, establishing a thread, and then sending a connection request to the server to acquire data sent by the server; when the server monitors or receives the connection request of the client, a new thread is established in response to the socket request of the client, the description of the server is sent to the client, and once the client confirms the description, the server and the client formally establish connection; the server side continues to be in a monitoring state and continues to receive connection requests of other clients; therefore, Socket data transmission based on the TCP protocol is carried out.
Preferably, the main interface module can realize clicking at any position on the screen to jump to the first chapter content interface.
Preferably, the main interface module stores the information of the user by using the SharedPreference, and directly displays the main interface content without logging again when the application program is opened next time if the application program is directly logged out after the login is successful, so that the time occupied by a large amount of repeated unnecessary operations is saved for the user.
The invention has the advantages that:
① the Android system-based electrical engineering technical manual platform is based on the Android system and the SQLite database, adopts the C/S architecture electrical engineering technical manual platform, adopts a man-machine interaction operation mode, is rich and clear in content, has learning efficiency 5-10 times higher than that of the traditional method, and has certain innovation and practicability.
② the Android system-based electrotechnical manual platform is suitable for reference of teachers, students and technologists who are in electrical transmission in universities and universities, scientific research institutions and industrial and mining enterprises, and has wide popularization prospects.
③ the Android system-based electrical engineering technical manual platform of the invention receives and reads data of a client through a Socket server object of a C/S architecture server, and the Socket object of the client is responsible for making a connection request to the server to obtain data sent by the server, so as to perform Socket data transmission based on a TCP protocol and realize file transmission and multi-person chatting.
④ the Android system-based electrical engineering technical manual platform of the invention realizes logic control, skip and data processing by Java through applying Java language, is familiar with mastering the Android studio platform, carries out modular design and framework construction on the platform, and then imports the required electrical engineering knowledge into the platform.
⑤ the Android system-based electrical engineering technical manual platform of the invention can store new contents in the SQlite database, add part of codes, and realize real-time update of the database and the UI interface so as to realize expandability of the database.
Drawings
FIG. 1 is a general design framework diagram of an Android system-based electrical engineering manual platform according to the present invention;
FIG. 2 is a schematic main design diagram of a homepage of an Android system-based electrical technical manual platform according to the present invention;
FIG. 3 is a schematic diagram illustrating the effect of book pages of an Android system-based electrical technical manual platform according to the present invention;
FIG. 4 is a schematic main design diagram of an account page of an Android system-based electrical technical manual platform according to the present invention;
FIG. 5 is a schematic diagram illustrating the effect of the account exit function of an account page of an Android system-based electrical technical manual platform according to the present invention;
FIG. 6 is a schematic design diagram of a main body of a content module of an Android system-based electrical technical manual platform according to the present invention;
fig. 7 is a schematic effect diagram of a text page of an electrical engineering technical manual platform based on an Android system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An Android system-based electrical technical manual platform comprises a starting module, a login module, a home page module, a main interface module and a content module, and is specifically shown in figure 1.
The starting module is used for firstly displaying a starting interface after a program runs, and transparency animation is added in the starting module, so that the starting interface can rotate and stay for 2 seconds and then automatically skip the login module through an Intent statement; the starting interface comprises a starting module title bar and a starting module content display area, the starting module title bar is composed of a motor picture and a platform name, and the starting module content display area is composed of a text control and an image control.
The login module comprises a registration component, a login component and an exit component; the layout file of the login interface is divided into a login module title bar and a login module content display area according to the interface, and the login module content display area consists of a text box, an edit box, a button and an image control;
the registration component is used for realizing the registration of an account by using a mailbox or a mobile phone number, setting a password with the length of 6-15 bits, and storing the registered account and the password as user information by using an SQLite database;
the login component has the following functions:
(1) inputting an account number;
(2) whether the account with the correct format is input is checked through a regular expression: if the input format is not correct, display "you input account with incorrect format! "; if the account is not input, logging in, and displaying 'please input the account'; if the input format is correct, displaying 'input password';
(3) inputting a password;
(4) judging whether the password with the correct format is input: the password length is set to 6-15 bits, and if the input length is incorrect, the password display shows that the password length input by you is not correct! "; if the password is not input, logging in, and displaying 'please input the password';
(5) judging whether the account number and the password are matched: if the input password is correct, the login is successful, and the home page module is skipped; if the entered account number and password do not match, the login fails, displaying "username or password error! "
The quit component realizes a dialog box for popping up whether to confirm quit or not through a showdialog function: clicking to confirm and quitting the platform; clicking to cancel, and returning to the login module executed before.
The home page module is a frame constructed by using a Framelayout frame layout, consists of 4 fragment fragments, and is a home page, a book page, a search page and an account page respectively;
the homepage is a module classification, which comprises four functional modules of introduction, video, picture query and help, and is specifically shown in fig. 2; the video function module is used for enabling a user to collect videos required or interested by the user into an account of the user so as to watch the videos at a later date; the picture query function module is used for quickly finding the detailed pictures stored in the SQlite picture folder and required by the user; the help function module is used for explaining the use method and the purpose of the platform for the user;
the book pages are used for displaying the manual contents according to various book formats, all the electric engineering manuals stored in the SQlite database of the platform are included, clicking details can jump to corresponding content interfaces, and the realized effect is shown in a figure 3;
the search page is provided with a search frame SearchView for a user to input related key words on the search page to quickly search the titles of all chapters of the manual contents stored in a SQlite database title folder; the search page can also monitor the content input by the search box through a TextWatcher function, realize intelligent reminding, and store and prompt 9 latest search history records of the user;
the account page is used for displaying detailed information of the user, including head portrait, user name, collection and message, and is specifically shown in fig. 4; the account quitting function is realized, and the user returns to the login module to realize the effect shown in the figure 5;
the account page can realize the self-defined setting of the head portrait and the user name of the user, and can realize the recording of the content of interest in the collecting column, and teachers and students can realize chat interaction, the discussion of academic problems, and the submission of experimental reports and operations in respective message columns through Socket data transmission; the implementation method comprises the following steps: establishing a TCP communication model based on Socket, and firstly declaring a Socket Server server side and a Socket client side; the SocketServer object of the server side is responsible for monitoring the network state in real time, waiting for the connection request of the client side, and receiving and reading the data of the client side; the Socket object of the client is responsible for indicating the address and the port number of the Socket of the server, establishing a thread, and then sending a connection request to the server to acquire data sent by the server. When the server monitors or receives a connection request of the client, a new thread is established in response to the socket request of the client, the description of the server is sent to the client, and once the client confirms the description, the server and the client formally establish connection; and the server side continues to be in the monitoring state and continues to receive the connection requests of other clients. Therefore, the Socket data transmission based on the TCP protocol is carried out.
The main interface module comprises an abstract component and an exit account component, wherein the abstract component is used for introducing the application range, the practicability and the content summarization of the platform; the log-out account component can realize the account log-out function and returns to the log-in module; the main interface module can realize clicking at any position on the screen and jump to a first chapter content interface; the main interface module stores the information of the user by using SharedPreference, and directly displays the main interface content without logging again when the application program is opened next time if the application program is directly logged out after the login is successful; this saves the user the time taken for a large number of repeated unnecessary operations.
The content module comprises a text page, a picture operation page and a directory page, and particularly refers to fig. 6;
the text page is used for displaying all contents of the electric technical manual stored in the SQlite database, and a return button is arranged at a title column to realize the function of returning to the previous interface, which is specifically shown in figure 7; if the contents are more and cannot be displayed in one interface at one time, nesting the layout managers, adding a scroll view, and facilitating the operation of the user, wherein the user can browse the contents of the manual by touching and sliding the screen of the mobile phone;
the directory page is created by calling menu resources provided in the Android and used for a user to quickly find and jump to a required content interface; the user pops up a directory page after clicking the menu option, can visually see the content titles of each chapter stored in the database, and directly jumps to a corresponding content interface after clicking the titles, so that the realized effect is shown in FIG. 7;
the picture operation page is used for enabling a user to have more visual experience and deeper understanding on the electrical technology; a series of codes are compiled by applying a Matrix concept, so that a user can click a picture to enter a picture operation interface, and the picture is subjected to any translation, zooming and rotation operations through a touch event on the picture operation interface; in the interface, the system creates a touch event, so that a user can view pictures more flexibly and more vividly, the pictures are vividly displayed for the user in a 2D and 3D mode, the pictures operate a return key of a title bar of the interface to realize the function of clicking a return content interface, and after return, the user can continue reading;
the codes for realizing image translation, zooming and rotation are as follows:
Figure BDA0002280896100000111
Figure BDA0002280896100000121
Figure BDA0002280896100000131
Figure BDA0002280896100000141
Figure BDA0002280896100000151
Figure BDA0002280896100000161
Figure BDA0002280896100000171
it should be understood that the above-described specific embodiments are merely illustrative of the present invention and are not intended to limit the present invention. Obvious variations or modifications which are within the spirit of the invention are possible within the scope of the invention.

Claims (5)

1. An Android system-based electrical technical manual platform is characterized by comprising a starting module, a login module, a home page module, a main interface module and a content module;
the starting module is used for realizing the functions of firstly displaying a starting interface and then automatically jumping to the login module through an Intent statement after a program runs; the starting interface comprises a starting module title bar and a starting module content display area, the starting module title bar is composed of a motor picture and a platform name, and the starting module content display area is composed of a text control and an image control;
the login module comprises a registration component, a login component and an exit component; the interface layout file of the login module is divided into a login module title bar and a login module content display area, and the login module content display area consists of a text box, an edit box, a button and an image control;
the registration component is used for realizing the functions of registering an account by using a mailbox or a mobile phone number, setting a password with the length of 6-15 bits, and storing the registered account and the password as user information by using an SQLite database;
the login component has the following functions:
(1) inputting an account number;
(2) whether the account with the correct format is input is checked through a regular expression: if the input format is incorrect, display "you input account with incorrect format! "; if the account is not input, logging in, and displaying 'please input the account'; if the input format is correct, displaying 'input password';
(3) inputting a password;
(4) judging whether the password with the correct format is input: the password length is set to 6-15 bits, if the input length is incorrect, the password display shows that the password length input by you is not correct! "; if the password is not input, logging in, and displaying 'please input the password';
(5) judging whether the account number and the password are matched: if the input password is correct, the login is successful, and the home page module is skipped; if the entered account number and password do not match, the login fails, displaying "username or password error! "
The quit component realizes a dialog box for popping up whether to confirm quit or not through a showdialog function: clicking to confirm and quitting the platform; clicking to cancel, and returning to the login module executed before;
the home page module is a frame constructed by using a Framelayout frame layout, consists of 4 fragment fragments, and is a home page, a book page, a search page and an account page respectively;
the homepage is a module classification which comprises four functional modules of introduction, video, picture inquiry and help; the video function module is used for enabling a user to collect videos required or interested by the user into an account of the user so as to watch the videos at a later date; the picture query function module is used for quickly finding the detailed pictures stored in the SQlite picture folder and required by the user; the help function module is used for explaining the use method and the purpose of the platform for the user;
the book pages are used for displaying the manual contents according to various book formats, all the electric engineering manuals stored in the SQlite database of the platform are included, and the clicking details can jump to the corresponding content interfaces;
the search page is provided with a search frame SearchView for a user to input related key words on the search page to quickly search the titles of all chapters of the manual contents stored in a SQlite database title folder; the search page can also monitor the content input by the search box through a TextWatcher function, realize intelligent reminding, and store and prompt the latest 9 search history records of the user;
the account page is used for displaying detailed information of the user, including head portrait, user name, collection and information, realizing the account exit function and returning to the login module;
the main interface module comprises an abstract component and an exit account component, wherein the abstract component is used for introducing the application range, the practicability and the content summarization of the platform; the log-out account component can realize the account log-out function and return to the log-in module;
the content module comprises a text page, a picture operation page and a directory page;
the text page is used for displaying all the contents of the electric technical manual stored in the SQlite database, and a return button is arranged at a title column to realize the function of returning to the previous interface; if the content is more and can not be displayed in one interface at one time, nesting the layout managers, adding a scroll view, and facilitating the operation of the user, wherein the user can browse the contents of the manual by touching and sliding the screen of the mobile phone;
the directory page is created by calling menu resources provided in the Android and used for a user to quickly search and jump to a required content interface; the user pops up a directory page after clicking the menu option, can visually see the content titles of all chapters stored in the database, and directly jumps to a corresponding content interface after clicking the titles;
the picture operation page is used for enabling a user to have more visual experience and deeper understanding on the electrical technology; a series of codes are compiled by applying a Matrix concept, so that a user can click a picture to enter a picture operation interface, and the picture is subjected to any translation, zooming and rotation operations through a touch event on the picture operation interface; in the interface, the system creates a touch event, so that a user can view pictures more flexibly and more vividly, the pictures are vividly displayed for the user in a 2D and 3D mode, the pictures operate a return key of a title bar of the interface to realize the function of clicking a return content interface, and after the return, the user can continue to read.
2. The Android system-based electrical technical manual platform as claimed in claim 1, wherein a transparency animation is added in the starting module, so that a starting interface can rotate, and automatically jump to a login interface through an Intent statement after staying for 2 seconds.
3. The Android system-based electrical technical manual platform as claimed in claim 1 or 2, wherein the account page can realize custom setting of a user's head portrait and a user name, and can realize recording of own interesting contents in a collection column, and teachers and students can realize chat interaction, discussion of academic problems, submission of experimental reports and operations in respective message columns through Socket data transmission; the implementation method comprises the following steps: establishing a TCP communication model based on Socket, and firstly declaring a Socket Server server side and a Socket client side; the SocketServer object of the server side is responsible for monitoring the network state in real time, waiting for the connection request of the client side, and receiving and reading the data of the client side; a Socket object of a client is responsible for indicating the address and port number of a Socket of a server, establishing a thread, and then sending a connection request to the server to acquire data sent by the server; when the server monitors or receives the connection request of the client, a new thread is established in response to the socket request of the client, the description of the server is sent to the client, and once the client confirms the description, the server and the client formally establish connection; the server side continues to be in a monitoring state and continues to receive connection requests of other clients; therefore, the Socket data transmission based on the TCP protocol is carried out.
4. The Android system-based electrical technical manual platform as claimed in claim 3, wherein the main interface module can realize clicking at any position on a screen to jump to a first chapter content interface.
5. The Android system-based electrical technical manual platform of claim 4, wherein the main interface module stores the user information by using SharedPreference, and directly displays the main interface content without logging in again when the application is opened next time if the application is directly logged out after logging in successfully, which saves time for a user to perform a large number of repeated unnecessary operations.
CN201911140884.XA 2019-11-20 2019-11-20 Android system-based electrical technical manual platform Withdrawn CN111045765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911140884.XA CN111045765A (en) 2019-11-20 2019-11-20 Android system-based electrical technical manual platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911140884.XA CN111045765A (en) 2019-11-20 2019-11-20 Android system-based electrical technical manual platform

Publications (1)

Publication Number Publication Date
CN111045765A true CN111045765A (en) 2020-04-21

Family

ID=70232464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911140884.XA Withdrawn CN111045765A (en) 2019-11-20 2019-11-20 Android system-based electrical technical manual platform

Country Status (1)

Country Link
CN (1) CN111045765A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114244979A (en) * 2021-12-02 2022-03-25 唐山开用网络信息服务有限公司 Law enforcement audio and video recording acquisition system and workstation manufacturing device
CN116996236A (en) * 2023-09-27 2023-11-03 北京安华金和科技有限公司 Database operation authentication processing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114244979A (en) * 2021-12-02 2022-03-25 唐山开用网络信息服务有限公司 Law enforcement audio and video recording acquisition system and workstation manufacturing device
CN116996236A (en) * 2023-09-27 2023-11-03 北京安华金和科技有限公司 Database operation authentication processing method and device
CN116996236B (en) * 2023-09-27 2023-12-12 北京安华金和科技有限公司 Database operation authentication processing method and device

Similar Documents

Publication Publication Date Title
US8365203B2 (en) Method for creating a native application for mobile communications device in real-time
WO2018187063A1 (en) Smarter copy/paste
Firtman jQuery Mobile: Up and Running: Up and Running
CN111045765A (en) Android system-based electrical technical manual platform
Standridge et al. TESS—the extended simulation support system
CN110633436A (en) Visualization and user-defined panorama editing method, system, storage medium and equipment
Hagino Practical Node-RED Programming: Learn powerful visual programming techniques and best practices for the web and IoT
US10430504B1 (en) Presenting document versions
Lippman Essential C++
Scott et al. Kafka in Action
CN111934985B (en) Media content sharing method, device, equipment and computer readable storage medium
US20230409814A1 (en) Document editing method and apparatus, device, and storage medium
Dinku React. js vs. Next. js
Huynh et al. Browser app approach: Can it be an answer to the challenges in cross-platform app development?
CN115640790A (en) Information processing method and device and electronic equipment
EP3896614A2 (en) Method and apparatus for labeling data
CN115081423A (en) Document editing method and device, electronic equipment and storage medium
CN113419711A (en) Page guiding method and device, electronic equipment and storage medium
CN112256241A (en) Framework and interface design scheme of cloud suite
CN106126048B (en) Method and device for inquiring contact information of mobile equipment
Allen et al. IPhone in action: Introduction to web and SDK development
KR20200051165A (en) Method of Internet Information Processing Automation in Internet Explorer
CN113704593B (en) Operation data processing method and related device
Moore et al. Python GUI Programming-A Complete Reference Guide: Develop responsive and powerful GUI applications with PyQt and Tkinter
Budhathoki et al. E-commerce website development for electronics store

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200421

WW01 Invention patent application withdrawn after publication