CN112148951A - Method for guaranteeing validity of building information retrieval of mobile equipment - Google Patents

Method for guaranteeing validity of building information retrieval of mobile equipment Download PDF

Info

Publication number
CN112148951A
CN112148951A CN202011001993.6A CN202011001993A CN112148951A CN 112148951 A CN112148951 A CN 112148951A CN 202011001993 A CN202011001993 A CN 202011001993A CN 112148951 A CN112148951 A CN 112148951A
Authority
CN
China
Prior art keywords
database file
app
database
mobile equipment
building
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011001993.6A
Other languages
Chinese (zh)
Inventor
付树棣
张占永
胡学文
李永斌
胡金藏
王乾坤
罗海斌
王鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing tulayan Technology Co.,Ltd.
Original Assignee
Beijing Juli Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Juli Science and Technology Co Ltd filed Critical Beijing Juli Science and Technology Co Ltd
Priority to CN202011001993.6A priority Critical patent/CN112148951A/en
Publication of CN112148951A publication Critical patent/CN112148951A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a method for guaranteeing the validity of building information retrieval of mobile equipment, which comprises the steps that the mobile equipment logs in a building information retrieval APP; the cloud server is packaged into a database file which can be accessed by the mobile equipment in different cities according to the login account, and the database file is compressed and encrypted; the database file comprises the information of the buildings of the city where the user is located; after the mobile equipment logs in the APP, updating or downloading the database file according to the network condition and the current situation of the local database; encrypting a process of downloading a database file by the mobile equipment; and (3) forcibly or automatically updating the local database file of the mobile equipment. The invention ensures that the building is quickly searched under the weak network environment, the data safety can be ensured, and the relative real-time performance of the data is ensured.

Description

Method for guaranteeing validity of building information retrieval of mobile equipment
Technical Field
The invention belongs to the technical field of networks, and particularly relates to a method for guaranteeing the validity of building information retrieval of mobile equipment.
Background
At present, the search of the building through the APP (such as shell house finding APP, resident guest living, new house living APP and the like) of the building retrieval is a common building search method, and cloud data is acquired in real time through a network request on a mobile device. Because the data volume of the building is huge, the satisfactory retrieval efficiency can be obtained only by depending on a strong network environment. If the network environment is poor or no network exists, the data cannot be acquired, and the APP cannot be normally used. Therefore, the use of the user in the actual watching mode is seriously influenced, the use scene of the user cannot be met, and the user experience is influenced.
Currently, in the sales activities of the house sales intermediaries, sales personnel can often bring customers to suburbs to visit the buildings, and the network environment is not good in such places, so that the customers cannot quickly search the buildings and display the buildings. In order to solve the problem, in the prior art, a network caching mode is tried, but only the requested floor is cached, and the limitation is limited, so that the normal use of the floor with watching is not satisfied. There have also been solutions that use local caching of databases, but more complex data volume and data security issues need to be addressed.
How to rapidly retrieve the building under the weak network environment, ensure the safety of the data and ensure the relative real-time performance of the data is the problem to be solved.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method for guaranteeing the validity of the building information retrieval of a mobile device, wherein a building information retrieval APP runs in the mobile device, and the method comprises the following steps:
the mobile equipment logs in a building information retrieval APP process;
the cloud server is packaged into a database file which can be accessed by the mobile equipment in different cities according to the login account, and the database file is compressed and encrypted; the database file comprises the information of the buildings of the city where the user is located;
after the mobile equipment logs in the APP, updating or downloading the database file according to the network condition and the current situation of the local database;
encrypting a process of downloading a database file by the mobile equipment;
and (3) forcibly or automatically updating the local database file of the mobile equipment.
Further, after the mobile device logs in the APP, according to the network condition and the current status of the local database, the process of updating or downloading the database file specifically includes:
if the network intensity meets the minimum requirement, checking whether the offline data needs to be updated, and if so, downloading and decompressing the database file; if the local database does not need to be updated, judging whether the local database exists, and if the local database does not exist, downloading a new database file;
and if the network state cannot meet the requirement of the minimum network intensity, checking whether the local database file exists, and if not, prompting a user to use a building to retrieve the APP after downloading the database file.
Further, the process of encrypting the database file downloaded by the mobile device specifically includes: and encrypting all the data tables of the downloaded database file by using sqlcilpher, and deleting the originally downloaded file after encryption is finished.
Further, in the process of encrypting the database file downloaded by the mobile device, if the downloaded database file is not encrypted, all the database files are deleted, and the user is prompted to download the database file again.
Furthermore, in the process of automatically updating the local database file of the mobile device, the execution time of the process of automatically updating the database file is preset time, when the preset time is reached, the building retrieval APP does not operate or the network strength meets the minimum requirement, forced updating is not executed, and when the APP starts to operate and the network strength meets the minimum requirement, the forced updating is executed again.
Further, in the process of forcibly updating the local database file of the mobile device, the conditions for the forced updating are as follows: urgent data in the existing local database file needs to be repaired or the version of the building information retrieval APP is updated.
Further, the method further comprises a process that the cloud server associates the database file with the version number of the corresponding APP.
Further, the format of the database file packaged by the cloud server is db.
The invention has the beneficial effects that:
the invention solves the problem that the house source search can not be normally carried out when the network environment is not good; the problem of huge data volume storage is solved by a mode of distributing compressed data files in different cities; the data safety is ensured by encrypting the data table; the relative real-time performance of the data and the robustness of the data are solved through a strong updating mechanism (the local database file is deleted or the content is adjusted, the database file needs to be forcibly updated) and a weak updating mechanism (the local database file exists and is currently in a non-network environment or does not respond within 3 seconds when requested by the network environment). Therefore, the use experience of the user is improved, the safety of data is guaranteed, and the worry of the APP user is solved.
Detailed Description
The method for guaranteeing the effectiveness of the building information retrieval is suitable for common mobile terminals, such as mobile phones, IPADs and the like, and the APP for building retrieval (which can be a common house source retrieval APP in the market at present) runs in the mobile equipment.
The method comprises the following steps.
The first process is as follows: and logging in the building to retrieve the APP.
The method is suitable for the current common building retrieval APP on the market.
And the cloud server packs database files in cities according to the login account number through scripts. When the account is not logged in, the method has a process of prompting to register, and the registration process is the same as the common APP registration process and is not described herein again.
And a second process: and the cloud server packs the database files into database files (the format of the database files is db) which can be directly accessed by the mobile equipment by the scripts in cities according to the information of the login account, and compresses and encrypts the database files.
The database file contains the information of the buildings of the city where the user is located (such as the source of the selling house, the unit price of the source of the house, the house type, the traffic condition, the dynamic state of the buildings, the time of first delivery and the like), and preferably also includes the information of the city (such as the economic condition, the population condition, the enterprise condition, the development policy and the like of Beijing city). The technical means of obtaining the city of the user, compressing and encrypting is to adopt the prior art.
And a third process: after the mobile device logs in the APP, updating or downloading the database file according to the network condition and the current situation of the local database.
For the mobile device that has logged in, it is determined whether the current network environment is good, and if the current network environment can meet the minimum requirement (in this embodiment, the minimum requirement means that a response is made within 3 seconds of initiating the request, and in practice, the minimum requirement may be set as needed), it is checked whether the offline data needs to be updated. Generally, if the current database version is not the latest version, the offline data needs to be updated.
If the update is needed, the mobile device downloads the database file containing the corresponding city house source information, decompresses and encrypts the database file, and then can access the database to display the data. If the database file does not need to be updated, in order to avoid that the user deletes the local database file by mistake, whether the local database file exists or not is judged, if the local database file does not exist, the new database file still needs to be downloaded, and then decompression and encryption are carried out.
If the network environment is not good, whether a local database file exists or not needs to be checked, if yes, the file is used, and if not, a prompt pops up to inform a user that the database file needs to be downloaded when the network environment is good so that the APP can be used. Therefore, when no network exists or the network environment is not good, the function of the APP normally used by the user is not influenced.
And (4) a fourth process: and encrypting the process of downloading the database file by the mobile equipment.
The process of encrypting the database file specifically comprises the following steps: and encrypting all data tables of the database files downloaded by the mobile equipment by using sqlcilpher, and deleting the originally downloaded files after encryption is finished. If the encryption fails, all database files are deleted, and the user is prompted to download the database files again. Therefore, only the encrypted database file is visible to a user, the database file can be accessed only by using the password when being accessed, and the database file cannot be opened by a tool even if the database file is intercepted from the outside. Thus, the data security is ensured.
And a fifth process: and (3) forcibly or automatically updating the local database file of the mobile equipment.
In order to ensure the relative real-time performance of data and the necessity of data updating, the invention sets a database file updating mechanism.
The automatic update will be explained first.
And automatically updating the database at regular time by the database file, and when the floor retrieval APP does not operate or the network strength meets the minimum requirement, not executing the database file, and waiting for the APP to allow and the network strength to meet the minimum requirement.
For example: setting a time (such as 2 am every day), if the APP is still alive, the APP will actively update the database file; if the APP does not survive, the database file is updated when the APP is started for the first time every day and in the case of a good network environment.
Forced updating is described next.
Forced updates are generally divided into two cases:
1. if urgent data in the existing local database file needs to be repaired, a process of forcibly updating the database file needs to be executed, and the user is forcibly required to update when starting the APP by manually updating script data.
2. When the version of the APP is updated every time, in order to ensure the robustness of data, the database file is associated with the version number of the APP, and a user is forced to download the database file of the corresponding version, so that the APP can be accessed.
Through the technical scheme, under the condition that the network environment is not good or the condition that the network does not exist, as long as the database file of the cloud side is downloaded locally, the building retrieval and the building display in the APP can be carried out without depending on the network, so that a user can normally use the APP in a place with a poor network.
It should be noted that, as those skilled in the art will understand, the above-mentioned each process is not limited to the execution sequence of the steps, and the execution sequence of each process may be combined and executed as needed for achieving the purpose of normally retrieving the house source information in the weak network scenario.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited to the above embodiments, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and all those persons skilled in the art should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (8)

1. A method for guaranteeing the validity of the building information retrieval of mobile equipment is provided, the mobile equipment runs a building information retrieval APP, and the method is characterized by comprising the following steps:
the mobile equipment logs in a building information retrieval APP process;
the cloud server is packaged into a database file which can be accessed by the mobile equipment in different cities according to the login account, and the database file is compressed and encrypted; the database file comprises the information of the buildings of the city where the user is located;
after the mobile equipment logs in the APP, updating or downloading the database file according to the network condition and the current situation of the local database;
encrypting a process of downloading a database file by the mobile equipment;
and (3) forcibly or automatically updating the local database file of the mobile equipment.
2. The method according to claim 1, wherein after the mobile device logs in to the APP, the process of updating or downloading the database file according to the network condition and the current status of the local database specifically comprises:
if the network intensity meets the minimum requirement, checking whether the offline data needs to be updated, and if so, downloading and decompressing the database file; if the local database does not need to be updated, judging whether the local database exists, and if the local database does not exist, downloading a new database file;
and if the network state cannot meet the requirement of the minimum network intensity, checking whether the local database file exists, and if not, prompting a user to use a building to retrieve the APP after downloading the database file.
3. The method for guaranteeing the validity of the information retrieval of the building of the mobile device according to claim 1, wherein the process of encrypting the database file downloaded by the mobile device specifically comprises: and encrypting all the data tables of the downloaded database file by using sqlcilpher, and deleting the originally downloaded file after encryption is finished.
4. The method for guaranteeing the validity of the information retrieval on the building of the mobile device as claimed in claim 3, wherein in the process of encrypting the database files downloaded by the mobile device, if the encryption of the downloaded database files fails, all the database files are deleted and the user is prompted to download the database files again.
5. The method for guaranteeing the validity of the building information retrieval of the mobile device as claimed in claim 1, wherein in the process of automatically updating the local database file of the mobile device, the execution time of the process of automatically updating the database file is a predetermined time, when the predetermined time is reached, the building retrieval APP is not operated or the network strength meets the minimum requirement, the forced updating is not executed, and when the APP starts to operate and the network strength meets the minimum requirement, the forced updating is executed.
6. The method for guaranteeing validity of the information retrieval of the mobile device building according to claim 1 or 5, wherein in the procedure of forcibly updating the local database file of the mobile device, the condition for forcibly updating is: urgent data in the existing local database file needs to be repaired or the version of the building information retrieval APP is updated.
7. The method of claim 6, further comprising a process of associating the database file with a version number of the corresponding APP by the cloud server.
8. The method for guaranteeing the validity of the search for the information about the buildings of the mobile device as claimed in claim 7, wherein the database file format packaged by the cloud server is db.
CN202011001993.6A 2020-09-22 2020-09-22 Method for guaranteeing validity of building information retrieval of mobile equipment Pending CN112148951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011001993.6A CN112148951A (en) 2020-09-22 2020-09-22 Method for guaranteeing validity of building information retrieval of mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011001993.6A CN112148951A (en) 2020-09-22 2020-09-22 Method for guaranteeing validity of building information retrieval of mobile equipment

Publications (1)

Publication Number Publication Date
CN112148951A true CN112148951A (en) 2020-12-29

Family

ID=73892538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011001993.6A Pending CN112148951A (en) 2020-09-22 2020-09-22 Method for guaranteeing validity of building information retrieval of mobile equipment

Country Status (1)

Country Link
CN (1) CN112148951A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428676A (en) * 2012-05-17 2013-12-04 上海闻泰电子科技有限公司 Method for achieving mobile phone terminal network downloading system
CN105100210A (en) * 2015-06-24 2015-11-25 深圳市美贝壳科技有限公司 File cache method and device applied to client
CN108366367A (en) * 2018-01-22 2018-08-03 平安科技(深圳)有限公司 Requesting method, device, equipment and the storage medium of mobile terminal APP data
CN109451064A (en) * 2018-12-26 2019-03-08 深圳左邻永佳科技有限公司 Offline implementation method, device, computer equipment and the storage medium of web application
CN109885784A (en) * 2019-01-17 2019-06-14 平安城市建设科技(深圳)有限公司 Screen content loading method, device, equipment and computer readable storage medium
CN111459525A (en) * 2020-04-14 2020-07-28 潘传迪 Application update data processing system, application update data processing method, storage medium, and computer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428676A (en) * 2012-05-17 2013-12-04 上海闻泰电子科技有限公司 Method for achieving mobile phone terminal network downloading system
CN105100210A (en) * 2015-06-24 2015-11-25 深圳市美贝壳科技有限公司 File cache method and device applied to client
CN108366367A (en) * 2018-01-22 2018-08-03 平安科技(深圳)有限公司 Requesting method, device, equipment and the storage medium of mobile terminal APP data
CN109451064A (en) * 2018-12-26 2019-03-08 深圳左邻永佳科技有限公司 Offline implementation method, device, computer equipment and the storage medium of web application
CN109885784A (en) * 2019-01-17 2019-06-14 平安城市建设科技(深圳)有限公司 Screen content loading method, device, equipment and computer readable storage medium
CN111459525A (en) * 2020-04-14 2020-07-28 潘传迪 Application update data processing system, application update data processing method, storage medium, and computer

Similar Documents

Publication Publication Date Title
US10440558B1 (en) Embedded SIM profile download and management system
CN109460660B (en) Mobile device safety management system
US20210286350A1 (en) Method And System For Monitoring Rail Vehicle
CN102428446B (en) Data backup system
CN102970362B (en) The method of a kind of high in the clouds data sharing and device
CN105677250B (en) The update method and updating device of object data in object storage system
CN104346559B (en) Authority request response method and corresponding device
CN108520004B (en) Multi-tenant data source switching system based on method parameter section
CN106230843A (en) A kind of for the smart mobile phone configuration method of cloud virtual mobile phone, server and system
WO2017166791A1 (en) Application backup method and apparatus
CN104283848A (en) Terminal access method and device
CN107872440B (en) Identity authentication method, device and system
US9432357B2 (en) Computer network security management system and method
CN105846996B (en) The automatic deployment system and method for server certificate
JP2012070294A (en) Terminal application retrieval system
CN111371615A (en) Online server, updating method and system of operation and maintenance tool and readable storage medium
US20160004850A1 (en) Secure download from internet marketplace
CN113590169A (en) Application deployment method, application deployment system, and computer-readable storage medium
CN112148951A (en) Method for guaranteeing validity of building information retrieval of mobile equipment
WO2023231681A1 (en) Account creation method, internet of things multi-tenant system, device, program, and medium
US10855540B2 (en) System and method for policy based networked application management
CN115733666A (en) Password management method and device, electronic equipment and readable storage medium
CN113326506B (en) Applet monitoring method and device
US20180091461A1 (en) Method and device for securing network communications using self-erasing messages
CN111277595B (en) User and data management method suitable for multiple users and multiple terminals

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210830

Address after: 100000 1025, floor 1, No. 1, Kaifa Road, Shangdi Information Industry base, Haidian District, Beijing

Applicant after: Beijing tulayan Technology Co.,Ltd.

Address before: 100089 2 / F commercial-01, block C, building 3, 8 guangqumenwai street, Chaoyang District, Beijing

Applicant before: Beijing Juli Technology Co.,Ltd.

TA01 Transfer of patent application right