[go: up one dir, main page]

CN110719180A - Communication configuration method, device and equipment - Google Patents

Communication configuration method, device and equipment Download PDF

Info

Publication number
CN110719180A
CN110719180A CN201810759141.XA CN201810759141A CN110719180A CN 110719180 A CN110719180 A CN 110719180A CN 201810759141 A CN201810759141 A CN 201810759141A CN 110719180 A CN110719180 A CN 110719180A
Authority
CN
China
Prior art keywords
communication
communication module
configuration information
communication configuration
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810759141.XA
Other languages
Chinese (zh)
Inventor
丁胜东
庄耀
陈辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810759141.XA priority Critical patent/CN110719180A/en
Publication of CN110719180A publication Critical patent/CN110719180A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Landscapes

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

Abstract

The application discloses a communication module configuration method, a communication module configuration device and communication module configuration equipment, wherein a communication configuration request is sent, and the communication configuration request carries an identifier of a communication module; receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and the target equipment; and configuring the communication module based on the communication configuration information. By using the technical scheme recorded by the application, the communication configuration information can be prevented from being configured by carrying out secondary development on the communication module at the equipment end. Under the condition, the communication configuration information corresponding to the communication module and the target equipment can be combined at will, no special requirement is required for the type of the communication module, the same type of communication module can be applied to different types and forms of target equipment, and different communication modules can be replaced mutually, so that the problem that the existing communication module is poor in universality is solved. In addition, the development workload of the equipment end can be reduced, and the development efficiency is improved.

Description

Communication configuration method, device and equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a communication configuration method, apparatus, and device.
Background
When an existing intelligent product is developed, the development of the existing intelligent product generally comprises stages of equipment development (without a communication module), communication module development, cloud development and the like. The communication module is used for transmitting data between the equipment product and the cloud end, communication connection is established between the communication module and the equipment product based on communication configuration information, and wireless connection can be established between the communication module and the cloud end for reporting and issuing data.
In the development of the communication module, module authentication including standard test, function authentication, parameter setting and the like is firstly carried out, and then secondary development is carried out according to the type and the form of equipment products when the communication module is applied to specific equipment products. This reduces the versatility of the communication module to some extent.
Disclosure of Invention
The technical problem to be solved by the embodiment of the application is that the universality of the existing communication module is low.
The embodiment of the application adopts the following technical scheme:
the embodiment of the application provides a communication module configuration method, which comprises the following steps:
sending a communication configuration request, wherein the communication configuration request carries an identifier of a communication module;
receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and target equipment, and the communication configuration information is determined according to the identifier of the communication module;
and configuring the communication module based on the communication configuration information.
The embodiment of the present application further provides a communication module configuration method, including:
receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
determining communication configuration information between the communication module and target equipment based on the identification of the communication module;
and sending communication configuration information between the communication module and the target equipment, wherein the communication configuration information is used for configuring the communication module.
The embodiment of the present application further provides a communication module configuration, including:
the sending module is used for sending a communication configuration request, and the communication configuration request carries an identifier of a communication module;
the receiving module is used for receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and the target equipment, and the communication configuration information is determined according to an identifier of the communication module;
and the configuration module is used for configuring the communication module based on the communication configuration information.
The embodiment of the present application further provides a communication module configuration device, including:
the receiving module is used for receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
the determining module is used for determining communication configuration information between the communication module and the target equipment based on the identification of the communication module;
and the sending module is used for sending communication configuration information between the communication module and the target equipment, and the communication configuration information is used for being configured to the communication module.
An embodiment of the present application further provides an electronic device, including at least one processor and a memory, where the memory stores a program and is configured to be executed by the at least one processor to:
sending a communication configuration request, wherein the communication configuration request carries an identifier of a communication module;
receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and target equipment, and the communication configuration information is determined according to the identifier of the communication module;
and configuring the communication module based on the communication configuration information.
Embodiments of the present application also provide a computer-readable storage medium, which includes a program for use in conjunction with an electronic device, where the program is executable by a processor to perform the following steps:
sending a communication configuration request, wherein the communication configuration request carries an identifier of a communication module;
receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and target equipment, and the communication configuration information is determined according to the identifier of the communication module;
and configuring the communication module based on the communication configuration information.
An embodiment of the present application further provides an electronic device, including at least one processor and a memory, where the memory stores a program and is configured to be executed by the at least one processor to:
receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
determining communication configuration information between the communication module and target equipment based on the identification of the communication module;
and sending communication configuration information between the communication module and the target equipment, wherein the communication configuration information is used for configuring the communication module.
Embodiments of the present application also provide a computer-readable storage medium, which includes a program for use in conjunction with an electronic device, where the program is executable by a processor to perform the following steps:
receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
determining communication configuration information between the communication module and target equipment based on the identification of the communication module;
and sending communication configuration information between the communication module and the target equipment, wherein the communication configuration information is used for configuring the communication module.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
sending a communication configuration request, wherein the communication configuration request carries an identifier of a communication module; receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and target equipment, and the communication configuration information is determined according to the identifier of the communication module; and configuring the communication module based on the communication configuration information. By using the technical scheme recorded in the embodiment of the application, the communication configuration information can be prevented from being configured by carrying out secondary development on the communication module at the equipment end, and the communication configuration information between the communication module and the corresponding target equipment can be obtained from the server end. Under the condition, the communication configuration information corresponding to the communication module and the target equipment can be combined at will, no special requirement is required for the type of the communication module, the same type of communication module can be applied to different types and forms of target equipment, and different communication modules can be replaced mutually, so that the problem that the existing communication module is poor in universality is solved. In addition, the development workload of the equipment end can be reduced, and the development efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart of a communication module configuration method according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating an application example of the communication module configuring method shown in fig. 1 according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a communication allocation method according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a communication configuration method according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a communication configuration apparatus according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a communication configuration apparatus according to an embodiment of the present disclosure.
Detailed Description
To achieve the purpose of the embodiments of the present disclosure, the embodiments of the present disclosure provide a method and an apparatus for configuring a communication module, and fig. 1 is a timing diagram of the method for configuring a communication module, which is shown as follows.
Step 101: the method comprises the steps that an equipment end sends a communication configuration request, wherein the communication configuration request can carry an identifier of a communication module;
step 103: after receiving the communication configuration request, the server determines communication configuration information between the communication module and the target equipment based on the identification of the communication module;
step 105: the server sends communication configuration information between the communication module and the target equipment to the communication module;
step 107: and the equipment terminal receives communication configuration information between the communication module and the target equipment from the service and performs configuration based on the communication configuration information.
In this embodiment, the device side may be a communication module, and may be a target device configured with the communication module. Based on the communication configuration information, the target equipment and the communication module can uniformly receive and send data packets of both sides and analyze the data packets, and further data transmission between the server and the target equipment can be realized.
Under the condition, when the same communication module is applied to different target devices, the communication configuration information corresponding to the target devices can be acquired timely, and further secondary development of the communication module according to the types and the forms of the target devices is avoided. Therefore, the same communication module can be applied to different forms of target equipment, and different communication modules can be replaced mutually. The development link of the communication module can be simplified, the communication module can be applied to products after the module authentication is completed, re-development is not needed, and repeated work is reduced.
Fig. 2 is a flowchart of a communication module configuration method proposed in the present specification, as follows.
Step 202: the server generates an identification Dev _ ID of the communication module, issues the Dev _ ID to a module provider, and burns the communication module firmware and the Dev _ ID by the module provider;
when a module manufacturer produces firmware, the Dev _ ID is burned into the communication module, meanwhile, the firmware of the communication module can be general firmware and is not customized for specific services, and the communication module mainly realizes the storage of the baud rate and the protocol of the serial port and receives serial port data according to the protocol format.
Step 204: the module provider provides the communication module and the DeV _ ID database corresponding to the batch of communication modules to the manufacturer of the target device.
Thus, the manufacturer of the target device registers the serial communication configuration information for the target device in the background server, which may include:
1. product registration of the target equipment, including communication configuration information such as product model, functional attribute, serial port baud rate, serial port protocol and the like;
2. and importing the Dev _ ID, and establishing a mapping relation between the Dev _ ID, the target equipment identification PRODUCT _ ID and the serial port communication configuration information.
Then, the manufacturer of the target device produces the target device product with the communication module.
Step 206: and the target equipment sends serial port communication configuration information with the target equipment through the communication module.
Step 208: and the server issues serial port communication configuration information.
Step 210: and the target equipment stores the serial port communication configuration information to the configuration area and restarts the serial port communication configuration information.
And then, the target equipment can establish connection with the server through the communication module, the target equipment reports the equipment state, and the server issues a control instruction for the target equipment.
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, 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 application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 3 is a flowchart of a communication module configuration method according to an embodiment of the present disclosure, which is shown as follows. The execution main part of the technical scheme that this specification embodiment recorded can be communication module and be equipped with the equipment of this communication module, and this equipment can be intelligent device, like products such as intelligent house product, vehicle terminal, and intelligent house product can include intelligent audio amplifier, lamp, air conditioner, TV, air purifier etc..
Step 301: and sending a communication configuration request, wherein the communication configuration request carries the identifier of the communication module.
The identifier of the communication module is used for identifying the communication module and can comprise at least one of the category, the name and the number of the communication module.
In the embodiment of the present disclosure, the communication module or the smart device establishes a wireless connection, such as WiFi, with the server through the communication module, and sends a communication configuration request based on the wireless connection. The communication configuration request can be an activation request agreed with the server, so that the server can analyze the identification of the communication module.
In this embodiment, before sending the communication configuration request, the method may further include:
determining an identifier of a target device;
and generating a communication configuration request according to the determined identifier of the target equipment. Thus, the communication configuration request may include an identifier of the target device, and the identifier of the target device is used to accurately determine the corresponding communication configuration information.
Specifically, determining the identity of the target device may include:
an identification of the target device is determined based on the user-specified operation.
In practical applications, the target device may be equipped with an input interface for receiving the identification of the target device input by the user. Alternatively, the target device provides the identification of different target devices, and receives the selection of the specific target device by the user.
In this embodiment, sending the communication configuration request is performed based on at least one of the following conditions:
detecting an activation signal;
based on a user specified operation;
and detecting that the communication module establishes wireless connection.
Where an activation signal is detected, this may include:
and detecting the power-on of the communication module.
The communication module is powered on for the first time, or the power-on time of the communication module reaches the preset time.
The user-specified operation may refer to a user triggering a specified operation button corresponding to the communication configuration request. The user may be a manufacturer of the target device or a user who purchases the target device.
Here, the wireless connection may be a wireless connection established between the communication module and the server, for example, a WiFi connection, so that the communication module and the server can communicate with each other to send a communication configuration request.
In this embodiment, the sending the communication configuration request may include:
detecting the communication configuration information, and further determining whether the communication module stores the communication configuration information;
when detecting that the communication configuration information is empty, a communication configuration request may be sent.
Step 303: and receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and the target equipment, and the communication configuration information is determined according to the identification of the communication module.
Here, the communication configuration information may include information such as a communication protocol and a communication frequency. When the communication configuration protocol is serial communication configuration information, the serial communication configuration information comprises parameters such as serial baud rate setting and a serial protocol corresponding to the target device.
In this embodiment, the server may identify the identifier of the communication module, and determine the communication configuration information between the communication module and the target device according to the identifier of the communication module.
Step 305: and configuring the communication module based on the communication configuration information.
In an embodiment of the present disclosure, configuring a communication module based on communication configuration information may include:
storing communication configuration information;
and restarting and loading the communication configuration information.
The communication configuration information may be stored in a configuration area. After the restart, the communication configuration information is refreshed, and the normal process is executed according to the communication configuration information.
The restarting and loading the communication configuration information may include:
if the communication configuration information is not detected to be empty after the reboot, the communication configuration information may be loaded.
After loading the communication configuration information, a connection may be established between the target device and the server. The target device initiates a setup request to the cloud via the Dev _ ID. After the connection is established, the communication module receives data from the intelligent equipment according to a serial port protocol, the data are sent to the cloud end through wireless connection, meanwhile, the cloud end server packages a command according to a serial port protocol format and sends the command to the communication module, and the communication module forwards the command to the intelligent equipment through a serial port, so that uplink and downlink of the data are achieved.
In the embodiment of the present specification, all data at the device side may be sent and received in a transparent transmission manner, and is not analyzed. And placing a script on the cloud server to analyze the serial port data, and completing data analysis and packaging. Therefore, the development of the product is mainly put into the development of the cloud server script, and the development workload of the equipment side is reduced.
By using the technical scheme recorded in the embodiment of the specification, the field secondary development of the assembled communication module according to different equipment products can be avoided, and the communication configuration information between the communication module and the corresponding target equipment is acquired from the server side. The communication module can be applied to different types and forms of target equipment, and different communication modules can be replaced mutually, so that the problem of poor universality of the communication modules is solved.
Fig. 4 is a flowchart of a communication module configuring method according to an embodiment of the present disclosure, as follows. The execution subject of the embodiments of the present specification may be a server, such as a cloud server.
Step 401: and receiving a communication configuration request, wherein the communication configuration request comprises an identifier of the communication module.
In this embodiment, the server may receive a communication configuration request sent by the communication module of the device side by establishing a wireless connection.
Step 403: and determining communication configuration information between the communication module and the target equipment based on the identification of the communication module.
In an embodiment of the present specification, the communication configuration information may include serial communication configuration information.
In an embodiment of the present disclosure, determining communication configuration information between the communication module and the target device based on the identifier of the communication module may include:
based on the identification of the communication module, inquiring the mapping relation between the communication module and the communication configuration information;
and determining the communication configuration information between the communication module and the target equipment according to the inquired communication configuration information corresponding to the communication module.
In the embodiment of the present specification, the server stores in advance the identifier of the communication module, the mapping relationship between the target device and the communication configuration information. Therefore, the matched communication configuration information can be inquired according to the determined identification of the communication module.
In this embodiment of the present disclosure, the communication configuration request may further include an identifier of the target device, and determining the communication configuration information between the communication module and the target device based on the identifier of the communication module may include:
and determining communication configuration information between the communication module and the target equipment based on the identifier of the communication module and the identifier of the target equipment.
In this case, the communication configuration information can be acquired more accurately. At this time, the identifier of the target device in the communication configuration request may be determined according to a user operation. Specifically, the target device may provide an interface, so that a user may input an identifier of the target device into the communication module, or the target device provides an identifier option of the target device, and the user selects the identifier of the current target device.
Step 405: and sending communication configuration information between the communication module and the target equipment, wherein the communication configuration information is used for configuring the communication module.
Therefore, the server sends the communication configuration information between the communication module and the target equipment to the equipment terminal.
In this case, the server may provide communication configuration information between the communication module and the target device. Different types and shapes of target equipment respectively correspond to different communication configuration information, so that the same communication module can establish a corresponding relation with any communication configuration information on one side of the server. The communication module can be applied to different target equipment in different forms, and different communication modules can be replaced mutually, so that the field secondary development of the assembled communication module according to different equipment products is avoided. This can promote the commonality of communication equipment, and especially, this can alleviate the development work load of equipment end, promotes development efficiency.
Fig. 5 is a schematic structural diagram of a communication module configuring apparatus according to an embodiment of the present disclosure, and the structure is as follows. The communication module configuration device described in the embodiments of the present disclosure may be integrated into the communication module or separately provided outside the communication module.
The communication module configuring apparatus may include:
a sending module 501, configured to send a communication configuration request, where the communication configuration request carries an identifier of a communication module;
a receiving module 502, configured to receive a feedback result of the communication configuration request, where the feedback result includes communication configuration information between the communication module and the target device, and the communication configuration information is determined according to an identifier of the communication module;
a configuration module 503, configured the communication module based on the communication configuration information.
Optionally, the communication configuration information includes serial communication configuration information.
Optionally, the communication module configuring apparatus may further include:
a determining module 504 that determines an identity of the target device;
the generating module 505 generates the communication configuration request according to the determined identifier of the target device.
Optionally, determining the identity of the target device includes:
determining an identity of the target device based on a user-specified operation.
And when the communication configuration information is detected to be empty, sending a communication configuration request with the target equipment.
Optionally, the sending of the communication configuration request is performed based on at least one of the following conditions:
detecting an activation signal;
based on a user specified operation;
and detecting that the communication module establishes wireless connection.
Optionally, executing the sending communication configuration request includes:
detecting communication configuration information;
and when the communication configuration information is detected to be empty, sending a communication configuration request.
Optionally, detecting an activation signal comprises:
and detecting that the power-on time of the communication module reaches the preset time.
Optionally, configuring the communication module based on the communication configuration information includes:
storing the communication configuration information;
and restarting and loading the communication configuration information.
Optionally, restarting and loading the communication configuration information includes:
and if the communication configuration information is not detected to be empty after restarting, loading the communication configuration information.
When the communication module is applied to an equipment product, the communication module configuration device recorded in the embodiment of the specification can configure communication configuration information for the communication module, the problem of secondary development of the communication module on site is solved, and the universality of the communication module is improved.
Based on the same inventive concept, an embodiment of the present specification further provides an electronic device, which may include at least one processor and a memory, where the memory stores a program and is configured to be executed by the at least one processor to:
sending a communication configuration request carrying an identifier of the communication module;
receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and the target equipment, and the communication configuration information is determined according to the identification of the communication module;
and configuring the communication module based on the communication configuration information.
For other functions of the processor, reference may also be made to the contents described in the above embodiments, which are not described in detail herein.
Based on the same inventive concept, embodiments of the present specification further provide a computer-readable storage medium including a program for use in conjunction with an electronic device, the program being executable by a processor to perform the steps of:
sending a communication configuration request, wherein the communication configuration request carries an identifier of a communication module;
receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and target equipment, and the communication configuration information is determined according to an identifier of the communication module;
and configuring the communication module based on the communication configuration information.
Fig. 6 is a schematic structural diagram of a communication module configuring apparatus according to an embodiment of the present application, where the structure is as follows. The communication module configuration device described in the embodiments of the present specification can be applied to a server side.
The communication module configuration device may include:
the receiving module 601 receives a communication configuration request, where the communication configuration request includes an identifier of a communication module;
a determining module 602, configured to determine communication configuration information between the communication module and a target device based on the identifier of the communication module;
the sending module 603 is configured to send communication configuration information between the communication module and the target device, where the communication configuration information is configured to the communication module.
Optionally, determining, based on the identifier of the communication module, communication configuration information between the communication module and the target device includes:
based on the identification of the communication module, inquiring the mapping relation between the communication module and the communication configuration information;
and determining the communication configuration information between the communication module and the target equipment according to the inquired communication configuration information corresponding to the communication module.
Optionally, when the communication configuration request further includes the identifier of the target device, determining, based on the identifier of the communication module, communication configuration information between the communication module and the target device includes:
and determining communication configuration information between the communication module and the target equipment based on the identifier of the communication module and the identifier of the target equipment.
Optionally, the communication configuration information includes serial communication configuration information.
By using the communication module configuration device described in the embodiment of the present description, communication configuration information between the communication module and the equipment product can be provided for the equipment side, which can prevent the secondary development of the communication module according to the equipment product at the equipment side.
Based on the same inventive concept, an embodiment of the present specification further provides an electronic device, including at least one processor and a memory, where the memory stores a program and is configured to be executed by the at least one processor to:
receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
determining communication configuration information between the communication module and target equipment based on the identification of the communication module;
and sending communication configuration information between the communication module and the target equipment, wherein the communication configuration information is used for configuring the communication module.
For other functions of the processor, reference may also be made to the contents described in the above embodiments, which are not described in detail herein.
Based on the same inventive concept, embodiments of the present application further provide a computer-readable storage medium including a program for use in conjunction with an electronic device, the program being executable by a processor to perform the following steps:
receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
determining communication configuration information between the communication module and target equipment based on the identification of the communication module;
and sending communication configuration information between the communication module and the target equipment, wherein the communication configuration information is used for configuring the communication module.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (30)

1. A communication module configuration method includes:
sending a communication configuration request, wherein the communication configuration request carries an identifier of a communication module;
receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and target equipment, and the communication configuration information is determined according to the identifier of the communication module;
and configuring the communication module based on the communication configuration information.
2. The method as claimed in claim 1, wherein the communication configuration information comprises serial communication configuration information.
3. The method of claim 1, wherein prior to sending the communication configuration request, the method further comprises:
determining an identity of the target device;
and generating the communication configuration request according to the determined identifier of the target equipment.
4. The method of claim 3, wherein determining the identity of the target device comprises:
determining an identity of the target device based on a user-specified operation.
5. The method of claim 1, wherein the sending the communication configuration request is performed based on at least one of:
detecting an activation signal;
based on a user specified operation;
and detecting that the communication module establishes wireless connection.
6. The method of claim 5, wherein the sending the communication configuration request comprises:
detecting communication configuration information;
and when the communication configuration information is detected to be empty, sending a communication configuration request.
7. The method of claim 5, wherein detecting the activation signal comprises:
and detecting that the power-on time of the communication module reaches the preset time.
8. The communication module configuration method of claim 1, wherein performing configuration based on the communication configuration information comprises:
storing the communication configuration information;
and restarting and loading the communication configuration information.
9. The method of claim 8, wherein restarting loading the communication configuration information comprises:
and if the communication configuration information is not detected to be empty after restarting, loading the communication configuration information.
10. A communication module configuration method includes:
receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
determining communication configuration information between the communication module and target equipment based on the identification of the communication module;
and sending communication configuration information between the communication module and the target equipment, wherein the communication configuration information is used for configuring the communication module.
11. The method of claim 10, wherein determining communication configuration information between the communication module and the target device based on the identity of the communication module comprises:
based on the identification of the communication module, inquiring the mapping relation between the communication module and the communication configuration information;
and determining the communication configuration information between the communication module and the target equipment according to the inquired communication configuration information corresponding to the communication module.
12. The method for configuring a communication module according to claim 10, wherein when the communication configuration request further includes the identifier of the target device, determining the communication configuration information between the communication module and the target device based on the identifier of the communication module comprises:
and determining communication configuration information between the communication module and the target equipment based on the identifier of the communication module and the identifier of the target equipment.
13. The method as claimed in claim 10, wherein the communication configuration information comprises serial communication configuration information.
14. A communication module configuration device, comprising:
the sending module is used for sending a communication configuration request, and the communication configuration request carries an identifier of a communication module;
the receiving module is used for receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and the target equipment, and the communication configuration information is determined according to an identifier of the communication module;
and the configuration module is used for configuring the communication module based on the communication configuration information.
15. The communication module configuration device of claim 14, wherein the communication configuration information comprises serial communication configuration information.
16. The communication module configuring apparatus of claim 14, further comprising:
a determination module that determines an identity of the target device;
and the generating module is used for generating the communication configuration request according to the determined identifier of the target equipment.
17. The communication module configuration apparatus of claim 16, wherein determining the identity of the target device comprises:
determining an identity of the target device based on a user-specified operation.
18. The communication module configuration device according to claim 14, wherein the sending of the communication configuration request is performed based on at least one of:
detecting an activation signal;
based on a user specified operation;
and detecting that the communication module establishes wireless connection.
19. The communication module configuration device of claim 18, wherein the sending of the communication configuration request comprises:
detecting communication configuration information;
and when the communication configuration information is detected to be empty, sending a communication configuration request.
20. The communication module configuration device of claim 18, wherein detecting the activation signal comprises:
and detecting that the power-on time of the communication module reaches the preset time.
21. The communication module configuring device of claim 14, wherein configuring the communication module based on the communication configuration information comprises:
storing the communication configuration information;
and restarting and loading the communication configuration information.
22. The communication module configuration device of claim 21, wherein restarting loading the communication configuration information comprises:
and if the communication configuration information is not detected to be empty after restarting, loading the communication configuration information.
23. A communication module configuration device, comprising:
the receiving module is used for receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
the determining module is used for determining communication configuration information between the communication module and the target equipment based on the identification of the communication module;
and the sending module is used for sending communication configuration information between the communication module and the target equipment, and the communication configuration information is used for being configured to the communication module.
24. The communication module configuration device of claim 23, wherein determining the communication configuration information between the communication module and the target device based on the identifier of the communication module comprises:
based on the identification of the communication module, inquiring the mapping relation between the communication module and the communication configuration information;
and determining the communication configuration information between the communication module and the target equipment according to the inquired communication configuration information corresponding to the communication module.
25. The communication module configuring device of claim 23, wherein when the communication configuration request further includes the identifier of the target device, determining the communication configuration information between the communication module and the target device based on the identifier of the communication module comprises:
and determining communication configuration information between the communication module and the target equipment based on the identifier of the communication module and the identifier of the target equipment.
26. The communication module configuration device of claim 23, wherein the communication configuration information comprises serial communication configuration information.
27. An electronic device comprising at least one processor and a memory, the memory storing a program and configured to perform, by the at least one processor, the steps of:
sending a communication configuration request, wherein the communication configuration request carries an identifier of a communication module;
receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and target equipment, and the communication configuration information is determined according to the identifier of the communication module;
and configuring the communication module based on the communication configuration information.
28. A computer readable storage medium comprising a program for use in conjunction with an electronic device, the program being executable by a processor to perform the steps of:
sending a communication configuration request, wherein the communication configuration request carries an identifier of a communication module;
receiving a feedback result of the communication configuration request, wherein the feedback result comprises communication configuration information between the communication module and target equipment, and the communication configuration information is determined according to the identifier of the communication module;
and configuring the communication module based on the communication configuration information.
29. An electronic device comprising at least one processor and a memory, the memory storing a program and configured to perform, by the at least one processor, the steps of:
receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
determining communication configuration information between the communication module and target equipment based on the identification of the communication module;
and sending communication configuration information between the communication module and the target equipment, wherein the communication configuration information is used for configuring the communication module.
30. A computer readable storage medium comprising a program for use in conjunction with an electronic device, the program being executable by a processor to perform the steps of:
receiving a communication configuration request, wherein the communication configuration request comprises an identifier of a communication module;
determining communication configuration information between the communication module and target equipment based on the identification of the communication module;
and sending communication configuration information between the communication module and the target equipment, wherein the communication configuration information is used for configuring the communication module.
CN201810759141.XA 2018-07-11 2018-07-11 Communication configuration method, device and equipment Pending CN110719180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810759141.XA CN110719180A (en) 2018-07-11 2018-07-11 Communication configuration method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810759141.XA CN110719180A (en) 2018-07-11 2018-07-11 Communication configuration method, device and equipment

Publications (1)

Publication Number Publication Date
CN110719180A true CN110719180A (en) 2020-01-21

Family

ID=69208200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810759141.XA Pending CN110719180A (en) 2018-07-11 2018-07-11 Communication configuration method, device and equipment

Country Status (1)

Country Link
CN (1) CN110719180A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140115655A1 (en) * 2012-10-24 2014-04-24 Watchguard Techologies, Inc. Systems and methods for the rapid deployment of network security devices
CN105242917A (en) * 2015-09-08 2016-01-13 珠海全志科技股份有限公司 Method and apparatus for Android device to use WiFi module compatibly
CN105554726A (en) * 2015-08-11 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Loading method for configured file and user terminal
US9402281B1 (en) * 2011-05-26 2016-07-26 Electric Imp Incorporated Optically configured modularized control system to enable wireless network control and sensing of other devices
CN107360193A (en) * 2017-08-31 2017-11-17 广东欧珀移动通信有限公司 Method, terminal and system for directional acquisition of configuration information
CN107682338A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 Method, device and system for acquiring and processing configuration information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9402281B1 (en) * 2011-05-26 2016-07-26 Electric Imp Incorporated Optically configured modularized control system to enable wireless network control and sensing of other devices
US20140115655A1 (en) * 2012-10-24 2014-04-24 Watchguard Techologies, Inc. Systems and methods for the rapid deployment of network security devices
CN105554726A (en) * 2015-08-11 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Loading method for configured file and user terminal
CN105242917A (en) * 2015-09-08 2016-01-13 珠海全志科技股份有限公司 Method and apparatus for Android device to use WiFi module compatibly
CN107360193A (en) * 2017-08-31 2017-11-17 广东欧珀移动通信有限公司 Method, terminal and system for directional acquisition of configuration information
CN107682338A (en) * 2017-09-30 2018-02-09 广东欧珀移动通信有限公司 Method, device and system for acquiring and processing configuration information

Similar Documents

Publication Publication Date Title
CN106970873B (en) On-line mock testing method, device and system
CN109214632B (en) Risk control method and equipment
CN108959341B (en) Data synchronization method, device and equipment
CN110955624B (en) Hot plug method, device and system of PCIE equipment
CN111683359A (en) BLE communication method, device, equipment and storage medium
CN111796864B (en) A method and device for data verification
CN114547569B (en) Account login processing method and device
CN110781192A (en) Verification method, device and equipment of block chain data
CN110413286A (en) A kind of application dispositions method, device and equipment
CN107733866A (en) RPC requests, RPC request processing methods, device and equipment
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
WO2023040671A1 (en) Method for combining data interfaces, and electronic device and readable storage medium
CN112306032A (en) Conformance testing method, device and system for automobile open system
CN114661281A (en) Automation engineering implementation method and device and electronic equipment
US20250298677A1 (en) Event processing method and apparatus applied to iot device
CN110022351B (en) Service request processing method and device
HK40021949A (en) Communication configuration method, device and equipment
CN106548331B (en) Method and device for determining release sequence
CN110719180A (en) Communication configuration method, device and equipment
CN109842498B (en) Client configuration method, server, client and electronic equipment
CN110502551A (en) Data read-write method, system and infrastructure component
CN113312055B (en) Applet launching method, device and equipment
CN115941757A (en) IROS robot-oriented management interaction method, equipment and medium
WO2016206437A1 (en) Rom package generation method and device
CN120111106A (en) A method, device and equipment for providing software services

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40021949

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200121