Method for realizing data storage and synchronization of mobile equipment based on intranet environment
By storing and synchronizing mobile device data in an intranet environment, data transmission delay and security problems caused by instability in network connections are solved, and data accessibility and security are achieved without a network, improving user experience and reducing the risk of data leakage.
Patent Information
- Application Number
- CN202311302196.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2025-04-11
AI Technical Summary
In some areas or environments, network connections are unstable or unreliable, resulting in delayed data transmission, affecting user experience, and data security problems.
The data storage and synchronization method of mobile devices based on the intranet environment is adopted. By calling the data storage interface, it supports two modes of intranet environment transmission and wireless storage, and realizes data entry, cache storage and timing detection to ensure the accessibility and security of data without network connection or signal unstable.
In the absence of network or unstable network signals, data can still be accessed and used, reducing network dependence, improving operational experience, and avoiding the risks of sensitive data leakage and hacker attacks by storing data on the intranet.
Smart Images

Figure CN119807291A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data management intelligent analysis, and more specifically to a method for implementing data storage and synchronization of mobile devices based on an intranet environment. Background Art
[0002] With the development of computer technology, storage media are constantly updated, and the capacity and speed of these storage media are constantly improving, which greatly meets people's needs for data storage and access. In addition, with the popularization of mobile computing devices and the development of the Internet, people's demand for offline storage of data is gradually increasing. Offline storage technology allows mobile devices to access stored data even when there is no network connection, improving user experience and work efficiency.
[0003] In actual work, data entry is generally done by staff uploading data to the target server for processing through the data entry interface on the mobile device. This has the following shortcomings: In some areas or environments, the network connection may be unstable or unreliable. Some applications require real-time or fast responses, but data transmission delays may result in a decline in user experience. There are certain data security issues when sensitive data is stored in the cloud or transmitted over the network.
[0004] Therefore, it is necessary to propose an implementation method for data storage and synchronization of mobile devices based on an intranet environment to solve the above problems. Summary of the invention
[0005] In combination with the technical background and existing problems introduced above, the technical solution for achieving the first purpose of the present invention is based on the form of calling a data storage interface and supporting both intranet environment transmission and wireless storage modes: a method for implementing data storage and synchronization of mobile devices in an intranet environment, including data entry, mode detection of mobile devices, storage form of cached data and timed detection of whether to start data transmission.
[0006] In order to achieve the above-mentioned purpose, the present invention specifically adopts the following technical solution: a method for implementing data storage and synchronization of mobile devices based on an intranet environment, comprising the following steps: Establish a connection first: Use the mobile terminal running program and connection protocol to complete the device connection between the mobile device and the target host.
[0007] Furthermore, the local data upload method of the mobile terminal is called to complete data collection by supporting scanning codes, uploading pictures, videos or data documents.
[0008] Furthermore, the current network status of the mobile device is detected. If the current device is in an intranet environment, data transmission to the target host begins. Otherwise, the mobile device stores the data as an offline cache data file.
[0009] Furthermore, the target host completes the persistence of the stored data according to the permissions based on the type of data transmitted by the mobile device.
[0010] Furthermore, according to the persistence result in the target host and the notification form compatible with the mobile device, a data storage result notification is sent to the mobile device.
[0011] Furthermore, during device mode detection, the device network status is continuously detected at fixed time intervals according to a timer principle.
[0012] Furthermore, the mobile device needs to be registered with the target host before use, and the security and accuracy of the transmitted data are detected based on the data source, device information, etc. when uploading data.
[0013] Furthermore, the data is persisted to an Oracle database according to the data type and interface information, and notification information is returned according to the storage result.
[0014] The beneficial effects achieved by adopting the above invention are as follows: the invention can continue to access and use data when there is no network or the network signal is unstable, reduce network dependence, and improve the operation experience. It can avoid transmitting sensitive data to a third-party server, protect the user's data privacy, and reduce the risk of data leakage and hacker attacks. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the design process of the present invention. Implementation
[0016] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0017] Please refer to FIG1 , a method for implementing data storage and synchronization of mobile devices based on an intranet environment, comprising the following steps: (1) Establishing a connection: Develop a corresponding operating program based on the mobile device type and operating environment, and complete the device connection between the mobile device and the target host through the program language and connection protocol.
[0018] (2) Data collection on mobile devices: Data collection is completed by scanning codes, uploading pictures, videos or documents on mobile devices, and integrity checks are set according to the data type.
[0019] (3) Device mode detection: After the data integrity check is completed, the current network status of the mobile device is detected. If it is determined that the current device is in an intranet environment, data transmission to the target host will begin. Otherwise, the mobile device will store the data as an offline cache data file and wait until the intranet environment is unblocked before synchronizing the offline cache data file in the mobile device to the target host.
[0020] (4) Security and permission detection: Mobile devices need to be registered with the target host before use. When uploading data, the security and accuracy of the data transmitted by the mobile device will be checked based on the data source, parameter format, device permissions, and validity period.
[0021] (5) Persistent data: The target host completes the persistence of stored data according to the type of data transmitted by the mobile device, thereby improving data access speed and saving database resources.
[0022] (6) Send result notification: According to the persistence result of the data transmitted by the mobile device in the target host and the notification format compatible with the mobile device, a data storage result notification is sent to the mobile device.
[0023] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. The patent protection scope of the present invention shall be based on the claims. All equivalent structural changes made using the description and drawings of the present invention should also be included in the protection scope of the present invention.
Claims
1. A method for implementing data storage and synchronization of mobile devices based on an intranet environment, characterized in that: The following steps are involved: (1) Establish data connection between mobile device and target host: Develop corresponding running programs according to the type of mobile device and running environment, and complete the device connection between mobile device and target host through programming language and connection protocol. (2) Data collection of mobile device: Complete data collection by scanning code, uploading pictures, videos or documents with mobile device, and set integrity check according to data type. (3) Device mode detection: After the data integrity check is completed, detect the current network status of the mobile device. If it is determined that the current device is in the intranet environment, start to transmit data to the target host. Otherwise, the mobile device stores the data as an offline cache data file, and waits for the intranet environment to be unblocked before synchronizing the offline cache data file in the mobile device to the target host. (4) Security and permission detection: When the mobile device transmits files to the target host, it will prioritize the security and accuracy of the data transmitted by the mobile device based on the data source, parameter format, device permission, effective time, etc. (5) Persistent data: The target host completes the persistence of stored data according to the type of data transmitted by the mobile device, improves data access speed, and saves database resources. (6) Send result notification: According to the persistence result of the data transmitted by the mobile device in the target host and the notification form compatible with the mobile device, send the data storage result notification to the mobile device.
2. According to claim 1, a method for implementing data storage and synchronization of mobile devices in an intranet environment, characterized in that: Detect the network mode of the mobile device and obtain the network status and network type of the current device through the network environment detection interface.
3. The method for implementing data storage and synchronization of mobile devices based on an intranet environment according to claim 1, characterized in that: For mobile device security and permission detection, after receiving the transmitted data, the target host will judge the rationality and accuracy of the data based on the parameter information of the mobile device.