CN114554543A - Mesh device data transmission system and method and Mesh device - Google Patents

Mesh device data transmission system and method and Mesh device Download PDF

Info

Publication number
CN114554543A
CN114554543A CN202210447759.9A CN202210447759A CN114554543A CN 114554543 A CN114554543 A CN 114554543A CN 202210447759 A CN202210447759 A CN 202210447759A CN 114554543 A CN114554543 A CN 114554543A
Authority
CN
China
Prior art keywords
check value
mesh device
transmission data
terminal browser
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210447759.9A
Other languages
Chinese (zh)
Inventor
黄沛瑜
黄飞
王港
王鹏
邢冠宇
陈超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sinomatin Technology Shenzhen Co ltd
Original Assignee
Sinomatin Technology Shenzhen 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 Sinomatin Technology Shenzhen Co ltd filed Critical Sinomatin Technology Shenzhen Co ltd
Priority to CN202210447759.9A priority Critical patent/CN114554543A/en
Publication of CN114554543A publication Critical patent/CN114554543A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a Mesh device data transmission system, a Mesh device data transmission method and a Mesh device, wherein the method comprises the following steps: acquiring first transmission data required by a target address, acquiring a first check value of the first transmission data, and storing the first check value into a terminal browser; transmitting the first transmission data to the target address, and determining second transmission data actually received by the target address; obtaining a second check value of the second transmission data based on the second transmission data, and storing the second check value into a terminal browser; and comparing whether the first check value and the second check value are consistent or not based on the terminal browser to determine a control instruction of the target address. The method and the device are based on comparison of the first check value and the second check value, so that the checking process is simplified, and convenience of the Mesh device in data transmission is improved.

Description

Mesh device data transmission system and method and Mesh device
Technical Field
The application relates to the field of computer data transmission, in particular to a Mesh device data transmission system and method and a Mesh device.
Background
With the rapid development of network transmission, network transmission is now also developed from the original wired local area transmission to the present wireless Mesh network (wireless Mesh network).
The Mesh device needs to replace or download different data in response to different user scenes, so that the Mesh device needs to transmit data frequently, data loss is easily caused in the process of transmitting data by the Mesh device, whether transmitted software is correct and effective generally needs to be checked, the checking method generally refers to directly checking the version number of the software and checking the running state of the software, and the existing Mesh device needs a user to know related professional knowledge in a data transmission method, so that the operation of the transmission process of the Mesh device is complicated and the Mesh device is not convenient.
Disclosure of Invention
The application mainly aims to provide a Mesh device data transmission system and method and a Mesh device, and aims to solve the technical problems that in the prior art, when data transmission is carried out on the Mesh device, operation is complex, and convenience is not provided.
In order to achieve the above object, the present application provides a data transmission system for a Mesh device, where the data transmission system for a Mesh device includes:
a Mesh device to: receiving request information sent by a terminal browser, analyzing the request information, determining a request action of the terminal browser, and performing corresponding processing on data prestored in the Mesh device based on the request action; if the Mesh device is determined to be the target address based on the request action, the Mesh device is used for receiving first transmission data sent by the terminal browser, determining second transmission data actually received by the Mesh device based on the first transmission data, obtaining a second check value of the second transmission data through calculation, and sending the second check value to the terminal browser; if the Mesh device is determined to be the sending address based on the request action, the Mesh device is used for acquiring first transmission data, sending the first transmission data to the terminal browser, calculating to obtain a first check value of the first transmission data, and sending the first check value to the terminal browser;
a terminal browser, the terminal browser being configured to: sending request information of a user to Mesh equipment; if the Mesh device is determined to be the target address based on the request action, the Mesh device is used for sending the first transmission data and calculating to obtain a first check value; if the Mesh device is determined to be the sending address based on the request action, the Mesh device is used for receiving a first check value sent by the Mesh device, receiving first transmission data sent by the Mesh device, determining second transmission data actually received by the terminal browser based on the first transmission data, and obtaining a second check value through calculation; and the comparison module is further configured to compare the first check value with the second check value to obtain a comparison result of the first check value and the second check value.
Optionally, the Mesh device includes: the Web server boa is used for receiving request information sent by the terminal browser, analyzing the request information, determining a request action of the terminal browser, and carrying out corresponding processing on the prestored data by calling the CGIC interface program based on the request action; if the Mesh device is determined to be the target address based on the request action, the Mesh device is used for receiving first transmission data sent by the terminal browser, determining second transmission data actually received by the Web server boa based on the first transmission data, obtaining a second check value of the second transmission data through calculation, and sending the second check value to the terminal browser; if the Mesh device is determined to be the sending address based on the request action, first transmission data are obtained through a CGIC interface program and are sent to a terminal browser, the first check value of the first transmission data is obtained through calculation, and the first check value is further used for sending the first check value to the terminal browser.
The application also provides a data transmission method of the Mesh device, which comprises the following steps:
acquiring first transmission data required by a target address, acquiring a first check value of the first transmission data, and storing the first check value into a terminal browser;
transmitting the first transmission data to the target address, and determining second transmission data actually received by the target address;
obtaining a second check value of the second transmission data based on the second transmission data, and storing the second check value into a terminal browser;
and comparing whether the first check value and the second check value are consistent or not based on the terminal browser to determine a control instruction of the target address.
Optionally, before the step of obtaining first transmission data required by the target address, obtaining a first check value of the first transmission data, and storing the first check value in the terminal browser, the method includes:
monitoring request information selected by a user on a Web page preset by a terminal browser through the terminal browser to determine the request information, and sending the request information to Mesh equipment;
analyzing the request information to obtain a request action;
based on the request action, the destination address and the sending address are determined.
Optionally, the step of obtaining first transmission data required by the target address to obtain a first check value of the first transmission data, and storing the first check value in the terminal browser includes:
acquiring first transmission data required by the target address based on the request information;
and determining a first check value of the first transmission data through a first characteristic value calculation program preset in the sending address based on the first transmission data, and storing the first check value to a terminal browser.
Optionally, the step of analyzing the request information to obtain the request action includes:
and analyzing the request information through a Web server boa preset in the Mesh equipment to obtain a request action corresponding to the request information.
Optionally, the step of comparing, based on the terminal browser, whether the first check value and the second check value are consistent to determine the control instruction of the target address includes:
comparing whether the first check value and the second check value are consistent or not based on the terminal browser to obtain a comparison result of the first check value and the second check value;
and determining a control instruction of the target address based on the comparison result.
The application also provides a storage medium, wherein a program for implementing the Mesh device data transmission method is stored in the storage medium, and the program for implementing the Mesh device data transmission method implements the steps of the Mesh device data transmission method when being executed by a processor.
The application provides a Mesh device data transmission system, a Mesh device data transmission method and a Mesh device, wherein compared with the prior art, the Mesh device directly checks the version number of a software version, checks the running state of software, and can check whether the data is lost in the data transmission process, and the Mesh device data transmission system and the Mesh device have no universality and convenience; transmitting the first transmission data to the target address, and determining second transmission data actually received by the target address; obtaining a second check value of the second transmission data based on the second transmission data, and storing the second check value into a terminal browser; and comparing whether the first check value and the second check value are consistent or not based on the terminal browser to determine a control instruction of the target address. In the application, after the first check value of the first transmission data and the second check value of the second transmission data actually received by the target address are obtained, the first check value is compared with the second check value, and a result of whether the first transmission data is consistent with the second transmission data is obtained.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a data transmission method of a Mesh device according to a first embodiment of the present application;
fig. 2 is a schematic diagram of a data exchange principle of the data transmission method of the Mesh device according to the present application;
FIG. 3 is a schematic diagram of an apparatus configuration of a hardware operating environment according to an embodiment of the present application;
fig. 4 is a schematic diagram of a terminal browser principle of the data transmission method of the Mesh device according to the present application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In a first embodiment of the data transmission method for the Mesh device in the present application, referring to fig. 1, the data transmission method for the Mesh device includes:
step S10, acquiring first transmission data required by a target address, acquiring a first check value of the first transmission data, and storing the first check value into a terminal browser;
step S20, transmitting the first transmission data to the destination address, and determining second transmission data actually received by the destination address;
step S30, obtaining a second check value of the second transmission data based on the second transmission data, and saving the second check value in a terminal browser;
step S40, comparing whether the first check value and the second check value are consistent based on the terminal browser, so as to determine a control instruction of the target address.
In this embodiment, the specific application scenarios may be:
the data is downloaded from the Mesh device, and the data loss can occur in the process of downloading the data in the Mesh device, and the Mesh device cannot report errors after the data loss, so that the use of the data in the Mesh device by a user is influenced, and the downloading is not convenient.
Or, data in the Mesh device is updated, a professional updating tool needs to be matched in the updating process, the professional updating tool needs to be used only by a user with professional knowledge, the replacement data can be lost when the replacement data is uploaded by a non-professional user, and the loss of the replacement data can be detected only by using the replacement data after the data is lost, so that the data transmission method of the Mesh device is not convenient.
The scheme integrally compares a first check value obtained before data transmission with a second check value obtained after data transmission to determine whether data is lost or not in the transmission process, namely, the first transmission data required by the target address is obtained, the first check value is determined, after the first transmission data is transmitted to the target address, the second transmission data actually received by the target address is determined, and determining a second check value based on the second transmission data, comparing the first check value with the first check value, determining whether the comparison result of the first check value and the first check value is consistent, if so, determining that the first transmission data has no data loss in the transmission process, specifically, and comparing the first check value of the first transmission data with the second check value of the second transmission data, so as to determine whether the first transmission data is lost in the transmission process.
The method comprises the following specific steps:
step S10, acquiring first transmission data required by a target address, acquiring a first check value of the first transmission data, and storing the first check value into a terminal browser;
in this embodiment, it should be noted that the data transmission method of the Mesh device may be applied to a Mesh device, where the Mesh device belongs to a data transmission system of the Mesh device.
For the data transmission system of the Mesh device, a terminal browser and the Mesh device are built in, and it should be noted that the terminal browser may be arranged on a terminal machine, wherein the terminal machine may be connected to the Mesh device through a wire or wirelessly, and the terminal browser may also be arranged on the Mesh device.
Specifically, the terminal browser page is a Web page, wherein the terminal browser can obtain request information of a user on the Web page, send the request information to the Mesh device, and is further configured to store the first check value and the second check value.
Wherein, the first check value can be a code, a character, a number, etc.;
the second check value may also be a code, character, number, etc., but is to correspond to the first check value.
Specifically, the Mesh device includes a Web server boa, a CGIC interface program, and pre-stored data.
The Web server boa may analyze the request information sent by the terminal browser, and determine an action corresponding to the request information by the Mesh device, for example, the Web server boa receives the request information of the updated software sent by the terminal browser, and determines that the request information is the updated software after the analysis by the Web server boa.
The CGIC interface program may integrate the data packets transmitted by the terminal browser, or may integrate the pre-stored data.
In this embodiment, request information is determined through a Web page of a terminal browser, a destination address is determined based on the request information, first transmission data required by the destination address is acquired, a first check value of the first transmission data is obtained, and the first check value is stored in the terminal browser.
The target address may be a terminal browser or a Mesh device.
Specifically, as shown in fig. 4, the terminal browser includes a Web page, a monitoring program, and a data interaction protocol, where the terminal browser monitors request information sent by a user through the Web page, sends the request information to the Web server boa, determines a target address based on the request information, obtains first transmission data corresponding to the request information, obtains a first check value of the first transmission data, and stores the first check value in the terminal browser.
Specifically, the step of obtaining first transmission data required by a target address, obtaining a first check value of the first transmission data, and storing the first check value in a terminal browser further includes:
step A1, acquiring first transmission data required by the target address based on the request information;
step a2, based on the first transmission data, determining a first check value of the first transmission data through a first feature value calculation program preset in the sending address, and storing the first check value to a terminal browser.
When the target address is the terminal browser, the Mesh device is a sending address, and when the target address is the Mesh device, the terminal browser is the sending address.
The first characteristic value calculation program may determine the first check value of the first transmission data from the first transmission data.
In this embodiment, the terminal browser monitors request information sent by a user through a Web page, determines a destination address, obtains first transmission data required by the destination address and a sending address of the first transmission data, calculates a first check value of the first transmission data through a first feature value calculation program preset in the sending address, and stores the first check value in a monitoring program in the terminal browser.
The terminal browser is preset with a characteristic value calculation program, and the Mesh device is also provided with the characteristic value calculation program.
If the sending address is a terminal browser, a preset characteristic value calculation program in the terminal browser is a first characteristic value calculation program;
and if the sending address is the Mesh device, the preset characteristic value calculation program in the Mesh device is a first characteristic value calculation program.
For example, if it is determined that the request information of the user is the uploaded updated data through the Web page, determining that the target address is the Mesh device, the sending address is the terminal browser, uploading a replacement file through the Web page, acquiring first transmission data, that is, the replacement file is the first transmission data, determining and storing a first check value of the first transmission data by a first characteristic value calculation program preset in the terminal browser, and sending the first transmission data to the Web server boa by the terminal browser; if the request information of the user is determined to be the download data through the Web page, determining that the target address is a terminal browser, the sending address is the Mesh device, after the terminal browser monitors the request information, sending the request information to a Web server boa, the Web server boa packages prestored data corresponding to the request information in the Mesh device through a CGIC interface program to obtain first transmission data, namely the download data is the first transmission data, determining a first check value of the first transmission data through a first characteristic value calculation program preset in the CGIC interface program, and sending the first check value to the terminal browser through the Web server boa for storage.
In this embodiment, the terminal browser monitors request information sent by a user through a web page, acquires first transmission data based on the request information, determines a first check value of the first transmission data, and stores the first check value in a monitoring program.
Step S20, transmitting the first transmission data to the destination address, and determining second transmission data actually received by the destination address.
In this embodiment, since data loss may occur during data transmission, after the sending address sends the first transmission data to the destination address, the second transmission data actually received by the destination address is determined.
For example, if the request information of the user is determined to be the uploading updated data, the sending address is determined to be a terminal browser, the target address is the Mesh device, the acquired first transmission data is transmitted to the Web service in the Mesh device from the terminal browser, and the second transmission data actually received by the Web server boa is determined; and if the request information of the user is determined to be the download data, determining that the sending address is the Mesh device and the target address is the terminal browser, sending the first transmission data packaged in the Mesh device from the Mesh device to the terminal browser through a data interaction protocol, and determining second transmission data actually received by the terminal browser.
The first transmission data may be one of software, a file, a program and the like, and the second transmission data corresponds to the first transmission data and may be software, a file, a program and the like.
Step S30, obtaining a second check value of the second transmission data based on the second transmission data, and saving the second check value in the terminal browser.
In this embodiment, based on the second transmission data, a second check value of the second transmission data is obtained in the target address, the second check value is saved in the terminal browser, and the second transmission data is temporarily stored in the target address.
Wherein, the target address is provided with a second characteristic value calculation program.
And the second check value is calculated by a second characteristic value calculation program.
If the target address is a terminal browser, a preset characteristic value calculation program in the terminal browser is a second characteristic value calculation program;
and if the target address is the Mesh device, the preset characteristic value calculation program in the Mesh device is a second characteristic value calculation program.
For example, if it is determined that the request information of the user is upload update data, determining that the sending address is a terminal browser and the target address is a Mesh device, determining second transmission data based on a Web server boa in the Mesh device, obtaining a second check value of the second transmission data through a second characteristic value calculation program in a CGIC interface program in the Mesh device, sending the second check value to the terminal browser through the Web server boa, and temporarily storing the second transmission data in the Web server boa in the Mesh device; and if the request information of the user is determined to be the download data, determining that the sending address is the Mesh device and the target address is the terminal browser, determining second transmission data based on the terminal browser, calculating a program by using a second characteristic value preset in the terminal browser to obtain a second check value of the second transmission data, storing the second check value in the monitoring program, and temporarily storing the second transmission data in the monitoring program.
Step S40, comparing whether the first check value and the second check value are consistent based on the terminal browser, so as to determine a control instruction of the target address.
And comparing the first check value with the second check value in the terminal browser.
In this embodiment, the first check value and the second check value are compared in the terminal browser, whether the first check value and the second check value are consistent is determined, and the control instruction of the target address is determined based on whether the first check value and the second check value are consistent.
Control instructions targeting address addresses include, but are not limited to, execute instructions and do not execute instructions.
Specifically, the step of comparing whether the first check value and the second check value are consistent based on the terminal browser to determine the control instruction of the target address includes:
step B1, comparing whether the first check value and the second check value are consistent or not based on the terminal browser, and obtaining a comparison result of the first check value and the second check value;
step B2, based on the comparison result, determining the control instruction of the target address.
If the comparison result is consistent, determining that the first transmission data has no lost data in the transmission process, and determining that the control instruction of the target address is an execution instruction;
and if the comparison result is inconsistent, determining that the first transmission data loses data in the transmission process, and determining that the instruction of the target address is an executable instruction.
In this embodiment, comparing the first check value with the second check value in the terminal browser, determining whether the first check value is consistent with the second check value, obtaining a comparison result of the first check value and the second check value, and if the comparison result of the first check value is consistent with the second check value, determining that the transmission data of the first transmission data is not lost in the transmission process, so as to determine that the control instruction of the target address is an execution instruction; and if the comparison result of the first check value and the second check value is inconsistent, determining that the transmission data of the first transmission data is lost in the transmission process, so as to determine that the control instruction of the target address is an executable instruction.
For example, if the request information of the user is determined to be upload update data, determining that the target address is a Mesh device, comparing a first check value with a second check value in a terminal browser, if the comparison result of the first check value and the second check value is consistent, determining to execute an update instruction, replacing corresponding data in the Mesh device by second transmission data temporarily stored in a Web server boa through a CGIC (Carrier sense integrated Circuit), so that the Mesh device completes data update, and sending the comparison result to a Web page of the terminal browser; and if the comparison result of the first check value and the second check value is consistent, determining not to execute the updating instruction, and avoiding the Mesh equipment from completing wrong updating.
For example, if the request information of the user is determined to be download data, determining that the target address is a terminal browser, comparing the first check value with the second check value in the terminal browser, if the comparison result of the first check value and the second check value is consistent, determining to execute a download instruction, and downloading the first transmission data temporarily stored in the terminal browser; and if the comparison result of the first check value and the second check value is inconsistent, determining not to execute the downloading instruction, and avoiding that the downloaded data cannot be used.
The application provides a Mesh device data transmission system, a Mesh device data transmission method and a Mesh device, wherein compared with the prior art, the Mesh device directly checks the version number of a software version, checks the running state of software, and can check whether the data is lost in the data transmission process, and the Mesh device data transmission system and the Mesh device have no universality and convenience; transmitting the first transmission data to the target address, and determining second transmission data actually received by the target address; obtaining a second check value of the second transmission data based on the second transmission data, and storing the second check value into a terminal browser; and comparing whether the first check value and the second check value are consistent or not based on the terminal browser to determine a control instruction of the target address. In the application, after the first check value of the first transmission data and the second check value of the second transmission data actually received by the target address are obtained, the first check value is compared with the second check value, and a result of whether the first transmission data is consistent with the second transmission data is obtained.
Further, based on the above embodiment in the present application, another embodiment of the present application is provided, in which before the step of obtaining first transmission data required by a target address, obtaining a first check value of the first transmission data, and storing the first check value in a terminal browser, the method includes:
step C1, monitoring request information selected by a user on a Web page preset by the terminal browser through the terminal browser to determine the request information, and sending the request information to the Mesh device;
step C2, analyzing the request information to obtain a request action;
step C3, determining the destination address and the sending address based on the request action.
The terminal browser at least comprises a Web page and a monitoring program;
the listener can be, but is not limited to, written in js (javascript) programming language, for example, the programming language of the listener can also be html (hypertext markup language), and the like.
The Web page is used for determining request information of a user.
The monitoring program is used for monitoring request information selected by a user on a Web page so as to determine the request information;
specifically, the step of analyzing the request information to obtain the request action includes:
and D1, analyzing the request information through a preset Web server boa in the Mesh equipment to obtain a request action corresponding to the request information.
The Web browser page is a Web page, and the request information which can be selected on the Web page at least comprises one of updating data and downloading data.
In this embodiment, the terminal monitors request information selected by the user in the selection item of the Web page, sends the request information to the Web server boa of the Mesh device, analyzes the request action through the Web server boa to obtain a request action corresponding to the request information, and determines a target address and sends the target address to the address based on the request action.
If the request information selected by the user is the updating data, the target address is a Web server boa, and the sending address is a terminal browser;
and if the request information selected by the user is the download data, the target address is a terminal browser, and the sending address is a Web server boa.
Specifically, the terminal browser further includes: a data interaction protocol;
the data interaction protocol may send downloaded data in the Mesh device to the terminal browser, or may upload replacement data in the terminal browser to the Mesh device, for example, AJAX and the like
In the embodiment, a monitor in the Web browser monitors request information selected by a user on a Web page, sends the request information to the Web server boa, obtains a request action through analysis of the Web server boa, and determines a target address and a determined address based on whether the request action is updating data or downloading data. In the embodiment, the target address is determined by selecting the request information on the page of the Web browser, so that the target address is prevented from being input, and a foundation is laid for convenient use of a user.
Further, based on the foregoing embodiments of the present application, another embodiment of the present application is provided, where after the step of determining the control instruction of the target address based on the comparison result, the method includes:
step E1, determining a control instruction of the target address, so that the target address executes the control instruction, and obtaining an execution result of the target address;
and step E2, sending the execution result to the terminal browser, and rendering the Web page to remind the user of the data transmission result.
And the rendering of the Web page is different according to different execution results.
The rendering may be color rendering, size rendering of a result frame, sound rendering, or the like.
The method for prompting the user data transmission result comprises the steps of rendering prompt through a Web page, voice prompt, prompt through an indicator light and the like.
In this embodiment, as shown in fig. 4, the terminal browser receives the execution result of the Web server boa response, and gives different rendering effects to the Web page based on different execution results of the Web server boa response, so as to more intuitively remind the user of the result of data transmission.
Further, based on the foregoing embodiments of the present application, another embodiment of the present application is provided, in which a Mesh device data transmission system is provided, where the Mesh device data transmission system includes:
a Mesh device to: receiving request information sent by a terminal browser, analyzing the request information, determining a request action of the terminal browser, and performing corresponding processing on data prestored in the Mesh device based on the request action; if the Mesh device is determined to be the target address based on the request action, the Mesh device is used for receiving first transmission data sent by the terminal browser, determining second transmission data actually received by the Mesh device based on the first transmission data, obtaining a second check value of the second transmission data through calculation, and sending the second check value to the terminal browser; if the Mesh device is determined to be the sending address based on the request action, the Mesh device is used for acquiring first transmission data, sending the first transmission data to the terminal browser, calculating to obtain a first check value of the first transmission data, and sending the first check value to the terminal browser;
a terminal browser, the terminal browser being configured to: sending request information of a user to Mesh equipment; if the Mesh device is determined to be the target address based on the request action, the Mesh device is used for sending the first transmission data and calculating to obtain a first check value; if the Mesh device is determined to be the sending address based on the request action, the request action is used for receiving a first check value sent by the Mesh device, receiving first transmission data sent by the Mesh device, determining second transmission data actually received by the terminal browser based on the first transmission data, and obtaining a second check value through calculation; and the comparison module is further configured to compare the first check value with the second check value to obtain a comparison result of the first check value and the second check value.
Wherein the Mesh device comprises: the Web server boa is used for receiving request information sent by the terminal browser, analyzing the request information, determining a request action of the terminal browser, and carrying out corresponding processing on the prestored data by calling the CGIC interface program based on the request action; if the Mesh device is determined to be the target address based on the request action, the Mesh device is used for receiving first transmission data sent by the terminal browser, determining second transmission data actually received by the Web server boa based on the first transmission data, obtaining a second check value of the second transmission data through calculation, and sending the second check value to the terminal browser; and if the Mesh equipment is determined to be the sending address based on the request action, acquiring first transmission data through a CGIC interface program, sending the first transmission data to a terminal browser, calculating to obtain a first check value of the first transmission data, and sending the first check value to the terminal browser.
The specific implementation of the control system of the myopia prevention and control instrument of the present application is basically the same as the above-mentioned embodiments of the control method of the myopia prevention and control instrument, and is not described herein again.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 3, the Mesh device may include: a processor 1001, such as a CPU, memory 1005, and a communication bus 1002. The communication bus 1002 is used for realizing connection communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Optionally, the Mesh device may further include a rectangular user interface, a network interface, a camera, RF (Radio Frequency) circuitry, a sensor, audio circuitry, a WiFi module, and so on. The rectangular user interface may comprise a Display screen (Display), an input sub-module such as a Keyboard (Keyboard), and the optional rectangular user interface may also comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
It will be appreciated by those skilled in the art that the Mesh device configuration shown in figure 3 does not constitute a limitation of the Mesh device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 3, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, and a Mesh device data transmission program. The operating system is a program that manages and controls the hardware and software resources of the Mesh device, and supports the operation of the Mesh device data transfer program and other software and/or programs. The network communication module is used for realizing communication among components in the memory 1005 and communication with other hardware and software in the Mesh device data transmission system.
In the Mesh device shown in fig. 3, the processor 1001 is configured to execute a Mesh device data transmission program stored in the memory 1005, so as to implement the steps of the Mesh device data transmission method described in any one of the above.
The specific implementation of the Mesh device of the present application is substantially the same as the embodiments of the data transmission method of the Mesh device, and is not described herein again.
The embodiment of the present application provides a storage medium, and the storage medium stores one or more programs, and the one or more programs are further executable by one or more processors for implementing the steps of the Mesh device data transmission method described in any one of the above.
The specific implementation of the storage medium of the present application is substantially the same as the embodiments of the data transmission method of the Mesh device, and is not described herein again.
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 like elements in a process, method, article, or apparatus that comprises the element.
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.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A Mesh device data transmission system, the Mesh device data transmission system comprising:
a Mesh device to: receiving request information sent by a terminal browser, analyzing the request information, determining a request action of the terminal browser, and performing corresponding processing on data prestored in the Mesh device based on the request action; if the Mesh device is determined to be the target address based on the request action, the Mesh device is used for receiving first transmission data sent by the terminal browser, determining second transmission data actually received by the Mesh device based on the first transmission data, obtaining a second check value of the second transmission data through calculation, and sending the second check value to the terminal browser; if the Mesh device is determined to be the sending address based on the request action, the Mesh device is used for acquiring first transmission data, sending the first transmission data to the terminal browser, calculating to obtain a first check value of the first transmission data, and sending the first check value to the terminal browser;
a terminal browser, the terminal browser being configured to: sending request information of a user to Mesh equipment; if the Mesh device is determined to be the target address based on the request action, the Mesh device is used for sending the first transmission data and calculating to obtain a first check value; if the Mesh device is determined to be the sending address based on the request action, the Mesh device is used for receiving a first check value sent by the Mesh device, receiving first transmission data sent by the Mesh device, determining second transmission data actually received by the terminal browser based on the first transmission data, and obtaining a second check value through calculation; and the comparison module is further configured to compare the first check value with the second check value to obtain a comparison result of the first check value and the second check value.
2. The Mesh device data transmission system of claim 1, wherein the Mesh device comprises: the Web server boa is used for receiving request information sent by the terminal browser, analyzing the request information, determining a request action of the terminal browser, and carrying out corresponding processing on the prestored data by calling the CGIC interface program based on the request action; if the Mesh device is determined to be the target address based on the request action, the Mesh device is used for receiving first transmission data sent by the terminal browser, determining second transmission data actually received by the Web server boa based on the first transmission data, obtaining a second check value of the second transmission data through calculation, and sending the second check value to the terminal browser; and if the Mesh equipment is determined to be the sending address based on the request action, acquiring first transmission data through a CGIC interface program, sending the first transmission data to a terminal browser, calculating to obtain a first check value of the first transmission data, and sending the first check value to the terminal browser.
3. A Mesh device data transmission method is characterized by comprising the following steps:
acquiring first transmission data required by a target address, acquiring a first check value of the first transmission data, and storing the first check value into a terminal browser;
transmitting the first transmission data to the target address, and determining second transmission data actually received by the target address;
obtaining a second check value of the second transmission data based on the second transmission data, and storing the second check value into a terminal browser;
and comparing whether the first check value and the second check value are consistent or not based on the terminal browser to determine a control instruction of the target address.
4. The Mesh device data transmission method according to claim 3, wherein before the step of obtaining the first transmission data required by the destination address, obtaining the first check value of the first transmission data, and storing the first check value in the terminal browser, the method includes:
monitoring request information selected by a user on a Web page preset by a terminal browser through the terminal browser to determine the request information, and sending the request information to Mesh equipment;
analyzing the request information to obtain a request action;
based on the request action, the destination address and the sending address are determined.
5. The Mesh device data transmission method of claim 4, wherein the step of obtaining first transmission data required by a target address, obtaining a first check value of the first transmission data, and storing the first check value in a terminal browser comprises:
acquiring first transmission data required by the target address based on the request information;
and determining a first check value of the first transmission data through a first characteristic value calculation program preset in the sending address based on the first transmission data, and storing the first check value to a terminal browser.
6. The Mesh device data transmission method according to claim 4, wherein the step of parsing the request information to obtain a request action includes:
and analyzing the request information through a Web server boa preset in the Mesh equipment to obtain a request action corresponding to the request information.
7. The Mesh device data transmission method of claim 3, wherein the step of comparing whether the first check value and the second check value are consistent based on the terminal browser to determine the control instruction of the target address comprises:
comparing whether the first check value and the second check value are consistent or not based on the terminal browser to obtain a comparison result of the first check value and the second check value;
and determining a control instruction of the target address based on the comparison result.
8. A Mesh device, characterized in that the Mesh device comprises: a memory, a processor and a program stored on the memory for implementing the Mesh device data transmission method,
the memory is used for storing a program for realizing the data transmission method of the Mesh equipment;
the processor is configured to execute a program implementing the Mesh device data transmission method to implement the steps of the Mesh device data transmission method according to any one of claims 3 to 7.
CN202210447759.9A 2022-04-27 2022-04-27 Mesh device data transmission system and method and Mesh device Pending CN114554543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210447759.9A CN114554543A (en) 2022-04-27 2022-04-27 Mesh device data transmission system and method and Mesh device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210447759.9A CN114554543A (en) 2022-04-27 2022-04-27 Mesh device data transmission system and method and Mesh device

Publications (1)

Publication Number Publication Date
CN114554543A true CN114554543A (en) 2022-05-27

Family

ID=81667029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210447759.9A Pending CN114554543A (en) 2022-04-27 2022-04-27 Mesh device data transmission system and method and Mesh device

Country Status (1)

Country Link
CN (1) CN114554543A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014101159A1 (en) * 2012-12-31 2014-07-03 华为技术有限公司 Method, device and server for setting and processing interactive connectivity establishment address
CN104539739A (en) * 2015-01-26 2015-04-22 浙江大学 System, method and device for uploading files
CN105897781A (en) * 2016-06-30 2016-08-24 北京奇虎科技有限公司 Control method and control device for data transmission between mobile terminal and server
WO2017092458A1 (en) * 2015-12-04 2017-06-08 乐视控股(北京)有限公司 Mobile terminal browser file transmission method and mobile terminal
US20190042582A1 (en) * 2017-08-07 2019-02-07 Google Inc. Spherical video in a web browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014101159A1 (en) * 2012-12-31 2014-07-03 华为技术有限公司 Method, device and server for setting and processing interactive connectivity establishment address
CN104539739A (en) * 2015-01-26 2015-04-22 浙江大学 System, method and device for uploading files
WO2017092458A1 (en) * 2015-12-04 2017-06-08 乐视控股(北京)有限公司 Mobile terminal browser file transmission method and mobile terminal
CN105897781A (en) * 2016-06-30 2016-08-24 北京奇虎科技有限公司 Control method and control device for data transmission between mobile terminal and server
US20190042582A1 (en) * 2017-08-07 2019-02-07 Google Inc. Spherical video in a web browser

Similar Documents

Publication Publication Date Title
CN107515764B (en) Application page opening method, terminal and computer readable storage medium
CN108536594B (en) Page testing method and device and storage equipment
CN107741844B (en) Method and device for generating application installation package
CN106802814B (en) Method and device for upgrading software version
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
CN106815055B (en) Method and system for dynamic layout of mobile application
CN109947771B (en) File type conversion method, apparatus, device and computer readable storage medium
JP5004857B2 (en) Application update information providing system and application update information providing method
CN113835726B (en) Method for determining upgrade package and server
CN114090033A (en) OTA (over the air) upgrading method and device, electronic equipment and readable medium
CN111694550B (en) Page display control method, device and system
CN108897689B (en) Embedded application program simulation debugging method and device and readable storage medium
CN106294119B (en) Test scheduling system and method and terminal equipment
CN108717357B (en) Page display code conversion method, device, equipment and computer storage medium
CN107124713B (en) Customized updating method and mobile terminal
CN112631705B (en) Method, device, system and readable storage medium for rendering device list of Internet of things
CN101964742B (en) Method, system and device for using network open ability
CN114554543A (en) Mesh device data transmission system and method and Mesh device
KR20120017619A (en) Apparatus and method for providing device management package and method to be provided the device management package
EP1452970A1 (en) Mobile communication terminal, apparatus and system for delivering application software, method for controlling execution state display, program, and recording medium
CN113852489A (en) Upgrade package obtaining method and intelligent device
CN109032651B (en) Application updating method, intelligent terminal and computer readable storage medium
CN112379902A (en) Method, apparatus and computer-readable storage medium for adapting a plurality of end devices
CN111638914A (en) Method, equipment and storage medium for setting terminal function
KR100715817B1 (en) Mobile communication terminal and verification method for making sure of support before downloading contents

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220527