Method and device for acquiring data
A technology of data acquisition and acquisition method, applied in the field of communication, can solve the problem of increasing the overall data waiting delay, and achieve the effects of reducing data feedback delay, improving satisfaction, and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] like figure 1 As shown, the embodiment of the present invention provides a method for obtaining data, and the method includes the following steps:
[0049] S101: Receive at least one first data acquisition request, where the first data acquisition request carries a data selection condition;
[0050] S102: According to the data selection condition, obtain all data identifiers satisfying the data selection condition;
[0051] S103: Obtain all data corresponding to the data identifier in parallel according to the data identifier, and return the corresponding data.
[0052] It should be noted that the execution subject of each step of this embodiment may be a server for acquiring data, or may be another device having the functions of each step of this embodiment.
[0053]The embodiment of the present invention acquires all the data identifiers satisfying the data selection conditions; and according to the data identifiers, obtains all the data corresponding to the data id...
Embodiment 2
[0055] like figure 2 As shown, the embodiment of the present invention provides a data acquisition method, the method includes the following steps:
[0056] S201: Receive at least one first data acquisition request;
[0057] In this embodiment, the first data acquisition request carries a data selection condition, and the first data acquisition request is used to request acquisition of at least one piece of data that meets the data selection condition.
[0058] For example, taking the microblog system as an example, microblog user A has three followers, and microblog user B can obtain the follower information of microblog user A by sending the first data acquisition request, then the first data acquisition request carries The data selection condition of is "followers of user B".
[0059] S202: Obtain all data identifiers satisfying the data selection condition according to the data selection condition;
[0060] In this embodiment, the data identifier corresponding to the d...
Embodiment 3
[0085] like image 3 As shown, the embodiment of the present invention provides a data acquisition method, the method includes steps S301-S307, wherein, S301-S302 is the same as S201-S202 in Embodiment 2; S305-S307 is the same as S203 in Embodiment 2 ~S205 are the same, and will not be repeated here. The difference from Embodiment 2 is that this embodiment also includes the following steps:
[0086] S301-S307 are the same as Embodiment 2, and will not be repeated here. The difference from Embodiment 2 is that this embodiment also includes:
[0087] S303: Query whether there is data corresponding to the data identifier in the corresponding relationship between the data identifier and the data in the local cache, if yes, execute S304; if not, execute S305.
[0088] S304: Obtain data corresponding to the data identifier, and return the corresponding data.
[0089] For example, when the second data acquisition request received is that the data identifiers corresponding to the da...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com