Data source switching processing method, device and system
A processing method and data source technology, applied in the computer field, can solve problems such as reducing the utilization rate of system bandwidth database resources, etc., and achieve the effect of shortening waiting time and avoiding time-consuming multiple association queries.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0073] The prior art provides a variety of vehicle retrieval methods. Usually, the application platform server stores the collected vehicle data in the MYSQL database. During the query process, based on the limited conditions, the data tables in the MYSQL database are sequentially traversed to finally determine the displayed data. For example: MYSQL database usually includes vehicle table, city table, financial scheme table, and financial scheme intermediate table; when the user enters: Shenyang Audi vehicle 2015 value-added tax, the application platform server traverses several related tables in turn and finally gets Display data, in the process of the application platform server traversing related tables, the application platform server is in a waiting state for a long time, which reduces the utilization rate of resources such as system bandwidth and database.
[0074] In order to solve the above technical problems, the first aspect of the embodiment of the present applicatio...
Embodiment 2
[0094] The second aspect of the embodiment of the present application shows a processing method for data source switching, please refer to image 3 , the method includes:
[0095] S101 obtains a query request;
[0096] The query request may be a query for the quantity of a class of vehicles, such as the quantity of brown Audi cars;
[0097] It can also query the vehicle information of a certain vehicle, for example: query the vehicle information of a vehicle with a VIN code of 123456789123;
[0098] It can be to query the maintenance record of a certain vehicle.
[0099] It can also be a query for additional information of a certain vehicle or a certain type of vehicle, the additional information includes the additional fees paid by the user during the process of buying a car, such as value-added tax, insurance...
[0100] It should be noted that this embodiment of the application is only an exemplary record of several kinds of vehicle-related information queries. In practi...
Embodiment 3
[0111] In order to further shorten the method shown in the embodiment of this application, during the data search process, the waiting time of the application platform server is avoided, and the application platform server is in a waiting state for a long time because the application platform server traverses the wrong database during the search process. The embodiment of the application shows a switching method between ES database and MYSQL database. For details, please refer to Figure 4 ;
[0112] Embodiment 3 and the technical solution shown in embodiment 2 have similar steps, and the only difference is that the steps of step S102 traversing the database in the technical solution shown in embodiment 2 include the following steps:
[0113] S10211 enable the ES database;
[0114] The system enables the ES database by default;
[0115] S10212 judging whether the ES database is running normally;
[0116] Judging whether the ES database is running normally includes the follo...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


