CN112887411B - Local area network data transmission system, method, computer device and storage medium - Google Patents
Local area network data transmission system, method, computer device and storage medium Download PDFInfo
- Publication number
- CN112887411B CN112887411B CN202110130832.5A CN202110130832A CN112887411B CN 112887411 B CN112887411 B CN 112887411B CN 202110130832 A CN202110130832 A CN 202110130832A CN 112887411 B CN112887411 B CN 112887411B
- Authority
- CN
- China
- Prior art keywords
- resource
- app
- dimensional code
- service
- client
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a local area network data transmission system, a method, computer equipment and a storage medium; the method comprises the following steps: a resource storage device and a resource receiving device; the resource storage equipment is provided with a resource service APP and an interactive display APP; the resource receiving equipment is provided with a client APP; deploying a transmission path of the resource storage device and the resource receiving device; the interactive display APP is used for generating a two-dimensional code according to the resource information; the client APP is used for scanning the two-dimensional code to acquire the resource information; sending a resource request to the resource service APP according to the resource information, and receiving and storing a corresponding resource file of the resource service APP; according to the embodiment of the application, the resource transmission and downloading speeds of the resource storage device and the resource receiving device are improved, and the problem that the resource downloading speed is slow due to the influence of an environment network when an external server is used is avoided.
Description
Technical Field
The embodiment of the application relates to the technical field of data transmission, in particular to a local area network data transmission system, a local area network data transmission method, computer equipment and a storage medium.
Background
At present, readers are arranged in most libraries, bookstores and other places, a user can read an electronic book through the readers, a cover of the electronic book is displayed in a screen of the reader for the user to click and read, and the user can also request to obtain corresponding electronic book resources by scanning two-dimensional codes in the cover; however, because the existing reader and scanning terminal use an external server, when the network signal of the use environment is not good, the user cannot send a request, or the resource downloading speed is slow due to the influence of the network speed, and the user experience is influenced.
Disclosure of Invention
Embodiments of the present application provide a system and a method for local area network data transmission, a computer device, and a storage medium, so as to solve the problem in the prior art that a resource downloading speed may be slow due to the use of an external server.
In a first aspect, an embodiment of the present application provides a local area network data transmission system, including: a resource storage device and a resource receiving device; the resource storage device and the resource receiving device perform data transmission through a preset transmission path;
the resource storage equipment is provided with a resource service APP and an interactive display APP; the resource receiving equipment is provided with a client APP;
deploying a transmission path of the resource storage device and the resource receiving device;
the interactive display APP is used for generating a two-dimensional code according to the resource information;
the client APP is used for scanning the two-dimensional code to obtain the resource information; and sending a resource request to the resource service APP according to the resource information, and receiving and storing a corresponding resource file of the resource service APP.
Further, the resource storage device is also provided with a resource service self-starting APP; and starting the resource service APP through the resource service self-starting APP.
In a second aspect, an embodiment of the present application provides a local area network data transmission method, which is implemented based on the above local area network data transmission system, and the method includes the following steps:
deploying a transmission path of the resource storage device and the resource receiving device;
the interactive display APP generates a two-dimensional code according to the resource information;
the client APP scans the two-dimensional code to acquire the resource information;
and the client APP sends a resource request to the resource service APP according to the resource information, and receives and stores a corresponding resource file of the resource service APP.
Further, the interactive display APP generates a two-dimensional code according to the resource information, including:
generating an installation package containing the configuration file of the interactive display APP; (ii) a
After the interactive display APP is installed according to the installation package, resource information in the configuration file is obtained and imported into a storage database;
and generating the resource information into the two-dimensional code according to a two-dimensional code generation rule.
Further, the generating the resource information into the two-dimensional code according to the two-dimensional code generating rule includes:
the resource information comprises book basic information, book serial number ID, book classification ID and a downloading path;
and acquiring the resource information from a storage database, and generating a two-dimensional code from the public network domain name, the book number ID and the book classification ID.
Further, the deploying the transmission path of the resource storage device and the resource receiving device includes:
the resource service APP comprises a resource service application, and the resource service application is installed and authorized and then opened;
confirming service starting through a UI (user interface) of the resource service APP, and completing deployment of the resource storage device when the browser of the resource service APP tests that service operation is successful;
correspondingly configuring a data transmission port and an IP address of the client APP;
and if the browser test configuration of the client APP is successful, completing the deployment of the transmission paths of the resource storage device and the resource receiving device.
Further, the client APP sends a resource request to the resource service APP according to the resource information, and receives and stores a corresponding resource file of the resource service APP, including:
the client APP analyzes the resource information to obtain a book number ID and a book classification ID;
inquiring a client database according to the obtained book serial number ID and the book classification ID, acquiring a corresponding download path, and generating a download link by the download path and the IP address;
and downloading and storing the corresponding resource file of the resource service APP according to the downloading link.
Further, the scanning of the two-dimensional code by the client APP to obtain the resource information includes:
and the client APP scans the two-dimensional code and analyzes the two-dimensional code to acquire the resource information.
In a third aspect, embodiments of the present application provide a computer device, including a memory and one or more processors;
the memory to store one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the local area network data transmission method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing the method for local area network data transmission according to the first aspect when executed by a computer processor.
In the embodiment of the application, the resource storage device and the resource receiving device perform data transmission through a preset transmission path, the client APP scans the two-dimensional code of the resource storage device to obtain resource information, the resource information is sent to the resource service APP according to the resource information, and the file information of the resource service APP is received to download files; therefore, the resource transmission and downloading speed of the resource storage device and the resource receiving device is improved, and the problem of low resource downloading speed caused by the influence of an environment network when an external server is used is solved.
Drawings
Fig. 1 is a schematic structural diagram of a local area network data transmission system according to an embodiment of the present application;
fig. 2 is a flowchart of a local area network data transmission method according to an embodiment of the present application;
fig. 3 is a flowchart of another local area network data transmission method according to an embodiment of the present application;
fig. 4 is a flowchart of another local area network data transmission method provided in an embodiment of the present application;
fig. 5 is a flowchart of another local area network data transmission method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application are described in detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The local area network data transmission system provided by the application scans the two-dimensional code of the resource storage equipment through the client APP to acquire resource information through the transmission path of the resource storage equipment and the resource receiving equipment, sends a resource request to the resource service APP according to the resource information, and receives the file information of the resource service APP to download files; therefore, the resource transmission and downloading speed of the resource storage device and the resource receiving device is improved, and the problem of low resource downloading speed caused by the influence of an environment network when an external server is used is solved; currently, readers are arranged in most libraries, bookstores and other places, a user can read an electronic book through the readers, a cover displaying the electronic book in a screen of the reader is clicked by the user for reading, and the user can also request to acquire a corresponding electronic book resource by scanning a two-dimensional code in the cover; however, because the existing reader and scanning terminal use an external server, when the network signal of the use environment is not good, the user cannot send a request, or the resource downloading speed is slow due to the influence of the network speed, and the user experience is influenced.
Therefore, the local area network data transmission system provided by the embodiment of the application is provided to avoid the problem that the resource downloading speed is slow due to the use of an external server in the prior art.
Fig. 1 is a schematic structural diagram of a local area network data transmission system according to an embodiment of the present application. With reference to fig. 1, the system comprises in particular: a resource storage device 10 and a resource receiving device 20; the resource storage device is provided with a resource service APP12, a resource service self-starting APP11 and an interactive display APP13; the resource receiving equipment is provided with a client APP21; and the resource storage device and the resource receiving device carry out data transmission through a preset transmission path.
The resource service APP is started, the resource service self-starting APP is a starting self-starting application of android native realization, the starting resource service APP can be realized through the starting self-starting APP, and the limitation that an android terminal cannot self-start system-level service is broken through.
Wherein a transmission path of the resource storage device and the resource receiving device is deployed; the interactive display APP is used for generating a two-dimensional code 14 according to the resource information and a two-dimensional code generation algorithm, and meanwhile, the interactive display APP is also used for displaying the generated two-dimensional code; the client APP is used for scanning the two-dimensional code to acquire the resource information; and sending a resource request to the resource service APP according to the resource information, and receiving and storing a corresponding resource file of the resource service APP.
Optionally, the transmission path for deploying the resource storage device and the resource receiving device is specifically that the resource service APP includes a resource service application and an operating environment required by the application, and successful deployment of the resource service APP can be achieved by installing the resource service APP through the resource service application; generally, the resource service APP is installed, and the resource service APP is deployed by executing general android APP installation steps, namely installation, authorization and application opening. After the resource service APP is deployed, whether the service is started or not can be confirmed through a UI (user interface) of the resource service APP, if the service is started, the resource service APP is deployed successfully, the running condition of the service can be tested through a browser of the resource service APP, and if the service is tested to run successfully, the resource service APP is deployed successfully. And configuring a data transmission port and an IP address of the client APP, wherein the configured port and the IP address of the client APP correspond to the port and the IP address of the resource service APP, so that data transmission of the client APP and the resource service APP is realized. And if the browser test configuration of the client APP is successful, completing the deployment of the transmission paths of the resource storage device and the resource receiving device. Optionally, whether the port and the IP address of the client APP are successfully configured may be tested by the browser of the client APP, and if the configuration is successful, the transmission path deployment of the resource service APP and the client APP is completed, that is, the transmission path deployment of the resource storage device and the resource receiving device is completed.
Optionally, the resource storage device may be a reader, and a resource service APP, a resource service self-starting APP, and an interactive display APP are installed in the reader, so that the resource service APP is deployed as a resource server, a local area network resource transmission service is built, and transmission with the resource receiving device is achieved.
Optionally, the resource storage device may also be composed of a separate resource server and a reader, where a resource service APP and a resource service self-starting APP are installed in the resource server, and a client APP is installed in the reader, so as to deploy the resource server, build a local area network resource transmission service, and implement transmission with the resource receiving device.
It is understood that the resource storage device may also be a computer, a mobile phone, a tablet, a television, etc. of the android system.
Optionally, the resource receiving device may be a reading tablet, or may be a mobile phone with an android system and the like, which has a camera code scanning function and other various devices.
For example, in the embodiment of the application, a reader is taken as a carrier of a resource server as an example, the reader is provided with an interactive display APP, and the interactive display APP displays a two-dimensional code picture generated by a resource storage device on a corresponding book cover; the resource receiving terminal scans the two-dimensional code picture on the reader by using the code scanning function of the client APP, analyzes the two-dimensional code picture to obtain resource information, and sends a resource request to the resource storage terminal; after receiving the resource request, the resource transmission service of the resource storage end indexes the local file and sends file data to the resource receiving end; the resource receiving end receives the file data returned by the resource transmission service and stores the file data to the local; the file data is an electronic book resource and comprises text, audio, video and the like.
Specifically, in order to realize the resource file transmission of the resource storage device and the resource receiving device, the transmission paths of the resource storage device and the resource receiving device need to be deployed first, and generally, a wireless connection between the resource storage device and the resource receiving device is established, wherein the wireless connection has multiple modes, and can be realized through WiFi connection and through setting ports and IP addresses corresponding to the resource storage device and the resource receiving device; the wireless connection between the two is deployed, so that the problem that the downloading speed of resources is too slow or the downloading cannot be carried out due to the fact that an external server is easily influenced by an external environment network when used is avoided.
Specifically, a database of the resource storage device stores various information and file data of books, and the interactive display APP generates two-dimensional codes according to the resource information of the books; the two-dimensional code of the resource storage device is scanned through the client side APP, namely the two-dimensional code generated by the interactive display APP is scanned, and the client side APP analyzes the two-dimensional code and acquires the resource information.
Exemplarily, a configuration file containing resource information is packaged into an installation package of an interactive display APP, and after the interactive display APP is installed according to the installation package, the resource information is imported into a storage database in the configuration file provided by the installation package; the resource information includes book basic information, book number ID, book classification ID, download path (i.e. relative path of download address), and other information, where each piece of data has a unique data label, and optionally, the book basic information includes information such as book name and author. Optionally, the two-dimensional code generation conditions are multiple, each data entered into the database may be correspondingly generated into a two-dimensional code, the two-dimensional code is associated with the book and displayed on a main page or a brief introduction page of the book, or the two-dimensional code may be generated when it is detected that the user browses the brief introduction page of the book, so as to scan the code to obtain the e-book resources. Optionally, the two-dimensional code is generated by querying resource information of the book from the database, acquiring a book name and an ID generation list thereof, and generating the resource information of the book into the two-dimensional code according to a two-dimensional code generation rule.
The client scans the two-dimensional code of the resource storage device and analyzes the two-dimensional code to obtain resource information, then processes the resource information to obtain a resource request, sends the resource request to a resource service APP, the resource service APP sends a corresponding resource file to the client APP after receiving the resource request, and the client APP receives and stores the resource file, so that the resource file can be read or audio and video can be played; therefore, an external server is not required to be used, and the downloading speed of the resource is improved. The resource files are electronic books and can be in formats such as texts, audio or videos, illustratively, the received resource files have files in the formats of the texts, the audio and the videos, and a user can select the files in the corresponding formats to read according to requirements, so that the user experience is improved.
Illustratively, the resource information includes book basic information, a book number ID, a book classification ID, and a download path; scanning the two-dimensional code by the APP of the client side, analyzing the two-dimensional code to obtain resource information, and analyzing the resource information according to a preset analysis rule to obtain a corresponding book number ID and a book classification ID; it should be understood that, in the embodiments of the present application, the parsing rule is not limited.
The client side APP inquires a client side database according to the obtained book number ID and the book classification ID, wherein data stored in the client side database are data packets input during configuration of the resource service APP and the client side APP, or the data packets request to be sent according to the resource service APP during initialization, and optionally the data packets comprise download paths; the method comprises the steps of inquiring a client database, obtaining a download path corresponding to a book number ID and a book classification ID, and generating a download link by a client APP through the download path and an IP address; the client APP downloads the corresponding resource file of the resource service APP according to the obtained download link, namely the client APP sends a resource request to the resource service APP; after receiving the resource request, the resource service APP indexes the file of the database, acquires the resource file corresponding to the resource request, and sends the resource file to the client side APP, and the client side APP stores and downloads the file for the user to read; the resource request may include a book number ID, a book classification ID, an IP address and port of the client APP, a download path, and the like.
The resource information is obtained by deploying the transmission path of the resource storage device and the resource receiving device and scanning the two-dimensional code of the resource storage device through the client APP, the resource request is sent to the resource service APP according to the resource information, and the file information of the resource service APP is received to download the file; therefore, the resource transmission and downloading speed of the resource storage device and the resource receiving device is improved, and the problem of low resource downloading speed caused by the influence of an environment network when an external server is used is solved.
On the basis of the foregoing embodiments, an embodiment of the present application further provides a local area network data transmission method, and fig. 2 is a flowchart of the local area network data transmission method provided in the embodiment of the present application. Referring to fig. 2, the local area network data transmission method provided in this embodiment includes the following steps:
110. and deploying the transmission path of the resource storage device and the resource receiving device.
Optionally, in the embodiment of the present application, a reader is taken as an example of a carrier of a resource server, that is, the resource storage device of the embodiment is a reader.
In order to realize resource file transmission of the resource storage device and the resource receiving device, a transmission path of the resource storage device and a transmission path of the resource receiving device need to be deployed first, generally, wireless connection between the resource storage device and the resource receiving device is established, wherein the wireless connection has multiple modes, can be realized through WiFi connection, and can be realized through setting ports and IP addresses corresponding to the resource storage device and the resource receiving device; the wireless connection between the two is deployed, so that the problem that the downloading speed of resources is too slow or the downloading cannot be carried out due to the fact that an external server is easily influenced by an external environment network when used is avoided.
120. And the interactive display APP generates a two-dimensional code according to the resource information.
Specifically, the resource storage device is provided with a resource service APP, a resource service self-starting APP and an interactive display APP; starting the resource service APP through the resource service self-starting APP; the database of the resource storage device stores various information and file data of books, and the interactive display APP generates two-dimensional codes according to the resource information of the books.
130. And the client APP scans the two-dimensional code to acquire the resource information.
Specifically, the resource receiving device is provided with a client side APP, the two-dimensional code of the resource storage device is scanned through the client side APP, namely the two-dimensional code generated by the interactive display APP is scanned, and the client side APP analyzes the two-dimensional code to obtain the resource information.
140. And the client APP sends a resource request to the resource service APP according to the resource information, and receives and stores a corresponding resource file of the resource service APP.
Specifically, after scanning and analyzing a two-dimensional code of the resource storage device to obtain resource information, the client processes the resource information to obtain a resource request, sends the resource request to a resource service APP, the resource service APP sends a corresponding resource file to the client APP after receiving the resource request, and the client APP receives and stores the resource file, so that the resource file can be read; therefore, an external server is not required to be used, and the downloading speed of the resource is improved.
The resource files are electronic books and can be in formats such as texts, audio or videos, for example, the received resource files have files in the formats of the texts, the audio and the videos, a user can select the files of the corresponding types to read or play according to requirements, and the texts comprise full texts of books or related comment books; the audio and video files comprise electronic book audio readings or reading videos of experts of the books, so that the experience of a user is improved, and the reading is electronized and diversified.
Fig. 3 is a flowchart of another local area network data transmission method according to an embodiment of the present application. Referring to fig. 3, the local area network data transmission method provided in this embodiment includes the following steps:
1101. the resource service APP comprises a resource service application, and the resource service application is installed and authorized and then opened.
Optionally, the resource service APP includes a resource service application and an operating environment required by the application, and successful deployment of the resource service APP can be achieved by installing the resource service APP through the resource service application; generally, the resource service APP is installed, and the resource service APP is deployed by executing general android APP installation steps, namely installation, authorization and application opening.
1102. And confirming service starting through the UI interface of the resource service APP, and completing deployment of the resource storage device when the browser of the resource service APP tests that the service is successfully operated.
Optionally, after the deployment of the resource service APP is completed, whether the service is started or not may be determined through a UI interface of the resource service APP, if the service is started, it is described that the deployment of the resource service APP is successful, and if the service is tested to be successful, it is described that the deployment of the resource service APP is successful.
1103. And correspondingly configuring the data transmission port and the IP address of the client APP.
Optionally, a data transmission port and an IP address of the client APP are configured, where the configured port and the IP address of the client APP correspond to a port and an IP address of the resource service APP, so as to implement data transmission between the client APP and the resource service APP.
1104. And if the browser test configuration of the client APP is successful, completing the deployment of the transmission paths of the resource storage device and the resource receiving device.
Optionally, whether the port and the IP address of the client APP are successfully configured may be tested by the browser of the client APP, and if the configuration is successful, the deployment of the transmission path between the resource service APP and the client APP is completed, that is, the deployment of the transmission path between the resource storage device and the resource receiving device is completed.
Fig. 4 is a flowchart of another local area network data transmission method according to an embodiment of the present application. Referring to fig. 4, the local area network data transmission method provided in this embodiment includes the following steps:
1201. and generating an installation package containing the configuration file of the interactive display APP.
1202. And after the interactive display APP is installed according to the installation package, acquiring resource information in the configuration file and importing the resource information into a storage database.
Specifically, a configuration file containing resource information is packaged into an installation package of an interactive display APP, and after the interactive display APP is installed according to the installation package, the resource information is imported into a storage database in the configuration file provided by the installation package; the resource information includes book basic information, book number ID, book classification ID, download path (i.e. relative path of download address), and other information, where each piece of data has a unique data label, and optionally, the book basic information includes information such as book name and author.
1203. And generating the resource information into a two-dimensional code according to a two-dimensional code generation rule and displaying the two-dimensional code on a corresponding book cover.
Optionally, the two-dimensional code generation conditions are multiple, each data entered into the database may be correspondingly generated into a two-dimensional code, the two-dimensional code is associated with the book and displayed on a main page or a brief introduction page of the book, or the two-dimensional code may be generated when it is detected that the user browses the brief introduction page of the book, so as to scan the code to obtain the e-book resources.
Optionally, the two-dimensional code is generated by first querying the resource information of the book from the database, acquiring the name of the book and an ID generation list thereof, and generating the resource information of the book into the two-dimensional code according to a two-dimensional code generation rule.
Optionally, after the two-dimensional code is generated by the interactive display APP, the two-dimensional code needs to be sent to the display area of the book for display, wherein the two-dimensional code is sent to the display area of the book by the interactive display APP, it can be understood that the two-dimensional code file can be sent to the display area of the book by the interactive display APP in the form of the two-dimensional code file, a user can click the two-dimensional code file to scan the two-dimensional code, and a two-dimensional code picture can be sent to the display area of the book for display in the form of the two-dimensional code picture.
Fig. 5 is a flowchart of another local area network data transmission method according to an embodiment of the present application. Referring to fig. 5, the method for transmitting data in a local area network according to this embodiment includes the following steps:
1401. and the client APP analyzes the resource information to obtain a book number ID and a book classification ID.
Optionally, the resource information includes book basic information, book number ID, book classification ID, and download path; scanning the two-dimensional code by the APP at the client side, analyzing the two-dimensional code to obtain resource information, and analyzing the resource information according to a preset analysis rule to obtain a corresponding book serial number ID and a book classification ID; it should be understood that the parsing rule is not limited in the embodiments of the present application.
1402. And querying a client database according to the obtained book number ID and the book classification ID to obtain a corresponding download path, and generating a download link by the download path and the IP address.
Specifically, the client side APP queries a client side database according to the obtained book serial number ID and the book classification ID, wherein data stored in the client side database are data packets input during configuration of the resource service APP and the client side APP, or data packets requested to be sent according to the resource service APP during initialization, and optionally, the data packets include a download path; the method comprises the steps of inquiring a client database, obtaining a downloading path corresponding to a book number ID and a book classification ID, and generating a downloading link by the downloading path and an IP address through a client APP.
1403. And downloading and storing the corresponding resource file of the resource service APP according to the downloading link.
Specifically, the client-side APP downloads a resource file corresponding to the resource service APP according to the obtained download link, namely the client-side APP sends a resource request to the resource service APP, the resource service APP indexes the file of the storage database after receiving the resource request, the resource file corresponding to the resource request is obtained and then sent to the client-side APP, and the client-side APP stores and downloads the file for reading by a user; the resource request may include a book number ID, a book classification ID, an IP address and port of the client APP, a download path, and the like.
On the basis of the above embodiment, the local area network data transmission method may further be embodied as: the generating the resource information into the two-dimensional code according to the two-dimensional code generating rule includes:
the resource information comprises basic book information, book number IDs, book classification IDs and download paths;
and acquiring the resource information from a storage database, and generating a two-dimensional code from the public network domain name, the book number ID and the book classification ID.
Specifically, the resource service APP acquires resource information from a storage database, namely basic information of books, book serial number IDs, book classification IDs and download paths are acquired respectively, and the public network domain name, the book serial number IDs and the book classification IDs are combined with the public network domain name of the resource service APP to generate two-dimensional codes; alternatively, the two-dimensional code can be displayed on the front cover, the introduction face or other customized areas of the book in a picture mode.
On the basis of the above embodiment, the local area network data transmission method may further be embodied as: the client APP scans the two-dimensional code to acquire the resource information, and the method comprises the following steps:
and the client APP scans the two-dimensional code and analyzes the two-dimensional code to acquire the resource information.
Optionally, the client APP obtains corresponding resource information by scanning the two-dimensional code of the code resource storage device and analyzing the scanned two-dimensional code; and the client APP sends the resource request resource service APP according to the resource information, and receives and stores the corresponding resource file of the resource service APP.
Illustratively, when a user needs to obtain an electronic book of a reader, a book of the electronic book needs to be obtained is searched, a two-dimensional code on the book is scanned, a file of the electronic book can be received, and the file of the electronic book can be downloaded and stored for reading.
The embodiment of the application also provides a computer device, and the computer device can integrate the local area network data transmission system provided by the embodiment of the application. Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application. Referring to fig. 6, the computer apparatus includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 for storing one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 41 are enabled to implement the local area network data transmission method provided by the above embodiment. The input device 43, the output device 44, the memory 42 and the processor 41 may be connected by a bus or other means, and fig. 6 illustrates the connection by the bus as an example.
The processor 41 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory 42, namely, implements the above-mentioned local area network data transmission method.
The computer device provided above can be used to execute the local area network data transmission method provided in the above embodiments, and has corresponding functions and advantages.
Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a local area network data transmission method, including: deploying a transmission path of the resource storage device and the resource receiving device; the two-dimensional code APP interactively displays the APP to generate a two-dimensional code according to the resource information; the client APP scans the two-dimensional code to acquire the resource information; and the client APP sends a resource request to the resource service APP according to the resource information, and receives and stores a corresponding resource file of the resource service APP.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, lanbas (Rambus) RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage media" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the above-mentioned local area network data transmission method, and may also perform related operations in the local area network data transmission method provided in any embodiment of the present application.
The local area network data transmission system, the storage medium, and the computer device provided in the above embodiments may execute the local area network data transmission method provided in any embodiment of the present application, and refer to the local area network data transmission method provided in any embodiment of the present application without detailed technical details described in the above embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.
Claims (7)
1. A local area network data transmission system, comprising: a resource storage device and a resource receiving device; the resource storage device and the resource receiving device perform data transmission through a preset transmission path;
the resource storage equipment is provided with a resource service APP and an interactive display APP; the resource receiving equipment is provided with a client APP;
the interactive display APP is used for generating a two-dimensional code according to resource information, and the interactive display APP comprises: generating an installation package containing the configuration file of the interactive display APP;
after the interactive display APP is installed according to the installation package, resource information in the configuration file is obtained and imported into a storage database;
generating the resource information into a two-dimensional code according to a two-dimensional code generation rule;
the resource service APP is used for receiving resource requests and sending resource files to the client APP;
the client APP is used for scanning the two-dimensional code to obtain the resource information; sending a resource request to the resource service APP according to the resource information, and receiving and storing a resource file sent by the resource service APP;
the resource storage equipment is also provided with a resource service self-starting APP; and starting the resource service APP through the resource service self-starting APP.
2. A local area network data transmission method implemented based on the local area network data transmission system of claim 1, the method comprising the steps of:
deploying a transmission path of the resource storage device and the resource receiving device, comprising: the resource service APP comprises a resource service application, and the resource service application is installed and authorized and then opened;
confirming service starting through a UI (user interface) of the resource service APP, and testing that service operation is successful through a browser of the resource service APP, so that the resource storage device is deployed;
correspondingly configuring a data transmission port and an IP address of the client APP;
if the browser test configuration of the client APP is successful, the transmission path deployment of the resource storage device and the resource receiving device is completed;
the resource storage equipment is also provided with a resource service self-starting APP; starting the resource service APP through the resource service self-starting APP;
the interactive display APP generates a two-dimensional code according to the resource information, wherein the interactive display APP comprises: generating an installation package containing the configuration file of the interactive display APP;
after the interactive display APP is installed according to the installation package, resource information in the configuration file is obtained and imported into a storage database;
generating the resource information into a two-dimensional code according to a two-dimensional code generation rule;
the client APP scans the two-dimensional code to obtain the resource information;
and the client APP sends a resource request to the resource service APP according to the resource information, and receives and stores a corresponding resource file of the resource service APP.
3. The method for transmitting data in local area network according to claim 2, wherein the generating the resource information into the two-dimensional code according to the two-dimensional code generation rule includes:
the resource information comprises book basic information, book serial number ID, book classification ID and a downloading path;
and acquiring the resource information from a storage database, and generating a two-dimensional code by using the public network domain name, the book serial number ID and the book classification ID.
4. The lan data transmission method according to claim 2 or 3, wherein the sending, by the client APP, a resource request to the resource service APP according to the resource information, and receiving and storing a corresponding resource file of the resource service APP comprises:
the client APP analyzes the resource information to obtain a book number ID and a book classification ID;
inquiring a client database according to the obtained book serial number ID and the book classification ID, acquiring a corresponding download path, and generating a download link by the download path and the IP address;
and downloading and storing the corresponding resource file of the resource service APP according to the downloading link.
5. The method for transmitting data over a local area network according to claim 2, wherein the scanning, by the client APP, of the two-dimensional code to obtain the resource information includes:
and the client APP scans the two-dimensional code, analyzes the two-dimensional code and acquires the resource information.
6. A computer device, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of local area network data transmission according to any one of claims 2-5.
7. A storage medium containing computer-executable instructions for performing a method for local area network data transmission as claimed in any one of claims 2 to 5 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110130832.5A CN112887411B (en) | 2021-01-29 | 2021-01-29 | Local area network data transmission system, method, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110130832.5A CN112887411B (en) | 2021-01-29 | 2021-01-29 | Local area network data transmission system, method, computer device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112887411A CN112887411A (en) | 2021-06-01 |
CN112887411B true CN112887411B (en) | 2023-04-07 |
Family
ID=76052062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110130832.5A Active CN112887411B (en) | 2021-01-29 | 2021-01-29 | Local area network data transmission system, method, computer device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112887411B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106899653A (en) * | 2016-08-09 | 2017-06-27 | 阿里巴巴集团控股有限公司 | Document transmission method and device |
CN111355731A (en) * | 2020-02-28 | 2020-06-30 | 北京奇艺世纪科技有限公司 | Resource access method, device, resource access system, equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789463A (en) * | 2011-05-16 | 2012-11-21 | 洛阳磊石软件科技有限公司 | Data sharing method between electronic devices and electronic devices |
CN103873692B (en) * | 2014-03-21 | 2017-01-11 | 天脉聚源(北京)传媒科技有限公司 | Method, device and system for resource sharing |
CN107547517B (en) * | 2017-07-25 | 2020-04-17 | 高斯贝尔数码科技股份有限公司 | Audio and video program recording method, network equipment and computer device |
CN110727887B (en) * | 2019-09-17 | 2022-08-16 | 武汉鼎森电子科技有限公司 | Book link processing method based on two-dimensional code |
CN112069430B (en) * | 2020-09-22 | 2023-01-06 | 深圳市欢太科技有限公司 | Quick application preview method and device, electronic equipment and storage medium |
-
2021
- 2021-01-29 CN CN202110130832.5A patent/CN112887411B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106899653A (en) * | 2016-08-09 | 2017-06-27 | 阿里巴巴集团控股有限公司 | Document transmission method and device |
CN111355731A (en) * | 2020-02-28 | 2020-06-30 | 北京奇艺世纪科技有限公司 | Resource access method, device, resource access system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112887411A (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018223717A1 (en) | Webpage front-end testing method, device, system, apparatus and readable storage medium | |
CN109062563B (en) | Method and device for generating page | |
KR102045602B1 (en) | Live tiles without application-code execution | |
CN101611611A (en) | Content distribution management device, terminal, program and content delivering system | |
CN103581706B (en) | The application installation method of intelligent television and system | |
CN105989083B (en) | Method and device for switching access environment | |
CN101645815B (en) | Video and audio file download prompt method | |
CN111694757B (en) | Application program testing method and device, electronic equipment and computer readable storage medium | |
CN106547769B (en) | DOI display method and device | |
CN111813685B (en) | Automatic test method and device | |
CN109815105A (en) | Applied program testing method and device based on Btrace | |
WO2023000952A1 (en) | Mailbox-based bill processing | |
CN110362488A (en) | A kind of page test method, device, electronic equipment and storage medium | |
CN110968331A (en) | Method and device for running application program | |
EP4300303A1 (en) | Animation resource information processing method and apparatus, device, medium and product | |
Chang et al. | Developing mobile applications on the Android platform | |
CN112764838A (en) | Target content display method and device and electronic equipment | |
CN106681767A (en) | Method and device for adding light applications | |
CN110489326B (en) | IDS-based HTTPAPI debugging method device, medium and equipment | |
CN112887411B (en) | Local area network data transmission system, method, computer device and storage medium | |
CN111078654B (en) | Method and device for sharing information | |
CN112083982B (en) | Information processing method and device | |
CN116756016A (en) | Multi-browser testing method, device, equipment, medium and program product | |
CN107247661B (en) | Method and system for supporting automatic verification of installation package of application | |
CN115080109A (en) | Multi-cloud-end environment joint debugging method, device, system and equipment based on hybrid development |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |