Method and device for loading NAS (Network Attached Storage) application
By obtaining and updating the target address of the NAS device, stable data loading is achieved when the connection changes, solving the problem of data loss of NAS application and improving the user experience.
Patent Information
- Application Number
- CN202510210775.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-07-11
AI Technical Summary
When the connection method between NAS devices and other devices is changed, the NAS application data loading in the prior art is unstable and easily lost, resulting in the inability to continue to use.
By obtaining the target device address of the client, updating the target address based on the local parsing service, and sending an application data request, receiving the application data in a preset way after receiving the response information to complete the loading.
Improves the loading reliability of NAS application data, avoids interruption or restart of applications, and improves user experience.
Smart Images

Figure CN120301925A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer networks, and in particular, to a method and device for loading NAS applications. Background Art
[0002] NAS (Network Attached Storage) is a special dedicated data storage server for data storage and file sharing. By separating the storage device from the server and centrally managing data, it helps users cope with the problem of rapid data growth in the big data era.
[0003] After other devices establish a connection with the NAS device, the other devices can access the NAS applications installed in the NAS device. However, during the process of using other devices to access NAS applications, if the connection method changes, it may cause the opened suites to be unable to continue to be used, that is, the NAS applications cannot be used through other devices. In view of the above problems, in the existing solutions, local random ports are usually used for proxy, but this method is prone to losing the transmitted application data.
[0004] Therefore, it is particularly important to propose a technical solution that can reduce the possibility of losing application data while improving the loading reliability of NAS application data, so as to achieve smooth, efficient, and accurate loading of NAS applications. Summary of the Invention
[0005] The present invention provides a method and device for loading NAS applications, which can reduce the possibility of losing application data while improving the loading reliability of NAS application data, so as to achieve smooth, efficient, and accurate loading of NAS applications.
[0006] To solve the above technical problems, a first aspect of the present invention discloses a method for loading a NAS application, wherein the NAS application is installed in a NAS device, and the NAS device is communicatively connected to a target device to enable the target device to access the NAS application. The method includes:
[0007] Obtain a target device address corresponding to a client; wherein the client is installed on the target device;
[0008] Based on the started local parsing service, update the target address according to the target device address;
[0009] Send an application data request for the NAS application to the NAS device according to the target address;
[0010] When receiving response information indicating successful request for the application data request, receive the application data corresponding to the application data request based on a preset data receiving method, so as to complete application loading on the client.
[0011] As an optional implementation manner, in the first aspect of the present invention, the method further includes:
[0012] Determine whether the target device corresponding to the client meets a preset device connection condition;
[0013] When it is determined that the target device corresponding to the client meets the device connection condition, trigger the operation of obtaining the device address of the target device corresponding to the client;
[0014] Wherein, the target device address is the device address of the target device in the current network connection mode.
[0015] As an optional implementation manner, in the first aspect of the present invention, the determining whether the target device corresponding to the client meets a preset device connection condition includes:
[0016] Determine the network connection information corresponding to the target device; the network connection information includes network connection status, network connection mode, and network environment information accessed by the target device;
[0017] Determine whether the network connection status indicates that the target device is successfully connected for the first time or whether the network connection mode has changed or whether the network environment information has changed;
[0018] When it is determined that the network connection status indicates that the target device is successfully connected for the first time or the network connection mode has changed or the network environment information has changed, determine that the target device corresponding to the client meets the preset device connection condition;
[0019] When it is determined that the network connection status does not indicate that the target device is successfully connected for the first time and the network connection mode has not changed and the network environment information has not changed, determine that the target device corresponding to the client does not meet the preset device connection condition.
[0020] As an optional implementation manner, in the first aspect of the present invention, the method further includes:
[0021] After the client is started, start the local parsing service corresponding to the client based on the main process corresponding to the client;
[0022] Configure the local service corresponding to the client based on the local parsing service;
[0023] Based on the local parsing service, a device address monitoring service is set up, and the device address monitoring service is used to monitor the device address of the target device;
[0024] Among them, obtaining the target device address corresponding to the client includes:
[0025] Based on the device address monitoring service, monitor the current device address of the target device;
[0026] When it is monitored that the current device address is different from the device address monitored last time, determine the current device address as the target device address corresponding to the client.
[0027] As an optional implementation manner, in the first aspect of the present invention, configuring the local service corresponding to the client based on the local parsing service includes:
[0028] Based on the local parsing service, obtain the locally available ports corresponding to the target device;
[0029] Based on the local parsing service, create the local server corresponding to the client and the local service address corresponding to the local server according to the locally available ports;
[0030] Based on the local parsing service, determine the local domain name address, and set the local host according to the local service address and the local domain name address to resolve the address to be resolved to the local server; the address to be resolved is the local domain name address;
[0031] Start the local service provided by the local server.
[0032] As an optional implementation manner, in the first aspect of the present invention, sending an application data request for the NAS application to the NAS device according to the target address includes:
[0033] Update the local service according to the target address;
[0034] When it is detected that the application loader corresponding to the client transmits a loading request for the NAS application to the local server, call the local service based on the local server; the loading request includes the resource complete address; the resource complete address records the domain name address and the file path; the file path is used to point to the storage space storing the application data of the NAS application that needs to be loaded;
[0035] Modify the local domain name address in the address to be resolved corresponding to the local service to the target address to obtain the target resolved address;
[0036] Based on the local service, an application data request is generated according to the target resolution address and the file path, and the application data request is sent to the NAS device.
[0037] As an optional implementation manner, in the first aspect of the present invention, receiving the application data corresponding to the application data request based on a preset data receiving manner to complete application loading on the client includes:
[0038] Based on the local server corresponding to the client, receiving the data packets of the NAS application regarding the application data request in a streaming manner as the application data corresponding to the application data request;
[0039] Based on the local server, transmitting the application data to the application loader corresponding to the client to complete application loading on the client;
[0040] In addition, the method further includes:
[0041] When receiving the response information regarding the application data request indicating that the request fails, receiving the error information corresponding to the response information and generating a processing measure corresponding to the error information; the processing measure is used to handle the error situation corresponding to the error information.
[0042] The second aspect of the present invention discloses a loading device for a NAS application, wherein the NAS application is installed in a NAS device, and the NAS device is communicatively connected to a target device to enable the target device to access the NAS application. The device includes:
[0043] An acquisition module, configured to acquire the address of the target device corresponding to the client; wherein the client is installed on the target device;
[0044] An update module, configured to update the target address based on the started local parsing service according to the target device address;
[0045] A sending module, configured to send an application data request regarding the NAS application to the NAS device according to the target address;
[0046] A receiving module, configured to, when receiving the response information regarding the application data request indicating that the request is successful, receive the application data corresponding to the application data request based on a preset data receiving manner to complete application loading on the client.
[0047] As an optional implementation manner, in the second aspect of the present invention, the device further includes:
[0048] A judgment module, configured to judge whether a target device corresponding to the client meets a preset device connection condition; when it is judged that the target device corresponding to the client meets the device connection condition, trigger the obtaining module to execute the operation of obtaining the device address of the target device corresponding to the client;
[0049] Wherein, the target device address is the device address of the target device under the current network connection mode.
[0050] As an optional implementation manner, in the second aspect of the present invention, the specific manner in which the judgment module judges whether the target device corresponding to the client meets the preset device connection condition includes:
[0051] Determine the network connection information corresponding to the target device; the network connection information includes a network connection status, a network connection mode, and network environment information accessed by the target device;
[0052] Judge whether the network connection status is used to indicate that the target device is successfully connected for the first time, or whether the network connection mode is changed, or whether the network environment information is changed;
[0053] When it is judged that the network connection status is used to indicate that the target device is successfully connected for the first time, or the network connection mode is changed, or the network environment information is changed, determine that the target device corresponding to the client meets the preset device connection condition;
[0054] When it is judged that the network connection status is not used to indicate that the target device is successfully connected for the first time, the network connection mode is not changed, and the network environment information is not changed, determine that the target device corresponding to the client does not meet the preset device connection condition.
[0055] As an optional implementation manner, in the second aspect of the present invention, the device further includes:
[0056] A start module, configured to start a local parsing service corresponding to the client based on the main process corresponding to the client after the client is started;
[0057] A configuration module, configured to configure a local service corresponding to the client based on the local parsing service;
[0058] A setting module, configured to set a device address monitoring service based on the local parsing service, and the device address monitoring service is used to monitor the device address of the target device;
[0059] Wherein, the specific manner in which the obtaining module obtains the device address of the target device corresponding to the client includes:
[0060] Based on the device address monitoring service, monitor the current device address of the target device;
[0061] When it is monitored that the current device address is different from the device address monitored last time, determine the current device address as the target device address corresponding to the client.
[0062] As an alternative implementation manner, in the second aspect of the present invention, the specific manner in which the configuration module configures the local service corresponding to the client based on the local parsing service includes:
[0063] Based on the local parsing service, obtain the locally available port corresponding to the target device;
[0064] Based on the local parsing service, create a local server corresponding to the client and a local service address corresponding to the local server according to the locally available port;
[0065] Based on the local parsing service, determine the local domain name address, and set the local host according to the local service address and the local domain name address to resolve the address to be resolved to the local server; the address to be resolved is the local domain name address;
[0066] Start the local service provided by the local server.
[0067] As an alternative implementation manner, in the second aspect of the present invention, the specific manner in which the sending module sends an application data request regarding the NAS application to the NAS device according to the target address includes:
[0068] Update the local service according to the target address;
[0069] When it is detected that the application loader corresponding to the client transmits a loading request regarding the NAS application to the local server, call the local service based on the local server; the loading request includes a resource complete address; the resource complete address records a domain name address and a file path; the file path is used to point to a storage space storing the application data of the NAS application to be loaded;
[0070] Modify the local domain name address in the address to be resolved corresponding to the local service to the target address to obtain a target resolved address;
[0071] Based on the local service, generate an application data request according to the target resolved address and the file path, and send the application data request to the NAS device.
[0072] As an alternative implementation, in the second aspect of the present invention, the receiving module receives the application data corresponding to the application data request based on a preset data receiving method, and the specific method for completing the application loading on the client includes:
[0073] Based on the local server corresponding to the client, streamingly receive the data packets of the NAS application regarding the application data request as the application data corresponding to the application data request;
[0074] Based on the local server, transmit the application data to the application loader corresponding to the client to complete the application loading on the client;
[0075] In addition, when receiving the response information regarding the application data request indicating a request failure, the receiving module also receives the error information corresponding to the response information and generates a processing measure corresponding to the error information; the processing measure is used to handle the error situation corresponding to the error information.
[0076] The third aspect of the present invention discloses another loading device for a NAS application, and the device includes:
[0077] A memory storing executable program code;
[0078] A processor coupled to the memory;
[0079] The processor calls the executable program code stored in the memory and executes some or all of the steps of the NAS application loading method disclosed in the first aspect of the present invention.
[0080] The fourth aspect of the present invention discloses a computer storage medium, and the computer storage medium stores computer instructions which, when called, are used to execute some or all of the steps of the NAS application loading method disclosed in the first aspect of the present invention.
[0081] Compared with the prior art, the present invention has the following beneficial effects:
[0082] It can be seen that implementing the present invention can obtain the target device address corresponding to the client, then update the target address based on the target device address, and then send an application data request for the NAS application to the NAS device according to the target address. If a response message indicating successful request is received, the application data is received based on a preset data reception method to achieve application loading. The NAS application can be loaded using the obtained target device address, thereby reducing the possibility of loss of application data while improving the loading reliability of NAS application data. Furthermore, it is beneficial to achieve smooth, efficient, and accurate loading of the NAS application, avoid interrupting the use of the NAS application or restarting the application when the user is using the opened NAS application, make the user unaware of the process of loading the NAS application on the client, improve the user experience of loading and using the NAS application on the client, and further improve the user experience of using the NAS device. BRIEF DESCRIPTION OF THE DRAWINGS
[0083] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0084] Figure 1 It is a flowchart of a method for loading a NAS application disclosed in an embodiment of the present invention;
[0085] Figure 2 It is a flowchart of another method for loading a NAS application disclosed in an embodiment of the present invention;
[0086] Figure 3 It is a flowchart of yet another method for loading a NAS application disclosed in an embodiment of the present invention;
[0087] Figure 4 It is a structural diagram of a device for loading a NAS application disclosed in an embodiment of the present invention;
[0088] Figure 5 It is a structural diagram of another device for loading a NAS application disclosed in an embodiment of the present invention;
[0089] Figure 6 It is a structural diagram of yet another device for loading a NAS application disclosed in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0090] To enable those skilled in the art to better understand the solution of the present invention, the following will clearly and completely describe the technical solution in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0091] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product or terminal comprising a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or terminals.
[0092] Referring to "embodiment" herein means that a specific feature, structure or characteristic described in connection with the embodiment may be included in at least one embodiment of the present invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
[0093] The present invention discloses a method and device for loading a NAS application. By obtaining the target device address corresponding to the client, then updating the target address based on the target device address, and then sending an application data request for the NAS application to the NAS device according to the target address. If a response message indicating successful request is received, the application data is received based on a preset data reception method to achieve application loading. It can load the NAS application using the obtained target device address, thereby reducing the possibility of loss of application data while improving the loading reliability of NAS application data. Furthermore, it is conducive to achieving smooth, efficient and accurate loading of the NAS application, avoiding interruption or restart of the application when the user uses the opened NAS application, making the user unaware of the process of loading the NAS application on the client, improving the user experience of loading and using the NAS application on the client, and further being conducive to improving the user experience of using the NAS device. The following will be described in detail respectively.
[0094] Embodiment 1
[0095] Please refer to Figure 1 , Figure 1: is a flowchart of a method for loading a NAS application disclosed in an embodiment of the present invention. Figure 1 The described NAS application loading method can be applied to a NAS application loading device, which can include one of a smart device, a smart terminal, a smart system and a server, wherein the server can include a local server or a cloud server, which is not limited in the embodiment of the present invention; further, the loading device can be installed with a client associated with the NAS application, and the client can run on the operating system configured by the loading device, wherein the NAS application is an application installed on a NAS (Network Attached Storage) device, which is not limited in the embodiment of the present invention. Figure 1 As shown, the NAS application is installed in the NAS device, and the NAS device is connected to a target device for communication so that the target device can access the NAS application. The loading method of the NAS application may include the following operations:
[0096] 101. Obtain the target device address corresponding to the client.
[0097] In the embodiment of the present invention, the client needs to access the NAS application installed on the NAS device, and the client is installed on the target device; wherein the target device address is the device address of the target device; optionally, the target device address may be the latest device address of the target device, which is not limited in the embodiment of the present invention. Wherein, illustratively, when the network connection method of the target device is to connect using the device IP, the target device address may be the device IP, such as: an address in the format of 192.168.XX, which is not limited in the embodiment of the present invention.
[0098] In an embodiment of the present invention, optionally, the client may include a combination of one or more of a rendering process, a main process, a local resolution service, a local server, and an application loader, which is not limited in the embodiment of the present invention; wherein the rendering process is a process responsible for displaying the application UI (User Interface), and the user's operation instructions for the client can be received through the rendering process; the main process is responsible for managing the entire client application life cycle, such as: starting and closing the application, that is, the client can be started through the main process; the application loader is a container for loading the suite, which can be implemented by iframe technology, which is not limited in the embodiment of the present invention. Among them, exemplarily, when the client to which the loading method of the NAS application is applied includes a rendering process, a main process, a local resolution service, a local server, and an application loader, the process of the loading method of the NAS application can be referred to. Figure 3 ,in, Figure 3 It is a flowchart of another NAS application loading method disclosed in an embodiment of the present invention.
[0099] 102. Based on the started local parsing service, update the target address according to the target device address.
[0100] In an embodiment of the present invention, the local parsing server may be the local parsing service corresponding to the client; the target address is the address that the local parsing service needs to parse. Optionally, the target address may be updated to the target device address, which is not limited in the embodiments of the present invention.
[0101] 103. According to the target address, send an application data request for the NAS application to the NAS device.
[0102] In an embodiment of the present invention, the above application data request is used to request the application data of the NAS application, where the application data may include resource files corresponding to various types of application resources, which is not limited in the embodiments of the present invention; optionally, based on the local server corresponding to the client, according to the target address, send an application data request for the NAS application to the NAS device, which is not limited in the embodiments of the present invention.
[0103] 104. When receiving response information indicating a successful request for the application data request, receive the application data corresponding to the application data request based on a preset data receiving method to complete application loading on the client.
[0104] In an embodiment of the present invention, optionally, based on the local server corresponding to the client and a preset data receiving method, receive the application data corresponding to the application data request to complete application loading on the client, which is not limited in the embodiments of the present invention; optionally, the data receiving method may be streaming reception or other data receiving methods, which is not limited in the embodiments of the present invention.
[0105] It can be seen that implementing the method described in the embodiments of the present invention can update the target address based on the target device address obtained for the client, then send an application data request for the NAS application to the NAS device according to the target address. If response information indicating a successful request is received, receive the application data based on a preset data receiving method to achieve application loading, and can load the NAS application using the obtained target device address, thereby reducing the possibility of loss of application data while improving the loading reliability of NAS application data, and further facilitating smooth, efficient and accurate loading of the NAS application, avoiding interruption or restart of the application when the user uses the opened NAS application, making the user unaware of the process of loading the NAS application on the client, improving the user experience of loading and using the NAS application on the client, and further facilitating the improvement of the user experience of using the NAS device.
[0106] In an optional embodiment, the method may further include the following operations:
[0107] Determine whether the target device corresponding to the client meets the preset device connection conditions;
[0108] When it is determined that the target device corresponding to the client meets the device connection conditions, trigger the operation of obtaining the address of the target device corresponding to the client.
[0109] Optionally, the target device address may be the device address of the target device in the current network connection mode.
[0110] It can be seen that this optional embodiment can execute the operation of obtaining the target device address when it is determined that the target device corresponding to the client meets the device connection conditions, which can improve the execution accuracy of the operation of obtaining the target device address and is beneficial to improving the execution accuracy of the subsequent NAS application data loading operation.
[0111] In this optional embodiment, optionally, determining whether the target device corresponding to the client meets the preset device connection conditions may include the following operations:
[0112] Determine the network connection information corresponding to the target device; the network connection information includes the network connection status, the network connection mode, and the network environment information accessed by the target device;
[0113] Determine whether the network connection status is used to indicate that the target device is successfully connected for the first time, or whether the network connection mode has changed, or whether the network environment information has changed;
[0114] When it is determined that the network connection status is used to indicate that the target device is successfully connected for the first time, or the network connection mode has changed, or the network environment information has changed, determine that the target device corresponding to the client meets the preset device connection conditions;
[0115] When it is determined that the network connection status is not used to indicate that the target device is successfully connected for the first time, the network connection mode has not changed, and the network environment information has not changed, determine that the target device corresponding to the client does not meet the preset device connection conditions.
[0116] Among them, the target device can be connected to different network environments through network connection methods; optionally, the network connection method can be one of connecting through a local area network IP (Internet Protocol Address), connecting through a public network IP, connecting through UGLINK (a protocol developed and implemented by UGREEN for connecting devices), connecting through DDNS (Dynamic Domain Name Server), connecting through P2P (Peer-to-Peer), or other network connection methods, which are not limited in the embodiments of the present invention.
[0117] Among them, optionally, the network environment information may include the network environment identifier of the network environment accessed by the target device (for example: hotspot networks with different names / addresses, which are actually different wireless networks) and / or the type of the network environment accessed by the target device, which are not limited in the embodiments of the present invention.
[0118] Among them, exemplarily, if the network connection status is used to indicate that the target device has successfully connected to the network for the first time / has logged in to the network for the first time after the client is started, or the type of the network environment accessed by the target device changes from a local area network type to a P2P type, it is determined that the target device meets the pre-set device connection conditions, which are not limited in the embodiments of the present invention.
[0119] It can be seen that this optional embodiment can also determine that the target device meets the device connection conditions when it is determined that the network connection status of the target device is used to indicate that the target device has successfully connected for the first time or the network connection method of the target device has changed or the network environment information of the target device has changed, so as to trigger the operation of obtaining the target device address. When the network connection of the target device changes, the target device address can be re-obtained, and the NAS application can be loaded based on the latest device address after the network connection changes in subsequent operations. This can improve the flexibility and accuracy of judging whether the target device meets the device connection conditions, thereby facilitating further improving the execution accuracy of the operation of obtaining the target device address, facilitating improving the execution accuracy of the subsequent operation of loading NAS application data, and further facilitating improving the stability and reliability of the subsequent operation of loading NAS application data when the network connection situation changes. Furthermore, it is conducive to realizing smooth, efficient and accurate loading of the NAS application, avoiding interrupting the user's use of the NAS application or requiring the user to restart the client application when the network connection situation changes, realizing that the user is unaware of the process of the client loading the NAS application when the device connection changes, and further facilitating improving the user experience of loading and using the NAS application on the client.
[0120] In this optional embodiment, optionally, the method may further include the following operations:
[0121] Based on the rendering process corresponding to the client, detect whether there is a network connection change instruction triggered by the user;
[0122] When it is detected that there is a network connection change instruction triggered by the user, trigger an operation to determine whether the target device corresponding to the client meets the pre-set device connection conditions.
[0123] Optionally, the network connection change instruction can be used to switch the network connection mode of the target device and / or switch the network environment with different network environment identifiers accessed by the target device and / or switch the network environment type accessed by the target device. The embodiments of the present invention do not make limitations.
[0124] Exemplarily, when it is detected that the user triggers an instruction to switch the current connected network environment type from a local area network type to a public network type / an instruction to switch the currently connected wireless network named "ABC" to a wireless network named "XYZ", trigger the above operation to determine whether the target device corresponding to the client meets the pre-set device connection conditions. The embodiments of the present invention do not make limitations.
[0125] It can be seen that this optional embodiment can, when detecting that there is a network connection change instruction triggered by the user based on the rendering process corresponding to the client, execute an operation to determine whether the target device meets the device connection conditions, and can, when identifying that the network connection situation of the device may be changed due to user operations, timely execute an operation to determine whether the target device meets the preset conditions, which is beneficial to further improving the execution accuracy and timeliness of the operation of obtaining the target device address, thereby being beneficial to further improving the loading timeliness of NAS application data, and further being beneficial to further improving the loading fluency and loading accuracy of the NAS application.
[0126] Embodiment Two
[0127] Please refer to Figure 2 , Figure 2 is a schematic flowchart of a method for loading a NAS application disclosed in an embodiment of the present invention. Among them, Figure 2 The described method for loading a NAS application can be applied to a loading device for a NAS application. The loading device can include one of a smart device, a smart terminal, a smart system, and a server. Among them, the server can include a local server or a cloud server. The embodiments of the present invention do not make limitations; further, the loading device can be installed with a client associated with the NAS application, and the client can run on the operating system configured by the loading device. Among them, the NAS application is an application program installed on a NAS device. The embodiments of the present invention do not make limitations. As Figure 2As shown in the figure, where the NAS application is installed in the NAS device, and the NAS device is communicatively connected to a target device to enable the target device to access the NAS application. The loading method of the NAS application may include the following operations:
[0128] 201. After the client is started, based on the main process corresponding to the client, start the local parsing service corresponding to the client.
[0129] 202. Based on the local parsing service, configure the local service corresponding to the client.
[0130] 203. Based on the local parsing service, set up the device address monitoring service.
[0131] In an embodiment of the present invention, the device address monitoring service is used to monitor the device address of the target device.
[0132] 204. Based on the device address monitoring service, monitor the current device address of the target device.
[0133] 205. When it is monitored that the current device address is different from the previously monitored device address, determine the current device address as the target device address corresponding to the client.
[0134] In an embodiment of the present invention, the client needs to access the NAS application installed in the NAS device, and the client is installed on the target device.
[0135] In an embodiment of the present invention, optionally, the current device address of the target device may be obtained through the rendering process, and then the current device address may be transmitted to the local parsing service through the main process. When it is monitored through the local parsing service that the current device address is different from the previously monitored device address, the current device address is determined as the target device address corresponding to the client. The embodiment of the present invention does not make any limitations.
[0136] 206. Based on the already started local parsing service, update the target address according to the target device address.
[0137] 207. According to the target address, send an application data request for the NAS application to the NAS device.
[0138] 208. When the response information for the application data request is received to indicate that the request is successful, receive the application data corresponding to the application data request based on the pre-set data receiving method to complete the application loading on the client.
[0139] In an embodiment of the present invention, for other detailed descriptions of steps 206 - 208, please refer to the detailed descriptions of steps 102 - 104 in Embodiment 1. The embodiment of the present invention will not repeat them here.
[0140] It can be seen that implementing the method described in the embodiments of the present invention can obtain the target device address corresponding to the client, then update the target address based on the target device address, and then send an application data request for the NAS application to the NAS device according to the target address. If a response message indicating successful request is received, the application data is received based on a preset data reception method to implement application loading. The NAS application can be loaded using the obtained target device address, thereby reducing the possibility of application data loss while improving the loading reliability of NAS application data. Furthermore, it is beneficial to achieve smooth, efficient, and accurate loading of the NAS application, avoid interrupting the use of the opened NAS application or restarting the application when the user uses it, and make the user unaware of the process of loading the NAS application on the client, improving the user experience of loading and using the NAS application on the client, and further improving the user experience of using the NAS device. In addition, after the client is started, the local parsing service can be started first, then the local service can be configured, and then the device address listening service can be set based on the local parsing service. When it is monitored that the current device address is different from the previously monitored device address, the current device address is determined as the target device address. By configuring the local service and the device address listening service, the listening efficiency and accuracy of the device address of the target device can be improved, which is beneficial to improving the determination accuracy of the target device address while improving the reception accuracy and reliability of NAS application data. Furthermore, it is beneficial to smoothly and accurately receive application data based on a reliable local service, further reducing the possibility of application data loss, and further improving the loading reliability of NAS application data.
[0141] In an optional embodiment, configuring the local service corresponding to the client based on the local parsing service may include the following operations:
[0142] Based on the local parsing service, obtain the locally available port corresponding to the target device;
[0143] Based on the local parsing service, create a local server corresponding to the client and a local service address corresponding to the local server according to the locally available port;
[0144] Based on the local parsing service, determine the local domain name address, and set the local host according to the local service address and the local domain name address to resolve the address to be resolved to the local server; where the address to be resolved is the local domain name address;
[0145] Start the local service provided by the local server.
[0146] Wherein, the locally available port may be an unoccupied port among all the ports of the target device.
[0147] Exemplarily, the local service address may be 127.0.0.1:[Port], where [Port] is the above-mentioned locally available port, which is not limited in the embodiments of the present invention.
[0148] Exemplarily, the local domain name address may be: app: / / abcd.xyz, which is not limited in the embodiments of the present invention.
[0149] Among them, the local host may be localhost (meaning "local host"); further, the local host can be set by recording the local service address and the local domain name address in the Hosts file in the target device, which is not limited in the embodiments of the present invention.
[0150] Among them, optionally, after starting the local service provided by the local server, the local service waits to be called, which is not limited in the embodiments of the present invention.
[0151] It can be seen that this optional embodiment can obtain the locally available port corresponding to the target device based on the local resolution service, create a local server and the corresponding local service address based on the locally available port, then set the local host according to the local service address and the determined local domain name address to resolve the local domain name address to the local server, and then start the local service provided by the local server. In this way, compared with the prior art that uses a random port and makes the domain name address constantly change through the constantly changing port, it is easy to lose application data. However, the solution described in this embodiment can access all the random ports under the complete address corresponding to the domain name when loading data by resolving the local domain name address, so as to be able to load the application data stored in each port, which is conducive to further reducing the possibility of losing application data, further improving the loading reliability of NAS application data, and ensuring the integrity of NAS application data.
[0152] In this optional embodiment, optionally, sending an application data request for the NAS application to the NAS device according to the target address may include the following operations:
[0153] Update the local service according to the target address;
[0154] When it is detected that the application loader corresponding to the client transmits a loading request for the NAS application to the local server, call the local service based on the local server; where the loading request includes a resource complete address; the resource complete address records a domain name address and a file path; the file path is used to point to the storage space storing the application data of the NAS application that needs to be loaded;
[0155] Modify the local domain name address in the address to be resolved corresponding to the local service to the target address to obtain a target resolution address;
[0156] Based on the local service, generate an application data request according to the target resolution address and the file path, and send the application data request to the NAS device.
[0157] Optionally, the loading request may include a resource address packet, which may include multiple complete resource addresses. The embodiments of the present invention do not make limitations in this regard.
[0158] Optionally, the above domain name address may be a local domain name address or a domain name address of the NAS application for the resource to be requested. The embodiments of the present invention do not make limitations in this regard.
[0159] Exemplarily, the complete resource address may be [Domain Name] / app1 / 123.mp4, where [Domain Name] is the above domain name address, and " / app1 / 123.mp4" is the file path. The embodiments of the present invention do not make limitations in this regard.
[0160] It can be seen that in this optional embodiment, the local service can also be updated according to the target address. Then, when it is detected that the application loader transmits a loading request for the NAS application to the local server, the local service is called, and the local domain name address in the address to be resolved is modified to the target address to obtain the target resolution address. Then, based on the local service, an application data request is generated according to the target resolution address and the file path to send the application data request to the NAS device, which can improve the flexibility and accuracy of generating the application data request, thus facilitating improving the accuracy of the data requested to be loaded by the application data request, and further facilitating improving the accuracy of loading the NAS application data to the client.
[0161] In another optional embodiment, based on a preset data reception method, receive the application data corresponding to the application data request to complete the application loading on the client, which may include the following operations:
[0162] Based on the local server corresponding to the client, stream-receive the data packet of the NAS application regarding the application data request as the application data corresponding to the application data request;
[0163] Based on the local server, transmit the application data to the application loader corresponding to the client to complete the application loading on the client.
[0164] Optionally, based on the local server, transmitting the application data to the application loader corresponding to the client to complete the application loading on the client may include the following operations:
[0165] Based on the local server, transmit the application data to the application loader corresponding to the client;
[0166] Based on the application loader, perform data integration operations on the application data to obtain a data integration result, so as to complete the application loading on the client side.
[0167] It can be seen that this optional embodiment can receive data packets as application data through the local server in a streaming manner, and transmit the application data to the application loader to complete data integration, so as to achieve application loading, which can improve the reception efficiency and reception accuracy of NAS application data, thereby improving the integration reliability of NAS application data, and further improving the loading reliability of NAS applications.
[0168] In this optional embodiment, optionally, the method may further include the following operations:
[0169] When receiving response information regarding an application data request indicating that the request fails, receive the error information corresponding to the response information, and generate a processing measure corresponding to the error information; the processing measure is used to handle the error situation corresponding to the error information.
[0170] Optionally, the error information may include an error status code and / or error description information, which are not limited in the embodiments of the present invention; further optionally, the error status code may be an HTTP (Hypertext Transfer Protocol) status code, which is not limited in the embodiments of the present invention.
[0171] It can be seen that this optional embodiment can also handle the corresponding error situation for the received error information when the application data request fails, which is beneficial to improving the reliability of the NAS application data loading process, and thus is beneficial to further ensuring the integrity and data reliability of NAS application data.
[0172] In the embodiments of the present invention, by way of example, when the client to which the NAS application loading method is applied includes a rendering process, a main process, a local parsing service, a local server, and an application loader, the flow of the NAS application loading method can refer to Figure 3 , where Figure 3 is a schematic flow diagram of another NAS application loading method disclosed in the embodiments of the present invention. Among them, as Figure 3 shown, the method may include the following operations:
[0173] After the client is started, start the local parsing service through the main process, and obtain the locally available port to create a local server (i.e., Figure 3 the "local server" in Figure 3 ) and the local service address corresponding to the local server (i.e.,
[0174] When the rendering process detects that the target device corresponding to the client is successfully connected for the first time or the connection method of the device changes, obtain the latest device address of the target device (i.e., the above-mentioned target device address), and transmit it to the local parsing service through the main process, so that the device address monitoring service can monitor the target device address. When it is detected that the target device address has changed compared to the previous device address, update the target address to update the local service provided by the local server and make the local service ready (exemplarily, this process can be completed within 10 ms).
[0175] When the local server receives a loading request for the NAS application transmitted by the application loader, call the local service, and then replace the local domain name address to be parsed with the target device address to send an application data request with the modified address. When the request is successful, the local server receives the data in a streaming manner and continuously transmits the received data to the application loader to integrate the received data and complete the application loading.
[0176] Embodiment III
[0177] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of a loading device for a NAS application disclosed in an embodiment of the present invention. Among them, Figure 4 the described loading device for the NAS application may include one of a smart device, a smart terminal, a smart system, and a server. Among them, the server may include a local server or a cloud server, which is not limited in the embodiments of the present invention; further, the loading device may be installed with a client associated with the NAS application, and the client may run on the operating system configured by the loading device. Among them, the NAS application is an application program installed on the NAS device, which is not limited in the embodiments of the present invention. As Figure 4 shown, among them, the NAS application is installed in the NAS device, and the NAS device is communicatively connected to a target device so that the target device can access the NAS application. The loading device for the NAS application may include:
[0178] An obtaining module 301, configured to obtain the target device address corresponding to the client; wherein, the client is installed on the target device;
[0179] An updating module 302, configured to update the target address based on the started local parsing service according to the target device address;
[0180] A sending module 303, configured to send an application data request for the NAS application to the NAS device according to the target address;
[0181] A receiving module 304, configured to, when receiving response information regarding an application data request indicating that the request is successful, receive application data corresponding to the application data request based on a preset data receiving method, so as to complete application loading on the client side.
[0182] It can be seen that the device described in the embodiments of the present invention can obtain the target device address corresponding to the client, then update the target address based on the target device address, and then send an application data request for the NAS application to the NAS device according to the target address. If response information indicating that the request is successful is received, the application data is received based on the preset data receiving method to implement application loading. The NAS application can be loaded by using the obtained target device address, thereby reducing the possibility of loss of application data while improving the loading reliability of NAS application data. Furthermore, it is beneficial to achieve smooth, efficient and accurate loading of the NAS application, avoid interrupting the use of the NAS application or restarting the application when the user is using the opened NAS application, make the user unaware of the process of loading the NAS application on the client side, improve the experience of the user loading and using the NAS application on the client side, and further improve the user experience of using the NAS device.
[0183] In an optional embodiment, as Figure 5 shown, the device may further include:
[0184] A judgment module 305, configured to judge whether the target device corresponding to the client satisfies a preset device connection condition; when it is judged that the target device corresponding to the client satisfies the device connection condition, trigger the obtaining module 301 to perform an operation of obtaining the target device address corresponding to the client;
[0185] Wherein, the target device address is the device address of the target device in the current network connection mode.
[0186] It can be seen that the device described in the optional embodiment can perform an operation of obtaining the target device address when it is judged that the target device corresponding to the client satisfies the device connection condition, which can improve the execution accuracy of the operation of obtaining the target device address and is beneficial to improving the execution accuracy of subsequent NAS application data loading operations.
[0187] In this optional embodiment, optionally, the specific manner for the judgment module 305 to judge whether the target device corresponding to the client satisfies a preset device connection condition may include:
[0188] Determine the network connection information corresponding to the target device; the network connection information includes network connection status, network connection mode, and network environment information accessed by the target device;
[0189] Determine whether the network connection status is used to indicate that the target device has successfully connected for the first time, or whether the network connection method has changed, or whether the network environment information has changed;
[0190] When it is determined that the network connection status is used to indicate that the target device has successfully connected for the first time, or the network connection method has changed, or the network environment information has changed, determine that the target device corresponding to the client meets the pre-set device connection conditions;
[0191] When it is determined that the network connection status is not used to indicate that the target device has successfully connected for the first time, the network connection method has not changed, and the network environment information has not changed, determine that the target device corresponding to the client does not meet the pre-set device connection conditions.
[0192] It can be seen that when the device described in this optional embodiment determines that the network connection status of the target device is used to indicate that the target device has successfully connected for the first time, or the network connection method of the target device has changed, or the network environment information of the target device has changed, it determines that the target device meets the device connection conditions to trigger the operation of obtaining the target device address. When the network connection of the target device changes, it can re-obtain the target device address and load the NAS application based on the latest device address after the network connection changes in subsequent operations. It can improve the flexibility and accuracy of judging whether the target device meets the device connection conditions, which is conducive to further improving the execution accuracy of the operation of obtaining the target device address, conducive to improving the execution accuracy of the subsequent operation of loading NAS application data, and further conducive to improving the stability and reliability of the subsequent operation of loading NAS application data when the network connection situation changes. Furthermore, it is conducive to realizing smooth, efficient and accurate loading of the NAS application, avoiding interrupting the user's use of the NAS application or requiring the user to restart the client application when the network connection situation changes, realizing that the user is unaware of the process of the client loading the NAS application when the device connection changes, and further conducive to improving the user experience of loading and using the NAS application on the client.
[0193] In another optional embodiment, as Figure 5 shown, the device may further include:
[0194] A start module 306, configured to start the local parsing service corresponding to the client based on the main process corresponding to the client after the client is started;
[0195] A configuration module 307, configured to configure the local service corresponding to the client based on the local parsing service;
[0196] A setting module 308, configured to set a device address monitoring service based on the local parsing service, and the device address monitoring service is used to monitor the device address of the target device;
[0197] Among them, the specific manner in which the obtaining module 301 obtains the target device address corresponding to the client may include:
[0198] Based on the device address monitoring service, monitor the current device address of the target device;
[0199] When it is monitored that the current device address is different from the device address monitored last time, determine the current device address as the target device address corresponding to the client.
[0200] It can be seen that the device described in this optional embodiment can, after the client is started, first start the local parsing service, then configure the local service, and then, based on the local parsing service, set the device address monitoring service, so that when it is monitored that the current device address is different from the device address monitored last time, determine the current device address as the target device address. By configuring the local service and the device address monitoring service, it can improve the monitoring efficiency and accuracy of the device address of the target device, which is conducive to improving the determination accuracy of the target device address while improving the reception accuracy and reliability of NAS application data, and further conducive to smoothly and accurately receiving application data based on a reliable local service, further reducing the possibility of application data loss, and further conducive to further improving the loading reliability of NAS application data.
[0201] In this optional embodiment, optionally, the specific manner in which the configuration module 307 configures the local service corresponding to the client based on the local parsing service may include:
[0202] Based on the local parsing service, obtain the locally available port corresponding to the target device;
[0203] Based on the local parsing service, create a local server corresponding to the client and a local service address corresponding to the local server according to the locally available port;
[0204] Based on the local parsing service, determine the local domain name address, and according to the local service address and the local domain name address, set the local host to resolve the address to be resolved to the local server; the address to be resolved is the local domain name address;
[0205] Start the local service provided by the local server.
[0206] It can be seen that the device described in implementing this optional embodiment can also obtain the locally available port corresponding to the target device based on the local parsing service, create a local server and a corresponding local service address based on the locally available port, then set the local host according to the local service address and the determined local domain name address to resolve the local domain name address to the local server, and then start the local service provided by the local server. In this way, compared with the prior art where a random port is used and the port constantly changes, causing the domain name address to constantly change and easily losing application data, the solution described in this embodiment can, by parsing the local domain name address, access all the random ports under the complete address corresponding to the domain name when loading data, so as to be able to load the application data stored in each port, which is further conducive to reducing the possibility of losing application data, further improving the loading reliability of NAS application data, and ensuring the integrity of NAS application data.
[0207] In this optional embodiment, optionally, the specific manner in which the sending module 303 sends an application data request for a NAS application to the NAS device according to the target address may include:
[0208] Update the local service according to the target address;
[0209] When it is detected that the application loader corresponding to the client transmits a loading request for a NAS application to the local server, call the local service based on the local server; the loading request includes a resource complete address; the resource complete address records a domain name address and a file path; the file path is used to point to the storage space storing the application data of the NAS application that needs to be loaded;
[0210] Modify the local domain name address in the address to be resolved corresponding to the local service to the target address to obtain a target resolved address;
[0211] Based on the local service, generate an application data request according to the target resolved address and the file path, and send the application data request to the NAS device.
[0212] It can be seen that the device described in implementing this optional embodiment can also update the local service according to the target address, then call the local service when it is detected that the application loader transmits a loading request for a NAS application to the local server, modify the local domain name address in the address to be resolved to the target address to obtain a target resolved address, and then generate an application data request according to the target resolved address and the file path based on the local service to send the application data request to the NAS device, which can improve the flexibility and accuracy of generating the application data request, thus being conducive to improving the accuracy of the data requested to be loaded by the application data request, and further being conducive to improving the accuracy of loading NAS application data to the client.
[0213] In yet another alternative embodiment, the receiving module 304 receives the application data corresponding to the application data request based on a preset data receiving method, and the specific manner of completing the application loading on the client may include:
[0214] Streaming and receiving data packets of the NAS application regarding the application data request based on the local server corresponding to the client as the application data corresponding to the application data request;
[0215] Based on the local server, transmitting the application data to the application loader corresponding to the client to complete the application loading on the client;
[0216] In addition, the receiving module 304 is further configured to, when receiving the response information regarding the application data request indicating a request failure, receive the error information corresponding to the response information and generate a processing measure corresponding to the error information; the processing measure is used to handle the error situation corresponding to the error information.
[0217] It can be seen that the device described in this alternative embodiment can stream and receive data packets as application data through the local server, and transmit the application data to the application loader to complete data integration, so as to achieve application loading, which can improve the receiving efficiency and accuracy of NAS application data, thereby improving the integration reliability of NAS application data, and further improving the loading reliability of NAS applications; in addition, when the request for application data fails, it can handle the corresponding error situation for the received error information, which is beneficial to improving the reliability of the loading process of NAS application data, and thus is beneficial to further ensuring the integrity and data reliability of NAS application data.
[0218] Embodiment Four
[0219] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of another NAS application loading device disclosed in the embodiments of the present invention. As Figure 6 shown, the NAS application loading device may include:
[0220] A memory 401 storing executable program code;
[0221] A processor 402 coupled to the memory 401;
[0222] The processor 402 calls the executable program code stored in the memory 401 and executes some or all of the steps of the NAS application loading method described in Embodiment One or Embodiment Two of the present invention.
[0223] Embodiment Five
[0224] An embodiment of the present invention discloses a computer storage medium storing computer instructions that, when invoked, are used to execute some or all of the steps in the NAS application loading method described in Embodiment 1 or Embodiment 2 of the present invention.
[0225] Embodiment 6
[0226] An embodiment of the present invention discloses a computer program product including a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps in the NAS application loading method described in Embodiment 1 or Embodiment 2.
[0227] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative effort.
[0228] Through the specific descriptions of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution, in essence, or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, including a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electrically-erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc memories, a magnetic disk memory, a tape memory, or any other computer-readable medium capable of carrying or storing data.
[0229] Finally, it should be noted that: What is disclosed in a NAS application loading method and device disclosed in the embodiments of the present invention is only the preferred embodiments of the present invention, which are only used to illustrate the technical solutions of the present invention, rather than limiting it; Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: They can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; And these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for loading a NAS application, wherein, The NAS application is installed in a NAS device, and the NAS device is communicatively connected to a target device so that the target device can access the NAS application. The method is characterized in that it includes: Obtain a target device address corresponding to the client; wherein, the client is installed on the target device; Based on the started local parsing service, update the target address according to the target device address; Send an application data request for the NAS application to the NAS device according to the target address; When receiving response information for the application data request indicating that the request is successful, receive the application data corresponding to the application data request based on a preset data receiving method to complete application loading on the client.
2. The loading method of the NAS application according to claim 1, wherein The method further includes: Judge whether the target device corresponding to the client meets preset device connection conditions; When it is judged that the target device corresponding to the client meets the device connection conditions, trigger the operation of obtaining the target device address corresponding to the client; Wherein, the target device address is the device address of the target device under the current network connection mode.
3. The loading method of the NAS application according to claim 2, wherein The judging whether the target device corresponding to the client meets preset device connection conditions includes: Determine the network connection information corresponding to the target device; the network connection information includes network connection status, network connection mode, and network environment information accessed by the target device; Judge whether the network connection status indicates that the target device is successfully connected for the first time or whether the network connection mode has changed or whether the network environment information has changed; When it is judged that the network connection status indicates that the target device is successfully connected for the first time or the network connection mode has changed or the network environment information has changed, determine that the target device corresponding to the client meets the preset device connection conditions; When it is judged that the network connection status does not indicate that the target device is successfully connected for the first time and the network connection mode has not changed and the network environment information has not changed, determine that the target device corresponding to the client does not meet the preset device connection conditions.
4. The loading method of the NAS application according to any one of claims 1-3, characterized in that, The method further includes: After the client is started, start the local parsing service corresponding to the client based on the main process corresponding to the client; Configure the local service corresponding to the client based on the local parsing service; Based on the local parsing service, set up a device address monitoring service, and the device address monitoring service is used to monitor the device address of the target device; Wherein, the obtaining of the target device address corresponding to the client includes: Based on the device address monitoring service, monitor the current device address of the target device; When it is monitored that the current device address is different from the device address monitored last time, determine the current device address as the target device address corresponding to the client.
5. The loading method of the NAS application according to claim 4, wherein, The configuring of the local service corresponding to the client based on the local parsing service includes: Based on the local parsing service, obtain the local available port corresponding to the target device; Based on the local parsing service, create a local server corresponding to the client and a local service address corresponding to the local server according to the local available port; Based on the local parsing service, determine the local domain name address, and set the local host according to the local service address and the local domain name address to resolve the address to be resolved to the local server; the address to be resolved is the local domain name address; Start the local service provided by the local server.
6. The loading method of the NAS application according to claim 5, wherein The sending an application data request for the NAS application to the NAS device according to the target address includes: Update the local service according to the target address; When it is detected that the application loader corresponding to the client transmits a loading request for the NAS application to the local server, call the local service based on the local server; wherein, the loading request includes a resource complete address; the resource complete address records a domain name address and a file path; the file path is used to point to a storage space storing the application data of the NAS application to be loaded; Modify the local domain name address in the address to be resolved corresponding to the local service to the target address to obtain a target resolution address; Based on the local service, generate an application data request according to the target resolution address and the file path, and send the application data request to the NAS device.
7. The loading method of the NAS application according to any one of claims 1, 2, 3, 5, and 6, characterized in that, The receiving the application data corresponding to the application data request based on a preset data receiving method to complete application loading on the client includes: Based on the local server corresponding to the client, streamingly receive data packets of the NAS application regarding the application data request as the application data corresponding to the application data request; Based on the local server, transmit the application data to the application loader corresponding to the client to complete application loading on the client; And, the method further includes: When receiving response information regarding the application data request indicating that the request fails, receive the error information corresponding to the response information, and generate a processing measure corresponding to the error information; the processing measure is used to process the error situation corresponding to the error information.
8. A loading device for NAS applications, wherein, The NAS application is installed in a NAS device, and the NAS device is communicatively connected to a target device to enable the target device to access the NAS application, and is characterized in that the device includes: An acquisition module, configured to acquire a target device address corresponding to a client; wherein, the client is installed on the target device; An update module, configured to update the target address according to the target device address based on the started local parsing service; A sending module, configured to send an application data request for the NAS application to the NAS device according to the target address; A receiving module, configured to, when receiving response information regarding the application data request indicating that the request is successful, receive the application data corresponding to the application data request based on a preset data receiving method to complete application loading on the client.
9. A loading device for NAS applications, characterized in that, The device includes: A memory storing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory and executes the NAS application loading method according to any one of claims 1-7.
10. A computer storage medium, characterized in that, The computer storage medium stores computer instructions which, when called, are used to execute the NAS application loading method according to any one of claims 1-7.