CN105897384A - Data exchange method - Google Patents

Data exchange method Download PDF

Info

Publication number
CN105897384A
CN105897384A CN201610203068.9A CN201610203068A CN105897384A CN 105897384 A CN105897384 A CN 105897384A CN 201610203068 A CN201610203068 A CN 201610203068A CN 105897384 A CN105897384 A CN 105897384A
Authority
CN
China
Prior art keywords
data
respondent
request
response
inquiry request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610203068.9A
Other languages
Chinese (zh)
Inventor
陈军
张国峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yanmade Technology Co Ltd
Original Assignee
Shenzhen Yanmade Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yanmade Technology Co Ltd filed Critical Shenzhen Yanmade Technology Co Ltd
Priority to CN201610203068.9A priority Critical patent/CN105897384A/en
Publication of CN105897384A publication Critical patent/CN105897384A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1671Details of the supervisory signal the supervisory signal being transmitted together with control information
    • H04L1/1678Details of the supervisory signal the supervisory signal being transmitted together with control information where the control information is for timing, e.g. time stamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

A data request method is characterized by comprising the following steps: starting a data request process; getting the ID of a data responder; sending a query request to the data responder, wherein the query request includes the ID of the data responder, the response result identifiers of all data responders, and the time needed for next data request; receiving a response data packet of the data responder; and making the receiving marker of the data responder. A data response method is characterized by comprising the following steps: starting a data response process, and ending the dormancy state of a data responder; receiving a query request of a data requester; parsing the data query request; judging whether the data of the data requester is received, and acquiring the dormancy time; and going into a dormancy state.

Description

A kind of method for interchanging data
Technical field
The present invention relates to the communications field, be specifically related to a kind of method for interchanging data.
Background technology
The most general data exchange flow process is:
1. requestor sends order or request;
2. recipient's back response data;
3. whether requestor's feedback has successfully received response data.
Three basic steps of this requirements of process, and be to use serial to queue up under the communication environment of one-to-many Mode receives with each one by one and clicks on the exchange of row data, and the most not only flow process is loaded down with trivial details, and when carrying out with a bit When data exchange is hampered for some reason, this point can be rested on and be iteratively repeated said process, so may result in whole The inefficiency of data exchange process, the efficiency of whole system cannot ensure, energy-conservation low-power consumption is also difficult to.
Summary of the invention
The application provides a kind of method for interchanging data, is specifically related to a kind of clearance-type request of data and data response Exchange method.This method it is critical only that data requester subsidiary all data in each inquiry request The data of respondent exchange success or failure information rather than each data respondent are notified independently serially.On the one hand, Inquiry request is united two into one with response feedback, improves communication efficiency, meet high efficiency demand;Another Aspect, the data requester time that accurately exchange of notice next round data occurs in inquiry request so that The data respondent being successfully completed the exchange of this secondary data can calculate the most voluntarily in the exchange of next round data Before beginning, the dormancy length of oneself, thus meets the demand of energy saving.This method can be used for a little right In point or point-to-points wired or wireless communication environment.
According to first aspect, the present embodiment provides a kind of data request method, it is characterised in that including:
Start request of data flow process;
Obtain the ID of data respondent;
Sending inquiry request to data respondent, described inquiry request includes: the ID of data respondent, all The response results mark of data respondent, the time required for request of data next time;
Receive the response data packet of data respondent;
The reception labelling of flag data respondent.
The ID of described data respondent is the address information of data respondent.
Described data respondent is receiving before inquiry request in a dormant state.
According to second aspect, the present embodiment provides a kind of data response method, it is characterised in that including:
Starting data responding process, data respondent terminates resting state;
Receive the inquiry request of data requester;
Resolve data inquiry request;
Judge that the data of described data requester have the most been received and obtained dormancy time;
Enter resting state.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of request-response method in the application one embodiment;
Fig. 2 is the flow chart of request of data in the application one embodiment;
Fig. 3 is the flow chart of data response in the application one embodiment.
Detailed description of the invention
Combine accompanying drawing below by detailed description of the invention the present invention is described in further detail.
The term definition used in the application, is explained as follows:
Data exchange: a side sends order or request, and the opposing party gives the communication process of response or response.
Batch (-type) data exchange: periodically or non-periodically repeat the data exchange occurred.
Dormancy: enter low power operation state.
Revive: enter normal power consumption running status.
Efficient: satisfactorily to complete communication process by minimum step and data volume.
Energy-conservation: to be in wake states, after communication completes in a dormant state when communication.
Fig. 1 schematically illustrates the procedure of " request-response " of the present embodiment.Data requester 10 Sending inquiry request to data respondent 11, this inquiry request includes: the ID of data respondent;Total data The response results mark of respondent;Time required for request of data next time.Data respondent 11 receives After this inquiry request, changed from resting state, resolve the content of this inquiry request, it is judged that sending of oneself Response data whether be successfully received, if being received by data requester 10, then continue dormancy: if not counted Receive according to requestor 10, then continue waiting for, until oneself being queried.
Fig. 2 shows the flow chart of request of data.
Step 21: after request of data flow process starts, data requester is it is first determined whether arrived looking into of a new round The inquiry time, without arriving query time, then request of data Fang Ze enters waiting state, and enters wait State, continues thereafter with and judges whether arrive query time and repeat this action;If arrival query time, then Enter step 22.
Step 22: it is first determined whether the response feedback of all of data respondent is all successfully received, if All be successfully received, then data query flow process terminates;Without being all successfully received, then data are looked into Inquiry person can carry out following operation to data respondent: 1. data query person can inquire about next data respondent, I.e. be not queried the id information of person, described in the id information of the person of being queried be the address information of data respondent;2. exist After obtaining the address information of this person of being queried, data query person sends inquiry request to this person of being queried;3. quilt After inquiry receives inquiry request, can be to data query person's feedback response packet.
Step 23: data query person is after receiving the response data packet of feedback, it is judged that whether data respondent It is properly received the inquiry request of data query person, if data respondent has been properly received data query person's Inquiry request, then these data respondent is labeled as successfully by data query person;Whereas if data respondent Be not successfully received the inquiry request of data query person, then these data respondent is labeled as not by data query person Success.
Step 24: data query person judges that this querying flow is the most overtime, if querying flow is overtime, then Terminate inquiry;If querying flow has not timed out, then jump to step 22.
Fig. 3 shows the flow chart that data respond.
Step 31: after data responding process starts, first data responder be invoked from resting state, then Receive the inquiry request that data query person sends.
Step 32: data respondent judges whether to have received inquiry request, without receiving inquiry request, Then continuing to determine whether it is to receive time-out, if receiving time-out, then entering resting state, a length of system of dormancy Unite default value set in advance, if not receiving time-out, then jump back to step 31 and continue to inquiry request; If receiving inquiry request, then first data respondent resolves the inquiry packet of inquiry request, then judges Whether oneself is query object, if query object, then sends response data feedback, jumps to step 31 and continue Inquiry request is received in continued access, if not query object, then enters step 33.
Step 33: data respondent judges to be successfully received when the corresponding data oneself sent, if not by It is properly received, then jumps to step 31 and continue to inquiry request;If be successfully received, then enter step 34。
Step 34: when data respondent is according to the beginning of the acquisition of information next round inquiry request in inquiry request Between, thus try to achieve data respondent self can be with the time span of dormancy.Data respondent enters dormancy subsequently State is until whole inquiry response flow process terminates.
It will be understood by those skilled in the art that in above-mentioned embodiment, all or part of step of various methods can Completing instructing related hardware by program, this program can be stored in a computer-readable recording medium, Storage medium may include that read only memory, random access memory, disk or CD etc..
The present invention is illustrated by use above specific case, is only intended to help and understands the present invention, not In order to limit the present invention.For those skilled in the art, according to the thought of the present invention, Some simple deductions can also be made, deform or replace.

Claims (6)

1. a data request method, it is characterised in that including:
Start request of data flow process;
Obtain the ID of data respondent;
Sending inquiry request to data respondent, described inquiry request includes: the ID of data respondent, all The response results mark of data respondent, the time required for request of data next time;
Receive the response data packet of data respondent;
The reception labelling of flag data respondent.
2. the method for claim 1, it is characterised in that the ID of described data respondent is several Address information according to respondent.
3. the method for claim 1, it is characterised in that described data respondent is receiving inquiry Before request in a dormant state.
4. a data response method, it is characterised in that including:
Starting data responding process, data respondent terminates resting state;
Receive the inquiry request of data requester;
Resolve data inquiry request;
Judge that the data of described data requester have the most been received and obtained dormancy time;
Enter resting state.
5. method as claimed in claim 4, it is characterised in that described data respondent calculates voluntarily The length of dormancy time.
6. method as claimed in claim 5, it is characterised in that the dormancy time of described data respondent Length is the gap length between two-wheeled inquiry request.
CN201610203068.9A 2016-04-01 2016-04-01 Data exchange method Pending CN105897384A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610203068.9A CN105897384A (en) 2016-04-01 2016-04-01 Data exchange method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610203068.9A CN105897384A (en) 2016-04-01 2016-04-01 Data exchange method

Publications (1)

Publication Number Publication Date
CN105897384A true CN105897384A (en) 2016-08-24

Family

ID=57012125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610203068.9A Pending CN105897384A (en) 2016-04-01 2016-04-01 Data exchange method

Country Status (1)

Country Link
CN (1) CN105897384A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949714A (en) * 2019-04-23 2019-06-28 跃动创意媒体一人有限公司 A kind of smart electronicsization mark system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103249127A (en) * 2013-05-22 2013-08-14 清华大学 Energy-saving data transmission method for Internet of things
CN103906172A (en) * 2014-03-12 2014-07-02 江苏科技大学 Method for networking low-power-dissipation small wireless sensor networks based on oil field application

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103249127A (en) * 2013-05-22 2013-08-14 清华大学 Energy-saving data transmission method for Internet of things
CN103906172A (en) * 2014-03-12 2014-07-02 江苏科技大学 Method for networking low-power-dissipation small wireless sensor networks based on oil field application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949714A (en) * 2019-04-23 2019-06-28 跃动创意媒体一人有限公司 A kind of smart electronicsization mark system

Similar Documents

Publication Publication Date Title
EP2382828B1 (en) Power saving in peer-to-peer communication devices
US8458504B2 (en) Peer-to-peer group owner enhanced power management
CN100405260C (en) Reduction of idle power expense in networked battery power supply apparatus
CN102111192B (en) Bluetooth connection method and system
CN105979547B (en) A kind of communication means of wide area network, node apparatus and system
US7982585B2 (en) Method and apparatus for active RFID network
EP3402256B1 (en) Communication method and apparatus for wireless local area network
US8010821B2 (en) Systems and methods for wake on event in a network
EP2508028B1 (en) System and method for optimized initial configuration distribution for cyclic sleeping devices
CN113038578A (en) Site awakening method and site
EP2137997A1 (en) Sleep optimization for mobile devices in a broadband network
TW201132206A (en) Discovery channel and discovery beacon for peer-to-peer devices in wireless communications network
CN103200653A (en) Method and device for discontinuous reception
CN102769842A (en) Low-data volume service optimization method for long term evolution (LTE) network and network side equipment
WO2014101893A1 (en) Device discovery method, apparatus and system
CN104618996A (en) Method and device for awakening terminal in energy saving state
US20140219147A1 (en) Systems and methods for power saving for multicast and broadcast data
CN109548120A (en) Communication means, device, site apparatus and the access point apparatus of WLAN
CN105897384A (en) Data exchange method
CN114996195B (en) Method, system, device and medium for acquiring carbon footprint data
Hall et al. RF Rendez-Blue: reducing power and inquiry costs in Bluetooth-enabled mobile systems
CN113011009B (en) Parameter optimization method and device based on MoreData mechanism and storage medium
CN111614442B (en) Network communication method, device, electronic equipment and storage medium
CN104469904B (en) A kind of radio multi-terminal information collecting method
WO2013102395A1 (en) Data transmission method, access point and station

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160824

RJ01 Rejection of invention patent application after publication