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

Data processing method and device

A data processing and data technology, applied in the computer field, can solve problems such as poor data update effect

Active Publication Date: 2018-11-09
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a data processing method and device, so as to solve the problem that each update request is used to update the requested key multiple times, resulting in poor data update effect

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 processing method and device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0069] figure 1 It is a flow chart of the steps of a data processing method provided in Embodiment 1 of the present invention, which is applied to a terminal, such as figure 1 As shown, the method may include:

[0070] Step 101. When an update instruction is received, determine a key to be updated and an update value according to the update instruction.

[0071] In the embodiment of the present invention, the key to be updated is the key that the user needs to update. For example, assuming that the user needs to operate on the key whose content is "map", then "map" is the key to be updated. In the actual application scenario, when the user updates the key, he will first read the current value corresponding to the key, and then combine the needs to be realized and the current value corresponding to the key to determine to update the value corresponding to the key to How much, that is, determines the update value. For example, assuming that the user "Zhang San" reads the curr...

Embodiment 2

[0082] figure 2 It is a flow chart of the steps of a data processing method provided in Embodiment 2 of the present invention, which is applied to a server, such as figure 2 As shown, the method may include:

[0083] Step 201. Receive a verification value acquisition request sent by a terminal.

[0084] In the embodiment of the present invention, the verification value acquisition request may carry the key to be updated.

[0085] Step 202: Send the verification value corresponding to the key to be updated to the terminal according to the verification value acquisition request.

[0086] In the embodiment of the present invention, after receiving the verification value acquisition request, the server may first extract the key to be updated in the verification value acquisition request, and then search the stored data for the verification key corresponding to the key to be updated. value, and then send the obtained verification value to the terminal. Specifically, the check v...

Embodiment 3

[0095] image 3 It is a flow chart of the steps of a data processing method provided in Embodiment 3 of the present invention, such as image 3 As shown, the method may include:

[0096] Step 301. When receiving an update instruction, the terminal determines the key to be updated and the update value according to the update instruction.

[0097] Specifically, for the implementation manner of this step, reference may be made to the foregoing step 101, which will not be described in detail here in this embodiment of the present invention.

[0098] Step 302, the terminal sends a verification value acquisition request to the server; the verification value acquisition request carries the key to be updated.

[0099] Specifically, for the implementation manner of this step, reference may be made to the above-mentioned step 102, and details are not described here in this embodiment of the present invention.

[0100] Step 303, the server receives the verification value acquisition r...

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 invention provides a data processing method and device. The data processing method and device belong to the technical field of a computer. When an update instruction is received, a terminal determines a to-be-updated key and an update value; a verification value corresponding to the to-be-updated key obtained from a server is determined as a request verification value; an update request carrying an update parameter is sent to the server, in order to determine whether the request verification value matches the verification value corresponding to the to-be-updated key by the server; and whenthe two match, a value corresponding to the to-be-updated key and the verification value corresponding to the to-be-updated key are updated. Therefore, when multiple terminals request to update an identical key at the same time, the multiple update requests sent by the multiple terminals to the server can carry an identical request verification value, and the verification value corresponding to the to-be-updated key can be updated after the server processes one of the requests, so that other request cannot be processed, thus ensuring that the to-be-updated key is not updated multiple times atthe same time, and the effect of data updating is improved..

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a data processing method and device. Background technique [0002] With the wide application of computer technology, the application of terminals is becoming more and more extensive, and the realization of the system on the terminal and various applications requires a large amount of data as the basis for realization. In order to facilitate the processing of these large amounts of data, these data are usually stored in the server in the form of key-value pairs (key-value), where the key can represent dimension attributes, such as quantity, location, time, etc. , the value value can represent a specific value of a dimension attribute, for example, a specific quantity value, a specific location, a specific time point, and so on. During the development process, the server often updates the value corresponding to a certain key according to the update request sent by th...

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 Applications(China)
IPC IPC(8): G06F17/30
Inventor 孙林峰
Owner BEIJING QIYI CENTURY SCI & 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