CN109697035A - Wiring method, write device and the storage medium of the address date of cascade device - Google Patents

Wiring method, write device and the storage medium of the address date of cascade device Download PDF

Info

Publication number
CN109697035A
CN109697035A CN201811579923.1A CN201811579923A CN109697035A CN 109697035 A CN109697035 A CN 109697035A CN 201811579923 A CN201811579923 A CN 201811579923A CN 109697035 A CN109697035 A CN 109697035A
Authority
CN
China
Prior art keywords
coded
communication equipment
control signal
address
initialization
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.)
Granted
Application number
CN201811579923.1A
Other languages
Chinese (zh)
Other versions
CN109697035B (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.)
Shenzhen Mingwei Electronic Co Ltd
Shenzhen Sunmoon Microelectronics Co Ltd
Original Assignee
Shenzhen Mingwei Electronic 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 Mingwei Electronic Co Ltd filed Critical Shenzhen Mingwei Electronic Co Ltd
Priority to CN201811579923.1A priority Critical patent/CN109697035B/en
Publication of CN109697035A publication Critical patent/CN109697035A/en
Application granted granted Critical
Publication of CN109697035B publication Critical patent/CN109697035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

A kind of wiring method of the address date of cascade device, cascade device address date write device and computer readable storage medium, said write method obtains the mark of the target communication device to be controlled, generates the control signal of the target communication device;The control signal includes coded address and the coded data of the target communication device;The control signal is sent to the communication equipment that head end is in the cascade device, so that the coded data is written when the coded address for confirming itself is identical as the coded address that the control signal includes in any communication equipment in the cascade device;Wiring method in the embodiment of the present invention only needs a control signal being sent to multiple communication equipments, and to realize that the data that are separately written to any one communication equipment in cascade device, data write ultrahigh in efficiency, the transmission rate of data is very fast.

Description

Wiring method, write device and the storage medium of the address date of cascade device
Technical field
The invention belongs to serial communication technology field more particularly to a kind of wiring method of the address date of cascade device, The write device and computer readable storage medium of the address date of cascade device.
Background technique
With the fast development of contemporary large-scale integrated electronic circuit, multiple electronic equipments are arranged often to unite in technical staff One realizes complicated circuit function, to meet the actual needs of people;Multiple electronic equipments are manipulated simultaneously by control signal Working condition arbitrarily changes the circuit function that multiple electronic equipments are realized, when multiple electronic equipment incoming control signals, leads to Performance data can be transmitted to multiple electronic equipments by crossing control signal, so that corresponding electronic equipment can be according to the function of user It can the corresponding movement of demand realization;Therefore it can be brought to production and living greatly just by controlling multiple serial electronic equipments Benefit greatly improves industrial production efficiency.
However in traditional technology multiple electronic equipments use centralized and unified control mode, to multiple electronic equipments its In some electronic equipment when individually being controlled, whole performance datas can only be sent to simultaneously all electricity by traditional technology In sub- equipment, each electronic equipment can receive the performance data, so that some electronics in multiple electronic equipments Equipment can be realized corresponding circuit function;With multiple LED (Light Emitting Diode, light-emitting diodes being set side by side Pipe) for lamp, for urban, multiple LED landscape decorating lamps are widely applied on modern high buildings and large mansions and bridge, And technical staff is also higher and higher for the stability requirement of LED display lamp, and traditional technology is in order to realize for multiple LED Display lamp carries out complete control, and multiple LED light are shown with the signal bus of the form sharing functionality data concatenated, each LED The control device of lamp has the address for belonging to itself to intercept to the corresponding function data in signal bus, so that each The LED light reaches expected display effect.
Therefore, traditional technology, can not will be preassigned during carrying out parallel control for multiple electronic equipments Data are separately written one of electronic equipment in multiple electronic equipments, need to carry out installation tune in electronic equipment Whole performance datas is sent during examination to debug corresponding electronic equipment, be unfavorable for site installation test, And testing efficiency is low, construction program is complicated, greatly affected the construction efficiency and application efficiency of multiple electronic equipments.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of wiring methods of the address date of cascade device, cascade device Address date write device and computer readable storage medium, it is intended to solving traditional technical solution can not be to multiple electronics Some electronic equipment in equipment realizes being separately written for specified performance data, and it is lower that the data of electronic equipment write efficiency Problem.
The first aspect of the embodiment of the present invention provides a kind of wiring method of the address date of cascade device, the cascade Equipment includes multiple concatenated communication equipments, and said write method includes:
Obtain control request;The control request includes the mark of target communication device to be controlled;
The control signal of the target communication device is generated according to the control request;The control signal includes the mesh Coded address and the coded data of communication equipment are marked, the coded data is for controlling the target communication device work;
The control signal is sent to the communication equipment that head end is in the cascade device, so that the cascade device In any communication equipment when the coded address for confirming itself is identical as the control signal coded address that includes, write-in institute State coded data;Wherein, direction of transfer of the control signal between multiple communication equipments is by multiple communication equipments Between series relationship determine.
In one of them embodiment, before the acquisition control request, said write method further include:
Generate initialization coded strings, wherein the initialization coded strings include that each communication equipment is corresponding default Encoded signal, pre-arranged code signal described in any two is different, each described pre-arranged code signal include initial address and Primary data;
The initialization coded strings are sent to the communication equipment that head end is in the cascade device, so that the cascade Each of equipment communication equipment obtains and corresponding pre-arranged code signal is written.
The second aspect of the embodiment of the present invention provides a kind of wiring method of the address date of cascade device, the cascade Equipment includes multiple concatenated communication equipments, and said write method includes:
Control signal is obtained, the control signal includes coded address and the coded data of target communication device, the volume Code data are for controlling the target communication device work;
When the coded address for detecting that the control signal includes is identical as the coded address of itself, the control is written The coded data that signal includes;Wherein, direction of transfer of the control signal between multiple communication equipments is by multiple Series relationship between the communication equipment determines.
In one of them embodiment, before the acquisition control signal, said write method further include:
Initialization coded strings are obtained, and is obtained from the initialization coded strings and itself corresponding pre-arranged code letter is written Number;
Based on the series relationship between multiple communication equipments, the initialization coded strings are sent to and are connected with itself Next communication equipment so that receive it is described initialization coded strings communication equipment obtain and its corresponding default volume be written Code signal.
In one of them embodiment, multiple pre-arranged code signals that the initialization coded strings include are by multiple Series relationship arrangement between the communication equipment;The acquisition initializes coded strings, and obtains from the initialization coded strings And itself corresponding pre-arranged code signal is written and includes:
Initialization coded strings are obtained, from obtaining in the initialization coded strings and be written the in the initialization coded strings One pre-arranged code signal;
The series relationship based between multiple communication equipments, by the initialization coded strings be sent to and itself Concatenated next communication equipment, specifically includes:
First pre-arranged code signal in the initialization coded strings is deleted, new initialization coded strings are obtained;
Based on the series relationship between multiple communication equipments, by the new initialization coded strings be sent to and itself Concatenated next communication equipment.
The third aspect of the embodiment of the present invention provides a kind of wiring method of the address date of cascade device, the cascade Equipment includes multiple concatenated communication equipments, and said write method includes:
Signal output apparatus obtains control request;The control request includes the mark of target communication device to be controlled;
The signal output apparatus generates the control signal of the target communication device according to the control request;The control Signal processed includes coded address and the coded data of the target communication device, and the coded data is for controlling the target Communication device works;
The control signal is sent to the communication equipment that head end is in the cascade device by the signal output apparatus;
The communication equipment for receiving the control signal is detecting the control signal coded address that includes and itself Coded address it is identical when, the control signal coded data that includes is written;Wherein, the control signal is in multiple institutes The direction of transfer stated between communication equipment is determined by the series relationship between multiple communication equipments.
The fourth aspect of the embodiment of the present invention provides a kind of write device of the address date of cascade device, including storage Device, processor and storage in the memory and the computer program that can run on the processor, the processor The step of wiring method of the address date of cascade device as described above is realized when executing the computer program.
5th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program realizes the number of addresses of cascade device as described above when being executed by processor According to wiring method the step of.
The wiring method of the address date of above-mentioned cascade device generates target communication device according to the control request of user Signal is controlled, it being capable of communication equipment progress working condition control specific for some in cascade device by the control signal System sends control signals in cascade device and is in the communication equipment of head end, according to the control signal in multiple communication equipments In the coded data that finds the target communication device being easily selected by a user, and include by the control signal destinations traffic is written Equipment, to change the working condition of the target communication device;To in the wiring method of the embodiment of the present invention, to for When wherein some communication equipment carries out data write-in in multiple concatenated communication equipments, it is not necessary that all coded datas are sent To multiple concatenated communication equipments;Wiring method in the embodiment of the present invention only need by with the target communication device phase that is selected Corresponding control signal is sent in cascade device, to realize the function of the independent data write-in for any one communication equipment Can, the quantity of coded data is saved, the data for improving multiple communication equipments write efficiency, the transmission efficiency of coded data, And a possibility that reducing caused performance data transmission abnormality when multiple performance datas are transmitted in traditional technology, solves biography The loss of multiple performance data transmission is big in system technology, and the control efficiency of electronic equipment is low, the received function of multiple electronic equipment institutes There is large error in energy data.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of structural schematic diagram of cascade device provided in an embodiment of the present invention;
Fig. 2 is a kind of implementation flow chart of the wiring method of the address date of cascade device provided in an embodiment of the present invention;
Fig. 3 is the implementation process of the wiring method of the address date of another cascade device provided in an embodiment of the present invention Figure;
Fig. 4 is the implementation process of the wiring method S303 of the address date of cascade device provided in an embodiment of the present invention a kind of Figure;
Fig. 5 is the implementation process of the wiring method of the address date of another cascade device provided in an embodiment of the present invention Figure;
Fig. 6 is the implementation process of the wiring method of the address date of another cascade device provided in an embodiment of the present invention Figure;
Fig. 7 is the implementation process of the wiring method of the address date of another cascade device provided in an embodiment of the present invention Figure;
Fig. 8 is the implementation process of the wiring method of the address date of another cascade device provided in an embodiment of the present invention Figure;
Fig. 9 is the specific implementation of the wiring method S802 of the address date of cascade device provided in an embodiment of the present invention a kind of Flow chart;
Figure 10 is a kind of function structure chart of the writing station of the address date of cascade device provided in an embodiment of the present invention.
Figure 11 is the modular structure of the writing station of the address date of another cascade device provided in an embodiment of the present invention Figure.
Figure 12 is a kind of function structure chart of the write device of the address date of cascade device provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
It needs to illustrate first, the wiring method of the address date of the cascade device in the embodiment of the present invention can be applicable to In cascade device 10, illustratively, Fig. 1 shows the structure of cascade device 10 provided in an embodiment of the present invention, wherein the grade Joining equipment 10 includes multiple concatenated communication equipments 101, and the cascade device 10 is connect with signal output apparatus 102, is led to The working condition of each communication equipment 101 in cascade device 10 can be controlled by crossing signal output apparatus 102;Wherein, this paper institute The communication equipment of finger refers to the electronic component set that can be realized independent circuits function, refers to various types of electricity in this field Sub- component does not do specific restriction to this herein;When multiple communication equipments 101 are sequentially connected in series, different communication equipments 101 Between can be realized the transmitting of signal and the function that power supply is shared;When first communication equipment 101 accesses encoded signal, the Encoded signal is transmitted to second communication equipment 101 by one communication equipment 101, and second communication equipment 101 is by encoded signal It is transmitted to third communication equipment 101, and so on, all communication equipments 101 can access in the cascade device 10 The encoded signal, to realize the parallel synchronous control of multiple communication equipments 101.
Referring to fig. 1 go out the modular structure of cascade device 10, as shown in Figure 1, each communication equipment 101 includes letter Number input terminal A and signal output end B, the signal input part A of first communication equipment 101 in the cascade device 10, which is accessed, to be compiled When code signal, the control of control signal output B second communication equipment 101 of connection of first communication equipment 101 is believed Number input terminal A, in two adjacent communication equipments 101, it is logical that the signal output end B of previous communication equipment 101 connects the latter Believe equipment 101 signal input part A, and then multiple communication equipments 101 can be realized encoded signal serially concatenated input and it is defeated Out, when each communication equipment 101 access encoded signal in cascade device 10, each can be driven by the encoded signal Communication equipment 101 realizes corresponding circuit function, so that cascade device 10 can more be added in conjunction with the realization of multiple communication equipments 101 Whole, complicated circuit function;Therefore in embodiments of the present invention, multiple serial communications can be changed simultaneously by encoded signal and set Standby 101 working condition, so that multiple communication equipments 101 can be realized collaborative work.
It should be noted that the modular structure of cascade device 10 shown in Fig. 1 is only an example, not constitute For the technology limiting of cascade of embodiment of the present invention equipment 10;Since the cascade device 10 in Fig. 1 is in the embodiment of the present invention The application of the wiring method of the address date of cascade device, therefore in the sheet without prejudice to wiring method in the embodiment of the present invention On the basis of matter technical characteristic, those skilled in the art can deform on the basis of Fig. 1 cascade equipment 10, improve Deng operation;Since these described operations only change the application of said write method, and have not been changed said write method Concrete operation step, therefore the wiring method in the present embodiment is still applicable in the cascade device in different type, because Wiring method in this present embodiment has stronger compatibility.
As an alternative embodiment, the communication equipment is LED light.
When technical staff is carried out while being shone using multiple LED light, the wiring method in the present embodiment can be synchronized Change multiple LED light luminances, improves the control efficiency of multiple LED light;And said write method can also change more The luminance of some LED light in a LED light to realize the effect of the independent data write-in for LED light, and then can pass through Said write method can individually control the luminance of some LED light, and the illumination effect of multiple LED light has more abundant Color diversity, the luminance of LED light can satisfy the practical visual demand of user;To the wiring method in the present embodiment The coded data write efficiency of LED light is greatly improved, the Integral luminous effect that multiple LED light are realized, which has, more preferably may be used It is handling, the scope of application and its practical value of multiple LED light are improved, the LED light can widely be useful in landscape dress In the every field such as decorations, high building curtain wall design.
In communication equipment out shown in Fig. 1, the communication equipment 101 is using mutual cascade mode, if traditional technology To carry out individual data write-in for one of communication equipment 101 in multiple concatenated communication equipments 101, can only simultaneously by Performance data is transmitted in all communication equipments, reduces the efficiency of transmission of performance data in cascade device 10, communication equipment It is lower that 101 data write speed, and performance data will generate biggish error in transmission process, cascade device 10 it is controllable Property is not strong;Based on this, the embodiment of the invention provides a kind of wiring methods of the address date of cascade device.
Fig. 2 shows a kind of implementation process of the wiring method of the address date of cascade device provided in this embodiment, Described in cascade device include multiple concatenated communication equipments, as shown in Fig. 2, said write method includes:
S201: signal output apparatus obtains control request;The control request includes target communication device to be controlled Mark;Wherein the selection information comprising user for communication equipment, and then the wiring method energy in the present embodiment are requested in the control It is enough that write-in functions independent for the data of target communication device are realized according to the control of user request, greatly improve user's Usage experience.
Specifically, the operation information of the control request comprising user, and then the signal output apparatus energy in the present embodiment Enough information depending on the user's operation realizes the accurate control for communication equipment in cascade device;In control request, The target communication device to be controlled represents the communication equipment being easily selected by a user, and then passes through the mark of the target communication device It can identify corresponding communication equipment, in cascade device to realize the independent control function for target communication device.
S202: the signal output apparatus generates the control signal of the target communication device according to the control request; The control signal includes coded address and the coded data of the target communication device, and the coded data is for controlling institute State target communication device work.
In S202, the target communication device information of user's selection can be obtained by controlling signal, and then according to control Signal, which can be realized, is separately written function for target communication device, greatly improve in the present embodiment wiring method for The practical value of communication equipment;
Specifically, signal output apparatus is determined according to the mark for the target communication device to be controlled for including in control request The coded address of target communication device, and the function realized required for the coded address based on target communication device and control request Can, generate the control signal of target communication device;Wherein, which includes coded address and the coding of target communication device Data, and then target communication device locating function and data write-in functions are realized by the coded address in the control signal, By the control control target signal communication equipment, corresponding circuit function is realized, to meet the actual functional capability demand of user;Cause This present embodiment can pick out target communication device by controlling signal in cascade device in time, improve the cascade The independent data write efficiency of target communication device in equipment, said write method have the higher scope of application and practical valence Value.
S203: the control signal is sent to the communication that head end is in the cascade device by the signal output apparatus Equipment.
Referring to Fig.1 in cascade equipment each communication equipment cascade system, be transmitted to cascade device when signal will be controlled In when being in the communication equipment of head end, each communication equipment is sequentially ingressed into control signal according to tandem in cascade device, The efficiency of transmission in the control multiple communication equipments of signal is ensured, and described in capable of verifying in time according to the control signal Whether communication equipment is target communication device;Therefore the cascade device in the present embodiment has more simplified connection type, root The data write operation that can be realized target communication device in cascade device according to the control signal, improves said write method Practical value.
S204: receive the communication equipment of the control signal detect the control signal coded address that includes with When the coded address of itself is identical, the coded data that the control signal includes is written;Wherein, the control signal is more Direction of transfer between a communication equipment is determined by the series relationship between multiple communication equipments.
As described above, mark of the coded address of communication equipment itself as itself, when the coding of communication equipment itself When location is identical as the coded address that control signal includes, then illustrates that the communication equipment is target communication device, believed by control Number coded data for including can change the working condition of the communication equipment in real time, to realize the work shape of target communication device The independent regulation of state;On the contrary, being said if the coded address of communication equipment itself and the coded address that control signal includes be not identical The bright communication equipment is not target communication device, then communication equipment by control signal be transmitted to connect with itself it is next lead to Equipment is believed, to continue to search target communication device, until correctly finding target communication device in cascade device;Therefore this implementation Wiring method can will accurately control the coded data that signal includes and the target communication device is written in example, and the communication is set The independent write efficiency of standby data is higher.
In S204, the communication equipment in cascade device is sequentially ingressed into control signal, and successively according to the control signal Verify whether current communication equipment is target communication device required for user;When the coded address of the communication equipment itself When identical as the coded address that control signal includes, then the communication equipment is user's target communication device to be controlled, at this time Target communication device to be searched successfully in cascade device, the coded data is written in the target communication device, with The target communication device is set to realize corresponding circuit function according to the actual demand of user;On the contrary, if current communication When the coded address that the coded address of equipment itself and control signal include is not identical, then current communication equipment is by the control Signal is transmitted to the next communication equipment connecting with the current communication equipment, to receive the next of the control signal A communication equipment judge itself whether be user selection target communication device to be controlled, and so on;When control signal according to It is secondary that target communication device can be accurately obtained according to the coded address in the control signal when transmitting in cascade device, To realize write-in functions independent for the data of target communication device to be controlled in cascade device, the present embodiment middle rank is improved Join the data write efficiency of communication equipment in equipment.
Illustratively, the address of the communication equipment being arranged successively in cascade device itself are as follows: X1, X2 ... Xn-1, Xn, wherein N is any positive integer more than or equal to 2, each communication equipment has itself distinctive coded address in cascade device, And the communication equipment can be communicated accurately using the coded address of itself as itself mark according to the mark of itself Equipment putting in order in cascade device, therefore the present embodiment is realized by the mark of communication equipment itself and communication is set Standby independent control performance;Wherein signal output apparatus generates coded address and the coded data of the control signal are as follows: < Xk, Yk >, wherein any positive integer of the k between 1~n, the control letter signal includes user for communicating in cascade device The function of equipment selects information;The series connection relationship of the communication equipment referring to fig. 1 gone out, sends control signals to grade Join the communication equipment for being located at head end in equipment, and according to the series connection sequence between adjacent communication equipment, is communicated when upper one When the coded address that the coded address of equipment itself and control signal include is not identical, then a upper communication equipment will control signal It is sent to next communication equipment, and so on;To which the communication equipment in cascade device can successively judge the coding of itself Whether address is identical as the control coded address of signal, until finding corresponding target communication device in cascade device;When After finding the target communication device in cascade device, then the control signal is no longer transmitted to other communication equipments, with reality Referring now to the independent write-in functions of data of target communication device, ensure that the independent of target communication device is write in the cascade device Enter precision and write efficiency.
Therefore in the wiring method of the address date of the present embodiment cascade device, the signal output apparatus is according to user Operational order generate corresponding control signal, control signal is successively transmitted in the communication equipment in cascade device, to sentence Whether the coded address of disconnected communication equipment itself matches with the coded address that control signal includes, and accurately chooses from cascade device Select target communication device;Further, the coded address of the coded address and communication equipment itself that include when control signal With success, then it will control the coded data that signal includes and the communication equipment be written, pass through the coded data pair in control signal Communication equipment realizes independent control function;If user controls for the working condition of some communication equipment in cascade device When, it is only necessary to a control signal is transmitted to cascade device, the independent write-in functions of the data to realize communication equipment, being not necessarily to will Data corresponding with all communication equipments are transmitted to cascade device, and the data for greatly improving communication equipment write efficiency, subtract Loss of the data in transmission process is lacked, wiring method has more preferably data transmission efficiency in the present embodiment;Effectively solve The data transmission efficiency for traditional technology cascade equipment of having determined is low, and the control efficiency of cascade device is lower, cannot achieve for grade Join the independent data write-in functions of communication equipment in equipment.
As an alternative embodiment, Fig. 3 shows writing for the address date of cascade device provided in this embodiment Enter another implementation process of method, as an alternative embodiment, Fig. 3 shows cascade device provided in this embodiment Address date wiring method another implementation process, the present embodiment and the difference of a upper embodiment be, S201 it Before, said write method further includes S301~S303, and S304~S307 is identical as S201~S204 of a upper embodiment, is specifically asked Refering to the associated description in a upper embodiment, S304~S307 is not repeated herein.S301~S303 is specific as follows:
S301: signal output apparatus generates initialization coded strings, wherein initialization coded strings include each communication equipment pair The pre-arranged code signal answered, pre-arranged code signal described in any two is different, each described pre-arranged code signal includes just Beginning address and primary data.
In S301, the signal output apparatus generates multiple pre-arranged code signals according to the control of user request, with shape At the initialization coded strings, wherein the pre-arranged code signal and the operational order of user correspond, when the operation of user When instruction changes, the signal output apparatus parses the control information in the operational order of the user, corresponding to generate Initialization coded strings;Putting in order for multiple pre-arranged code signals instructs depending on the user's operation in the initialization coded strings Also can occur accordingly to change;The initialization coded strings have communication equipment function of initializing, can by pre-arranged code signal Realize the address for communication equipment and data initialization procedure;And then each communication is set in the cascade device in the present embodiment It is standby that initial address and primary data can rapidly be written, ensure that each communication equipment has accordingly in cascade device It identifies, each communication equipment has more preferably data initialization security performance in cascade device.
S302: initialization coded strings are sent to the communication that head end is in the cascade device by the signal output apparatus Equipment, the communication equipment in the cascade device in head end obtain from the initialization coded strings and the initialization are written First pre-arranged code signal in coded strings.
Illustratively, the multiple pre-arranged code signal difference:<X1, Y1>,<X2, Y2>...<Xn-1, Yn-1>,<Xn, Yn >, wherein first pre-arranged code signal in described<X1, Y1>representative initialization coded strings, X1 represent first pre-arranged code letter Initial address in number, Y1 represent the primary data in first pre-arranged code signal;And so on, described<Xn, Yn>representative N-th of pre-arranged code signal in coded strings is initialized, Xn represents the initial address in n-th of pre-arranged code signal, and Yn represents n-th Primary data in a pre-arranged code signal, the n are the positive integer more than or equal to 2;The multiple pre-arranged code signal Multiple initial address are contained, and each initial address has specific position;When multiple pre-arranged code signals are transmitted to When cascade device, initial address corresponding with itself can be written in each communication equipment in real time, and the communication equipment is write It is improved so that each communication equipment has corresponding mark coded address of the initial address entered as communication equipment itself The controllability of each communication equipment in cascade device;Illustratively, if first communication equipment is written first initially When location, then first initial address is the coded address of first communication equipment itself, and so on, it is each in cascade device A communication equipment can be realized the initialization of Self address.
Primary data corresponding with itself can be written in each communication equipment, to realize all communications in cascade device The initialization operation of equipment, multiple communication equipments synchronize under manipulation in multiple pre-arranged code signals realizes corresponding circuit function Energy.
Optionally, multiple pre-arranged code signals that initialization coded strings include are by between multiple communication equipments Series relationship arrangement;It specifically puts in order as noted previously, as pre-arranged code signal all in initialization coded strings has, Therefore if current communication equipment accesses the initialization coded strings, current communication equipment can obtain initialization in real time and compile First pre-arranged code signal in sequence, when initializing the process that coded strings are transmitted in cascade device, current Communication equipment can access pre-arranged code signal corresponding with current communication equipment, logical to improve each in cascade device Believe the initialization efficiency of equipment.
Illustratively, multiple pre-arranged code signals put in order in the initialization coded strings are as follows:<X1, Y1>,<X2, Y2>...<Xn-1, Yn-1>,<Xn, Yn>, wherein n is any positive integer more than or equal to 2, then described<X1, Y1>represent the One pre-arranged code signal, and first pre-arranged code signal is corresponding with first communication equipment in cascade device;Together Reason, described<X2, Y2>second pre-arranged code signal is represented, and second in second pre-arranged code signal and cascade device A communication equipment is corresponding, and so on, each pre-arranged code signal and each communication equipment in initialization coded strings It puts in order with being mutually related;Wherein corresponding communication equipment can be made to realize address by each pre-arranged code signal And data initiating operations, improve the being separately written property of data for target communication device of wiring method in the present embodiment Energy.
S303: based on the series relationship between multiple communication equipments, the communication equipment encodes the initialization String be sent to itself concatenated next communication equipment so that receive it is described initialization coded strings communication equipment obtain simultaneously Its corresponding pre-arranged code signal is written.
After S303, each communication equipment has itself distinctive mark in cascade device, when control signal according to When communication equipment in secondary transmission cascade device, the communication can be judged according to the coded address of the communication equipment itself Whether equipment matches with the coded address that control signal includes, and then target communication device is accurately obtained in cascade device;
Specifically, the series connection relationship of cascade equipment referring to Fig.1, next in two adjacent communication equipments Communication equipment has access to the initialization coded strings of communication equipment transmission, and then each communication equipment in cascade device Can obtain with itself matched pre-arranged code signal, realize the initialization procedure of communication equipment;And appoint in cascade device Two communication equipments of anticipating all are respectively connected to different pre-arranged code signals, have ensured the data of communication equipment in the cascade device Accuracy is written.
When multiple pre-arranged code signals that initialization coded strings include are by the series connection between multiple communication equipments When relationship arranges, as shown in figure 4, the S303 is specifically included:
S3031: the communication equipment deletes first pre-arranged code signal in the initialization coded strings, obtains new Initialize coded strings.
Since first pre-arranged code signal in the initialization coded strings has been used as itself of current communication devices Coded address, therefore in order to repeat the mark of any two communication equipment in cascade device not, it rejects in initialization coded strings First pre-arranged code signal, remaining communication equipment is initialized by new initialization coded strings, so cascade The distinctive address of each communication equipment itself in equipment improves in the present embodiment wiring method for target communication device Data writing accuracy.
As an alternative embodiment, the communication equipment deletes first in initialization coded strings in S3031 After a pre-arranged code signal, said write method further include:
The communication equipment moves forward the arrangement serial number of each pre-arranged code signal in new initialization coded strings It is one, all default in new initialization coded strings to obtain as the arrangement serial number after each pre-arranged code signal update Encoded signal is updated to put in order.
Illustratively, the initialization coded strings are transmitted to first communication in cascade device by the signal output apparatus Equipment, all pre-arranged code signals put in order in the initialization coded strings are as follows:<X1, Y1>,<X2, Y2>...<Xn-1, Yn-1>,<Xn, Yn>, first communication equipment reads first pre-arranged code signal in initialization coded strings:<X1, Y1>; It, can not be as remaining communication since the pre-arranged code signal in initialization coded strings has been used as the mark of first communication equipment The mark of equipment, thus initialize coded strings in first pre-arranged code signal be deleted after, in new initialization coded strings All pre-arranged code signals put in order are as follows:<X2, Y2>,<X3, Y3>...<Xn-1, Yn-1>,<Xn, Yn>;It is opposite at this time In<X1, Y1>not before being deleted in initialization coded strings, new initialization coded strings:<X2, Y2>,<X3, Y3>...<Xn-1, Yn-1>,<Xn, Yn>each of pre-arranged code signal move forward one, for example, described<X2, Y2>by second forward It is moved to first, described<X3, Y3>by third position move forward to second, and so on;The new initialization coding It is all in the new initialization coded strings when arrangement serial number of each pre-arranged code signal moves forward one in string Pre-arranged code signal puts in order to update and complete, at this time described<X2, Y2>have become the new initialization coding after updating First pre-arranged code signal in string;When updated new initialization coded strings are transmitted to second communication equipment, Second communication equipment obtains and retains<X2, and Y2>, the mark of and general<X2, Y2>as second communication equipment, and so on.
S3032: based on the series relationship between multiple communication equipments, the communication equipment sends out new initialization coded strings Send to itself concatenated next communication equipment.
The connection relationship between multiple communication equipments referring to fig. 1 gone out, when a upper communication equipment has initialized After, then new initialization coded strings are sent to the next communication equipment connecting with itself by a upper communication equipment, are led to New initialization coded strings realization is crossed for the initialization operation of next communication equipment;And so on, it is every in cascade device One communication equipment can access corresponding pre-arranged code signal, realize the initialization operation of itself;To the present embodiment The initialization efficiency of multiple communication equipments in cascade device is greatly improved, helps to ensure that target is logical in the cascade device Believe the write-in accuracy of equipment.
In order to better illustrate the slave initialization procedure of communication equipment in the present embodiment cascade equipment, one will be passed through below A example illustrates the initialization procedure of each communication equipment in cascade device;Illustratively, described in conjunction with attached drawing 3 and attached drawing 4 Initialize coded strings are as follows:<X1, Y1>,<X2, Y2>...<Xn-1, Yn-1>,<Xn, Yn>, wherein n be more than or equal to 2 appoint Anticipate positive integer, when the initialization coded strings are transmitted to first communication equipment, first communication equipment access and save the One pre-arranged code signal<X1, Y1>, at this time<X1, Y1>intercepted from initialization coded strings by first communication equipment, All pre-arranged code signals put in order in new initialization coded strings:<X2, Y2>,<X3, Y3>...<Xn-1, Yn-1>,< Xn, Yn >, all putting in order for pre-arranged code signal in new initialization coded strings are updated, it is updated it is new just First pre-arranged code signal<X2 in beginningization coded strings, Y2>, second communication equipment accesses and saves new initialization and compile First pre-arranged code signal in sequence is<X2, Y2>;For second communication equipment, at this time<X2, Y2> Taken out from initialization coded strings, remaining pre-arranged code signal in new initialization coded strings are as follows:<X3, Y3>,<X4, Y4>...< Xn-1, Yn-1>,<Xn, Yn>, and so on;In the present embodiment, whenever updated new initialization coded strings transmission is next A communication equipment, the communication equipment can obtain and save first pre-arranged code signal in initialization coded strings, so that Each communication equipment has specific mark in cascade device;Greatly ensure the initialization coded strings in cascade device In efficiency of transmission so that in cascade device each communication equipment control signal manipulation under can realize independent data The function of write-in reduces the coded data write error of target communication device in cascade device.
Fig. 5 shows the another of the wiring method of the address date of cascade device provided in an embodiment of the present invention and realizes stream Journey, wherein the cascade device includes multiple concatenated communication equipments, wherein the specific embodiment of the cascade device can join According to the embodiment of Fig. 1, will not be described in great detail herein;For ease of description, only parts related to embodiments of the present invention are shown, In the present embodiment, the executing subject of the wiring method of the address date of the cascade device is signal output apparatus, signal output Equipment is for example: single-chip microcontroller, CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices) etc., As shown in Fig. 2, said write method includes:
S501: control request is obtained;The control request includes the mark of target communication device to be controlled.
S502: the control signal of the target communication device is generated according to the control request;The control signal includes The coded address of the target communication device and coded data, the coded data is for controlling the target communication device work Make.
S503: the control signal is sent to the communication equipment that head end is in the cascade device, so that the grade Join any communication equipment in equipment when the coded address for confirming itself is identical as the coded address that the control signal includes, The coded data is written;Wherein, direction of transfer of the control signal between multiple communication equipments is by multiple described logical Believe that the series relationship between equipment determines.
It should be noted that in the present embodiment the specific embodiment of S501~S503 can refer to the S201 in Fig. 2~ S204 will not be described in great detail herein.
Therefore in the wiring method of the address date of cascade device provided in this embodiment, each communication equipment itself Mark of the coded address as communication equipment believed according to control when control signal is successively transmitted in each communication equipment Number coded address for including can accurately pick out the target communication device being easily selected by a user, to the target being easily selected by a user Communication equipment realization coded data is separately written function;Therefore the wiring method in the present embodiment is first according to the control of user Request generates a control signal, and secondly control signal is transmitted in selected target communication device, to realize for grade The independent control performance for joining communication equipment in equipment, improve data in communication equipment writes efficiency, the transmission of coded data More efficient, accuracy is bigger, and the circuit function that multiple communication equipments are realized can satisfy the actual demand of user;To this Wiring method in embodiment is not necessarily to the communication equipment that all coded data simultaneous transmissions is all into cascade device, only needs One control signal is transmitted in cascade device, efficiently solving traditional technology cannot achieve for multiple cascade electricity Some electronic equipment realizes the function of independent data write-in in sub- equipment, and transmission efficiency is low for performance data, and power consumption is big, electronics Equipment is easy to appear data write error, the not high problem of practical value.
As an alternative embodiment, as an alternative embodiment, Fig. 6 show it is provided in this embodiment The difference of the embodiment of another implementation process of the wiring method of the address date of cascade device, the present embodiment and Fig. 5 is, Before S501, said write method further includes S601~S602, S501~S503 phase of S603~S605 and a upper embodiment Together, referring specifically to the associated description of embodiment in Fig. 5, S603~S605 is not repeated herein.S601~S602 is specific as follows:
S601: initialization coded strings are generated, wherein initialization coded strings include the corresponding pre-arranged code of each communication equipment Signal, pre-arranged code signal described in any two is different, each described pre-arranged code signal includes initial address and initial Data.
S602: the initialization coded strings are sent to the communication equipment that head end is in cascade device, so that cascade is set Each communication equipment in standby obtains and corresponding pre-arranged code signal is written.
Closing the specific embodiment in this present embodiment in S601~S602 can refer to the specific of S301~S303 in attached drawing 3 Embodiment will not be described in great detail herein.
When each communication equipment be written corresponding pre-arranged code signal when, the communication equipment using the initial address as The coded address of itself, and then the communication equipment has the mark of itself, the address to realize each communication equipment is initial Change process;And the Self address of any two communication equipment is different from cascade device, then communication equipment being capable of basis The mark of itself realizes independent control function, improves the data write efficiency of the communication equipment, has ensured control signal The efficiency of transmission and transmission accuracy of middle coded data.
The present embodiment realizes the address initialization operation for communication equipment by S601 and S602, has ensured that cascade is set The write-in of standby middle target communication device is accurate and write efficiency, improves the independent write capability of data of the communication equipment, with Make said write method that there is the wider array of scope of application.
Fig. 7 shows another implementation process of the wiring method of the address date of cascade device provided in this embodiment, The executing subject of the wiring method of the address date of the cascade device of the present embodiment is the communication equipment in cascade device.Wherein institute Stating cascade device includes multiple concatenated communication equipments, as shown in fig. 7, said write method includes:
S701: obtaining control signal, and the control signal includes coded address and the coded data of target communication device, institute Coded data is stated for controlling the target communication device work;Wherein the control signal of cascade device access contains user's Operation information only makes the target communication device in cascade device work by the control signal, the cascade device tool There is more preferably controllability.
When communication equipment is in head end, the control signal sent by signal output apparatus is obtained;When communication equipment is in When non-head end, the control signal by sending with the concatenated previous communication equipment of the communication equipment is obtained, and then in cascade device Each communication equipment is sequentially received corresponding control signal according to the sequencing of arrangement, to realize target communication device The independent write-in functions of data.
S702: when the coded address for detecting that the control signal includes is identical as the coded address of itself, institute is written State the coded data that control signal includes;Wherein, direction of transfer of the control signal between multiple communication equipments It is determined by the series relationship between multiple communication equipments.
Wherein in S702, if current communication equipment accesses the control signal, pass through the volume of communication equipment itself Code is matched with the address that the control signal includes, to show whether current communication equipment is the selected target of user Communication equipment;If when the coded address successful match that the coded address of current communication equipment itself and control signal include, Illustrate that current communication equipment is the selected target communication device of user, current communication is realized by corresponding coded data The independent control function of equipment greatly improves the independent write performance of data of the communication equipment.
Wherein the specific embodiment of S701~S702 in Fig. 7 can refer to S201~S204 in Fig. 2, herein will no longer It repeats.
As an alternative embodiment, Fig. 8 shows writing for the address date of cascade device provided in this embodiment Entering another implementation process of method, the difference of the embodiment of the present embodiment and Fig. 7 is, before S701, said write side Method further includes S701~S702 of S801~S802, S803~S804 and Fig. 7 identical, referring specifically to the phase in a upper embodiment Description is closed, does not repeat S803~S804 herein.S801~S302 is specific as follows:
S801: initialization coded strings are obtained, and is obtained from the initialization coded strings and itself corresponding default volume is written Code signal;Wherein, the multiple pre-arranged code signals being arranged successively of coded strings are initialized, each pre-arranged code signal and one are led to Believe that equipment corresponds, and then can be realized address and data initialization mistake for communication equipment by the pre-arranged code signal Journey.
Optionally, initialization coded strings multiple pre-arranged code signals for including by multiple communication equipments it Between series relationship arrangement;S801 includes:
Initialization coded strings are obtained, from obtaining in the initialization coded strings and be written the in the initialization coded strings One pre-arranged code signal.
S802: based on the series relationship between multiple communication equipments, the initialization coded strings are sent to and oneself The concatenated next communication equipment of body, so that the communication equipment for receiving the initialization coded strings obtains and that its is written is corresponding Pre-arranged code signal.
Wherein the specific embodiment of S801~S802 in attached drawing 8 can refer to the implementation of S301~S303 in attached drawing 3 Example, will not be described in great detail herein.
Optionally, Fig. 9 shows the concrete operation step of S802, as shown in figure 9, S802 includes:
S8021: first pre-arranged code signal in the initialization coded strings is deleted, new initialization is obtained and compiles Sequence.
As an alternative embodiment, first deleted in initialization coded strings is default to compile in S8021 After code signal, said write method further include:
The arrangement serial number of each pre-arranged code signal in new initialization coded strings is moved forward one, using as every Arrangement serial number after one pre-arranged code signal update obtains in new initialization coded strings after all pre-arranged code signal updates Put in order.
S8022: based on the series relationship between multiple communication equipments, the new initialization coded strings are sent to With itself concatenated next communication equipment.
It should be noted that the specific embodiment of S8021~S8022 can refer to S3031~S3032 in Fig. 4 in Fig. 9 Embodiment will not be described in great detail herein.
After S8021~S8022, each communication equipment can obtain unique pre-arranged code letter in cascade device Number, to realize corresponding communication equipment initialization operation, the wiring method in the present embodiment is according to each communication equipment itself Coded address and control signal include coded address between matching result can recognize that destinations traffic to be controlled is set It is standby, greatly ensure the independent data writing accuracy of target communication device in the communication equipment.
In conjunction with attached drawing 8 and attached drawing 9, in the present embodiment, whenever initialization coded strings pass through the update of a communication equipment Afterwards, first pre-arranged code signal for initializing coded strings can all be deleted, and to all default in new initialization coded strings The arrangement serial number of encoded signal is updated;When the initialization coded strings are by communication equipment all in cascade device, To ensure that each communication equipment is accurately initialized, and prevent any two communication equipment in cascade device from being accessed Pre-arranged code signal repeat;Wiring method in the present embodiment can be real according to the coded address of each communication equipment itself Referring now to the independent write-in functions of data of the communication equipment, wiring method is improved in the present embodiment for each in cascade device The control accuracy of a communication equipment, the communication equipment can realize corresponding circuit function according to the actual needs of user, Practical value is higher, avoids the control error for each communication equipment in cascade device.
Figure 10 shows the module knot of the writing station 100 of the address date of cascade device provided in an embodiment of the present invention Structure, wherein the writing station 100 in Figure 10 can be signal output apparatus, then closes the tool of writing station 100 in this present embodiment Body embodiment can refer to the embodiment of Fig. 5, wherein the cascade device includes multiple concatenated communication equipments, specifically, institute Stating writing station 100 includes: instruction acquisition unit 1001, signal generation unit 1002 and signal transmitting unit 1003.
Wherein, instruction acquisition unit 1001 is for obtaining control request;The control request includes that target to be controlled is logical Believe the mark of equipment.
Signal generation unit 1002 is used to generate the control signal of the target communication device according to the control request;Institute Coded address and the coded data that control signal includes the target communication device are stated, the coded data is described for controlling Target communication device work.
Signal transmitting unit 1003 is used to for the control signal to be sent to the communication for being in head end in the cascade device Equipment, so that any communication equipment in the cascade device includes in the coded address and the control signal for confirming itself When coded address is identical, the coded data is written;Wherein, transmitting side of the control signal between multiple communication equipments It is determined to by the series relationship between multiple communication equipments.
Therefore in the present embodiment, said write device 100 has more simplified modular structure, can be according to the behaviour of user Make to instruct to generate and controls signal accordingly, the independent write-in functions of data that target communication device is realized by the control signal, Greatly ensure that the data of cascade device write efficiency, the writing station 100 in the present embodiment has the wider array of scope of application.
Figure 11 shows the module knot of the writing station 110 of the address date of cascade device provided in an embodiment of the present invention Structure, wherein the writing station 110 in Figure 11 can be communication equipment, then closes the specific reality of writing station 110 in this present embodiment The mode of applying can refer to the embodiment of Fig. 7, wherein the cascade device includes multiple concatenated communication equipments, specifically, described write Entering device 110 includes: signal acquiring unit 1101 and signal writing unit 1102.
Wherein, for signal acquiring unit 1101 for obtaining control signal, the control signal includes target communication device Coded address and coded data, the coded data is for controlling the target communication device work.
Signal writing unit 1102 is used to work as the volume of the coded address and communication equipment that detect that the control signal includes When code address is identical, the communication equipment is written into the coded data that the control signal includes;Wherein, the control letter Direction of transfer number between multiple communication equipments is determined by the series relationship between multiple communication equipments.
Therefore in the present embodiment, said write device 110, can be in cascade device by obtaining corresponding control signal User's target communication device to be controlled is found, after confirming the target communication device, passes through signal writing unit 1102 The coded data that signal includes will be controlled, target control equipment is written, it is independent for the precise information of target communication device to realize Write-in functions can ensure that cascade device can realize corresponding circuit according to the operational order of user by writing station 110 Function improves the data write efficiency of communication equipment in cascade device, and then the writing station 110 in the present embodiment has pole High practical value;It solves the problems, such as that traditional technology cannot achieve to be separately written the communications device data of cascade device.
Figure 12 shows the modular structure of the write device 120 of the address date of cascade device provided in this embodiment, figure 12 be the schematic diagram for the write device 120 that one embodiment of the invention provides.As shown in figure 12, the write device 120 of the embodiment Include: processor 1201, memory 1202 and is stored in the memory 1202 and can be transported on the processor 1201 Capable computer program 1203.The processor 1201 realizes above-mentioned each cascade device when executing the computer program 1203 Address date wiring method embodiment in step, such as S501 shown in fig. 5 to S503, in another example shown in fig. 7 S701 to S702.Or the processor 1201 realizes the S601 in Fig. 6 when executing the computer program 1203 extremely S605 or the processor 1201 realize the S801 to S804 in Fig. 8 when executing the computer program.
Illustratively, the computer program 1203 can be divided into one or more module/units, it is one or Multiple module/the units of person are stored in the memory 1202, and are executed by the processor 1201, to complete the present invention. One or more of module/units can be the series of computation machine program instruction section that can complete specific function, the instruction Section is for describing implementation procedure of the computer program 1203 in said write equipment 120.For example, the computer program 1203 can be divided into instruction acquisition unit, signal generation unit and signal transmitting unit;In another example the computer journey Sequence 1203 can be divided into signal acquiring unit and signal writing unit.
Said write equipment 120 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.Said write equipment 120 may include, but be not limited only to, processor 1201, memory 1202.Those skilled in the art can be with Understand, Figure 12 is only the example of write device 120, does not constitute the restriction to write device 120, may include than illustrating more More or less component perhaps combines certain components or different components, such as said write equipment 120 can also include Input-output equipment, network access equipment, bus etc..
Alleged processor 1201 can be central processing unit (Central Processing Unit, CPU), can be with It is other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 1202 can be the internal storage unit of said write equipment 120, such as write device 120 is hard Disk or memory.The memory 1202 is also possible to the External memory equipment of said write equipment 120, such as said write equipment The plug-in type hard disk being equipped on 120, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 1202 can also both include described writes The internal storage unit for entering equipment 120 also includes External memory equipment.The memory 1202 is for storing the computer journey Other programs and data needed for sequence and said write equipment 120.The memory 1202 can be also used for temporarily storing The data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in the wiring method of the address date of example cascade device, can also instruct phase by computer program The hardware of pass is completed, and the computer program can be stored in a computer readable storage medium, which exists When being executed by processor, it can be achieved that the step of the wiring method embodiment of the address date of above-mentioned each cascade device.Wherein, institute Stating computer program includes computer program code, and the computer program code can be source code form, object identification code shape Formula, executable file or certain intermediate forms etc..The computer-readable medium may include: that can carry the computer journey Any entity or device of sequence code, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only storage Device (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, Telecommunication signal and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can basis Legislation and the requirement of patent practice carry out increase and decrease appropriate in jurisdiction, such as in certain jurisdictions, according to legislation And patent practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
In conclusion the address date wiring method of the cascade device in the embodiment of the present invention is according to each in cascade device A communication equipment all has itself unique coded address, can be accurately by the coded address of each communication equipment itself Target communication device is found, and realizes the independent data write-in functions for target communication device;Therefore the embodiment of the present invention One control signal can be transmitted to the target communication device in cascade device, so that target communication device is write in cascade device Enter to control the coded data that signal includes, the communication equipment in cascade device can be realized independent data write-in functions, greatly The data for improving each communication equipment in cascade device write efficiency, and said write method can be realized for communication equipment More preferably control performance, multiple communication equipments can realize complicated circuit function, practical value according to the actual demand of user It is higher;Therefore the wiring method of the address date of cascade equipment of the embodiment of the present invention is for communication equipments multiple in this field Control performance has positive facilitation, will generate important industrial value.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of wiring method of the address date of cascade device, the cascade device includes multiple concatenated communication equipments, It is characterized in that, said write method includes:
Obtain control request;The control request includes the mark of target communication device to be controlled;
The control signal of the target communication device is generated according to the control request;The control signal includes that the target is logical Believe coded address and the coded data of equipment, the coded data is for controlling the target communication device work;
The control signal is sent to the communication equipment that head end is in the cascade device, so that in the cascade device The volume is written when the coded address for confirming itself is identical as the coded address that the control signal includes in any communication equipment Code data;Wherein, direction of transfer of the control signal between multiple communication equipments is by between multiple communication equipments Series relationship determine.
2. wiring method according to claim 1, which is characterized in that described before the acquisition control request Wiring method further include:
Generate initialization coded strings, wherein the initialization coded strings include the corresponding pre-arranged code of each communication equipment Signal, pre-arranged code signal described in any two is different, each described pre-arranged code signal includes initial address and initial Data;
The initialization coded strings are sent to the communication equipment that head end is in the cascade device, so that the cascade device Each of the communication equipment obtain and corresponding pre-arranged code signal be written.
3. a kind of wiring method of the address date of cascade device, the cascade device includes multiple concatenated communication equipments, It is characterized in that, said write method includes:
Control signal is obtained, the control signal includes coded address and the coded data of target communication device, the coded number According to for controlling the target communication device work;
When the coded address for detecting that the control signal includes is identical as the coded address of itself, the control signal is written The coded data for including;Wherein, direction of transfer of the control signal between multiple communication equipments is by multiple described Series relationship between communication equipment determines.
4. wiring method according to claim 3, which is characterized in that described before the acquisition control signal Wiring method further include:
Initialization coded strings are obtained, and is obtained from the initialization coded strings and itself corresponding pre-arranged code signal is written;
Based on the series relationship between multiple communication equipments, by the initialization coded strings be sent to itself it is concatenated under One communication equipment, so that the communication equipment for receiving the initialization coded strings obtains and its corresponding pre-arranged code letter is written Number.
5. wiring method according to claim 4, which is characterized in that it is described initialization coded strings include it is multiple described pre- If encoded signal is by the series relationship arrangement between multiple communication equipments;The acquisition initializes coded strings, and from described Initialization coded strings, which obtain and itself corresponding pre-arranged code signal is written, includes:
Initialization coded strings are obtained, obtained from the initialization coded strings and first initialized in coded strings is written Pre-arranged code signal;
The initialization coded strings are sent to and connect with itself by the series relationship based between multiple communication equipments Next communication equipment, specifically include:
First pre-arranged code signal in the initialization coded strings is deleted, new initialization coded strings are obtained;
Based on the series relationship between multiple communication equipments, the new initialization coded strings are sent to and are connected with itself Next communication equipment.
6. a kind of wiring method of the address date of cascade device, the cascade device includes multiple concatenated communication equipments, It is characterized in that, said write method includes:
Signal output apparatus obtains control request;The control request includes the mark of target communication device to be controlled;
The signal output apparatus generates the control signal of the target communication device according to the control request;The control letter It number include coded address and the coded data of the target communication device, the coded data is for controlling the destinations traffic Equipment work;
The control signal is sent to the communication equipment that head end is in the cascade device by the signal output apparatus;
The communication equipment of the control signal is received in the coded address and the volume of itself for detecting that the control signal includes When code address is identical, the coded data that the control signal includes is written;Wherein, the control signal is multiple described logical The direction of transfer of letter equipment room is determined by the series relationship between multiple communication equipments.
7. a kind of write device of the address date of cascade device, including memory, processor and it is stored in the memory In and the computer program that can run on the processor, which is characterized in that the processor executes the computer program Shi Shixian is as described in any one of claim 1 to 2 the step of the wiring method of the address date of cascade device.
8. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the address date of realization cascade device as described in any one of claim 1 to 2 when the computer program is executed by processor Wiring method the step of.
9. a kind of write device of the address date of cascade device, including memory, processor and it is stored in the memory In and the computer program that can run on the processor, which is characterized in that the processor executes the computer program Shi Shixian is as described in any one of claim 3 to 5 the step of the wiring method of the address date of cascade device.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the address date of realization cascade device as described in any one of claim 3 to 5 when the computer program is executed by processor Wiring method the step of.
CN201811579923.1A 2018-12-24 2018-12-24 Writing method of address data of cascade equipment, writing equipment and storage medium Active CN109697035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811579923.1A CN109697035B (en) 2018-12-24 2018-12-24 Writing method of address data of cascade equipment, writing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811579923.1A CN109697035B (en) 2018-12-24 2018-12-24 Writing method of address data of cascade equipment, writing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109697035A true CN109697035A (en) 2019-04-30
CN109697035B CN109697035B (en) 2022-03-29

Family

ID=66231889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811579923.1A Active CN109697035B (en) 2018-12-24 2018-12-24 Writing method of address data of cascade equipment, writing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109697035B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572911A (en) * 2019-09-26 2019-12-13 深圳市明微电子股份有限公司 Address coding method, address coding system and illumination system of cascade equipment
CN111897766A (en) * 2020-06-19 2020-11-06 西安微电子技术研究所 Satellite-borne solid-state memory and data processing method capable of recording and erasing simultaneously
CN114500147A (en) * 2021-12-29 2022-05-13 深圳市英威腾电气股份有限公司 Method and device for allocating station numbers, electronic equipment and storage medium
CN114598690A (en) * 2022-02-24 2022-06-07 深圳市海洋王照明工程有限公司 Communication method and device of cascade equipment system and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1157961A (en) * 1995-12-25 1997-08-27 松下电工株式会社 Peripheral unit selection system
US20090289578A1 (en) * 2008-05-23 2009-11-26 Peng Wen-Chi Parallel type single-wire addressable lighting device
CN103268751A (en) * 2013-05-09 2013-08-28 深圳市明微电子股份有限公司 Address code writing-in method and system of LED display devices
CN103649901A (en) * 2013-07-26 2014-03-19 华为技术有限公司 Data transmission method, data receiving method and sotring equipment
CN104464617A (en) * 2014-10-30 2015-03-25 深圳市明微电子股份有限公司 Parallel display system and display devices thereof
CN106231759A (en) * 2016-09-13 2016-12-14 深圳市明微电子股份有限公司 A kind of landscape decorative lamp system and automatic address coded method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1157961A (en) * 1995-12-25 1997-08-27 松下电工株式会社 Peripheral unit selection system
US20090289578A1 (en) * 2008-05-23 2009-11-26 Peng Wen-Chi Parallel type single-wire addressable lighting device
CN103268751A (en) * 2013-05-09 2013-08-28 深圳市明微电子股份有限公司 Address code writing-in method and system of LED display devices
CN103649901A (en) * 2013-07-26 2014-03-19 华为技术有限公司 Data transmission method, data receiving method and sotring equipment
CN104464617A (en) * 2014-10-30 2015-03-25 深圳市明微电子股份有限公司 Parallel display system and display devices thereof
CN106231759A (en) * 2016-09-13 2016-12-14 深圳市明微电子股份有限公司 A kind of landscape decorative lamp system and automatic address coded method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
H.W. CHOI ET AL.: "Fabrication and performance of parallel-addressed InGaN micro-LED arrays", 《IEEE PHOTONICS TECHNOLOGY LETTERS》 *
陈万里 等: "高功率LED照明驱动应用的新方法", 《万方数据库》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572911A (en) * 2019-09-26 2019-12-13 深圳市明微电子股份有限公司 Address coding method, address coding system and illumination system of cascade equipment
CN110572911B (en) * 2019-09-26 2021-07-09 深圳市明微电子股份有限公司 Address coding method, address coding system and illumination system of cascade equipment
CN111897766A (en) * 2020-06-19 2020-11-06 西安微电子技术研究所 Satellite-borne solid-state memory and data processing method capable of recording and erasing simultaneously
CN111897766B (en) * 2020-06-19 2023-05-30 西安微电子技术研究所 Satellite-borne solid-state memory and data processing method capable of recording and erasing
CN114500147A (en) * 2021-12-29 2022-05-13 深圳市英威腾电气股份有限公司 Method and device for allocating station numbers, electronic equipment and storage medium
CN114500147B (en) * 2021-12-29 2023-12-26 深圳市英威腾电气股份有限公司 Method and device for distributing station numbers, electronic equipment and storage medium
CN114598690A (en) * 2022-02-24 2022-06-07 深圳市海洋王照明工程有限公司 Communication method and device of cascade equipment system and electronic equipment

Also Published As

Publication number Publication date
CN109697035B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
CN109697035A (en) Wiring method, write device and the storage medium of the address date of cascade device
CN103456203B (en) A kind of portable entity programmed method and system
CN102789713B (en) Entity programming method and system based on infrared and wireless transmission technology
CN106471780B (en) The method, system and logic of link-local are configured based on remote link partner
CN106326154B (en) A kind of control circuit and its control method of hard disk address
KR20170104306A (en) Module system, module based robot system, and update method for module system
CN107622219A (en) Super high frequency radio frequency identification label localization method, system, electronic tag and read write line
CN102801818A (en) Universal sensor interface acquisition system based on ZigBee technology
JP2008117377A (en) Computer program and system for guiding electronic connection between nodes of computer system
CN102662383B (en) Realizing method for controlling chain of chain control system
CN110737660A (en) data processing method, device and computer readable storage medium
CN207460209U (en) A kind of network interface switching circuit and network switching card
CN104780680A (en) Intelligent three-place control switch
CN104283978A (en) Equipment control method, system and converter and third-party control system
CN103425055A (en) Semi-virtual functional test device and method for control system
CN105589390B (en) A kind of multi-source multi-target acousto-optic synchronous control system and control method
CN105898961B (en) Wireless lighting matches control system
CN110572911B (en) Address coding method, address coding system and illumination system of cascade equipment
CN209044993U (en) Single-chip microcontroller insertion slot type expansion board and multimode external member for computer programming teaching
CN110349480A (en) Instructional Development plate and robot
CN108961979A (en) A kind of teaching robot&#39;s system and assemble method
CN105468431A (en) Multi-model real-time simulation system
CN205969040U (en) Many interfaces steering wheel
CN205507444U (en) Multisource multiple target reputation synchronous control system
CN108430130A (en) A kind of lighting device with indoor positioning function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant