CN112003934A - WIFI data transmission method and device, storage medium and electronic equipment - Google Patents

WIFI data transmission method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112003934A
CN112003934A CN202010851256.9A CN202010851256A CN112003934A CN 112003934 A CN112003934 A CN 112003934A CN 202010851256 A CN202010851256 A CN 202010851256A CN 112003934 A CN112003934 A CN 112003934A
Authority
CN
China
Prior art keywords
data
cache
preset
equipment
marked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010851256.9A
Other languages
Chinese (zh)
Other versions
CN112003934B (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
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010851256.9A priority Critical patent/CN112003934B/en
Publication of CN112003934A publication Critical patent/CN112003934A/en
Application granted granted Critical
Publication of CN112003934B publication Critical patent/CN112003934B/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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data

Landscapes

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

Abstract

The application relates to the technical field of data processing, in particular to a WIFI data transmission method, a WIFI data transmission device, a WIFI data transmission storage medium and electronic equipment, and solves the problems that network resources are wasted, storage pressure is increased, and user privacy is easily exposed due to real-time data transmission in the related art. The method comprises the following steps: receiving and processing equipment designation data sent by a main circuit board of the electronic equipment to obtain marked equipment designation data; storing the marked equipment designated data into a preset cache space; judging whether a data reporting instruction is generated or not according to the marked equipment designated data and a preset parameter value; and if a data reporting instruction is generated, generating a cache data set from the data in the preset cache space according to the data reporting instruction, and reporting the cache data set.

Description

WIFI data transmission method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of data transmission technologies, and in particular, to a WIFI data transmission method, apparatus, storage medium, and electronic device.
Background
The WIFI data transmission refers to the remote transmission of data or various monitoring data output by electronic equipment by using a wireless data module, also called a WIFI module, so that the data acquisition and transmission are realized, and accurate data service is further provided.
The existing WIFI data transmission method is realized by installing a WIFI module on electronic equipment, but in the WIFI data transmission process, the electronic equipment is networked in real time and performs data transmission through the WIFI module, so that not only network resources are occupied and network resource waste is caused, but also a large amount of repeated useless data can be generated and the storage pressure is increased if the running state of the electronic equipment in unit time is continuously kept stable. In addition, acquiring data of the user using the electronic device in real time also risks exposing the personal privacy of the user and infringing the rights and interests of consumers.
Disclosure of Invention
In order to solve the problems, the application provides a WIFI data transmission method, a WIFI data transmission device, a WIFI data transmission storage medium and electronic equipment, and solves the technical problems that network resources are wasted, storage pressure is increased, and user privacy is easily exposed due to real-time data transmission in the related art.
In a first aspect, the present application provides a WIFI data transmission method, where the method includes:
receiving and processing equipment designation data sent by a main circuit board of the electronic equipment to obtain marked equipment designation data;
storing the marked equipment designated data into a preset cache space;
judging whether a data reporting instruction is generated or not according to the marked equipment designated data and a preset parameter value;
and if a data reporting instruction is generated, generating a cache data set from the data in the preset cache space according to the data reporting instruction, and reporting the cache data set.
Optionally, the processing device specifying data sent by the main circuit board of the electronic device to obtain marked device specifying data includes:
comparing the equipment designated data with preset reference data, and judging the instant state of the electronic equipment; the instant state comprises a normal state, a fault state, a starting state, a shutdown state and a self-maintenance state;
and marking the equipment-specific data according to a preset parameter value corresponding to the instant state to obtain the marked equipment-specific data.
Optionally, the storing the marked device specific data into a preset cache space includes:
and storing the marked equipment designated data into the preset cache space according to a time sequence, and overflowing to the left.
Optionally, the determining whether to generate a data reporting instruction according to the marked device specific data and a preset parameter value includes:
judging whether the parameter values in the marked equipment designated data are preset parameter values or not;
if the parameter value is judged to be the preset parameter value, generating the data reporting instruction;
and if the parameter value is not the preset parameter value, not generating the data reporting instruction.
Optionally, if a data reporting instruction is generated, generating a cache data set from the data in the preset cache space according to the data reporting instruction, and reporting the cache data set, where the method includes:
generating the cache data set from all the currently stored equipment-specific data in the preset cache space according to the data reporting instruction;
slicing the cache data set according to a preset size to obtain a plurality of cache data packets;
and sending the cache data packets one by one until the report of the whole cache data set is completed.
Optionally, the WIFI data transmission method further includes:
after each cache data packet is sent, judging whether the cache data packet loses packets or not;
if the packet loss of a certain cache data packet is judged, retransmitting the cache data packet at intervals of second preset time;
and if the transmission of one cache data packet is judged to be successful, the next cache data packet is continuously transmitted.
Optionally, the WIFI data transmission method further includes:
and if the packet loss of a certain cache data packet is judged to be more than or equal to the preset times, skipping the reporting of the cache data packet and continuing to transmit the next cache data packet.
Optionally, before the receiving and processing the device specific data sent by the main circuit board of the electronic device to obtain the marked device specific data, the method further includes:
receiving a data acquisition instruction;
and generating a data request instruction according to the data acquisition instruction and sending the data request instruction to a main circuit board of the electronic equipment.
A WIFI data transmission apparatus, the apparatus comprising:
the data processing unit is used for receiving and processing the equipment designation data sent by the main circuit board of the electronic equipment to obtain the marked equipment designation data;
the data caching unit is used for storing the marked equipment designated data into a preset caching space; generating a data reporting instruction according to a preset logic corresponding to the parameter value in the marked equipment designated data;
and the data reporting unit is used for generating a cache data set from the data in the preset cache space according to the data reporting instruction and reporting the cache data set.
Optionally, the data processing unit is further configured to receive a data acquisition instruction of the device-specific data; and generating a data request instruction according to the data acquisition instruction and sending the data request instruction to a main circuit board of the electronic equipment.
A storage medium storing a computer program executable by one or more processors may be used to implement the method of WIFI data transmission as described in the first aspect.
An electronic device comprising a memory and a processor, the memory having a computer program stored thereon, the memory and the processor being communicatively connected to each other, the computer program, when executed by the processor, performing the method of WIFI data transmission according to the first aspect.
The WIFI data transmission method, the WIFI data transmission device, the storage medium and the electronic equipment have the advantages that the WIFI data transmission method, the WIFI data transmission device, the storage medium and the electronic equipment are intersected in the prior art, and the WIFI data transmission method, the WIFI data transmission device, the storage medium and the electronic equipment have the advantages that:
1. when the parameter value in the marked equipment designated data is judged to be a preset parameter value, data reporting is carried out, and occupation of network resources is reduced;
2. when the parameter value in the marked equipment designated data is judged to be the preset parameter value, data reporting is carried out, so that the acquisition of repeated equipment data is reduced, and the storage pressure is reduced;
3. and reporting the data when the parameter value in the marked equipment-specific data is judged to be the preset parameter value, so that the risk of exposing the personal privacy of the user is reduced compared with a mode of acquiring the data of the user using the electronic equipment in real time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a WIFI data transmission method provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of another WIFI data transmission method provided in the embodiment of the present application;
fig. 3 is a schematic structural diagram of a WIFI data transmission device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a connection block diagram of another electronic device according to an embodiment of the present disclosure.
Detailed Description
The following detailed description will be provided with reference to the accompanying drawings and embodiments, so that how to apply the technical means to solve the technical problems and achieve the corresponding technical effects can be fully understood and implemented. The embodiments and various features in the embodiments of the present application can be combined with each other without conflict, and the formed technical solutions are all within the scope of protection of the present application.
As can be seen from the background art, the existing WIFI data transmission method is implemented by installing a WIFI module on an electronic device, but in the WIFI data transmission process, the electronic device is networked in real time and performs data transmission through the WIFI module, which not only occupies network resources and causes network resource waste, but also generates a large amount of repeated useless data and increases storage pressure if the running state of the electronic device in unit time is continuously kept stable. In addition, acquiring data of the user using the electronic device in real time also risks exposing the personal privacy of the user and infringing the rights and interests of consumers.
In view of this, the present application provides a WIFI data transmission method, apparatus, storage medium and electronic device, which solve the technical problems of network resource waste, storage pressure increase and easy exposure of user privacy caused by real-time data transmission in the related art.
Example one
Fig. 1 is a schematic flowchart of a WIFI data transmission method provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
s101, receiving and processing the equipment designation data sent by the main circuit board of the electronic equipment to obtain the marked equipment designation data.
The device-specific data refers to voltage and current of each component module of the electronic device, internal temperature and humidity of each module, temperature of key electronic components inside each module, and operation state of key parts inside the electronic device.
And S102, storing the marked equipment designated data into a preset cache space.
S103, judging whether a data reporting instruction is generated or not according to the marked equipment designated data and a preset parameter value.
And S104, if a data reporting instruction is generated, generating a cache data set from the data in the preset cache space according to the data reporting instruction, and reporting the cache data set.
It should be noted that, when the data reporting instruction is determined to be generated, no matter whether the data in the preset cache space is full, all the data in the preset cache space are generated into a cache data set and reported.
Optionally, the processing device specifying data sent by the main circuit board of the electronic device to obtain marked device specifying data includes:
comparing the equipment designated data with preset reference data, and judging the instant state of the electronic equipment; the instant state comprises a normal state, a fault state, a starting state, a shutdown state and a self-maintenance state.
It should be noted that, the current instant state of the electronic device may be determined by using the historical experience parameter as preset reference data.
And marking the equipment-specific data according to a preset parameter value corresponding to the instant state to obtain the marked equipment-specific data.
Specifically, a parameter, for example, a vt parameter, may be defined, different values of the vt parameter may be set according to different real-time states, for example, 0 to 9 correspond to different real-time states, respectively, and after the real-time state of the electronic device is determined, the vt parameter value corresponding to the real-time state is added to the flag bit of the device-specific data as an added field.
It should be further noted that the electronic device generally sends data to the WIFI module in the device at regular time, and when the device breaks down, the main circuit board may send an instant fault signal, but generally does not transmit the fault signal to the WIFI module.
Optionally, the storing the marked device specific data into a preset cache space includes:
and storing the marked equipment designated data into the preset cache space according to a time sequence, and overflowing to the left.
It should be noted that, because the size of the preset cache space is limited, in order to ensure that the data in the preset cache space is the nearest device-specific data, the cache space is set to store data that overflows to the left.
Optionally, the determining whether to generate a data reporting instruction according to the marked device specific data and a preset parameter value includes:
and judging whether the parameter values in the marked equipment designated data are preset parameter values or not.
And if the parameter value is judged to be the preset parameter value, generating the data reporting instruction.
And if the parameter value is not the preset parameter value, not generating the data reporting instruction.
It should be noted that there are multiple values of the vt parameter, some of the values, for example, values 2, 4, and 6, are set as preset parameter values, and when it is determined that the vt parameter value in the marked bit of the device-specific data after marking is the preset parameter value (for example, 2, 4, and 6), a data reporting instruction is generated.
Specifically, the parameter value corresponding to the real-time status of the electronic device, such as the fault status or the maintenance status, which needs to be reported in time, may be set as a preset parameter value, for example, the parameter value corresponding to the fault status is set to 2, and is used as the preset parameter value. And parameter values corresponding to some running states can be set as preset parameter values so as to carry out stable data reporting.
Optionally, if a data reporting instruction is generated, generating a cache data set from the data in the preset cache space according to the data reporting instruction, and reporting the cache data set, where the method includes:
and generating the cache data set by using all the currently stored equipment-specific data in the preset cache space according to the data reporting instruction.
It should be noted that, when the data report instruction is determined to be generated, no matter whether the data in the preset cache space is full, all the data in the preset cache space is generated into the cache data set.
And slicing the cache data set according to a preset size to obtain a plurality of cache data packets.
It should be noted that slicing the cached data set can improve data transmission efficiency and reduce latency when the WIFI module interacts with a data receiving end (e.g., a cloud server). The size of the slice may depend on the size of the single piece of data that may be transmitted, and in another embodiment of the present application, the slice size is 105 bytes.
And sending the cache data packets one by one until the report of the whole cache data set is completed.
Optionally, the WIFI data transmission method further includes:
after each cache data packet is sent, judging whether the cache data packet loses packets or not;
if the packet loss of a certain cache data packet is judged, retransmitting the cache data packet at intervals of second preset time;
and if the transmission of one cache data packet is judged to be successful, the next cache data packet is continuously transmitted.
It should be noted that, by determining whether the buffered data packet is lost, the stability and correctness of data transmission can be effectively determined, and the successful uploading of data is ensured.
Optionally, the WIFI data transmission method further includes:
and if the packet loss of a certain cache data packet is judged to be more than or equal to the preset times, skipping the reporting of the cache data packet and continuing to transmit the next cache data packet.
It should be noted that, in order to avoid the waste of network resources, if one cache data packet loses packets many times and fails to be uploaded successfully, the cache data packet is discarded, and the next cache data packet is continuously uploaded.
Optionally, before the receiving and processing the device specific data sent by the main circuit board of the electronic device to obtain the marked device specific data, the method further includes:
and receiving a data acquisition instruction.
And generating a data request instruction according to the data acquisition instruction and sending the data request instruction to a main circuit board of the electronic equipment.
It should be noted that, a WIFI data transmission method disclosed in the embodiments of the present application is an automatically completed data wireless data transmission reporting function, but in some cases, a user needs to obtain specific data to perform operations such as checking an electronic device, and at this time, the user may initiate a data acquisition instruction to allow the electronic device to feed back specific data that the user wants.
In summary, the embodiment of the present application provides a WIFI data transmission method, where data is reported only when a parameter value in marked device-specific data is determined to be a preset parameter value, so as to reduce occupation of network resources; repeated equipment data acquisition is reduced, and storage pressure is reduced; compared with a mode of acquiring data of the electronic equipment used by the user in real time, the method reduces the risk of exposing the personal privacy of the user.
Example two
Fig. 2 is a schematic flowchart of another WIFI data transmission method provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
s201, receiving a data acquisition instruction.
And S202, generating a data request instruction according to the data acquisition instruction and sending the data request instruction to a main circuit board of the electronic equipment.
S203, receiving and processing the equipment designation data sent by the main circuit board of the electronic equipment to obtain the marked equipment designation data.
And S204, storing the marked equipment designated data into a preset cache space.
S205, judging whether a data reporting instruction is generated or not according to the marked equipment designated data and a preset parameter value.
And S206, if a data reporting instruction is generated, generating a cache data set from the data in the preset cache space according to the data reporting instruction, and reporting the cache data set.
It should be noted that, a WIFI data transmission method disclosed in the embodiments of the present application is an automatically completed data wireless data transmission reporting function, but in some cases, a user needs to obtain specific data to perform operations such as checking an electronic device, and at this time, the user may initiate a data acquisition instruction to allow the electronic device to feed back specific data that the user wants.
The specific embodiment process of the above method steps can be referred to as embodiment one, and the detailed description of this embodiment is not repeated herein.
EXAMPLE III
Based on the above-mentioned WIFI data transmission method disclosed in the embodiment of the present invention, fig. 3 specifically discloses a WIFI data transmission device applying the WIFI data transmission method.
As shown in fig. 3, another embodiment of the present invention discloses a WIFI data transmission apparatus, which includes:
the data processing unit 301 is configured to receive and process the device specific data sent by the main circuit board of the electronic device, and obtain the marked device specific data.
A data caching unit 302, configured to store the marked device specific data in a preset caching space; and generating a data reporting instruction according to a preset logic corresponding to the parameter value in the marked equipment designated data.
A data reporting unit 303, configured to generate a cache data set from the data in the preset cache space according to the data reporting instruction, and report the cache data set.
Optionally, the data processing unit 301 is further configured to receive a data acquisition instruction of device-specific data; and generating a data request instruction according to the data acquisition instruction and sending the data request instruction to a main circuit board of the electronic equipment.
For the specific working processes of the data processing unit 301, the data caching unit 302, and the data reporting unit 303 in the WIFI data transmission device disclosed in the embodiment of the present invention, reference may be made to corresponding contents in the WIFI data transmission method disclosed in the above embodiment of the present invention, and details are not repeated here.
In summary, the embodiment of the present application provides a WIFI data transmission apparatus, where data is reported only when a parameter value in marked device-specific data is determined to be a preset parameter value, so as to reduce occupation of network resources; repeated equipment data acquisition is reduced, and storage pressure is reduced; compared with a mode of acquiring data of the electronic equipment used by the user in real time, the method reduces the risk of exposing the personal privacy of the user.
Example four
Fig. 4 is a schematic structural diagram of an electronic device 400 according to an embodiment of the present application, and as shown in fig. 4, the electronic device 400 includes:
a main circuit board 401 for transmitting device-specifying data to the data processing unit 402 at regular time.
The data processing unit 402 is configured to receive and process the device specifying data sent by the main circuit board of the electronic device, and obtain the marked device specifying data.
A data caching unit 403, configured to store the marked device specific data in a preset caching space; and generating a data reporting instruction according to a preset logic corresponding to the parameter value in the marked equipment designated data.
A data reporting unit 404, configured to generate a cache data set from the data in the preset cache space according to the data reporting instruction, and report the cache data set.
The specific embodiment process of the above method steps can be referred to as embodiment one, and the detailed description of this embodiment is not repeated herein.
EXAMPLE five
The present embodiment further provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, where the computer program, when executed by a processor, may implement the method steps of the first embodiment, and thus, the description of the embodiment is not repeated herein.
EXAMPLE six
Fig. 5 is a schematic structural diagram of another electronic device 500 provided in the embodiment of the present application, and as shown in fig. 5, the electronic device 500 may include: a processor 501, a memory 502, a multimedia component 503, an input/output (I/O) interface 504, and a communication component 505.
The processor 501 is configured to execute all or part of the steps in the WIFI data transmission method according to the first embodiment. The memory 502 is used to store various types of data, which may include, for example, instructions for any application or method in the electronic device, as well as application-related data.
The Processor 501 may be implemented by an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and is configured to execute the WIFI data transmission method in the first embodiment.
The Memory 502 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
The multimedia component 503 may include a screen, which may be a touch screen, and an audio component for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in a memory or transmitted through a communication component. The audio assembly also includes at least one speaker for outputting audio signals.
The I/O interface 505 provides an interface between the processor 501 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons.
The communication component 505 is used for wired or wireless communication between the electronic device 500 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 505 may include: Wi-Fi module, bluetooth module, NFC module.
In summary, the present application provides a WIFI data transmission method, apparatus, storage medium and electronic device, where the method includes: receiving and processing equipment designation data sent by a main circuit board of the electronic equipment to obtain marked equipment designation data; storing the marked equipment designated data into a preset cache space; judging whether a data reporting instruction is generated or not according to the marked equipment designated data and a preset parameter value; and if a data reporting instruction is generated, generating a cache data set from the data in the preset cache space according to the data reporting instruction, and reporting the cache data set. The method reduces the occupation of network resources by reporting the data only when the parameter value in the marked equipment designated data is judged to be the preset parameter value; repeated equipment data acquisition is reduced, and storage pressure is reduced; compared with a mode of acquiring data of the electronic equipment used by the user in real time, the method reduces the risk of exposing the personal privacy of the user.
In the embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The above-described method embodiments are merely illustrative.
It should be noted that, in this document, 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 identical elements in a process, method, article, or apparatus that comprises the element.
Although the embodiments disclosed in the present application are described above, the above descriptions are only for the convenience of understanding the present application, and are not intended to limit the present application. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims.

Claims (12)

1. A WIFI data transmission method is characterized by comprising the following steps:
receiving and processing equipment designation data sent by a main circuit board of the electronic equipment to obtain marked equipment designation data;
storing the marked equipment designated data into a preset cache space;
judging whether a data reporting instruction is generated or not according to the marked equipment designated data and a preset parameter value;
and if a data reporting instruction is generated, generating a cache data set from the data in the preset cache space according to the data reporting instruction, and reporting the cache data set.
2. The method of claim 1, wherein processing the device specific data sent by the main circuit board of the electronic device to obtain the marked device specific data comprises:
comparing the equipment designated data with preset reference data, and judging the instant state of the electronic equipment; the instant state comprises a normal state, a fault state, a starting state, a shutdown state and a self-maintenance state;
and marking the equipment-specific data according to a preset parameter value corresponding to the instant state to obtain the marked equipment-specific data.
3. The method of claim 1, wherein storing the marked device specific data in a preset cache space comprises:
and storing the marked equipment designated data into the preset cache space according to a time sequence, and overflowing to the left.
4. The method of claim 1, wherein the determining whether to generate a data reporting instruction according to the marked device specific data and a preset parameter value comprises:
judging whether the parameter values in the marked equipment designated data are preset parameter values or not;
if the parameter value is judged to be the preset parameter value, generating the data reporting instruction;
and if the parameter value is not the preset parameter value, not generating the data reporting instruction.
5. The method of claim 1, wherein if a data reporting instruction is generated, generating a buffered data set from the data in the preset buffer space according to the data reporting instruction, and reporting the buffered data set, includes:
generating the cache data set from all the currently stored equipment-specific data in the preset cache space according to the data reporting instruction;
slicing the cache data set according to a preset size to obtain a plurality of cache data packets;
and sending the cache data packets one by one until the report of the whole cache data set is completed.
6. The method of claim 5, further comprising:
after each cache data packet is sent, judging whether the cache data packet loses packets or not;
if the packet loss of a certain cache data packet is judged, retransmitting the cache data packet at intervals of second preset time;
and if the transmission of one cache data packet is judged to be successful, the next cache data packet is continuously transmitted.
7. The method of claim 6, further comprising:
and if the packet loss of a certain cache data packet is judged to be more than or equal to the preset times, skipping the reporting of the cache data packet and continuing to transmit the next cache data packet.
8. The method according to claim 1, before said receiving and processing the device specific data transmitted by the main circuit board of the electronic device to obtain the marked device specific data, further comprising:
receiving a data acquisition instruction;
and generating a data request instruction according to the data acquisition instruction and sending the data request instruction to a main circuit board of the electronic equipment.
9. A WIFI data transmission apparatus, characterized in that the apparatus comprises:
the data processing unit is used for receiving and processing the equipment designation data sent by the main circuit board of the electronic equipment to obtain the marked equipment designation data;
the data caching unit is used for storing the marked equipment designated data into a preset caching space; generating a data reporting instruction according to a preset logic corresponding to the parameter value in the marked equipment designated data;
and the data reporting unit is used for generating a cache data set from the data in the preset cache space according to the data reporting instruction and reporting the cache data set.
10. The apparatus of claim 9, wherein the data processing unit is further configured to receive a data acquisition instruction of device specific data; and generating a data request instruction according to the data acquisition instruction and sending the data request instruction to a main circuit board of the electronic equipment.
11. A storage medium storing a computer program executable by one or more processors to perform the method of WIFI data transmission according to any one of claims 1 to 8.
12. An electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the memory and the processor are communicatively connected to each other, and the computer program, when executed by the processor, performs the method of WIFI data transmission according to any one of claims 1-8.
CN202010851256.9A 2020-08-21 2020-08-21 WIFI data transmission method and device, storage medium and electronic equipment Active CN112003934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010851256.9A CN112003934B (en) 2020-08-21 2020-08-21 WIFI data transmission method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010851256.9A CN112003934B (en) 2020-08-21 2020-08-21 WIFI data transmission method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112003934A true CN112003934A (en) 2020-11-27
CN112003934B CN112003934B (en) 2021-12-17

Family

ID=73473778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010851256.9A Active CN112003934B (en) 2020-08-21 2020-08-21 WIFI data transmission method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112003934B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104468A (en) * 2011-02-18 2011-06-22 中兴通讯股份有限公司 Routing agent-based media sensing automatic retransmission request (ARQ) control method and system
CN102685468A (en) * 2012-04-28 2012-09-19 华为技术有限公司 Method and device for transmitting video packets
CN202907189U (en) * 2012-11-22 2013-04-24 南京国电南自风电自动化技术有限公司 Wind power fault message transmission system with WIFI module
CN104101053A (en) * 2014-07-04 2014-10-15 珠海格力电器股份有限公司 Air conditioner monitoring method, device and system
CN105446328A (en) * 2016-01-15 2016-03-30 廖金能 A generating set remote fault diagnosis and health monitor system and a data capture method
US20160131018A1 (en) * 2014-11-06 2016-05-12 Hyundai Motor Company Method and system for controlling cooling fan in vehicle
CN109579217A (en) * 2018-12-17 2019-04-05 珠海格力电器股份有限公司 Data processing method and device for unit equipment, unit equipment and storage medium
CN110307619A (en) * 2019-06-24 2019-10-08 珠海格力电器股份有限公司 Method and device for accurately testing unit equipment, unit equipment and storage medium
US20200068006A1 (en) * 2018-08-22 2020-02-27 International Business Machines Corporation Crowdsourcing big data transfer

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104468A (en) * 2011-02-18 2011-06-22 中兴通讯股份有限公司 Routing agent-based media sensing automatic retransmission request (ARQ) control method and system
CN102685468A (en) * 2012-04-28 2012-09-19 华为技术有限公司 Method and device for transmitting video packets
CN202907189U (en) * 2012-11-22 2013-04-24 南京国电南自风电自动化技术有限公司 Wind power fault message transmission system with WIFI module
CN104101053A (en) * 2014-07-04 2014-10-15 珠海格力电器股份有限公司 Air conditioner monitoring method, device and system
US20160131018A1 (en) * 2014-11-06 2016-05-12 Hyundai Motor Company Method and system for controlling cooling fan in vehicle
CN105446328A (en) * 2016-01-15 2016-03-30 廖金能 A generating set remote fault diagnosis and health monitor system and a data capture method
US20200068006A1 (en) * 2018-08-22 2020-02-27 International Business Machines Corporation Crowdsourcing big data transfer
CN109579217A (en) * 2018-12-17 2019-04-05 珠海格力电器股份有限公司 Data processing method and device for unit equipment, unit equipment and storage medium
CN110307619A (en) * 2019-06-24 2019-10-08 珠海格力电器股份有限公司 Method and device for accurately testing unit equipment, unit equipment and storage medium

Also Published As

Publication number Publication date
CN112003934B (en) 2021-12-17

Similar Documents

Publication Publication Date Title
US10802906B2 (en) Monitoring method and apparatus of server, and storage medium
CN106850402B (en) Message transmission method and device
CN108718347B (en) Domain name resolution method, system, device and storage medium
CN109542361B (en) Distributed storage system file reading method, system and related device
WO2019051948A1 (en) Method, apparatus, server, and storage medium for processing monitoring data
CN109547524B (en) User behavior storage method, device, equipment and storage medium based on Internet of things
CN108874825B (en) Abnormal data verification method and device
WO2019062634A1 (en) Communication method and apparatus
KR20160074503A (en) Emulating test distributed application on server
US20170187575A1 (en) System and method for customizing standard device-orientated services within a high scale deployment
CN112003934B (en) WIFI data transmission method and device, storage medium and electronic equipment
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN103051722B (en) A kind ofly determine the method whether page is held as a hostage and relevant device
EP3398304B1 (en) Network service requests
CN113220481A (en) Request processing and feedback method and device, computer equipment and readable storage medium
US10152490B2 (en) Sequential replication with limited number of objects
CN110309028B (en) Monitoring information acquisition method, service monitoring method, device and system
CN109144676A (en) A kind of self-starting detection method, device and the server of application program
CN114090268B (en) Container management method and container management system
CN112333276B (en) Network access method, system, storage medium and electronic device
CN109922120A (en) Improve the method and terminal of DNS availability
CN114924826A (en) Page fusion method, device and equipment based on different code platforms
CN113032054A (en) Service execution method, device, storage medium and electronic device
CN113542424A (en) Data processing method, device, equipment and computer program product
CN113132447A (en) Reverse proxy method and system

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