Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data service method, device, storage medium and computer equipment

A data service and data technology, applied in the field of data processing, can solve problems such as complex online and offline operations of service instances, manual intervention, and impact on user experience, and achieve the effect of saving online server resources

Active Publication Date: 2020-09-08
SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] There are obvious deficiencies in the above two offline data upload schemes
The first solution is relatively simple and saves resources of service instances and online databases. However, both data upload and service instances face the same data source. There is a large amount of read-write coupling during data upload, so service instances cannot provide service, affecting user experience; the second solution can ensure that the service is not interrupted during data upload and data source switching, and the upper-level users have no perception, but the cyclic online and offline operations of service instances are complicated and generally require manual intervention. Service instances and data sources provide services evenly in time-sharing, causing half of the resources to be idle at the same time, and a lot of resources are wasted

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data service method, device, storage medium and computer equipment
  • Data service method, device, storage medium and computer equipment
  • Data service method, device, storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0052] figure 2 It is a flowchart of a data service method based on offline data upload provided in the second embodiment of the present invention. This embodiment is an improvement based on the solution provided in the above embodiment. In this embodiment, the online service status of the data source can be monitored, inquired, and modified through the monitor, which specifically may include:

[0053] S210. When the offline loading request is obtained, the identifier of the data source is read from the monitor to determine the data source of the available state; wherein the monitor is used to record the data source of the available state of the current service instance for the online service Identification; the identification of the idle state data source is determined according to the identification of the available state data source, and the idle state data source is used as the target data source.

[0054] The monitor can be implemented by software or / and hardware. In other em...

Embodiment 3

[0077] image 3 It is a schematic structural diagram of a data service device based on offline data upload provided in the third embodiment of the present invention, such as image 3 As shown, the data service device based on offline data upload described in this embodiment includes: a target data source determination module 310, a loading module 320, an online service state modification module 330, and a data source calling module 340.

[0078] Wherein, the target data source determining module 310 is configured to select a data source in an idle state as the target data source according to the online service status of at least two data sources when an offline loading request is obtained.

[0079] The loading module 320 is configured to load offline data to be uploaded into the target data source.

[0080] The online service status modification module 330 is configured to modify the online service status of the target data source to be available after the offline data is loaded.

[00...

Embodiment 4

[0099] Figure 4 This is a schematic structural diagram of a computer device provided in the fourth embodiment of the present invention, such as Figure 4 As shown, the computer device includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of processors 410 in the computer device may be one or more, Figure 4 Take a processor 410 as an example; the processor 410, the memory 420, the input device 430, and the output device 440 in the computer equipment can be connected by a bus or other means, Figure 4 Take the bus connection as an example.

[0100] As a computer-readable storage medium, the memory 420 can be used to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the data service method based on offline data upload in the embodiment of the present invention (for example, based on offline The target data source determination module 310, the loading module 320, th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a data service method, device, storage medium and computer equipment based on offline data upload. The method includes: when an offline loading request is obtained, selecting an idle data source as a target data source according to the online service status of at least two data sources; loading offline data to be uploaded into the target data source; After the offline data is loaded, modify the online service status of the target data source to be available; when the data service request is obtained, select an available data source for online service according to the online service status of at least two data sources Instance call data. The embodiments of the present invention can save resources while the upper layer users are not aware of data source switching.

Description

Technical field [0001] The embodiments of the present invention relate to the field of data processing technology, and in particular to a data service method, device, storage medium, and computer equipment based on offline data upload. Background technique [0002] Currently, there are more and more intelligent service scenarios in the Internet field. The general process of intelligent services is to first train and learn a large amount of historical data to obtain a model, and then use the model to predict future user behavior. Because the algorithm flow of some smart applications is relatively complex and needs to process massive user characteristic data, it requires powerful computing resources and is time-consuming. [0003] The strategy that the industry often uses to address the above problems is to use large-scale distributed cluster offline batch training and prediction processes to upload the data calculated by the offline server to the online database for the online serve...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/06H04L67/1095H04L67/1097H04L67/5682
Inventor 张军涛王雨春邹波
Owner SHENZHEN LEXIN SOFTWARE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products