CN105072699B - Multiple method and devices from equipment access slot are quickly distributed in master-slave equipment - Google Patents

Multiple method and devices from equipment access slot are quickly distributed in master-slave equipment Download PDF

Info

Publication number
CN105072699B
CN105072699B CN201510426165.XA CN201510426165A CN105072699B CN 105072699 B CN105072699 B CN 105072699B CN 201510426165 A CN201510426165 A CN 201510426165A CN 105072699 B CN105072699 B CN 105072699B
Authority
CN
China
Prior art keywords
equipment
network address
data
broadcast message
slave
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.)
Active
Application number
CN201510426165.XA
Other languages
Chinese (zh)
Other versions
CN105072699A (en
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.)
LANZHOU YUANWANG INFORMATION TECHNOLOGY Co.,Ltd.
Original Assignee
Invengo Information 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 Invengo Information Technology Co Ltd filed Critical Invengo Information Technology Co Ltd
Priority to CN201510426165.XA priority Critical patent/CN105072699B/en
Publication of CN105072699A publication Critical patent/CN105072699A/en
Application granted granted Critical
Publication of CN105072699B publication Critical patent/CN105072699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0833Random access procedures, e.g. with 4-step access
    • H04W74/0841Random access procedures, e.g. with 4-step access with collision treatment
    • H04W74/085Random access procedures, e.g. with 4-step access with collision treatment collision avoidance

Landscapes

  • Small-Scale Networks (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to multiple methods from equipment access slot are quickly distributed in a kind of master-slave equipment, include the following steps: to send broadcast message to the network address data for from equipment, the broadcast message including multiple slave equipment being arranged successively;It is multiple to receive the broadcast message respectively from equipment, and take out the all-network address carried in the broadcast message;Judge whether the network address from equipment itself is identical as one or more of the obtained network address, in this way, the Position Number of the network address data is obtained, and numbering in access slot identical with the Position Number at it connect this with the main equipment from equipment;Otherwise, it is not involved in epicycle access, exits and waits for next broadcast message.The invention further relates to a kind of devices for realizing the above method.Implement quickly to distribute multiple method and devices from equipment access slot in master-slave equipment of the invention, has the advantages that it is smaller in the consumption of time and power.

Description

Multiple method and devices from equipment access slot are quickly distributed in master-slave equipment
Technical field
It is multiple from setting more specifically to quickly being distributed in a kind of master-slave equipment the present invention relates to data communication system The method and device of standby access slot.
Background technique
In point-to-multipoint communication system, such as in active RFID system, main equipment and multiple communications from equipment are big absolutely Majority uses CDMA slotted ALOHA multiple access techniques or its deformation technology.The receiving time window of main equipment is divided into multiple time slots For being used from equipment, it is only capable of one in a time slot and has sent message from equipment.In the prior art, it is calculated using CDMA slotted ALOHA When method, main equipment is initiated once from device polling process, and the slave equipment for receiving polling message randomly chooses an access slot drop Response message is sent to main equipment.In this end of polling(EOP), recognition successfully no longer responds subsequent main equipment message from equipment, The slave equipment distinguished and failed that collides then under control of the master device, transmission response is again attempted within next poll phase and is disappeared Breath, is identified from equipment by main equipment until all.Due to there is the probability of access collision, is worked as using CDMA slotted ALOHA algorithm and connect Input time slot number is with when distinguishing equal from number of devices, and theoretically maximum data throughput is 36.8%, all from equipment to complete Recognition, main equipment needs to carry out multiple poll.
And from application scenarios known to device address, traditional processing method is also the method using poll, by leading Equipment communicates one by one with from equipment, until completing to all recognitions from equipment.This method make main device with from equipment Reiving/transmitting state frequent transitions bring additional guard time to consume.Simultaneously main equipment often with one from equipment communicated it is necessary to Communication request is sent, then goes to and receives response message of the state reception from equipment.For the synchronization for guaranteeing transmitting-receiving, need to set transmitting-receiving Guard time, the extra time expense of increase.It is subsequent in queue to need that front is waited to complete after distinguishing just from equipment from equipment It can start to communicate with main equipment, if in the presence of wherein having the slave equipment of big data transmission requirement, the waiting time will be very long, If also needing to carry out message retransmission after in addition receiving time-out, all these power consumptions that can all increase when being waited from equipment.Therefore, In the prior art, the time of the communication between master-slave equipment, the cost of power are larger.
Summary of the invention
The technical problem to be solved in the present invention is that for time of the above-mentioned communication of the prior art, power cost compared with Big defect is quickly distributed in the lesser master-slave equipment of the cost of the time, power that provide a kind of communication and multiple is accessed from equipment The method and device of time slot.
The technical solution adopted by the present invention to solve the technical problems is: construct quickly distributed in a kind of master-slave equipment it is multiple From the method for equipment access slot, include the following steps:
A broadcast message) is sent to the network for from equipment, the broadcast message including multiple slave equipment being arranged successively Location data;
B) multiple to receive the broadcast message respectively from equipment, and with taking out the all-network carried in the broadcast message Location;
C) judge the network address from equipment itself whether with one or more phases in the obtained network address Together, if so, executing step D);Otherwise, step E is executed);
D the Position Number of the network address data) is obtained, and when it numbers access identical with the Position Number It connect this with the main equipment from equipment;
E it) is not involved in epicycle access, exits and waits for next broadcast message.
Further, the step A) in, it is known from device network address list by being obtained in storage region, according to The sequence of setting arranges, and the slave device network address date being arranged successively or acquirement do not complete data transmission in step D) Slave device network address list, the slave device network address that unfinished data are transmitted, which is arranged successively, to obtain described successively arranging The slave device network address date of column.
Further, in the slave device network address date being arranged successively, the network address of two neighboring position It is identical or not identical.
Further, the step D) further comprise following steps:
D1 described in) since equipment when delay meter, and it is identical as the Position Number of the network address data being deferred to Access slot start to upload data to main equipment.
Further, the step D) further comprise:
D2 main equipment) is uploaded data to from equipment in the access slot, main equipment receives the data;Wherein, described This is carried in the data of upload, and from equipment, whether there are also the first marks that data upload;
D3 above-mentioned first mark) is obtained, whether judgement should complete the transmission of this data from equipment, if not, should be from equipment Network address be added in the slave equipment list of current unfinished data transmission, sent in broadcast message next time;If so, complete At this data receiver from equipment.
The invention also includes a kind of devices for realizing the above method, comprising:
Broadcast message transmission unit: for send broadcast message to from equipment, the broadcast message include it is multiple successively The network address data of the slave equipment of arrangement;
Network address acquisition unit: the broadcast message is received respectively from equipment for multiple, and takes out the broadcast message The all-network address of middle carrying;
Network address judging unit: for judging the network address from equipment itself whether with the obtained network One or more of location is identical, if so, calling access slot judging unit;Otherwise, it calls and exits unit;
Access slot judging unit: for obtaining the Position Number of the network address data, and its number with it is described It connect this with the main equipment from equipment;
It exits unit: for being not involved in epicycle access, exiting and waiting for next broadcast message.
Further, in the broadcast message transmission unit, known to being obtained in storage region from device network Location inventory is arranged according to the sequence of setting, and the slave device network address date or acquirement being arranged successively are sentenced in access slot Do not complete the slave device network address list of data transmission in disconnected unit, the slave device network address that unfinished data are transmitted according to Secondary arrangement obtains the slave device network address date being arranged successively.
Further, in the slave device network address date being arranged successively, the network address of two neighboring position It is identical or not identical.
Further, the access slot judging unit further comprises:
Postpone timing module: for described since equipment when delay meter, and being deferred to and the network address data The identical access slot of Position Number start to upload data to main equipment.
Further, in the access slot judging unit further,
Data uploading module: for uploading data to main equipment from equipment in the access slot, described in main equipment receives Data;Wherein, this is carried in the data of the upload, and from equipment, whether there are also the first marks that data upload;
Transmission state judgment module: for obtaining above-mentioned first mark, whether judgement should complete this data from equipment is passed It is defeated, if not, the network address from equipment is added in the slave equipment list of current unfinished data transmission, broadcasted next time It is sent in information;If so, completing this data receiver from equipment.
Implement quickly to distribute multiple method and devices from equipment access slot in master-slave equipment of the invention, have following The utility model has the advantages that due to being connect for equipment using the transmission of broadcast message packet is known from device network address, and for each The time-gap number entered is exactly the Position Number that its network address arranges in above-mentioned broadcast message, so, any one is from equipment After receiving above-mentioned broadcast message, it is only necessary to two judgements are done, first is that whether there is the ground of oneself in the network address received Location, first is that if so, its Position Number how, so that it may clearly learn oneself access time-gap number, remaining is exactly to prolong When corresponding time, accessed until the time slot arrives.In this way, in the presence of making multiple from equipment, to the maximum extent The generation for avoiding collision does not need retracted when colliding and occurring, retries and wait and etc., so as to avoid main equipment And converted from state frequent between equipment, but be sequentially ingressed into according to the sequence of setting.So disappearing in time and power It is smaller in consumption.
Detailed description of the invention
Fig. 1 is quickly to distribute in multiple method and device embodiments from equipment access slot to divide in master-slave equipment of the present invention Step flow chart with access slot;
Fig. 2 is a kind of arrangement schematic diagram of network address in situation in the embodiment;
Fig. 3 is the arrangement schematic diagram of network address in another case in the embodiment;
Fig. 4 is the structural schematic diagram of the device of the embodiment.
Specific embodiment
Below in conjunction with attached drawing, embodiments of the present invention is further illustrated.
As shown in Figure 1, quickly distributing multiple method and devices from equipment access slot in master-slave equipment of the invention In embodiment, main equipment only one, and then have from equipment multiple, and main equipment has been known from the network of equipment in advance Location or equipment identification number.In the present embodiment, with connecing between RFID tag reader (main equipment) and multiple RFID tags The distribution of input time slot and data are exchanged for example, illustrate quickly to distribute multiple methods from equipment access slot in master-slave equipment.It should Quickly the method for distribution access slot includes the following steps:
Step S101 forms the slave equipment list of this access: due to the communication or number in master-slave equipment, between equipment It according to exchange is controlled by main equipment, that is to say, that the connection between the exchange or equipment of data is (usual by main equipment certainly Only one main equipment) initiate, and it is only in response to main equipment in above process from equipment (usually having multiple from equipment), And main equipment is sent data in the case where being allowed to, to realize the data exchange between equipment.Therefore, in this step In, main equipment needs to form the network address of the slave equipment of this access or from the identity code (ID) of equipment from setting Standby inventory, the inventory indicate all network address or identity code from equipment that the needs of this access connect.These nets Network address or identity code are to be present in main equipment in advance, can be obtained in several ways.For example, at this , can be known from device network address list by being obtained in storage region when access starts first round access, according to setting Sequence arranges, the slave device network address date being arranged successively (i.e. from equipment list).And works as and connect at this It is above-mentioned when entering a wheel or more wheels, but still have from the not sent complete data of equipment, thus the equipment further taken turns can only be selected to access Inventory can also with or unfinished data transmission slave device network address list, the slave device network that unfinished data are transmitted Address, which is arranged successively, obtains the slave device network address date being arranged successively.In the present embodiment, above-mentioned to be arranged successively Slave device network address date (i.e. from equipment list) in, the network address of two neighboring position is identical or not identical.Also It is to say, in a wheel access, one can only only take up an access slot from equipment, so that a wheel access is as much as possible It covers from equipment;Multiple access slots can also be occupied, so that one sends it in a wheel access from equipment as much as possible Data.For example employed in the present embodiment, pass through RFID for example, can be from the network address or device id of equipment Label is transferred to RFID reader in the activation signal sent by RFID reader.When RFID reader executes this step When, form putting in order obtained by the successive arrangement that can be according to storage location or its title letter for inventory.
Step S102 sends broadcast message: in this step, main equipment sends broadcast message obtained in above-mentioned steps.Value It obtains one to be mentioned that, in the present embodiment, for ease of description, simply shows the operating process from equipment.In practical behaviour In work, may successively it be carried out simultaneously or from equipment multiple the step of after this step.
Step S103 receives broadcast message: in this step, receiving above-mentioned broadcast message from equipment, and takes out above-mentioned from setting Standby inventory obtains the network address or device id of slave equipment for participating in epicycle access that main equipment issues, all.
Whether step S104 has this device address, if any execution step S105;It is no to then follow the steps S112.Judge whether It is by the network address of this equipment or device id and the network address received or to set there are the specific method of the address of this equipment Standby ID is compared according to the position in above-mentioned inventory one by one, the network address that receives as at least one is above-mentioned or from device id It is identical as the network address of this equipment, it is judged as that there are this device addresses;If the network address of all carryings in broadcast message Or device id had compared and not identical as the network address of local slave equipment or device id, then was judged as that there is no originally set Standby address jumps to step S112 execution.
Step S105 obtains the arrangement number n where the address: in this step, when comparing in the broadcast message received The network address or device id of carrying whether with this from the network address or identical device id of equipment when, be according to these networks The position that location or device id arrange in broadcast message is compared one by one, if it find that network address identical with this equipment or equipment ID, then number of comparisons n(before this includes that this compares) be exactly the network address or device id arrangement (position) number N, that is, the time-gap number that should be accessed from equipment.For example, it is assumed that one is placed in the 4th from the identical network address of equipment with this A position, then needing to compare 4 times could judge that the two is identical, then, should will be set from equipment in the 4th access slot access master It is standby.It is noted that in the present embodiment, it is also possible to there is a situation where one from equipment access time slot be it is multiple, it is this It may be the case that the data for needing to send from equipment due to one are more, main equipment is informed by the access of the first run.Then it leads Multiple access slots are arranged by its access, in order to comparatively fast realize the transmission of total data in equipment.In this case, above-mentioned row Column number may have multiple, either continuous or adjacent, be also possible to discontinuous or adjacent.For this presence For the case where multiple arrangement numbers, the method for processing and the method from equipment only one access slot still substantially phase Together, it is only successively handled according to the sequence of these arrangement numbers.Due to the presence of such case, in this step, from Equipment is not to find a same network address or the position of device id just stops comparing, but identical in spite of finding The all-network address carried in above-mentioned broadcast message or device id all can be compared by network address or device id, This step is executed.
Step S106-1 slot time of waiting n: in this step, since known sheet will be in n-th of access from equipment Gap access, so, it should should can't be converted from the state of equipment from equipment by -1 time slot of waiting n, during this period;At n-th When time slot starts, it should start to access main equipment from equipment ability transition status.
Step S107 sends situation in sending data according to data and flag bit is arranged: in this step, judging this from setting Whether the data that standby middle needs issue can issue in an access slot, and set in the data of transmission according to judging result The first flag bit is set, which can issue in an access slot in data and multiple access slots is needed to issue When with different values.It is to send as a data frame in the data sent from equipment to main equipment in a kind of situation , at this point, further including current data frame number and this total data for needing to send in the data frame other than data content Number of frames etc. information, in this way, main equipment can judge this by above-mentioned two parameter, from equipment, whether there are also data to need It to access again.In this case, above-mentioned first flag bit is exactly current data frame number and total data number of frames.Certainly, It in other situations, can also be directly after judging the data frame from equipment whether there are also data, if any by one of setting Flag bit set;Such as nothing, which is resetted, then whether also according to the flag bit this can be obtained from equipment in main equipment Data need to transmit;In this case, above-mentioned first flag bit is exactly that flag bit set.It is noted that this Step and the sequence of step S106 are arranged for the ease of narration, in practical operation, can not be according to the step, For example, step S106 and step S107 can be and meanwhile carry out or step S107 preceding, step S106 is rear.
Step S108 is accessed and is sent data: in this step, due to having arrived defined time slot, so originally from equipment Start to access in this timeslot and send data to main equipment.
Step S109 receives data: in this step, main equipment receives above-mentioned to be accessed simultaneously in specified time slot from equipment The data of transmission.
Whether step S110 judgement should be sent completely from device data, such as complete, then it is assumed that complete this from equipment This data receiver, execute step S111;If data should have not been completed from equipment to upload, that is to say, that should be from equipment It needs to transmit there are also data, which is added in the slave equipment list of current unfinished data transmission, It is sent in broadcast message next time;This judgement is the flag bit in the data sent by the access of the equipment as above-mentioned Value judge, obtain above-mentioned first mark, judge the value of first flag bit, to obtain whether this completes from equipment The data transmission of this access.
Step S111 should no longer be included in this access from equipment list from equipment: in this step, by this from equipment It is judged as the data transmission for having completed this access, so, it will not be again by this from the inventory that equipment is included in that next round accesses. Namely in the network address of lower whorl access or the inventory of device id, the network address or equipment from equipment there will be no ID concedes access slot to other desired from equipment.
Step S112 is not involved in this access: in this step, epicycle access should be not involved in from equipment, is exited and waited for down One broadcast message.
In short, being set in the master-slave equipment communication system (while being also point-to-multipoint communication system) of the present embodiment in master Under the standby slave equipment application scene for needing to distinguish multiple known addresses/or device id, main equipment sends a broadcast message to open It is dynamic with multiple communications between equipment, carried in broadcast message the slave equipment of communication in need address or device id arrange List file has determined that main equipment receives the available time slot quantity of response message from the quantity of device address or device id.
After the broadcast message is received from equipment, identify whether address/device id includes Self address/or equipment in message ID records the position sequence that Self address/device id is in address/device id list if including, available affiliated as itself Access slot number;After affiliated access slot number determines, from the long arrival to wait those slots of equipment time-delay characteristic timing, and Response message is sent in those slots;Give up the broadcast message if not including Self address/or device id in broadcast message, no Participate in this access.
Main equipment receives the different response messages from equipment in different time-gap, if needing to send the response of multiframe from equipment Message, main equipment can send broadcast message again and start new reception process, specified to send again response message from equipment, directly It is sent completely to multiframe response message.Main equipment can also by address/or device id listing file repeat some from The mode of device address/or device id, when specifying this that a more than one access received in the period can be used from equipment Gap.
As shown in Fig. 2, a specific example is as follows: main equipment, which is sent, to broadcast the message, in the address list file of carrying Hold are as follows: { 0x10,0x11,0x12,0x13 ... 0x1F }, it is desirable that device address is the slave equipment response message of 0x10~0x1F.If The slave equipment that standby address is 0x13 receives the message, identifies that there are 0x13 in address file list, and is in the 4th of file the Position sequence.0x13 is delayed after 3 slot lengths from equipment, sends response message to main equipment in the 4th access slot.And one sets The slave equipment that standby address is 0x35 receives above-mentioned broadcast message, identifies that there is no 0x35 in address file list, give up this Message does not respond.Main equipment receives after equipment response message, and whether have multiframe to send, if so, then if checking from equipment Broadcast message is sent again, and carrying should be from device address;It should be from equipment if not, no longer being carried in the broadcast message of subsequent transmission Address.
As shown in figure 3, another specific example is as follows:
Main equipment sends broadcast message, the address list file content of carrying are as follows: { 0x10,0x11,0x11,0x12 ... 0x1F }, it is desired to device address is the slave equipment response message of 0x10~0x1F.Device address is that the slave equipment of 0x11 receives this Message identifies that there are 0x11 in address file list, and is in the 2nd and the 3rd sequence of file.0x11 is delayed 1 from equipment After slot length, a frame response message is respectively sent to main equipment in the 2nd access slot and the 3rd access slot.If 0x11 from Equipment is sent without multi-frame message, then is sent in the 3rd time slot without message.Main equipment receives after equipment response message, checks Whether there is multiframe to send from equipment, if so, then sending broadcast message again, carrying should be from device address;If not, rear supervention No longer carrying in the broadcast message sent should be from device address.
The invention also includes a kind of devices for realizing the above method, as shown in figure 4, the device includes: that broadcast message is sent Unit 1, network address acquisition unit 2, network address acquisition unit 3, access slot judging unit 4 and exit unit 5;Wherein, Broadcast message transmission unit 1 be used for send broadcast message to from equipment, the broadcast message including it is multiple be arranged successively from The network address data of equipment;The network address data includes and its consistent position of arrangement position in the broadcast message Number;Network address acquisition unit 2 receives the broadcast message from equipment for multiple respectively, and takes out in the broadcast message and take The all-network address of band;Network address acquisition unit 3 be used to judging the network address from equipment itself whether with obtain One or more of the network address is identical, if so, calling access slot judging unit;Otherwise, it calls and exits unit;It connects Input time slot judging unit 4 is used to obtain the Position Number of the network address data, and in its number and the Position Number phase This is connect with the main equipment from equipment in same access slot;Unit 5 is exited for being not involved in epicycle access, exits and waits To next broadcast message.
Wherein, known from device network address list by being obtained in storage region in broadcast message transmission unit 1, it presses According to the sequence arrangement of setting, the slave device network address date that is arranged successively or obtain in access slot judging unit not The slave device network address list of data transmission is completed, the slave device network address that unfinished data are transmitted is arranged successively and obtains To the slave device network address date being arranged successively.In the slave device network address date being arranged successively, adjacent two The network address of a position is identical or not identical.
And access slot judging unit 4 further comprises: delay timing module 41, data uploading module 42 and transmission shape State judgment module 43;Wherein, delay timing module 41 and is being deferred to and the net for described since equipment when delay meter The identical access slot of the Position Number of network address date starts to upload data to main equipment.Data uploading module 42 is used for from setting Standby to upload data to main equipment in the access slot, main equipment receives the data;Wherein, it is carried in the data of the upload Having this from equipment, whether there are also the first marks that data upload;Transmission state judgment module 43 is used to obtain above-mentioned first mark, Whether judgement should complete the transmission of this data from equipment, if not, currently unfinished data are added in the network address from equipment In the slave equipment list of transmission, sent in broadcast message next time;If so, completing this data receiver from equipment.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. quickly distributing multiple methods from equipment access slot in a kind of master-slave equipment, which comprises the steps of:
A broadcast message) is sent to the network address number for from equipment, the broadcast message including multiple slave equipment being arranged successively According to;
B) multiple to receive the broadcast message respectively from equipment, and take out the all-network address carried in the broadcast message;
C) judge whether the network address from equipment itself is identical as one or more of the obtained network address, such as It is to execute step D);Otherwise, step E is executed);
D the Position Number of the network address data) is obtained, and in its number access slot identical with the Position Number It connect this with the main equipment from equipment;
E it) is not involved in epicycle access, exits and waits for next broadcast message;
Wherein, it is described from equipment one by one by the network address of all-network address date with itself in the broadcast message into Row compares, and when the two is identical, and the number of comparisons carried out to this broadcast message is existed as the network address data Position Number in the broadcast message.
2. quickly distributing multiple methods from equipment access slot in master-slave equipment according to claim 1, feature exists In the step A), from device network address list known to being obtained in storage region, arranged according to the sequence of setting, The slave device network address date being arranged successively or acquirement with not completing the slave device network of data transmission in step D) Location inventory, the slave device network address that unfinished data are transmitted, which is arranged successively, obtains the slave device network being arranged successively Address date.
3. quickly distributing multiple methods from equipment access slot in master-slave equipment according to claim 2, feature exists In in the slave device network address date being arranged successively, the network address of two neighboring position is identical or not identical.
4. quickly distributing multiple methods from equipment access slot in master-slave equipment according to claim 1, feature exists In the step D) further comprise following steps:
D1 described in) since equipment when delay meter, and it is being deferred to connect identical with the Position Number of the network address data Input time slot starts to upload data to main equipment.
5. quickly distributing multiple methods from equipment access slot in master-slave equipment according to claim 4, feature exists Further comprise in the step D):
D2 main equipment) is uploaded data to from equipment in the access slot, main equipment receives the data;Wherein, the upload Data in carry this from equipment whether there are also data upload first mark;
D3 above-mentioned first mark) is obtained, whether judgement should complete the transmission of this data from equipment, if not, by the net from equipment Network address is added in the slave equipment list of current unfinished data transmission, sends in broadcast message next time;If so, completing to be somebody's turn to do From this data receiver of equipment.
6. a kind of realize quickly distributes multiple dresses from equipment access slot method in master-slave equipment as described in claim 1 It sets characterized by comprising
Broadcast message transmission unit: it is arranged successively to from equipment, the broadcast message including multiple for sending broadcast message Slave equipment network address data;
Network address acquisition unit: the broadcast message is received respectively from equipment for multiple, and takes out in the broadcast message and takes The all-network address of band;
Network address judging unit: for judge the network address from equipment itself whether in the obtained network address One or more it is identical, if so, call access slot judging unit;Otherwise, it calls and exits unit;
Access slot judging unit: for obtaining the Position Number of the network address data, and in its number and the position Numbering connect this with the main equipment from equipment;
It exits unit: for being not involved in epicycle access, exiting and waiting for next broadcast message;
Wherein, it is described from equipment one by one by the network address of all-network address date with itself in the broadcast message into Row compares, and when the two is identical, and the number of comparisons carried out to this broadcast message is existed as the network address data Position Number in the broadcast message.
7. device according to claim 6, which is characterized in that in the broadcast message transmission unit, by storage region It obtains known from device network address list, according to the sequence arrangement of setting, the slave device network address being arranged successively Data obtain the slave device network address list that data transmission is not completed in access slot judging unit, by unfinished data The slave device network address of transmission, which is arranged successively, obtains the slave device network address date being arranged successively.
8. device according to claim 7, which is characterized in that in the slave device network address date being arranged successively, The network address of two neighboring position is identical or not identical.
9. device according to claim 8, which is characterized in that the access slot judging unit further comprises:
Postpone timing module: for described since equipment when delay meter, and being deferred to the position with the network address data The identical access slot of number is set to start to upload data to main equipment.
10. device according to claim 9, which is characterized in that in the access slot judging unit further,
Data uploading module: for uploading data to main equipment from equipment in the access slot, main equipment receives the data; Wherein, this is carried in the data of the upload, and from equipment, whether there are also the first marks that data upload;
Transmission state judgment module: for obtaining above-mentioned first mark, whether judgement should complete the transmission of this data from equipment, such as It is no, which is added in the slave equipment list of current unfinished data transmission, in broadcast message next time Middle transmission;If so, completing this data receiver from equipment.
CN201510426165.XA 2015-07-20 2015-07-20 Multiple method and devices from equipment access slot are quickly distributed in master-slave equipment Active CN105072699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510426165.XA CN105072699B (en) 2015-07-20 2015-07-20 Multiple method and devices from equipment access slot are quickly distributed in master-slave equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510426165.XA CN105072699B (en) 2015-07-20 2015-07-20 Multiple method and devices from equipment access slot are quickly distributed in master-slave equipment

Publications (2)

Publication Number Publication Date
CN105072699A CN105072699A (en) 2015-11-18
CN105072699B true CN105072699B (en) 2019-01-01

Family

ID=54501938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510426165.XA Active CN105072699B (en) 2015-07-20 2015-07-20 Multiple method and devices from equipment access slot are quickly distributed in master-slave equipment

Country Status (1)

Country Link
CN (1) CN105072699B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913349B (en) * 2019-11-19 2021-07-27 成都亿佰特电子科技有限公司 Data acquisition method and system based on BLE broadcasting technology
CN114900429B (en) * 2022-07-12 2022-10-21 浙江正泰物联技术有限公司 Equipment communication parameter configuration method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020083673A (en) * 2001-04-28 2002-11-04 엘지전자 주식회사 Allocation Method For Communication Channel Of TDM Bus
CN101656766A (en) * 2009-09-29 2010-02-24 中兴通讯股份有限公司 Method and system for allotting logical address to subordinate equipment
CN101889469A (en) * 2007-12-07 2010-11-17 皇家飞利浦电子股份有限公司 Flexible MAC superframe structure and beaconing method
EP1548985A4 (en) * 2002-10-04 2011-05-11 Sony Corp Electronic device having communication function
CN103826252A (en) * 2014-01-16 2014-05-28 京信通信系统(中国)有限公司 Method of acquiring and sending sequence numbers among main and slave devices and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020083673A (en) * 2001-04-28 2002-11-04 엘지전자 주식회사 Allocation Method For Communication Channel Of TDM Bus
EP1548985A4 (en) * 2002-10-04 2011-05-11 Sony Corp Electronic device having communication function
CN101889469A (en) * 2007-12-07 2010-11-17 皇家飞利浦电子股份有限公司 Flexible MAC superframe structure and beaconing method
CN101656766A (en) * 2009-09-29 2010-02-24 中兴通讯股份有限公司 Method and system for allotting logical address to subordinate equipment
CN103826252A (en) * 2014-01-16 2014-05-28 京信通信系统(中国)有限公司 Method of acquiring and sending sequence numbers among main and slave devices and system

Also Published As

Publication number Publication date
CN105072699A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN108737590A (en) A kind of method that address is distributed automatically, system, Modbus main websites, Modbus slave stations
CN105324960B (en) The flexible data transfer rate of controller local area network
CN107465764B (en) Star topology based internet of things communication system, gateway equipment and method
CN100496048C (en) Multi-host communication system
CN1327638C (en) Access control method for communication system
CN104317765B (en) A kind of one-to-many communication system and implementation method based on serial communication
CN111241019A (en) RS485 bus arbitration and address automatic identification method
US20060282506A1 (en) Communication master station startup period control method
EP3605881B1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN102684923A (en) Self-healing networking method for half-duplex asynchronous communication
CN101542980A (en) Method for the operation of an Ethernet-compatible field bus device
CN101315659A (en) Reading device and label communication method for preventing reading device collision
EP3422655B1 (en) Method for managing address of meter device, and acquisition terminal and meter device
CN105072699B (en) Multiple method and devices from equipment access slot are quickly distributed in master-slave equipment
CN101945031B (en) Method for implementing mutual communication of slave stations of high-speed field bus
CN103716092A (en) Networking system and communication method for bidirectional optical fiber communication in bus network
CN102916874B (en) A kind of file transmitting method and equipment
CN102006267B (en) Access authentication method and device based on simple network protocol
CN102147849A (en) Method for communicating reader and tags in radio frequency identification
US20140133469A1 (en) Systems and methods for multi-channel concurrency
US9785803B2 (en) Method, apparatus and system for collecting tags using bit map in RFID system
CN107708088A (en) Data transmission method and wireless communication system
CN110474828A (en) A kind of MBUS bus communication and system
CN101404601B (en) Ethernet communication method and apparatus
CN102087697B (en) Data transmission method of reader and wireless tags

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200408

Address after: 730030 third floor, scientific research building, No. 18, Yannan Road, Chengguan District, Lanzhou City, Gansu Province

Patentee after: LANZHOU YUANWANG INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 518057, T2-B building, 3 South District, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen

Patentee before: INVENGO INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right