CN114363436A - Communication method, communication device, electronic device and storage medium - Google Patents

Communication method, communication device, electronic device and storage medium Download PDF

Info

Publication number
CN114363436A
CN114363436A CN202210261821.5A CN202210261821A CN114363436A CN 114363436 A CN114363436 A CN 114363436A CN 202210261821 A CN202210261821 A CN 202210261821A CN 114363436 A CN114363436 A CN 114363436A
Authority
CN
China
Prior art keywords
information
setting
command
slave
equipment
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
CN202210261821.5A
Other languages
Chinese (zh)
Other versions
CN114363436B (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 Aitushi Innovation Technology Co ltd
Original Assignee
Aputure Imaging Industries 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 Aputure Imaging Industries Co Ltd filed Critical Aputure Imaging Industries Co Ltd
Priority to CN202210261821.5A priority Critical patent/CN114363436B/en
Publication of CN114363436A publication Critical patent/CN114363436A/en
Application granted granted Critical
Publication of CN114363436B publication Critical patent/CN114363436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention discloses a communication method, a communication device, electronic equipment and a storage medium, wherein the method comprises the steps of responding to a setting instruction of slave equipment, acquiring a data format compatible with the slave equipment, generating a setting request to be sent according to the setting instruction, assembling the setting information according to equipment information and the setting request of master equipment, and repeatedly transmitting the setting information to the slave equipment in the data format compatible with the slave equipment within transmission duration until the slave equipment executes corresponding setting operation according to the setting information. By adopting the embodiment of the invention, the communication efficiency among the existing devices can be improved.

Description

Communication method, communication device, electronic device and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method and apparatus, an electronic device, and a storage medium.
Background
Modbus is a request/response protocol, a generic language applied to electronic controllers. With this protocol, controllers can communicate with each other, controllers via a network (e.g., ethernet), and other devices. The Modbus protocol defines the message structure that a controller can recognize as being used regardless of the network over which they communicate. It describes the process of a controller requesting access to other devices, how to respond to requests from other devices, and how to detect errors and log them. It formulates a common format for message domain schema and content.
However, the Modbus protocol is characterized by pertinence and particularity, and is mainly applied to some large devices and instruments, and has the disadvantages of complex data format, complicated communication mode, large code amount and large occupied space, so that the communication of small devices and small instruments is not suitable for being adopted. The simple self-defined communication protocol with one data format has the problems of high communication failure rate and no reissue mechanism, can be used only by one or more devices, and has no universality and device universality. Therefore, the communication efficiency of the existing small equipment and small instrument is low.
Disclosure of Invention
The embodiment of the invention aims to provide a communication method, a communication device, electronic equipment and a storage medium, so as to solve the technical problem of low communication efficiency of small equipment and small instruments.
In a first aspect, to achieve the above object, an embodiment of the present invention provides a communication method applied to a master device, including:
in response to a setting instruction for a slave device, acquiring a data format compatible with the slave device;
generating a setting request to be sent according to the setting instruction;
assembling setting information according to the equipment information of the main equipment and the setting request;
and repeatedly transmitting the setting information to the slave equipment in a data format compatible with the slave equipment within the transmission duration until the slave equipment executes corresponding setting operation according to the setting information.
Further, the assembling the setting information according to the device information of the master device and the setting request includes:
acquiring equipment identification information corresponding to main equipment and command information corresponding to the setting request;
and assembling to obtain setting information according to the identification information and the command information.
Further, the setting information further includes attribute information; the assembling according to the identification information and the command information to obtain the setting information comprises:
acquiring protocol identification information of the primary equipment which carries out communication at the current time and frequency information of carrying out data communication with the secondary equipment;
generating serial number information for communicating with the slave equipment at this time according to the frequency information;
and taking the protocol identification information and the sequence number information as attribute information, and assembling to obtain setting information according to the attribute information, the identification information and the command information.
Further, the command information comprises at least one command data packet, and the command data packet comprises command type information and a command data body; before the step of obtaining the device identification information corresponding to the master device and the command information corresponding to the setting request, the communication method further includes:
acquiring a function name of the slave equipment with a function;
generating corresponding command type information and a command data body according to the setting request and the function name;
and taking the command type information and the command data body as the command information.
Further, after the step of assembling the setting information according to the identification information and the command information, the communication method further includes:
detecting the data length of the setting information;
and if the data length is larger than the preset data length, generating a setting information error prompt, and suspending transmission of the setting information.
In a second aspect, to solve the same technical problem, an embodiment of the present invention further provides a communication method applied to a slave device, including:
when communication connection with a master device is detected, sending a data format compatible with the slave device to the master device;
receiving the setting information transmitted by the main equipment;
checking the setting information;
and after the verification processing is passed, executing corresponding setting operation according to the setting information.
Further, the verifying the setting information includes:
acquiring a function name of the slave equipment with a function;
detecting whether command information contained in the setting information corresponds to the function name;
and if so, determining that the checking process passes.
In a third aspect, to solve the same technical problem, an embodiment of the present invention provides a communication apparatus, including:
the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for responding to a setting instruction of a slave device and acquiring a data format compatible with the slave device;
the second acquisition module is used for generating a setting request to be sent according to the setting instruction;
the assembling module is used for assembling the setting information according to the equipment information of the main equipment and the setting request;
and the transmission module is used for repeatedly transmitting the setting information to the slave equipment in a data format compatible with the slave equipment within the transmission duration until the slave equipment executes corresponding setting operation according to the setting information.
In a fourth aspect, to solve the same technical problem, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the memory is coupled to the processor, and the processor implements the steps in the communication method according to any one of the above when executing the computer program.
In a fifth aspect, to solve the same technical problem, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, wherein when the computer program runs, an apparatus in which the computer-readable storage medium is located is controlled to execute the steps in any one of the communication methods described above.
The embodiment of the invention provides a communication method, a communication device, electronic equipment and a storage medium, wherein the method generates a setting request to be sent according to a setting instruction, and assembles setting information according to equipment information and the setting request of main equipment, so that the setting information with flexible data and small code amount is obtained, the data transmission efficiency is improved, and the communication efficiency among the equipment is improved. And then, the setting information is repeatedly transmitted to the slave equipment in a data format compatible with the slave equipment within the transmission duration until the slave equipment executes corresponding setting operation according to the setting information, so that the communication success rate can be improved, and the communication efficiency between the equipment is further improved.
Drawings
Fig. 1 is a schematic flowchart of a communication method applied to a master device according to an embodiment of the present invention;
fig. 2 is a flowchart of a communication method applied to a slave device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a communication apparatus applied to a master device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a communication apparatus applied to a master device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a communication apparatus applied to a slave device according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
In the related art, a communication protocol used between the controller and the receiver has the characteristics of complex data format, complex communication mode, large code amount, large occupied space and the like, so that the communication protocol is generally suitable for communication between large-scale equipment and instruments. When used in small-sized equipment and instruments, the failure rate of communication between the small-sized equipment and the instruments is high due to the equipment conditions of the small-sized equipment and the instruments, and the communication efficiency between the small-sized equipment and the instruments is reduced.
To solve the problems in the related art, an embodiment of the present invention provides a communication method applied to a master device, please refer to fig. 1, where fig. 1 is a schematic flow diagram of the communication method applied to the master device, and as shown in fig. 1, the communication method provided by the embodiment of the present invention includes steps 101 to 104;
in step 101, in response to a setting instruction for a slave device, a data format compatible with the slave device is acquired.
The setting instruction is an instruction which is input by a user and used for controlling the slave equipment, and the instruction comprises an instruction which can control the slave equipment so as to enable the slave equipment to execute the function of the slave equipment. For example, when the master device is a controller and the slave device is a lamp, the setting command corresponds to a function of the lamp, including a switch control command, a brightness control command, a color temperature control command, a color control command, and the like.
It can be understood that, when the communication method provided in the embodiment of the present invention is applied to other devices, the setting instruction defined in the embodiment is not limited to the control instruction for controlling the lamp, and may also be a control instruction corresponding to a function of another device, which is not illustrated here.
In the embodiment of the present invention, when the master device is in communication connection with the slave device, the master device may automatically initiate a data format acquisition request to the slave device, so as to acquire the data format compatible with the slave device fed back by the slave device, and store the data format, so as to recall the stored data format matched with the corresponding slave device when a setting instruction for the slave device is detected.
Specifically, when it is detected that the user inputs a setting instruction for the slave device on the master device, a data format acquisition request may be sent to the corresponding slave device, so as to acquire a data format compatible with the corresponding slave device.
In this embodiment, by obtaining the data format compatible with the slave device, it can be ensured that the information transmitted by the master device can be processed by the slave device, and the slave device is prevented from being unable to process the information or command transmitted by the master device, thereby improving the communication efficiency between the master device and the slave device.
In some cases, the master device may communicate directly with the slave device. In other cases, the master device may communicate via an intermediary. For example, a master device communicates with a slave device on a wireless network provided by an access point via a wireless network access point.
In some embodiments, communication with a slave device may be limited to authorized master devices. In particular, by establishing a pairing between the master device and the slave device to indicate that the user wishes the master device to be able to control the slave device, and the master device with which the pairing has been established can be considered authorized for that slave device. After the pairing is established, the slave device can verify whether the received communication is from the paired master device or another device, and the slave device can reject any communication that is not from the paired master device (and vice versa). For example, when a previously paired slave device and master device reconnect, they may verify the previous pairing and generate a session-specific encryption key for communicating within the pairing-verified session. In some embodiments, multiple master devices may establish pairings with the same slave device, one or more master devices may also establish pairings with multiple slave devices, and a slave device may accept communications from any master device with which it is paired and respond while rejecting or ignoring communications from unpaired master devices.
And 102, generating a setting request to be sent according to the setting instruction.
After a setting instruction for controlling the slave device, which is input by a user on the master device, is acquired, the master device automatically generates a setting request corresponding to the setting instruction according to the setting instruction. Specifically, the setting instruction may include an instruction for controlling the slave device to execute one operation, or may include an instruction for controlling the slave device to execute a plurality of operations, and then the master device generates a corresponding request for each operation command according to the instructions, so as to form a setting request to be sent. For example, the setting instruction input by the user is: and turning on the light, reducing the brightness and adjusting the color to the warm color, generating a light-on request, a brightness reduction request and a color adjustment to the warm color request by the main equipment, and combining and packaging the requests into a setting request.
In some embodiments, when the slave device is a luminaire, the master device may generate a corresponding setting request in conjunction with the luminance characteristics and the hue characteristics of the luminaire. For example, the luminance characteristic may have an integer value in the range of 0 to 100 to indicate the luminance level as a percentage of the maximum luminance supported by the luminaire. The tone characteristic may have floating point values that specify the tone in a range of 0 to 360 degrees, and converting values in degrees to physical tones may follow standard color modeling practices. Therefore, after the slave device receives the setting request generated by the master device, the setting operation corresponding to the setting request can be accurately executed, so that the communication efficiency is improved, and the user experience is improved.
Step 103, assembling the setting information according to the device information and the setting request of the main device.
In this embodiment, the step of assembling the setting information according to the device information and the setting request of the master device specifically includes: acquiring equipment identification information corresponding to the main equipment and command information corresponding to the setting request; and assembling to obtain the setting information according to the identification information and the command information.
The device identification information of the master device is a start packet as setting information, which has an identification function for the slave device to identify the device information of the master device with which communication is performed. Specifically, each master device has a unique device identifier, and after the master device and the slave device are paired, the slave device only needs to detect the device identifier information of the master device communicating with the slave device, so as to determine whether the master device communicating with the slave device is the paired master device, that is, detect whether the master device is an authorized master device. Thereby, the slave device can reject a request of a master device with which it is not paired. In addition, the start packet may further include checksum data including an accumulated sum of all fields of all data except the start packet in the setting information.
Specifically, the command information includes at least one command data packet, and the command data packet includes command type information and a command data body, where one command data packet corresponds to one command request. Before the step of obtaining the device identification information corresponding to the master device and the command information corresponding to the setting request, the communication method provided in this embodiment further includes: acquiring a function name of a slave device with a function; generating corresponding command type information and a command data body according to the setting request and the function name; command type information and a command data body are taken as command information.
In the present embodiment, the command type information may be data defined according to a function name. For example, when the slave device is a lamp, corresponding command type information, such as a color temperature function of a lamp corresponding to CCT, a color customization function of a lamp corresponding to RGBWW, a Switch function of a lamp corresponding to Switch, etc., is defined according to the characteristics and the corresponding function names of the lamp. Further, since the slave device, that is, the lamp has version information, failure information, battery status information, and the like, which can be detected and obtained by itself, the command type information defining the slave device may also be command type information that obtains the own status information of the slave device.
Specifically, please refer to the command type information shown in table 1 below, which defines that most of the light fixtures have command type information corresponding to functions. Table 1 shows the serial number, name, and description of the command type information, and the master device may generate corresponding command type information according to the content defined in table 1 and the setting instruction input by the user.
TABLE 1
Command type sequence number Command type name Instruction type specification
0X00 Version Version information of lamp body
0X01 HSI Color wheel
0X02 CCT Color temperature
0X03 GEL Color paper
0X04 RGBWW Color customization
0X05 XY_Coordinate Color coordinates
0X06 Dim_Frq Lamp body dimming frequency
0X07 Light_Effect First generation light effect
0X08 Dimming_Curve Dimming curve
0X09 Fan Fan with cooling device
0X0A Power_Suppy_Mode Power supply mode
0X0B Battery_State State of the battery
0X0C Switch On-off machine
0X0D Upgrade OTA upgrade
0X0E Temperature_Msg Temperature information
0X0F Light_Effect_II Second generation lighting effect
0X10 Self_Adaption Adaptive voltage regulation
0X11 Factory_PWM Factory mode for basic data acquisition
0X12 Source Light source matching
0X13 Illumination_Mode Illumination mode
0X14 Color_Mixing The color is mixed, and the mixture is,for DMX functions
0X15 Error_Msg Fault information
0X16 PFX_Ctrl Sidus programming light effect
0X17 CFX_Bank_RW Bank information of Sidus lamp body self-defined lighting effect can be read and written (written and deleted)
0X18 CFX_Ctrl Sidus custom light effect control
0X19 CFX_Preview Sidus custom light effect preview
0X1A MFX_Ctrl Sidus manual lighting effect
0X1B File_Transfer GATT upgrade (Sidus custom lighting effect and lamp body firmware upgrade)
0X1C RGBWW_1 DMX color control
0X1D CFX_Name Sidus custom light effect file name
0X1E Curr_Light_Mode Light mode of front lamp body
0X1F Pixel_Effect Pixel light effect
0X20 DMX_Strobe DMX flash
0X21 Partition_Color Zone color
0X22 Partition_Effect Zoned lighting effects
In another embodiment, the host device may further generate a corresponding command data body according to a setting instruction input by a user and command type information generated by the host device, where the command data body mainly includes data for performing command type control on each function. The command data body may include command type information and operation information to be executed, for example, when the setting information is information for setting a switch of a lamp, the command data body in the setting information is "0X 0C on", which indicates that the state of the control switch is an on state.
In some embodiments, the setting information further includes attribute information to be a packet of the setting information. The step of obtaining the setting information by assembling according to the identification information and the command information specifically includes: acquiring protocol identification information of the primary equipment which carries out communication at this time and frequency information of carrying out data communication with the secondary equipment; according to the frequency information, generating serial number information for communication with the slave equipment at this time; and taking the protocol identification information and the sequence number information as attribute information, and assembling to obtain setting information according to the attribute information, the identification information and the command information.
The protocol identification information is used for determining the current protocol version of the master device, and when the protocol version of the master device is different from that of the slave device, the version error prompt is triggered to prompt the master device or the slave device to update the protocol version. Specifically, a version error prompt is sent to the end with the lower protocol version. In addition, when the slave device is the controlled end and the protocol version of the slave device is higher than that of the master device, the protocol version of the slave device is compatible with the protocol version with the lower version, that is, the slave device can execute corresponding operation according to the data transmitted by the master device, and does not need to execute the corresponding operation after updating. However, when the protocol version of the slave device is low, the protocol version needs to be upgraded first, and then the corresponding operation is executed according to the setting information.
The number information is the number of data sent by the master device and the slave device in the communication process, and the number information +1 is used as the serial number information of the communication with the slave device at this time, so that the communication information between the master device and the slave device is recorded. In this embodiment, the value range of the sequence number information is 0 to 65535.
In other embodiments, the attribute information further includes a data length of the attribute information, and a data length of the entire setting information. Specifically, the data length of the attribute information is 0 to 255, and the data length of the entire setting information is less than 1024 bytes.
In order to better operate the communication method provided by the embodiment of the present invention in a small device or an instrument, after the step of assembling the setting information according to the identification information and the command information, the communication method provided by the embodiment further includes: detecting the data length of the setting information; and if the data length is larger than the preset data length, generating a setting information error prompt and suspending transmission of the setting information.
Since the data length of the entire setting information needs to be smaller than 1024 bytes, the preset data length may be set to 1024 bytes. Thus, when the data length of the setting information is larger than 1024 bytes, generating a setting information error prompt and suspending transmission of the setting information; otherwise, the setting information is continuously transmitted. Optionally, the preset data length may also be set to a value smaller than 1024 bytes, so as to improve the efficiency of data transmission.
In an alternative embodiment, the attribute information further comprises reply time capability information to control the reply capability of the slave device. For example, when the slave device does not need to respond, information for prohibiting response may be added to the attribute information to prohibit the slave device from responding to the current setting information (conversely, the slave device may be permitted to respond).
And step 104, repeatedly transmitting the setting information to the slave device in the data format compatible with the slave device within the transmission duration until the slave device executes corresponding setting operation according to the setting information.
In the related art, a communication protocol of a data format is simply customized, and the problems of high communication failure rate and no reissue mechanism exist, so that the embodiment of the invention repeatedly transmits the setting information to the slave device within the transmission duration, and the transmission of the setting information is not stopped until the slave device is detected to execute the corresponding setting operation.
Specifically, the transmission duration is the time between the start of transmission and the execution of the corresponding setting operation by the slave device. By repeatedly transmitting the setting information until the slave device executes the corresponding operation, the problems of high communication failure rate and no reissue mechanism in the related technology can be solved, so that the communication efficiency between the master device and the slave device is effectively improved. For example, after the master device transmits the setting information, it is detected whether the slave device receives the response every a preset detection time, where the preset detection time may be set to 200ms, 300ms, 350ms, and so on, and if the master device does not receive the response of the slave device in the preset detection time, the setting information is transmitted to the slave device again, and the setting information is cyclically transmitted to the slave device until the slave device completes the response.
In order to improve the communication efficiency, if the master device of this embodiment does not receive the response from the slave device after continuously presetting the transmission times, where the preset transmission times may be set to 3 times, 4 times, 5 times, and the like, when the response is not received after the preset transmission times, the communication failure may be directly determined, and a communication failure identifier is displayed on the master device to remind the user of the communication failure, thereby avoiding that the master device continuously sends data all the time, and saving the communication cost.
It should be noted that the slave device may also respond to the setting information transmitted by the master device, and when the setting information transmitted by the master device contains information that indicates that the response is allowed, the slave device may respond. When the slave device responds to the setting information transmitted by the master device, the serial number information in the setting information, for example, N, needs to be acquired first, and when the slave device responds, the serial number information with the serial number N needs to be added to the responded information. That is, when the master device or the slave device replies to the peer device, the corresponding serial number information must be added to the reply information. Therefore, the master device or the slave device can be prevented from responding to wrong information or receiving wrong response information, so that the communication failure rate is effectively reduced, and the communication efficiency between the master device and the slave device is improved.
As a preferred embodiment of the present invention, in this embodiment, the setting information transmitted to the slave device by the master device includes three types of data, where the first type of data is a start packet, that is, device information (including device identification information and checksum data) of the master device; the second data is a packet, i.e. attribute information of the master device (including protocol identification information, sequence number information, data length of the attribute information, and data length of the entire setting information); the third type of data is a command packet, i.e., command information (including command type information and a command data body). It should be noted that the number of packets of the first data and the second data, i.e., the start packet (device information of the master device) and the information packet (attribute information of the master device), in the setting information is only one, and the number of packets of the third data, i.e., the command packet (command information), is variable (each command packet contains only one setting request). Therefore, the whole data length of the setting information can be flexibly processed according to the command data packet, so that the setting information provided by the embodiment can be applied to various types (small, medium and large types) of equipment and instruments, and the communication efficiency of the communication method provided by the embodiment is effectively improved. Specifically, the setting information in this embodiment is shown in table 2 below.
TABLE 2
Figure 625753DEST_PATH_IMAGE001
In order to solve the same technical problem, an embodiment of the present invention further provides a communication method applied to a slave device, please refer to fig. 2, fig. 2 is a schematic flow chart of the communication method applied to the slave device according to the embodiment of the present invention, and as shown in fig. 2, the communication method according to the embodiment of the present invention includes steps 201 to 204;
step 201, when detecting the communication connection with the master device, sending the data format compatible with the slave device to the master device.
In some embodiments, the slave device may automatically send a data format compatible with the slave device to the master device upon detecting a communication connection with the master device. In other embodiments, the slave device may also feed back a data format compatible with the slave device to the master device when detecting or receiving a setting request sent by the master device. The slave device sends the data format information to the master device, so that the master device can unify the data format, and the data transmitted by the subsequent master device is convenient to be the data with the data format compatible with the slave device.
Step 202, receiving the setting information transmitted by the master device.
Step 203, checking the setting information.
In this embodiment, the step of performing verification processing on the setting information specifically includes: acquiring a function name of a slave device with a function; detecting whether command information contained in the setting information corresponds to the function name; if yes, the verification processing is determined to pass.
The detection of whether the command information included in the setting information corresponds to the function name is only one of the verification methods. The identity information of the master device can be determined by checking the device identification information of the master device. In addition, the encryption key of the master device can be checked to determine whether the master device communicating with the slave device is a previously paired device.
Similarly, when the master device receives the information transmitted by the slave device, the information transmitted by the slave device needs to be verified, and the transmitted information can be processed after the verification is passed.
It should be understood that the way of checking the information transmitted by the master/slave device is not limited to the above mentioned way, and other ways of checking the identity information of the master/slave device can also be within the scope of the present invention, which is not limited herein.
And step 204, after the verification processing is passed, executing corresponding setting operation according to the setting information.
In this embodiment, after the verification process passes, it may be determined that the master device and the slave device are in a pairing relationship, that is, the master device is an authorized device and can be used to control the slave device. At this time, the slave device will parse the setting information transmitted by the master device. Specifically, since the setting information sent by the master device is mainly used for controlling the functions of the slave device, the slave device stores command type information corresponding to the functions of the slave device, and specifically, when the slave device is a lamp, the slave device stores the command type information in table 1 of the above embodiment. Therefore, the setting information transmitted by the main equipment can be analyzed, and corresponding setting operation is executed according to the analyzed setting request.
As an optional embodiment, when the setting information transmitted by the master device contains information that indicates that a response is allowed, the slave device may also respond to the setting information transmitted by the master device. Specifically, the slave device mainly responds with the information shown in table 3 below.
TABLE 3
Figure 552120DEST_PATH_IMAGE002
As shown in table 3 above, the slave device mainly responds to the write command, specifically, responses to normal control and upgrade. It will be appreciated that when the master device is responding to the information transmitted by the slave device, it will also respond with the content shown in table 3 above.
As an optional embodiment, the embodiment of the present invention may further set the master device and the slave device, so that both the master device and the slave device can be used as a master or a slave, thereby effectively improving user experience. Specifically, a master-slave mode function is set on all the devices, and a user selects the master-slave mode of each device. For example, when the slave device is set to the master mode as the master, other devices such as the master device will automatically switch to the slave mode as slaves, thereby completing the setting of the master-slave mode. In the embodiment, the host sends the broadcast packet data, and the slave receives the broadcast packet data and then responds to the device address of the host, so that the host can specify the address to communicate with the slave after acquiring the device address of the slave, thereby realizing the master-slave mode.
According to the method described in the foregoing embodiment, the embodiment will be further described from the perspective of a communication device, which may be specifically implemented as a stand-alone entity, or may be implemented by being integrated in an electronic device, such as a terminal, where the terminal may include a mobile phone, a tablet computer, and the like.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a communication apparatus applied to a host device according to an embodiment of the present invention, and as shown in fig. 3, a communication apparatus 300 applied to a host device according to an embodiment of the present invention includes:
a first obtaining module 301, configured to obtain a data format compatible with the slave device in response to a setting instruction for the slave device.
The second obtaining module 302 is configured to generate a setting request to be sent according to the setting instruction.
An assembling module 303, configured to assemble the setting information according to the device information and the setting request of the master device.
In this embodiment, the assembling module 303 is specifically configured to: acquiring equipment identification information corresponding to the main equipment and command information corresponding to the setting request; and assembling to obtain the setting information according to the identification information and the command information.
In some embodiments, the setting information further includes attribute information, and the assembling module 303 is further specifically configured to: acquiring protocol identification information of the primary equipment which carries out communication at this time and frequency information of carrying out data communication with the secondary equipment; according to the frequency information, generating serial number information for communication with the slave equipment at this time; and taking the protocol identification information and the sequence number information as attribute information, and assembling to obtain setting information according to the attribute information, the identification information and the command information.
A transmission module 304, configured to repeatedly transmit the setting information to the slave device in a data format compatible with the slave device for the transmission duration until the slave device performs a corresponding setting operation according to the setting information.
In other embodiments, the command information includes at least one command data packet including command type information and a command data body. Referring to fig. 4, fig. 4 is another schematic structural diagram of a communication apparatus applied to a host device according to an embodiment of the present invention, and as shown in fig. 4, the communication apparatus 300 applied to a host device according to the embodiment further includes: a third obtaining module 305, a generating module 306, a first processing module 307, a detecting module 308 and a second processing module 309;
the third obtaining module 305 is configured to obtain a function name of the slave device.
The generating module 306 is configured to generate corresponding command type information and a command data body according to the setting request and the function name.
A first processing module 307, configured to use the command type information and the command data body as the command information.
The detecting module 308 is configured to detect a data length of the setting information.
The second processing module 309 is configured to generate a setting information error prompt and suspend transmission of the setting information if the data length is greater than the preset data length.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a communication apparatus applied to a slave device according to an embodiment of the present invention, and as shown in fig. 5, the communication apparatus 500 applied to the slave device according to the embodiment of the present invention includes:
a sending module 501, configured to send a data format compatible with the slave device to the master device when detecting a communication connection with the master device.
A receiving module 502, configured to receive the setting information transmitted by the master device.
And a checking module 503, configured to perform checking processing on the setting information.
In this embodiment, the checking module 503 is specifically configured to: acquiring a function name of a slave device with a function; detecting whether command information contained in the setting information corresponds to the function name; if yes, the verification processing is determined to pass.
And the execution module 504 is configured to execute a corresponding setting operation according to the setting information after the verification processing is passed.
In a specific implementation, each of the modules and/or units may be implemented as an independent entity, or may be implemented as one or several entities by any combination, where the specific implementation of each of the modules and/or units may refer to the foregoing method embodiment, and specific achievable beneficial effects also refer to the beneficial effects in the foregoing method embodiment, which are not described herein again.
In addition, referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device may be a mobile terminal such as a smart phone and a tablet computer. As shown in fig. 6, the electronic device 600 includes a processor 601, a memory 602. The processor 601 is electrically connected to the memory 602.
The processor 601 is a control center of the electronic device 600, connects various parts of the whole electronic device using various interfaces and lines, and performs various functions of the electronic device 600 and processes data by running or loading an application stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the electronic device 600.
In this embodiment, the processor 601 in the electronic device 600 loads instructions corresponding to processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 runs the application programs stored in the memory 602, thereby implementing various functions:
acquiring a data format compatible with the slave device in response to a setting instruction for the slave device;
generating a setting request to be sent according to the setting instruction;
assembling the setting information according to the device information and the setting request of the main device;
and repeatedly transmitting the setting information to the slave device in a data format compatible with the slave device within the transmission duration until the slave device performs a corresponding setting operation according to the setting information. Or the like, or, alternatively,
when communication connection with the master device is detected, sending a data format compatible with the slave device to the master device;
receiving setting information transmitted by a main device;
checking the setting information;
and after the verification processing is passed, executing corresponding setting operation according to the setting information.
The electronic device 600 may implement the steps in any embodiment of the communication method provided in the embodiment of the present invention, and therefore, beneficial effects that can be achieved by any communication method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
Referring to fig. 7, fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, fig. 7 is a specific structural block diagram of the electronic device according to the embodiment of the present invention, where the electronic device may be used to implement the communication method provided in the foregoing embodiment. The electronic device 700 may be a mobile terminal such as a smart phone or a notebook computer.
The RF circuit 710 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. The RF circuitry 710 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and so forth. The RF circuit 710 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.11g and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for micro), and other short message protocols for instant messaging, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 720 may be used for storing software programs and modules, such as program instructions/modules corresponding to the communication method in the above-mentioned embodiment, and the processor 780 executes various functional applications and communications by running the software programs and modules stored in the memory 720, so as to implement the following functions:
acquiring a data format compatible with the slave device in response to a setting instruction for the slave device;
generating a setting request to be sent according to the setting instruction;
assembling the setting information according to the device information and the setting request of the main device;
and repeatedly transmitting the setting information to the slave device in a data format compatible with the slave device within the transmission duration until the slave device performs a corresponding setting operation according to the setting information. Or the like, or, alternatively,
when communication connection with the master device is detected, sending a data format compatible with the slave device to the master device;
receiving setting information transmitted by a main device;
checking the setting information;
and after the verification processing is passed, executing corresponding setting operation according to the setting information.
The memory 720 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 720 may further include memory located remotely from processor 780, which may be connected to electronic device 700 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 730 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 730 may include a touch-sensitive surface 731 as well as other input devices 732. Touch-sensitive surface 731, also referred to as a touch display screen or touch pad, may collect touch operations by a user on or near touch-sensitive surface 731 (e.g., user operation on or near touch-sensitive surface 731 by a finger, stylus, or any other suitable object or slave device) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 731 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch-sensitive surface 731 can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic wave. The input unit 730 may also include other input devices 732 in addition to the touch-sensitive surface 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display information input by or provided to the user and various graphical user interfaces of the electronic device 700, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 740 may include a Display panel 741, and optionally, the Display panel 741 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 731 can overlay display panel 741, such that when touch-sensitive surface 731 detects a touch event thereon or nearby, processor 780 can determine the type of touch event, and processor 780 can then provide a corresponding visual output on display panel 741 based on the type of touch event. Although in the figure the touch-sensitive surface 731 and the display panel 741 are shown as two separate components to implement input and output functions, in some embodiments the touch-sensitive surface 731 and the display panel 741 may be integrated to implement input and output functions.
The electronic device 700 may also include at least one sensor 750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that may generate an interrupt when the folder is closed or closed. As one of the motion sensors, the gravity acceleration sensor may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile phone is stationary, and may be used for applications of recognizing gestures of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor that are further configured to the electronic device 700, and are not described herein again.
The audio circuit 760, speaker 761, and microphone 762 may provide an audio interface between a user and the electronic device 700. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, processes the audio data by the audio data output processor 780, and transmits the processed audio data to, for example, another terminal via the RF circuit 710, or outputs the audio data to the memory 720 for further processing. The audio circuitry 760 may also include an earbud jack to provide communication of a peripheral headset with the electronic device 700.
The electronic device 700, via the transport module 770 (e.g., a Wi-Fi module), may assist the user in receiving requests, sending information, etc., which provides the user with wireless broadband internet access. Although the transmission module 770 is illustrated in the drawings, it is understood that it does not belong to the essential constitution of the electronic device 700 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 780 is a control center of the electronic device 700, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the electronic device 700 and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the electronic device. Optionally, processor 780 may include one or more processing cores; in some embodiments, processor 780 may integrate an application processor that handles primarily the operating system, user interface, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The electronic device 700 also includes a power supply 790 (e.g., a battery) that provides power to various components, and in some embodiments may be logically coupled to the processor 780 via a power management system that may perform functions such as managing charging, discharging, and power consumption. The power supply 790 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device 700 further includes a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the electronic device is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring a data format compatible with the slave device in response to a setting instruction for the slave device;
generating a setting request to be sent according to the setting instruction;
assembling the setting information according to the device information and the setting request of the main device;
and repeatedly transmitting the setting information to the slave device in a data format compatible with the slave device within the transmission duration until the slave device performs a corresponding setting operation according to the setting information. Or the like, or, alternatively,
when communication connection with the master device is detected, sending a data format compatible with the slave device to the master device;
receiving setting information transmitted by a main device;
checking the setting information;
and after the verification processing is passed, executing corresponding setting operation according to the setting information.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps of any embodiment of the communication method provided by the embodiment of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any embodiment of the communication method provided in the embodiment of the present invention, the beneficial effects that can be achieved by any communication method provided in the embodiment of the present invention can be achieved, for details, see the foregoing embodiment, and are not described herein again.
The communication method, the communication apparatus, the electronic device, and the storage medium provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principles and implementations of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application. Moreover, it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention, and such modifications and adaptations are intended to be within the scope of the invention.

Claims (10)

1. A communication method applied to a master device, the method comprising:
in response to a setting instruction for a slave device, acquiring a data format compatible with the slave device;
generating a setting request to be sent according to the setting instruction;
assembling setting information according to the equipment information of the main equipment and the setting request;
and repeatedly transmitting the setting information to the slave equipment in a data format compatible with the slave equipment within the transmission duration until the slave equipment executes corresponding setting operation according to the setting information.
2. The communication method of claim 1, wherein said assembling the setting information according to the device information of the master device and the setting request comprises:
acquiring equipment identification information corresponding to main equipment and command information corresponding to the setting request;
and assembling to obtain setting information according to the identification information and the command information.
3. The communication method according to claim 2, wherein the setting information further includes attribute information; the assembling according to the identification information and the command information to obtain the setting information comprises:
acquiring protocol identification information of the primary equipment which carries out communication at the current time and frequency information of carrying out data communication with the secondary equipment;
generating serial number information for communicating with the slave equipment at this time according to the frequency information;
and taking the protocol identification information and the sequence number information as attribute information, and assembling to obtain setting information according to the attribute information, the identification information and the command information.
4. The communication method according to claim 2, wherein the command information includes at least one command packet including command type information and a command data body; before the step of obtaining the device identification information corresponding to the master device and the command information corresponding to the setting request, the communication method further includes:
acquiring a function name of the slave equipment with a function;
generating corresponding command type information and a command data body according to the setting request and the function name;
and taking the command type information and the command data body as the command information.
5. The communication method according to claim 2 or 3, wherein after the step of assembling setting information from the identification information and the command information, the communication method further comprises:
detecting the data length of the setting information;
and if the data length is larger than the preset data length, generating a setting information error prompt, and suspending transmission of the setting information.
6. A communication method applied to a slave device, comprising:
when communication connection with a master device is detected, sending a data format compatible with the slave device to the master device;
receiving the setting information transmitted by the main equipment;
checking the setting information;
and after the verification processing is passed, executing corresponding setting operation according to the setting information.
7. The communication method according to claim 6, wherein the performing of the verification processing on the setting information includes:
acquiring a function name of the slave equipment with a function;
detecting whether command information contained in the setting information corresponds to the function name;
and if so, determining that the checking process passes.
8. A communication apparatus applied to a master device, comprising:
the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for responding to a setting instruction of a slave device and acquiring a data format compatible with the slave device;
the second acquisition module is used for generating a setting request to be sent according to the setting instruction;
the assembling module is used for assembling the setting information according to the equipment information of the main equipment and the setting request;
and the transmission module is used for repeatedly transmitting the setting information to the slave equipment in a data format compatible with the slave equipment within the transmission duration until the slave equipment executes corresponding setting operation according to the setting information.
9. An electronic device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the memory being coupled to the processor and the processor implementing the steps of the communication method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the steps in the communication method according to any one of claims 1 to 5.
CN202210261821.5A 2022-03-17 2022-03-17 Communication method, communication device, electronic device, and storage medium Active CN114363436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210261821.5A CN114363436B (en) 2022-03-17 2022-03-17 Communication method, communication device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210261821.5A CN114363436B (en) 2022-03-17 2022-03-17 Communication method, communication device, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN114363436A true CN114363436A (en) 2022-04-15
CN114363436B CN114363436B (en) 2022-06-10

Family

ID=81094397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210261821.5A Active CN114363436B (en) 2022-03-17 2022-03-17 Communication method, communication device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN114363436B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710735A (en) * 2011-02-15 2012-10-03 佳能株式会社 Management apparatus, management method, management system and network device
CN106875667A (en) * 2016-12-29 2017-06-20 广州凯耀资产管理有限公司 The control method of television equipment
US9691270B1 (en) * 2014-09-30 2017-06-27 Apple Inc. Automatically configuring a remote control for a device
CN108259460A (en) * 2017-11-24 2018-07-06 新华三信息安全技术有限公司 Apparatus control method and device
CN110554884A (en) * 2019-09-11 2019-12-10 上海智臻智能网络科技股份有限公司 Configuration method, device, background server and storage medium
CN110944003A (en) * 2019-12-06 2020-03-31 北京数码视讯软件技术发展有限公司 File transmission method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710735A (en) * 2011-02-15 2012-10-03 佳能株式会社 Management apparatus, management method, management system and network device
US9691270B1 (en) * 2014-09-30 2017-06-27 Apple Inc. Automatically configuring a remote control for a device
CN106875667A (en) * 2016-12-29 2017-06-20 广州凯耀资产管理有限公司 The control method of television equipment
CN108259460A (en) * 2017-11-24 2018-07-06 新华三信息安全技术有限公司 Apparatus control method and device
CN110554884A (en) * 2019-09-11 2019-12-10 上海智臻智能网络科技股份有限公司 Configuration method, device, background server and storage medium
CN110944003A (en) * 2019-12-06 2020-03-31 北京数码视讯软件技术发展有限公司 File transmission method and electronic equipment

Also Published As

Publication number Publication date
CN114363436B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN106412093B (en) A kind of method for uploading of data, apparatus and system
EP3242461A1 (en) Intelligent device control method and device
CN103488939B (en) Method, device and terminal for prompting user
WO2015078293A1 (en) Sound effect processing method and device, plug-in unit manager and sound effect plug-in unit
US20160057553A1 (en) Method for processing data and electronic device therefor
CN105208056B (en) Information interaction method and terminal
WO2015014144A1 (en) Method and apparatus for installing application, and terminal device
US20190317841A1 (en) Method for prompting message in terminal and terminal
CN103455343A (en) Method and device for updating application programs
WO2018040813A1 (en) Audio/video communication method, terminal, server, and storage medium
CN111277991B (en) Operator name display method and device, mobile terminal and storage medium
BR112016018783B1 (en) METHOD, APPARATUS, DEVICE AND INTERCOMMUNICATION SYSTEM
CN113055864A (en) Bluetooth connection method, device, storage medium and electronic equipment
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
CN105025064B (en) Download the method, apparatus and system of file
CN117768926A (en) Multi-device networking method and device, storage medium and electronic device
CN114363436B (en) Communication method, communication device, electronic device, and storage medium
CN110336918B (en) Bright screen control method and device, storage medium and mobile terminal
CN105320532B (en) Method, device and terminal for displaying interactive interface
CN111104186A (en) Bluetooth configuration file loading method and device, storage medium and terminal equipment
CN106817370B (en) Method and device for transmitting network data
CN106330875B (en) Message display method and device
CN111308303B (en) Method and device for detecting radio frequency power amplifier of mobile terminal
WO2023123614A1 (en) Data processing method and apparatus, terminal, and storage medium
CN107172695B (en) electronic equipment power saving method and device

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
CP01 Change in the name or title of a patent holder

Address after: 518110 floors 2-4, building 21, Longjun Industrial Zone, Jiuwo, Longping community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Aitushi Innovation Technology Co.,Ltd.

Address before: 518110 floors 2-4, building 21, Longjun Industrial Zone, Jiuwo, Longping community, Dalang street, Longhua District, Shenzhen City, Guangdong Province

Patentee before: APUTURE IMAGING INDUSTRIES Co.,Ltd.

CP01 Change in the name or title of a patent holder