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

A data processing method and device

A data processing device and data processing technology, applied in the computer field, can solve the problems of increasing the response burden of the server to read or update requests, and the high cost of data stream transmission, so as to reduce the response burden, reduce the transmission cost, and reduce the overhead Effect

Active Publication Date: 2018-09-04
西安京迅递供应链科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, there is an object A stored on the server, and the object has 100 attributes. Although the terminal only wants to read the first 10 attributes of object A, based on the processing call interface provided in the prior art, the terminal initiates to the server The read request still needs to carry 100 attributes of object A
This request method makes the transmission of the data stream more expensive in the subsequent process of reading or updating the corresponding data in the distributed database, which will greatly increase the response burden of the server to the read or update request.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] figure 1 It is a schematic flowchart of a data processing method provided in Embodiment 1 of the present invention. The solution provided in this embodiment is applicable to a network architecture composed of terminals and servers. Wherein, the server may be a physical device or system for providing data processing services for the terminal, for example, the server may be a distributed system composed of multiple servers, and these servers are combined together to provide data processing services for the terminal; the terminal may A physical device such as a smartphone, tablet, laptop, or desktop computer. The data processing method can be executed by a data processing device, and the device is realized by software and / or hardware and built in the server. see figure 1 , the data processing method provided in this embodiment specifically includes the following operations.

[0021] S110, receiving the original processing request for the attribute set of the target obj...

Embodiment 2

[0035] figure 2 It is a flowchart of a data processing method provided in Embodiment 2 of the present invention. This embodiment provides a preferred embodiment on the basis of the foregoing embodiments. see figure 2 , the method specifically includes the following operations.

[0036]① First, after the client on the terminal triggers the setting requirement, based on the public processing call interface for the target object, it remotely calls the method 1 on the server (implemented by the first component 1) to initiate a call to the server. The original processing request for the first attribute set of the target object. Wherein, the first attribute set is a set composed of all attributes of the target object. The parameters in the public processing call interface are: parameters of all attributes of the target object. When the method body is called, the values ​​of the parameters in the interface are passed to the server.

[0037] After the server receives the origi...

Embodiment 3

[0045] image 3 It is a schematic structural diagram of a data processing device provided in Embodiment 3 of the present invention. see image 3 , the specific structure of the data processing device is as follows:

[0046] An original processing request receiving unit 310, configured to receive the original processing request for the attribute set of the target object sent by the terminal after the setting requirement is triggered;

[0047] A new processing request determining unit 320, configured to determine, according to the original processing request, a new processing request for the attribute set of the target object that matches the set requirement;

[0048] A new processing request responding unit 330, configured to respond to the new processing request.

[0049] As a specific implementation manner of this embodiment, the original processing request receiving unit 310 is specifically configured to:

[0050] The receiving terminal sends the original processing requ...

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 processing method and device. The method comprises the steps of receiving an original request, for processing an attribute set of a target object, sent by a terminal after a set demand is triggered; determining a new request for processing the attribute set, matched with the set demand, of the target object according to the original processing request; responding to the new processing request. By the adoption of the technical scheme, the response burden of a server side on reading or updating a request can be relieved, and expenses can be reduced.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a data processing method and device. Background technique [0002] Currently, the server can describe a thing in the form of an object. Each object has its own properties and method bodies. Typically, multiple objects created by the server are stored in a distributed database. For example, in the warehousing system deployed on the server side of the e-commerce platform: each warehouse can be regarded as an object, which can have attributes such as warehouse number, warehouse name, address, inventory, etc.; each commodity can also be As an object, it can have attributes such as product number, product name, unit price, quantity, whether it is a promotional product, etc. [0003] In order to meet the specific needs of users or business processing needs, there are often application scenarios where the terminal reads or updates some attributes of o...

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): G06F17/30
CPCG06F16/951
Inventor 刘恩英
Owner 西安京迅递供应链科技有限公司
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