Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data communication method and device

A data communication and data technology, applied in the field of communication, can solve problems such as high circuit board temperature, high system CPU resource occupancy rate, and short hardware service life, and achieve the effect of optimizing the communication process

Active Publication Date: 2020-08-04
GREE ELECTRIC APPLIANCES INC
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The communication link of long connection or short connection will lead to many and complicated threads for sending and receiving data in the APP or the underlying program, and the number of data links is also large due to different functions. When optimizing the program, multi-thread and multiple data links The management of the road is particularly complicated, and in the actual use process, due to the concurrency of multi-threading and multi-data links, it is easy to cause problems such as high occupancy rate of system CPU resources, high temperature of the circuit board, and short service life of the hardware.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data communication method and device
  • Data communication method and device
  • Data communication method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention are illustrated. The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention. The technical solution of the present invention will be described in various aspects below in conjunction with various figures and embodiments.

[0034] The "first", "second" and so on in the following are only used to describe the difference, and have no other special meanings.

[0035] fi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention discloses a data communication method and apparatus, and relates to the technical field of communications. The method comprises: when an APP is running, establishing a data link; creating a send task pool and a receive task pool; based on a task sending priority rule, acquiring first data from the send task pool, and sending the first data to a bottom-layer communication service terminal by means of the data link; receiving second data sent by the bottom-layer communication service terminal by means of the data link, and adding the second data into the receive task pool and performing corresponding processing; and when the APP exits, closing the data link. According to the communication method and system disclosed by the present invention, the queuing mechanisms of data transmission and reception can be controlled, so that data can be sent and received in order, multi-thread and multi-link concurrency quantity of data communications can be effectively controlled, the communication process can be optimized, the service life of hardware can be prolonged, problems such as hardware fever caused by concurrency of multiple threads and multiple data links can be solved, and security of work and user experience can be improved.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a data communication method and device. Background technique [0002] With the continuous development of smart home technology, smart home terminals are no longer limited to mobile phones and tablet computers, but also support embedded terminal controllers. The communication in the embedded terminal controller is based on the communication between the application layer and the bottom layer in the OSI seven-layer protocol model. The embedded APP is installed in the controller, and the APP needs to communicate with the bottom layer quickly and efficiently, including status query and control etc. At present, the communication mode of embedded APP is based on UDP, TCP, HTTP / HTTPS, etc. The basic principle is to create a new socket and send and receive data by specifying IP and port. Some communication links are long connections and some are short connections. A short...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F9/50H04L29/08
CPCG06F9/485G06F9/5038H04L69/321
Inventor 彭敏郭峰梁智将
Owner GREE ELECTRIC APPLIANCES INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products