CN112351084B - Data transmission method and device, processor and electronic device - Google Patents

Data transmission method and device, processor and electronic device Download PDF

Info

Publication number
CN112351084B
CN112351084B CN202011174358.8A CN202011174358A CN112351084B CN 112351084 B CN112351084 B CN 112351084B CN 202011174358 A CN202011174358 A CN 202011174358A CN 112351084 B CN112351084 B CN 112351084B
Authority
CN
China
Prior art keywords
unit
server
data
communication module
wireless communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011174358.8A
Other languages
Chinese (zh)
Other versions
CN112351084A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011174358.8A priority Critical patent/CN112351084B/en
Publication of CN112351084A publication Critical patent/CN112351084A/en
Application granted granted Critical
Publication of CN112351084B publication Critical patent/CN112351084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/38Connection release triggered by timers

Abstract

The invention discloses a data transmission method and device, a processor and an electronic device. Wherein, the method comprises the following steps: receiving unit data from a target unit; determining a unit mode of the target unit based on the unit data; and when the unit mode is a starting mode and the unit data are changed, sending the unit data to a server through a wireless communication module, wherein the wireless communication module is a module for carrying out communication based on a preset user terminal level under a long term evolution network. The invention solves the technical problem that the requirement of the Internet of things of industrial networking equipment is difficult to meet due to the fact that a wireless data transmission mode for reducing hardware cost and flow charge cannot be provided in the prior art.

Description

Data transmission method and device, processor and electronic device
Technical Field
The invention relates to the field of data processing, in particular to a data transmission method and device, a processor and an electronic device.
Background
With The continuous development of scientific technology, The Internet of Things (IoT for short) is rapidly developed, and The demand of traditional industrial equipment on The Internet of Things is higher and higher, but The existing wireless data transmission terminals are all based on 2G or 3G networks, so that The data transmission delay is large, The data rate is slow, The data volume is small, and with The continuous upgrade of communication technology, The 2G and 3G of each large operator quit The network at an accelerated speed, so that The use range of The wireless data transmission terminals based on The 2G and 3G networks is smaller and smaller, and therefore, The wireless data transmission terminals based on The 2G and 3G networks cannot meet The use demand of users. In addition, in the prior art, the number of networking industrial devices is increased, and meanwhile, the generated traffic cost is more and more, so that in order to meet the requirement of the industrial networking devices on the internet of things, a wireless data transmission terminal for reducing the hardware cost and the traffic charge is urgently needed to be provided.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a data transmission method and device, a processor and an electronic device, which at least solve the technical problem that the requirement of the Internet of things of industrial networking equipment is difficult to meet due to the fact that a wireless data transmission mode for reducing hardware cost and flow rate charge cannot be provided in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a data transmission method, including: receiving unit data from a target unit; determining a unit mode of the target unit based on the unit data; and when the unit mode is a starting mode and the unit data are changed, sending the unit data to a server through a wireless communication module, wherein the wireless communication module is a module for carrying out communication based on a preset user terminal level under a long term evolution network.
Optionally, sending the set data to the server via the wireless communication module includes: determining the transmission priority of the unit data, wherein different transmission priorities correspond to different initial sending moments respectively; and at the initial sending time corresponding to the transmission priority, sending the unit data to the server through the wireless communication module.
Optionally, the method further includes: and when the set mode is a shutdown mode and the duration of the shutdown mode reaches a preset duration, closing the wireless communication module and disconnecting the terminal from the server.
Optionally, the method further includes: acquiring control information set on the target unit, wherein the control information is used for determining whether to disconnect the connection between the terminal and the server; and when the connection between the terminal and the server is determined to be disconnected based on the control information, closing the wireless communication module and disconnecting the connection between the terminal and the server.
Optionally, the method further includes: sending a registration request message to the server via the wireless communication module, wherein information carried in the registration request message includes: identification information of the terminal, configuration information of the terminal; and receiving a registration response message returned by the server in response to the registration request message through the wireless communication module, wherein the registration response message is used for informing the terminal of completing registration on the server.
Optionally, the method further includes: and after the connection is established between the terminal and the server, controlling the target unit to display prompt information, wherein the prompt information is used for prompting a user that the target unit is in a networking state.
Optionally, the wireless communication module is a ue level 1 communication module in a lte network.
According to another aspect of the embodiments of the present invention, there is also provided a data transmission apparatus, including: the receiving module is used for receiving unit data from the target unit; the determining module is used for determining the unit mode of the target unit based on the unit data; and the transmission module is used for sending the unit data to a server through a wireless communication module when the unit mode is a starting mode and the unit data changes, wherein the wireless communication module is a module for carrying out communication based on a preset user terminal grade under a long term evolution network.
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above data transmission method when running.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program is configured to execute the data transmission method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the data transmission method.
In the embodiment of the invention, the unit data from the target unit is received; determining a unit mode of the target unit based on the unit data; when the unit mode is a starting mode and the unit data are changed, the unit data are sent to the server through the wireless communication module, wherein the wireless communication module is a module for communication based on a preset user terminal level under a long-term evolution network, and the purpose of providing a wireless data transmission mode for reducing hardware cost and flow rate charge is achieved, so that the technical effect of meeting the requirement of the Internet of things of industrial networking equipment is achieved, and the technical problem that the requirement of the Internet of things of the industrial networking equipment is difficult to meet due to the fact that the wireless data transmission mode for reducing the hardware cost and the flow rate charge cannot be provided in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of data transmission according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an alternative LTE Cat 1-based wireless data transmission terminal according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative method of data transmission according to an embodiment of the present invention;
FIG. 4 is a flow chart of an alternative method of data transmission according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a data transmission method, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that herein.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, receiving unit data from a target unit;
step S104, determining the unit mode of the target unit based on the unit data;
and step S106, when the unit mode is a starting mode and the unit data are changed, sending the unit data to a server through a wireless communication module, wherein the wireless communication module is a module for carrying out communication based on a preset user terminal grade under a long term evolution network.
In the embodiment of the invention, the unit data from the target unit is received; determining a unit mode of the target unit based on the unit data; when the unit mode is a starting mode and the unit data are changed, the unit data are sent to the server through the wireless communication module, wherein the wireless communication module is a module for communication based on a preset user terminal level under a long-term evolution network, and the purpose of providing a wireless data transmission mode for reducing hardware cost and flow rate charge is achieved, so that the technical effect of meeting the requirement of the Internet of things of industrial networking equipment is achieved, and the technical problem that the requirement of the Internet of things of the industrial networking equipment is difficult to meet due to the fact that the wireless data transmission mode for reducing the hardware cost and the flow rate charge cannot be provided in the prior art is solved.
Optionally, the wireless communication module is a user equipment class 1(LTE Cat1) communication module in a long term evolution network. The LTE Cat.1 is called LTE UE-Category 1, and the Cat.1 is a standard of a user terminal Category under a 4G communication LTE network, and has an uplink peak rate of 5Mbit/s and a downlink peak rate of 10 Mbit/s. Cat.1 is used as a low-end version of 4G, and can reduce hardware cost while meeting the application market demand of the Internet of things.
The LTE Cat1 is configured to classify user terminals (i.e., wireless data transmission terminals) according to different transmission rates required by users, and allocate different transmission rates according to different user requirements. The wireless communication module based on the LTE Cat1 can meet the application market demand of the Internet of things and reduce the hardware cost, for example, the flow rate charge consumed by the wireless data transmission terminal in the using process is reduced.
In an optional embodiment, the unit data may be obtained when the user terminal performs data communication with the unit, where the unit data includes a power-on/off status flag bit, and the user terminal determines whether the unit is in a power-on status or a power-off status according to the status flag bit.
After a unit is powered on, a user terminal initially has no unit data, the user terminal sends the unit data to a server after acquiring a first packet of unit data 0, the unit data received later are compared with the previous packet of unit data, the unit data 1 is compared with the unit data 0 after being received, if the unit data 1 is not changed, the user terminal does not need to send the unit data to the server at this time, the unit data 1 is stored if the unit data 1 is not lost, the unit data 1 is subsequently compared with the unit data 2, and only if the unit data 1 is not changed compared with the unit data 0, the unit data is considered to be lost.
Fig. 2 is a schematic diagram of an optional LTE Cat 1-based wireless data transmission terminal according to an embodiment of the present invention, where the wireless data transmission terminal mainly includes: the system comprises an ARM processor, an LTE Cat1 wireless communication module, a power conversion module, a standard RS485 Modbus external interface, an LED network signal indicator lamp, an antenna and the like.
The power supply conversion module is used for converting an external power supply into a level required by an ARM processor and an LTE Cat1 wireless communication module, the LTE Cat1 wireless communication module is internally provided with a TCP/IP protocol stack to realize the connection between the ARM processor and a base station and a server, and the ARM processor is connected with an external unit by adopting a Modbus protocol through a standard RS485 hardware interface, wherein the wireless data transmission terminal is a host and is used for processing and packaging collected unit data through the ARM processor, sending the collected unit data to the LTE Cat1 wireless communication module in an AT instruction mode when the unit mode is a startup mode and the unit data changes, and sending the collected unit data to the server through the LTE Cat1 wireless communication module; the LED network signal indicator lamp displays the current network signal.
The AT command is a command applied to connection and communication between the terminal device and the PC application.
In an optional embodiment, the sending the crew data to the server via the wireless communication module includes:
step S202, determining the transmission priority of the unit data, wherein different transmission priorities correspond to different initial sending moments respectively;
step S204, at the initial sending time corresponding to the transmission priority, sending the set data to the server via the wireless communication module.
In the above optional embodiment, after the online data transmission terminal is powered on, it is first determined whether to complete server registration, and the server is only registered once, and meanwhile, the unit data is subjected to classification processing according to different requirements, so as to obtain transmission priorities of different unit data, where the different transmission priorities correspond to different initial sending times respectively; after the initial sending time corresponding to the transmission priority is reached, the changed unit data are sent to the server through the wireless communication module, and therefore the flow consumed when the wireless data transmission terminal is connected with the server and transmits the unit data can be reduced.
In an optional embodiment, the method further includes:
step S302, when the set mode is a power-off mode and the duration of the power-off mode reaches a preset duration, closing the wireless communication module, and disconnecting the terminal from the server.
In the embodiment of the application, the wireless data transmission terminal can autonomously judge whether the unit mode is in the shutdown mode or not through the unit data, and if the unit mode is the shutdown mode and the duration of the shutdown mode reaches the preset duration t0, the wireless communication module is closed, the connection between the servers is disconnected, the flow use is reduced, and the flow charge is reduced.
When the unit mode of the wireless communication module is the shutdown mode, the wireless communication module is still in a power-on state, and at the moment, the server still keeps communication with the wireless data transmission terminal.
In an alternative embodiment, the method further comprises:
step S402, acquiring control information set on the target unit, wherein the control information is used for determining whether to disconnect the connection between the terminal and the server;
step S404, when it is determined to disconnect the terminal from the server based on the control information, closing the wireless communication module, and disconnecting the terminal from the server.
In the embodiment of the application, a user can flexibly set the control information whether the wireless data transmission terminal performs networking according to actual conditions by using a control terminal, such as a wire controller, on a target unit, so as to improve the interaction degree between the wireless data transmission terminal and the user.
As an optional embodiment, after the wireless data transmission terminal is installed in a home of a user or a test environment required by a waiting experiment is reached, a power-on test can be performed to determine whether there is a problem in installation or not, whether a fault occurs or not, and the like, so that a series of debugging can be performed on a target unit.
In an alternative embodiment, the method further comprises:
step S502, after the connection is established between the terminal and the server, the target unit is controlled to display prompt information, wherein the prompt information is used for prompting a user that the target unit is in a networking state.
Optionally, the prompt information may be a remote monitoring icon, as shown in fig. 3, after a Modbus communication connection is established between the wireless data transmission terminal and the server, the remote monitoring icon is displayed on the line controller to prompt the user that the target unit is in a networking state, the user may determine whether to set the state of the wireless data transmission terminal in a mode of combining keys according to the actual situation at that time, and the wireless data transmission terminal selects whether to connect to the network according to the state set by the line controller; and selecting whether to display the remote monitoring icon according to the connection state of the server, wherein the remote monitoring icon is not displayed when the server is not connected.
For example, when a debugging unit is installed, data in the debugging process has no practical significance, and the connection between the wireless data transmission terminal and the server can be interrupted, so that the flow consumption is reduced.
In an alternative embodiment, the method further comprises:
step S502, sending a registration request message to the server via the wireless communication module, wherein the information carried in the registration request message includes: identification information of the terminal, configuration information of the terminal;
step S504 is performed to receive a registration response message returned by the server in response to the registration request message via the wireless communication module, where the registration response message is used to notify the terminal that the registration is completed on the server.
As shown in fig. 4, first, after each power-on, the wireless data transmission terminal determines whether registration with the server has been completed, and if registration has not been completed, sends a registration packet, where the content of the registration packet includes information such as the module IMEI, the ICCID, the IMSI, the program version, the firmware version, and the hardware version, and once registration with the server is completed, the module will not send the information subsequently, so as to reduce traffic consumption, for example, directly send a login packet and a heartbeat packet to connect with the server.
Still as shown in fig. 4, after the wireless data transmission terminal receives the unit data sent by the unit, the terminal will determine the unit data, first determine the unit mode, determine whether the unit is in the power-on state or the power-off state, and when the unit is in the power-off state and the power-off state is maintained for t0 time, turn off the power of the wireless data transmission terminal and disconnect the communication connection between the wireless data transmission terminal and the server, instead of sending the unit data to the server, thereby reducing the traffic consumption. When a unit is in a power-on state, after receiving unit data, first determining whether the unit data changes and clearing time t0, if the data does not change, continuing to receive the unit data, and after the unit data changes, determining a transmission priority of the data change, where the transmission priority may be set in advance, according to the transmission priority, setting data of importance interest as primary data, data of secondary interest as secondary data, and unnecessary data as tertiary data, where it is to be noted that the transmission priority and the determined data level may be set according to specific requirements.
As an alternative embodiment, when verifying the operation efficiency of the unit, the primary concerns are the unit setting mode (cooling/heating), the outlet water temperature, the inlet water temperature, the compressor frequency, the compressor power, the fan speed, and the like, so that the data are set as primary data; fault information of the unit, such as temperature sensing bulb fault, communication fault and the like, is set as secondary data; the line controller time, the timing time and the like are set as three-level data.
For example, if the primary data changes, whether the sending time t1 corresponding to the primary data is reached is judged, the changed data is packaged and sent to the server for analysis after the time t1 is reached, the processing mode of the secondary data and the tertiary data is the same as the processing mode of the primary data, the sending time t2 corresponding to the secondary data is obtained, and the sending time t3 corresponding to the tertiary data is obtained, wherein t1< t2< t3 exist among t1, t2 and t 3. By the embodiment of the application, the traffic consumption can be greatly reduced, and the traffic cost can be further reduced.
Example 2
According to an embodiment of the present invention, an embodiment of an apparatus for implementing the data transmission method is further provided, and fig. 5 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention, as shown in fig. 5, the data transmission apparatus includes: a receiving module 50, a determining module 52, and a transmitting module 54, wherein:
a receiving module 50, configured to receive unit data from a target unit; a determining module 52, configured to determine a unit mode of the target unit based on the unit data; a transmission module 54, configured to send the set data to a server via a wireless communication module when the set mode is a power-on mode and the set data changes, where the wireless communication module is a module for performing communication based on a preset ue level in a long term evolution network.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted that the receiving module 50, the determining module 52 and the transmitting module 54 correspond to steps S102 to S106 in embodiment 1, and the modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in embodiment 1. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.
The data transmission device may further include a processor and a memory, and the receiving module 50, the determining module 52, the transmitting module 54, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to an embodiment of the present application, there is also provided an embodiment of a non-volatile storage medium. Optionally, in this embodiment, the nonvolatile storage medium includes a stored program, and when the program runs, the apparatus in which the nonvolatile storage medium is located is controlled to execute any one of the data transmission methods.
Optionally, in this embodiment, the nonvolatile storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the nonvolatile storage medium includes a stored program.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: receiving unit data from a target unit; determining a unit mode of the target unit based on the unit data; and when the unit mode is a starting mode and the unit data are changed, sending the unit data to a server through a wireless communication module, wherein the wireless communication module is a module for carrying out communication based on a preset user terminal level under a long term evolution network.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: determining the transmission priority of the unit data, wherein different transmission priorities correspond to different initial sending moments respectively; and at the initial sending time corresponding to the transmission priority, sending the unit data to the server through the wireless communication module.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and when the set mode is a shutdown mode and the duration of the shutdown mode reaches a preset duration, closing the wireless communication module and disconnecting the terminal from the server.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: acquiring control information set on the target unit, wherein the control information is used for determining whether to disconnect the connection between the terminal and the server; and when the connection between the terminal and the server is determined to be disconnected based on the control information, closing the wireless communication module and disconnecting the connection between the terminal and the server.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: sending a registration request message to the server via the wireless communication module, wherein information carried in the registration request message includes: identification information of the terminal, configuration information of the terminal; and receiving a registration response message returned by the server in response to the registration request message through the wireless communication module, wherein the registration response message is used for informing the terminal of completing registration on the server.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: and after the connection is established between the terminal and the server, controlling the target unit to display prompt information, wherein the prompt information is used for prompting a user that the target unit is in a networking state.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A method of data transmission, comprising:
receiving unit data from a target unit;
determining a unit mode of the target unit based on the unit data;
when the unit mode is a starting mode and the unit data are changed, sending the unit data to a server through a wireless communication module, wherein the wireless communication module is a module for carrying out communication based on a preset user terminal level under a long term evolution network;
determining the transmission priority of the unit data, wherein different transmission priorities correspond to different initial sending moments respectively; at the initial sending time corresponding to the transmission priority, sending the unit data to the server through the wireless communication module;
wherein the method further comprises: sending a registration request message to the server via the wireless communication module, wherein the information carried in the registration request message includes: identification information of a terminal, configuration information of the terminal; and receiving a registration response message returned by the server in response to the registration request message through the wireless communication module, wherein the registration response message is used for informing the terminal of completing registration on the server.
2. The method of claim 1, further comprising:
and when the unit mode is a shutdown mode and the duration of the shutdown mode reaches a preset duration, closing the wireless communication module, and disconnecting the terminal from the server.
3. The method of claim 1, further comprising:
acquiring control information set on the target unit, wherein the control information is used for determining whether to disconnect the connection between the terminal and the server;
and when the connection between the terminal and the server is determined to be disconnected based on the control information, closing the wireless communication module and disconnecting the connection between the terminal and the server.
4. The method of claim 1, further comprising:
and after the connection is established between the terminal and the server, controlling the target unit to display prompt information, wherein the prompt information is used for prompting a user that the target unit is in a networking state.
5. The method of claim 1, wherein the wireless communication module is a ue-level-1 communication module in a lte network.
6. A data transmission apparatus, comprising:
the receiving module is used for receiving unit data from the target unit;
the determining module is used for determining the unit mode of the target unit based on the unit data;
the transmission module is used for transmitting the unit data to a server through a wireless communication module when the unit mode is a starting mode and the unit data changes, wherein the wireless communication module is a module for carrying out communication based on a preset user terminal level under a long term evolution network;
determining the transmission priority of the unit data, wherein different transmission priorities correspond to different initial sending moments respectively; at the initial sending time corresponding to the transmission priority, sending the unit data to the server through the wireless communication module;
wherein the apparatus is further configured to: sending a registration request message to the server via the wireless communication module, wherein the information carried in the registration request message includes: identification information of a terminal, configuration information of the terminal; and receiving a registration response message returned by the server in response to the registration request message through the wireless communication module, wherein the registration response message is used for informing the terminal of completing registration on the server.
7. A non-volatile storage medium, in which a computer program is stored, wherein the computer program is arranged to execute the data transfer method of any one of claims 1 to 5 when running.
8. A processor for running a program, wherein the program is arranged to perform the data transmission method of any one of claims 1 to 5 when running.
9. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the data transmission method of any one of claims 1 to 5.
CN202011174358.8A 2020-10-28 2020-10-28 Data transmission method and device, processor and electronic device Active CN112351084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011174358.8A CN112351084B (en) 2020-10-28 2020-10-28 Data transmission method and device, processor and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011174358.8A CN112351084B (en) 2020-10-28 2020-10-28 Data transmission method and device, processor and electronic device

Publications (2)

Publication Number Publication Date
CN112351084A CN112351084A (en) 2021-02-09
CN112351084B true CN112351084B (en) 2022-02-25

Family

ID=74355228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011174358.8A Active CN112351084B (en) 2020-10-28 2020-10-28 Data transmission method and device, processor and electronic device

Country Status (1)

Country Link
CN (1) CN112351084B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391578A (en) * 2021-03-09 2021-09-14 浙江利尔达物联网技术有限公司 Internet of things test terminal based on LTE-Cat1 technology OpenCPU scheme
CN113329275B (en) * 2021-05-27 2022-09-20 深圳市威尔健科技发展有限公司 Instant intercom device based on CAT1 does not have distance limitation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105223826A (en) * 2015-09-29 2016-01-06 小米科技有限责任公司 Home equipment control method, Apparatus and system
CN109471388A (en) * 2018-11-07 2019-03-15 国网辽宁省电力有限公司经济技术研究院 Cogeneration units status remote based on TD-LTE mechanics of communication monitors system
CN109861854A (en) * 2019-01-23 2019-06-07 四川虹美智能科技有限公司 A kind of intelligent device management method, apparatus and system
CN110177023A (en) * 2019-04-08 2019-08-27 视联动力信息技术股份有限公司 A kind of communication connection detection method and device based on view networking
CN110892241A (en) * 2017-06-29 2020-03-17 珀金斯发动机有限公司 Engine monitoring

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105223826A (en) * 2015-09-29 2016-01-06 小米科技有限责任公司 Home equipment control method, Apparatus and system
CN110892241A (en) * 2017-06-29 2020-03-17 珀金斯发动机有限公司 Engine monitoring
CN109471388A (en) * 2018-11-07 2019-03-15 国网辽宁省电力有限公司经济技术研究院 Cogeneration units status remote based on TD-LTE mechanics of communication monitors system
CN109861854A (en) * 2019-01-23 2019-06-07 四川虹美智能科技有限公司 A kind of intelligent device management method, apparatus and system
CN110177023A (en) * 2019-04-08 2019-08-27 视联动力信息技术股份有限公司 A kind of communication connection detection method and device based on view networking

Also Published As

Publication number Publication date
CN112351084A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN105471686B (en) Terminal control method, device and system
CN111770559B (en) Network connection method, terminal, base station, and computer storage medium
WO2016058366A1 (en) Smart home appliance control method and home control center
EP2432270A1 (en) Method, device and system for controlling access point
US9177467B2 (en) Electrical gateway and communication method of electrical gateway
CN112351084B (en) Data transmission method and device, processor and electronic device
US9036532B2 (en) Scheduling method for machine-to-machine communication
CN103117906A (en) Flow control method for process of sharing WiFi (wireless fidelity) hot spot for mobile terminals
JP5932773B2 (en) Method for operating a mobile station
CN102378147A (en) Apparatus and method for coupling an m2m device to a wireless network
CN103581861A (en) User equipment assistance information signaling in a wireless network
CN104869609A (en) Information providing method and device
EP3869112B1 (en) Air-conditioning device control method and air-conditioning device
TWI489901B (en) Method and system for facilitating communication between user equipment and external network
CN104584490A (en) Data transmitting method and device
CN108781473A (en) A kind of method and apparatus of the shared file between different terminals
KR20220119477A (en) Method and device for sidelink communication
US10117258B2 (en) Wireless channel redistribution method and apparatus
US20230247464A1 (en) Information processing method, communication device, and storage medium
CN104797004B (en) The method that automatic network-building is realized between master-slave equipment
CN102448142A (en) Method and device for controlling terminal to select network
CN104081870B (en) For the apparatus and method for promoting to be used for the extension period for maintaining PPP sessions
US20170127472A1 (en) Method and wireless device for controlling disconnection of a wireless device in a wi-fi direct group of a wireless network
CN105099836A (en) BLE intelligent node control method and system
EP3737179A1 (en) Data transmission method and device, and computer storage medium

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