File backup method and system based on NFC technology and server
Automatically obtain the Web service link URL of the NAS terminal through NFC technology, and the client opens the service page for file backup, solving the problem of the need for the installation of APP and connection in the existing technology of mobile phone file backup, and realizing file backup with simple operation and no APP required. process.
Patent Information
- Application Number
- CN202411345002.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-12-20
AI Technical Summary
In the prior art, backup mobile phone files to NAS terminals requires the installation of a dedicated APP, which is costly to use and cumbersome to connect, which has a high learning cost and a threshold for ordinary users.
NFC technology is used to automatically obtain the Web service link URL of the NAS terminal. The client opens the service page through this link, selects local files for uploading, and realizes file backup.
There is no need to install the APP, and the operation is simple. Users only need to move the client close to the NAS terminal to complete the backup, reducing the difficulty of use and learning costs.
Smart Images

Figure CN119166427A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technologies, and in particular to a file backup method, system, and server based on NFC technology. Background Art
[0002] A NAS terminal is a network storage device used for centralized data storage, backup, and management, providing cross-platform file sharing and data protection. As an efficient data storage and management solution, NAS terminals have broad application prospects for individuals and businesses.
[0003] Currently, the main technical solutions for backing up mobile phone files to NAS terminals are: 1. Pre-install the NAS terminal-specific app on the mobile phone; 2. After the NAS terminal is turned on, it reports the local area network IP and port information to the server; 3. Collect and connect to the WiFi in the same local area network as the NAS terminal; 4. The app obtains NAS access information (IP, port) from the server; 5. The app uses the obtained IP and port to establish a connection with the NAS terminal and then perform file backup and transfer.
[0004] The above file backup method has the following defects: the mobile phone must be installed with a dedicated NAS terminal app to realize the function of transferring and backing up files to the NAS terminal; the usage cost is high and there is a lack of lightweight usage methods; the process of establishing a connection between the mobile phone and the NAS terminal is cumbersome, and there is a certain learning cost and usage threshold for ordinary users.
[0005] Near Field Communication (NFC) is an emerging technology that enables devices (such as mobile phones) to exchange data when they are in close proximity. It is an evolution of contactless radio frequency identification (RFID) and interconnection technologies. By integrating the functions of an inductive card reader, inductive card, and point-to-point communication on a single chip, it enables mobile payment, electronic ticketing, access control, mobile identity recognition, anti-counterfeiting, and other applications using mobile terminals. Using NFC technology for mobile phone backup can greatly simplify its use.
[0006] Therefore, a file backup technical solution based on NFC technology is needed to solve the above problems. Summary of the Invention
[0007] In order to address the shortcomings of the existing technology, the present application provides a file backup method, system and server based on NFC technology. After automatically obtaining the Web service link URL of the NAS terminal using NFC technology, the client automatically opens the service page according to the Web service link URL, and completes the file backup by operating the service page.
[0008] The technical effects to be achieved by this application are achieved through the following solutions: According to a first aspect of the present application, a file backup method based on NFC technology is provided, comprising the following steps: Step 1: The client moves close to the NFC tag of the NAS terminal to obtain the address in the NFC tag; Step 2: The client opens the service page of the NAS terminal according to the address; Step 3: Select the local file of the client through the service page to upload, and write it to the local disk of the NAS terminal for storage.
[0009] Preferably, the address is a Web service link URL, and the Web service link URL is a local area network access link URL.
[0010] Preferably, in step 2, the client opens the Web service page of the NAS terminal through a direct connection to the local area network.
[0011] Preferably, the Web service link URL is composed of the NAS terminal IP, port and Web service context information.
[0012] Preferably, in step 1, the NAS terminal starts a Web service process, writes the Web service link URL into the NFC tag, and monitors the port in real time.
[0013] Preferably, the Web service page is an H5 page.
[0014] Preferably, the client is a terminal capable of initiating HTTPS requests, H5 page rendering, and NFC tag reading.
[0015] According to a second aspect of the present application, a file backup system using the above-mentioned file backup method based on NFC technology is provided, comprising a client and a NAS terminal, wherein The client stores files to be backed up, and is used to open a web service page of the NAS terminal and upload the files to be backed up; The NFC tag of the NAS terminal stores a web service link URL for opening the web service page, which is used to store the file to be backed up.
[0016] Preferably, the client and the NAS terminal are in the same local area network.
[0017] According to a third aspect of the present application, there is provided a server, comprising: a memory and at least one processor; The memory stores a computer program, and the at least one processor executes the computer program stored in the memory to implement the above-mentioned file backup method based on NFC technology.
[0018] According to one embodiment of the present application, the beneficial effect of using the file backup method based on NFC technology is that: it is only necessary to bring the client storing the files to be backed up close to the NAS terminal to open the corresponding operation page, and the backup can be completed by selecting the files to be backed up on the operation page. There is no need to install the corresponding APP and set up a complex connection environment. The operation is simple and convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the existing technical solutions, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] Figure 1 This is a flowchart of a file backup method based on NFC technology in one embodiment of the present application; Figure 2 This is a structural block diagram of a file backup system based on NFC technology in one embodiment of the present application; Figure 3 This is a structural block diagram of a server in an embodiment of the present application. DETAILED DESCRIPTION
[0021] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0022] like Figure 1 As shown, the file backup method based on NFC technology in one embodiment of the present application includes the following steps: Step 1: The client moves close to the NFC tag of the NAS terminal to obtain the address in the NFC tag; In this step, the client generally refers to a terminal that has the ability to initiate HTTPS requests, render H5 pages, and read NFC tags, such as smartphones, tablets, and other devices; A NAS terminal is a terminal device connected to the network with data storage capabilities. The terminal is pre-installed with an NFC tag and is capable of tag reading. At the same time, the terminal also needs to be able to run web services.
[0023] This address is the Web service link URL, which is the LAN access link URL. It is composed of the NAS terminal IP, port, and Web service context information. The link URL information is then written into the NFC tag in the NAS terminal.
[0024] NAS terminal IP is the LAN IP address of the NAS terminal, which is used to access and manage the NAS terminal within the LAN; The designated port is used to carry out data exchange between the client and the NAS terminal; Web service context information is the contextual environment used to encapsulate and process Web requests in Web applications. It contains all HTTP-specific information during the life cycle of the request and is used to manage global settings, shared data, and static resources in Web applications.
[0025] For example, if the NAS terminal IP is 192.168.0.100, the port is 18080, and the Web service context is cloud / index.html, the assembled URL information is: https: / / 192.168.0.100:18080 / cloud / index.html When the NAS terminal is started, it will start the Web service process, set a fixed LAN IP address (i.e., the NAS terminal IP), and listen to a fixed port (port). The fixed port is the port that is included in the Web service link URL.
[0026] Step 2: The client opens the service page of the NAS terminal according to the address; In this step, the client uses a browser to access the Web service link URL obtained from the NFC tag and opens the Web service page provided by the NAS terminal through a direct connection to the LAN.
[0027] The web service page is an H5 page, a web application with richer functions and better user experience, providing a richer interactive experience, suitable for mobile devices, and further facilitating backup operations.
[0028] The H5 page has a file selection input box, which can browse the files stored in the client through a drop-down menu. It can also include a list of uploaded files, an upload file button, a download file button, etc. The file can be a photo, video, document or program code, etc. After selecting the file to be backed up, click Upload to automatically upload it.
[0029] Step 3: Select the local file of the client through the service page to upload, and write it to the local disk of the NAS terminal for storage.
[0030] In this step, the user directly operates the H5 page and selects the client's local files according to the instructions. The Web service will upload the selected local files and eventually back them up to the local disk of the NAS terminal.
[0031] like Figure 2 As shown, an embodiment of the present application discloses a file backup system using the above-mentioned NFC-based file backup method, including a client and a NAS terminal, wherein: The client stores the files to be backed up and is used to open the NAS terminal's web service page and upload the files to be backed up. It has the ability to initiate HTTPS requests, render H5 pages, and read NFC tags, such as mobile phones, tablets, smart watches, and other devices.
[0032] The NFC tag of the NAS terminal stores a URL for opening the web service page, which is used to store the files to be backed up. The terminal is pre-installed with an NFC tag and is enabled for tag reading, and the terminal has the ability to run the web service.
[0033] The client and the NAS terminal are in the same local area network. When the client is close to the NFC tag of the NAS terminal, it can automatically read the Web service link URL stored in the NFC tag and open the corresponding Web service page through the local area network. The file upload and storage can be completed by following the instructions.
[0034] like Figure 3 As shown, a server in an embodiment of the present application includes: a memory 301 and at least one processor 302; The memory 301 stores a computer program, and the at least one processor 302 executes the computer program stored in the memory 301 to implement the above-mentioned file backup method based on NFC technology.
[0035] According to this embodiment, the beneficial effect of using this NFC-based file backup method is that: it is only necessary to bring the client storing the files to be backed up close to the NAS terminal to open the corresponding operation page, and the backup can be completed by selecting the files to be backed up on the operation page. There is no need to install the corresponding APP and set up a complex connection environment, and the operation is simple and convenient.
[0036] It should be noted that the above detailed description is exemplary and is intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this application belongs.
[0037] It should be noted that the terms used herein are intended only to describe specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.
[0038] It should be noted that the terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, such that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0039] In addition, the terms "comprises" and "comprising" and any variations thereof are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, product, or apparatus.
[0040] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used herein to describe the spatial positional relationship of a device or feature to other devices or features as shown in the figures. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figures. For example, if the device in the drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be subsequently positioned as "below other devices or structures" or "below other devices or structures". Thus, the exemplary term "above" can include both "above" and "below". The device can also be positioned in other different ways, such as rotated 90 degrees or in other orientations, and the spatially relative descriptions used herein are interpreted accordingly.
[0041] In the above detailed description, reference is made to the accompanying drawings, which form a part hereof. In the drawings, similar symbols typically identify similar components, unless the context dictates otherwise. The illustrated embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be used, and other changes may be made, without departing from the spirit or scope of the subject matter presented herein.
[0042] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A file backup method based on NFC technology, characterized in that: The steps include: Step 1: The client moves close to the NFC tag of the NAS terminal to obtain the address in the NFC tag; Step 2: The client opens the service page of the NAS terminal according to the address; Step 3: Select the local file of the client through the service page to upload, and write it to the local disk of the NAS terminal for storage.
2. The file backup method based on NFC technology according to claim 1, characterized in that: The address is a Web service link URL, and the Web service link URL is a local area network access link URL.
3. The file backup method based on NFC technology according to claim 2, characterized in that: In step 2, the client opens the Web service page of the NAS terminal through a direct connection to the local area network.
4. The file backup method based on NFC technology according to claim 2, characterized in that: The Web service link URL is composed of the NAS terminal IP, port and Web service context information.
5. The file backup method based on NFC technology according to claim 3, characterized in that: In step 1, the NAS terminal starts the Web service process, writes the Web service link URL into the NFC tag, and monitors the port in real time.
6. The file backup method based on NFC technology according to claim 3, characterized in that: The web service page is an H5 page.
7. The file backup method based on NFC technology according to claim 1, characterized in that: The client is a terminal that has the ability to initiate HTTPS requests, H5 page rendering capabilities, and NFC tag reading capabilities.
8. A file backup system using the NFC-based file backup method according to any one of claims 1 to 7, characterized in that: Includes client and NAS terminals, including: The client stores files to be backed up, and is used to open a web service page of the NAS terminal and upload the files to be backed up; The NFC tag of the NAS terminal stores a web service link URL for opening the web service page, which is used to store the file to be backed up.
9. The file backup system according to claim 8, characterized in that: The client and the NAS terminal are in the same local area network.
10. A server, characterized in that: include: memory and at least one processor; The memory stores a computer program, and the at least one processor executes the computer program stored in the memory to implement the file backup method based on NFC technology according to any one of claims 1 to 7.
