CN112637935A - WIFI network distribution method and device for household portable glucometer - Google Patents

WIFI network distribution method and device for household portable glucometer Download PDF

Info

Publication number
CN112637935A
CN112637935A CN202110258478.4A CN202110258478A CN112637935A CN 112637935 A CN112637935 A CN 112637935A CN 202110258478 A CN202110258478 A CN 202110258478A CN 112637935 A CN112637935 A CN 112637935A
Authority
CN
China
Prior art keywords
network
wifi
chip microcomputer
single chip
wireless network
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
CN202110258478.4A
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.)
Beijing Sinomedisite Bio Tech Co Ltd
Original Assignee
Beijing Sinomedisite Bio Tech 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 Beijing Sinomedisite Bio Tech Co Ltd filed Critical Beijing Sinomedisite Bio Tech Co Ltd
Priority to CN202110258478.4A priority Critical patent/CN112637935A/en
Publication of CN112637935A publication Critical patent/CN112637935A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/14532Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue for measuring glucose, e.g. by tissue impedance measurement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2560/00Constructional details of operational features of apparatus; Accessories for medical measuring apparatus
    • A61B2560/04Constructional details of apparatus
    • A61B2560/0431Portable apparatus, e.g. comprising a handle or case

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Pathology (AREA)
  • Medical Informatics (AREA)
  • Emergency Medicine (AREA)
  • Biophysics (AREA)
  • Computer Security & Cryptography (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Optics & Photonics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The application provides a WIFI network distribution method and device for a household portable glucometer, and the method comprises the following steps: receiving a WIFI distribution network instruction, and generating a network list according to the WIFI distribution network instruction; receiving a network access instruction of a user, and accessing a corresponding network according to the network access instruction; and the network access instruction is an instruction input by a user according to the network in the network list. The portable blood glucose meter with the WIFI transmission function can be applied to the household portable blood glucose meter with the WIFI transmission function, so that the distribution network is automatic, convenient and visual in operation, and other devices are not needed.

Description

WIFI network distribution method and device for household portable glucometer
Technical Field
The application relates to the field of wireless data transmission, in particular to a WIFI network distribution method and device for a household portable glucometer.
Background
At present, a household portable glucometer with a WIFI transmission function generally needs to carry out distribution network setting on a WIFI module before using a data transmission function, a third-party terminal device needs to be used in a distribution network process, the terminal device is connected with a WIFI network firstly, and then software on the terminal device is utilized to carry out distribution network setting on the glucometer. The distribution network process is complicated, the distribution network success rate is low, and the operation is particularly inconvenient for the old.
The conventional glucometer can only be passively distributed with a network, a user cannot independently select a network which the user wants to access, the operation is inconvenient, after the distribution network is successfully distributed, the content displayed by the segment code liquid crystal display screen is very limited, and the interface prompt is not visual enough. In addition, the existing blood glucose meter with an operating system has high requirements on hardware resources, the software design is complex, the design and development can be completed only by the cooperation of hardware engineers, system engineers, application and development engineers and the like, the consumption of manpower and material resources is high, and the blood glucose meter is generally applied to professional occasions such as hospital outpatients and is not suitable for household application.
Disclosure of Invention
Aiming at the problems in the prior art, the WIFI network distribution method and device for the household portable glucometer can be applied to the household portable glucometer with the WIFI transmission function, so that the network distribution operation is automatic, convenient and visual, and other devices are not needed.
In order to solve the technical problem, the application provides the following technical scheme:
in a first aspect, the application provides a WIFI network distribution method for a household portable glucometer, which includes:
loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file by a blood glucose meter through a single chip microcomputer positioned in the blood glucose meter;
the blood glucose meter acquires the state corresponding to a touch point selected by a user in a touch screen on the blood glucose meter through the single chip microcomputer;
the glucometer reads the coordinate parameters of the touch points according to the state through the single chip microcomputer and returns the coordinate parameters to obtain a screen scanning coordinate function;
the blood glucose meter establishes a quick dotting function according to the scanning time sequence of a liquid crystal screen on the blood glucose meter through the single chip microcomputer;
the glucometer calls the STemWin liquid crystal screen interface file, the STemWin configuration file, the STemWin header file and the function library file through the single chip microcomputer to read the screen scanning coordinate function and the quick dotting function;
the glucometer receives a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the WIFI module and the single-chip microcomputer, and automatically searches available wireless network information according to the WIFI distribution network instruction by using the WIFI module and the single-chip microcomputer in the glucometer so as to generate a network list;
the glucometer receives a network access instruction of a user through the singlechip by utilizing the screen scanning coordinate function and the quick dotting function, and accesses a corresponding network according to the network access instruction by utilizing the WIFI module; the network access instruction is an instruction input by a user through the touch screen according to the network in the network list.
Further, the blood glucose meter receives a WIFI network distribution instruction input by a user through the touch screen by using the screen scanning coordinate function and the fast dotting function through the WIFI module and the single chip microcomputer, and automatically searches available wireless network information according to the WIFI network distribution instruction by using the WIFI module and the single chip microcomputer located in the blood glucose meter, so as to generate a network list, including:
the glucometer receives a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the WIFI module and the single chip microcomputer, automatically searches the wireless network information according to the WIFI distribution network instruction, and analyzes the wireless network information by using the single chip microcomputer;
the glucometer generates a corresponding network list according to the analyzed wireless network information through the WIFI module and the single chip microcomputer; the wireless network information at least comprises a network channel, a wireless network name, a physical address, wireless network security parameters and wireless network signal strength.
Further, the analyzing the wireless network information by using the single chip microcomputer includes:
the blood glucose meter determines the position of a field separator in the wireless network information through the single chip microcomputer;
the blood glucose meter determines the position of the wireless network name and the character length of the wireless network name according to the position of the field separator through the single chip microcomputer;
and the blood glucose meter reads the wireless network name positioned behind the position of the wireless network name according to the character length of the wireless network name through the single chip microcomputer.
In a second aspect, the application provides a network device is joined in marriage to WIFI of domestic portable blood glucose meter, includes:
the file loading unit is used for loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file through a single chip microcomputer positioned in the blood glucose meter;
the state acquisition unit is used for acquiring the state corresponding to a touch point selected by a user in a touch screen on the glucometer through the singlechip;
the screen scanning coordinate function building unit is used for reading the coordinate parameters of the touch points according to the states through the single chip microcomputer and returning the coordinate parameters to obtain a screen scanning coordinate function;
the rapid dotting function building unit is used for building a rapid dotting function according to the scanning time sequence of a liquid crystal screen on the glucometer through the single chip microcomputer;
the file calling unit is used for calling the STemWin liquid crystal screen interface file, the STemWin configuration file, the STemWin header file and the function library file through the single chip microcomputer so as to read the screen scanning coordinate function and the quick dotting function;
the network list generating unit is used for receiving a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the single chip microcomputer, and automatically searching available wireless network information according to the WIFI distribution network instruction by using a WIFI module in the glucometer so as to generate a network list;
the network access unit is used for receiving a network access instruction of a user by using the screen scanning coordinate function and the quick dotting function through the single chip microcomputer and accessing a corresponding network according to the network access instruction by using the WIFI module; the network access instruction is an instruction input by a user through the touch screen according to the network in the network list.
Further, the network list generating unit includes:
the searching and analyzing module is used for receiving a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the WIFI module and the single chip microcomputer, automatically searching the wireless network information according to the WIFI distribution network instruction, and analyzing the wireless network information by using the single chip microcomputer;
the network list generating module is used for generating a corresponding network list according to the analyzed wireless network information through the WIFI module and the single chip microcomputer; the wireless network information at least comprises a network channel, a wireless network name, a physical address, wireless network security parameters and wireless network signal strength.
Further, the search parsing module includes:
the separator position determining module is used for determining the position of a field separator in the wireless network information through the single chip microcomputer;
the network name position and character length determining module is used for determining the position of the wireless network name and the character length of the wireless network name according to the position of the field separator by the single chip microcomputer;
and the network name reading module is used for reading the wireless network name positioned behind the position of the wireless network name according to the character length of the wireless network name through the single chip microcomputer.
In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the WIFI network distribution method for a home-use portable glucose meter when executing the program.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the WIFI network distribution method for a home-based portable glucose meter.
Aiming at the problems in the prior art, the WIFI network distribution method and device of the household portable glucometer can be applied to the household portable glucometer with the WIFI transmission function, so that the network distribution operation is automatic, convenient and visual, and other devices are not needed.
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 some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is one of flowcharts of a WIFI network distribution method for a home-use portable blood glucose meter in an embodiment of the present application;
FIG. 2 is a flow chart of generating a network list in an embodiment of the present application;
fig. 3 is a flowchart illustrating a wireless network information parsing process in the embodiment of the present application;
fig. 4 is a second flowchart of a WIFI network distribution method for a household portable glucose meter in the embodiment of the present application;
fig. 5 is a structural diagram of a WIFI network distribution device of a household portable blood glucose meter in an embodiment of the present application;
fig. 6 is a structural diagram of a network list generation unit in the embodiment of the present application;
FIG. 7 is a block diagram of a search parsing module in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present application;
fig. 9 is a schematic hardware circuit diagram of a household portable blood glucose meter with a WIFI transmission function in an embodiment of the present application;
fig. 10 is a diagram illustrating a control simulation effect of a household portable glucometer with a WIFI transmission function according to an embodiment of the present application;
fig. 11 is a detailed flowchart of a WIFI distribution network in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, in order to be applied to a household portable glucometer with a WIFI transmission function, and to enable the distribution network to operate automatically, conveniently and visually, the application provides a WIFI distribution network method of the household portable glucometer, which includes:
s101: loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file by the blood glucose meter through a single chip microcomputer positioned in the blood glucose meter;
s102: the blood glucose meter acquires the state corresponding to a touch point selected by a user in a touch screen on the blood glucose meter through the single chip microcomputer; the state is whether the touch is effective or not, the effective state can be 1, and the ineffective state can be 0;
s103: the glucometer reads the coordinate parameters of the touch points according to the state through the single chip microcomputer and returns the coordinate parameters to obtain a screen scanning coordinate function;
s104: the blood glucose meter establishes a quick dotting function according to the scanning time sequence of a liquid crystal screen on the blood glucose meter through the single chip microcomputer;
s105: the glucometer calls the STemWin liquid crystal screen interface file, the STemWin configuration file, the STemWin header file and the function library file through the single chip microcomputer to read the screen scanning coordinate function and the quick dotting function;
s106: the glucometer receives a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the WIFI module and the single-chip microcomputer, and automatically searches available wireless network information according to the WIFI distribution network instruction by using the WIFI module and the single-chip microcomputer in the glucometer so as to generate a network list;
s107: the glucometer receives a network access instruction of a user through the singlechip by utilizing the screen scanning coordinate function and the quick dotting function, and accesses a corresponding network according to the network access instruction by utilizing the WIFI module; the network access instruction is an instruction input by a user through the touch screen according to the network in the network list.
It can be understood that, referring to fig. 9, the household portable blood glucose meter with WIFI transmission function (hereinafter, may be referred to as blood glucose meter for short) of the present application may include a single chip microcomputer, a liquid crystal display, a touch screen, a WIFI module, a power management module, and the like.
The single chip microcomputer is embedded with software, the software is a section of program which is written in advance and can complete the following corresponding functions, and program instructions can control the WIFI module to carry out distribution network setting, control the liquid crystal screen to display, acquire input signals of the touch screen and the like. The user-defined interface content can be controlled to be displayed on the liquid crystal display screen by writing a software program, such as a blood sugar test interface, a WIFI equipment interface and the like. Each interface has custom controls such as BUTTON, TEXT box, IMAGE, etc. Because the liquid crystal screen and the touch screen are attached together, when a user touches a certain control displayed on the liquid crystal screen through the touch screen, the single chip responds to the function defined by the control.
When a user presses down a WIFI distribution network BUTTON control displayed on a liquid crystal screen through a touch screen, the single chip microcomputer receives physical position information of the pressed position of the touch screen in the touch screen, judges whether the pressed content is the WIFI distribution network control, and if the pressed content is the WIFI distribution network control, the blood glucose meter receives a WIFI distribution network instruction, and then starts a distribution network process.
After the WIFI distribution network instruction is received, the glucometer is provided with the WIFI module, so that all WIFI networks which can be accessed nearby can be automatically searched, the names of the WIFI networks are obtained, and a network list is generated.
Specifically, a singlechip in the glucometer can send a network searching command to the WIFI module through a serial data transmission interface (hereinafter, the WIFI module can be simply referred to as a serial port), the WIFI module returns a searched network name to the singlechip through the serial port, and the singlechip analyzes the network name through an algorithm and displays the network name on a liquid crystal display for a user to select. Specific analytical algorithms are described below.
It can be understood that in step S107, the result selected by the user is a network access instruction of the user, and the instruction specifies the WIFI network to which the blood glucose meter is to be connected. In some cases, before accessing the WIFI network, the user is required to input an access password, which is sometimes not required, depending on the specific situation.
The single chip microcomputer can communicate with the WIFI module through a serial port, communicate with the liquid crystal screen through an FSMC interface, and communicate with the touch screen through an I2C interface; the singlechip can be supplied with power by a rechargeable lithium battery, and electric energy in the battery is transmitted to circuits such as the singlechip, the liquid crystal display, the touch screen, the WIFI module and the like through the power management module.
In an embodiment, referring to fig. 9, when the single chip microcomputer communicates with the WIFI module through a serial port, the single chip microcomputer can transmit blood glucose data, the WIFI module is HF-LPD1X0, a wireless communication protocol can adopt 802.11 a/b/g/n, and supports dual-frequency operation of 2.4GHz and 5GHz, the single chip microcomputer can transmit data to the WIFI module through a TX interface, the WIFI module receives data transmitted by the single chip microcomputer through an RX interface, the WIFI module transmits data to the single chip microcomputer through the TX interface, the single chip microcomputer receives data transmitted by the WIFI module through the RX interface, RST is a reset signal, the single chip microcomputer controls a high level and a low level of RST, and the WIFI module can be reset or restarted when necessary.
In an embodiment, referring to fig. 9, the single chip microcomputer may communicate with the touch screen through an I2C interface, the touch screen controller is FT6336 and is configured to acquire touch input information, the SDA is a bidirectional data line, the SCL is a clock line, the single chip microcomputer may control a timing sequence of the clock line SCL, the high-level TSCLH is greater than 0.6us, the low-level TSCLL is greater than 1.2us, and the data line SDA may acquire specific physical location information clicked by a user operating on the touch screen under the timing control of the clock line SCL, so that the single chip microcomputer knows which control on the touch screen the user clicked.
In an embodiment, referring to fig. 9, the single chip drives the display of the lcd panel through FSMC, i.e. a flexible static memory controller, the lcd panel controller may be ST7789, an 80-16bit parallel data transmission interface is adopted, the lcd panel interface is a chip select signal CS, the data/command selection control line is RS, the write enable is WRX, the read enable is RDX, the bidirectional 16-bit data line is DB0-DB15, the write clock period TWC >66ns, wherein the high level TWCH >15ns, the low level TWCL >15ns, the read clock period TRC >450ns, wherein the high level TRCH >90ns, and the low level TRCL >355 ns. Under the time sequence of reading and writing, the single chip microcomputer can read and write the register corresponding to the liquid crystal display.
According to the description, the WIFI network distribution method of the household portable glucometer can be applied to the household portable glucometer with the WIFI transmission function, so that the network distribution operation is automatic, convenient and visual.
Referring to fig. 2, generating a network list according to the WIFI distribution network instruction includes:
s201: the glucometer receives a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the WIFI module and the single chip microcomputer, automatically searches the wireless network information according to the WIFI distribution network instruction, and analyzes the wireless network information by using the single chip microcomputer;
s202: the glucometer generates a corresponding network list according to the analyzed wireless network information through the WIFI module and the single chip microcomputer; the wireless network information at least comprises a network channel, a wireless network name, a physical address, wireless network security parameters and wireless network signal strength.
It can be understood that, when searching for available wireless network information, the WIFI module may search for information, for each wireless network, which may include at least a network channel, a wireless network name, a physical address, a wireless network security parameter, and a wireless network signal strength. In order to generate the corresponding network list, the wireless network name corresponding to each wireless network needs to be analyzed from the wireless network information. The specific analysis method is described in S301-S303.
According to the description, the WIFI network distribution method of the household portable glucometer can generate the network list according to the WIFI network distribution instruction.
Referring to fig. 3, searching for available wireless network information and parsing the wireless network information includes:
s301: the blood glucose meter determines the position of a field separator in the wireless network information through the single chip microcomputer;
s302: the blood glucose meter determines the position of the wireless network name and the character length of the wireless network name according to the position of the field separator through the single chip microcomputer;
s303: and the blood glucose meter reads the wireless network name positioned behind the position of the wireless network name according to the character length of the wireless network name through the single chip microcomputer.
It can be understood that the name of the wireless network is analyzed through an algorithm, namely, the SSID network name is an important process for realizing the WIFI distribution network. And after receiving the WIFI distribution network instruction, the WIFI module sends the searched wireless network information to the single chip microcomputer. The wireless network information may include a network channel, a wireless network name, a physical address, wireless network security parameters, and wireless network signal strength. The program in the single chip microcomputer can put the received data corresponding to all the wireless network information into a cache array, and then the SSID network name is analyzed from the cache array and displayed.
Specifically, the initial position of the SSID in the cache array and the wireless network name character length of the SSID need to be resolved, so that the SSID network name can be resolved. In fact, all the contents transmitted by the serial port are ASCII code, "," ASCII code 0x2C, and with 0x2C as an extraction mark, i.e. a separator, the program in the single chip can resolve that 0x2C is serial number i in the array and is stored in the array of pos [ n ], n is the number of 0x2C, the initial position of the SSID network name in the cache array is pos [ n-1] +1, and the character length is pos [ k ] -pos [ k-1 ]; where k =4m +2 (m takes the value 0 to n).
As can be seen from the above description, the WIFI network distribution method for the household portable blood glucose meter provided by the application can search for available wireless network information and analyze the wireless network information.
Referring to fig. 4, the WIFI network distribution method of the household portable blood glucose meter further includes:
s401: loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file, and modifying the loaded files to read a screen scanning coordinate function and a quick dotting function;
s402: and calling the STemWin liquid crystal screen interface file, the STemWin configuration file, the STemWin header file and the function library file to read a screen scanning coordinate function and a quick dotting function so as to obtain a WIFI distribution network instruction, a network access instruction or a corresponding network access password.
It can be understood that the user can click the position of the control on the touch screen to achieve the purpose of controlling the control to complete the corresponding function. Specifically, a software program is arranged in the single chip microcomputer, the serial port can be initialized, and external modules such as a timer, a liquid crystal display and a touch screen can be operated to enable the serial port, the liquid crystal display and the touch screen to be in a program-callable state. In order to enable the liquid crystal screen and the touch screen to work normally, a quick dotting function of the liquid crystal screen and a scanning coordinate function of the touch screen need to be defined in advance.
The method for predefining the screen scanning coordinate function and the quick dotting function comprises the following steps: the screen scanning coordinate function adopts an inquiry method, the occupancy rate of a processor is reduced by controlling inquiry time, when a touch point is detected, the state of the touch point is read, whether the touch point is pressed down is judged, when the touch point is detected to be pressed down for more than set time, effective touch is defined, and the coordinate of the touch point is returned. The express delivery dotting function adopts an FSMC register to directly read parameters and data of the liquid crystal display, and can quickly realize the operations of reading and writing instructions, reading and writing data and region filling.
And debugging a display interface of the graph, loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file, reading a liquid crystal screen quick dotting function and a touch screen scanning coordinate function, setting display contents and touch operation of the graphical interface by utilizing GUIBIulder software, and realizing display of a test interface, a data query interface, a system setting interface and a network list on the liquid crystal screen and display of a user-defined input method.
It should be noted that, before loading the STemWin lcd interface file, the STemWin configuration file, the STemWin header file, and the function library file, the functions defined in the above files need to be properly adjusted according to the actual application requirements. The method comprises the steps of adjusting a GUI scanning touch function in a STemWin liquid crystal screen interface file into a screen scanning coordinate function, adjusting a GUI dotting function into a quick dotting function, adjusting the memory size used by distributing the STemWin according to actual codes, adjusting the memory occupied by the STemWin according to actual codes, modifying GUI parameters by using a STemWin header file, such as not supporting an operating system, supporting touch control, supporting window management and the like, and enabling a function library file to be a self-defined function library, such as a bitmap display function, a Chinese character display function and the like.
Wherein the screen scan coordinate function is defined as:
u8 FT6236_Scan(u8 mode)
{
u8 buf[4];
u8 i=0;
u8 res=0;
u8 temp;
static u8 t=0;
t++;
if ((t%10) = =0| | t < 10)//// idle, detection is performed 1 time every 10 times of entry, thereby saving CPU utilization rate
{
FT6236_ RD _ Reg (FT _ REG _ NUM _ FINGER, & mode, 1);// read touch point status if ((mode &0XF) & & ((mode &0XF) <6))
{
temp=0XFF<<(mode&0XF);
tp_dev.sta=(~temp)|TP_PRES_DOWN|TP_CATH_PRES;
for(i=0;i<5;i++)
{
if (tp _ dev.sta & (1< < i))// determine if the touch is valid
{
FT6236_ RD _ Reg (FT6236_ TPX _ TBL [ i ], buf, 4)// read XY coordinate value if (tp _ dev.touch type &0X 01)// landscape screen
{
tp_dev.y[i]=((u16)(buf[0]&0X0F)<<8)+buf[1];
tp_dev.x[i]=((u16)(buf[2]&0X0F)<<8)+buf[3];
} else// vertical screen
{
tp_dev.x[i]=((u16)(buf[0]&0X0F)<<8)+buf[1];
tp_dev.y[i]=((u16)(buf[2]&0X0F)<<8)+buf[3];
}
if((buf[0]&0XF0)!=0X80)tp_dev.x[i]=tp_dev.y[i]=0;
}
}
res=1;
if(tp_dev.x[0]==0 && tp_dev.y[0]==0)mode=0;
t =0, once touch, continuously monitoring 10 times, improving touch efficiency }
}
if ((mode &0X1F) = =0)// no touch point press
{
if(tp_dev.sta&TP_PRES_DOWN)
{
tp_dev.sta&=~(1<<7);
}
else
{
tp_dev.x[0]=0xffff;
tp_dev.y[0]=0xffff;
Sta & =0XE 0;/clearing the valid flag
}
}
if(t>240)t=10;
return res;
}
The fast dotting function is defined as:
void LCD_Fast_DrawPoint(u16 x,u16 y,u16 color)
{
LCD _ WR _ REG (lcddev
LCD _ WR _ DATA (X > >8), LCD _ WR _ DATA (X &0 XFF);/writing X coordinate value
LCD _ WR _ REG (LCD dev. setycmd);/set command is Y coordinate
LCD _ WR _ DATA (Y > >8), LCD _ WR _ DATA (Y &0 XFF);/write Y coordinate value
LCD_RS_CLR;
LCD_CS_CLR;
DATAOUT(lcddev.wramcmd);
LCD WR CLR, write timing, low level
LCD _ WR _ SET// write timing, high level
LCD_CS_SET;
LCD _ WR _ DATA (color)// write the content at X, Y coordinates
}
The method adopted by the screen scanning coordinate function relates to timing query and limitation of query times, can ensure the sensitivity of the touch screen and can ensure that resources of a single chip microcomputer are not occupied, and the prior art is generally realized by adopting a method of circularly querying the screen state and needs to occupy more resources of the single chip microcomputer; the fast dotting function is compiled according to the scanning time sequence requirements of the single chip microcomputer and the liquid crystal screen, and the time sequence requirements of different single chip microcomputers and different liquid crystal screens are different.
The user-defined input method is one of important processes for realizing the WIFI autonomous network distribution, and the realization method of the user-defined input method comprises the following steps: defining BUTTON controls and TEXT controls on a liquid crystal screen, wherein the BUTTON controls are BUTTON for controlling the switching of an input method, and ID values are defined as letters, numbers, symbols and deletion, namely BUTTON for left turn and right turn; controlling BUTTON of input content of TEXT control; defining a BUTTON with an ID value of 1 (A, K, U, E, O, Y, "), 2 (B, L, V, F, P, Z, (,'), 3 (C, M, W, G, Q, -, >), 4 (D, N, X, H, R,!, -, <), 5 (E, O, Y, I, S, @, __ >, 6 (F, P, Z, J, T, #, question mark), 7 (G, Q, a, K, U, $,/,"), 8 (H, R, B, L, V,%, | =), 9 (I, S, C, M, W,/, "), 0 (J, T, D, N, X, &,); some of the contents BUTTON is given a plurality of values, and the value to be displayed by the contents BUTTON is controlled by the BUTTON which controls the input method switching. The TEXT control may display the value of the clicked content BUTTON. When the BUTTON is pressed down in touch scanning, the operation of the BUTTON is realized according to the ID value of the pressed BUTTON; and when the BUTTON is touched, switching the display value of the content BUTTON, and when the content BUTTON is touched, displaying the touched BUTTON value through a TEXT control. The simulation effect is shown in fig. 10.
In one embodiment, when the WIFI network is distributed, a user clicks a WIFI setting BUTTON control on a display screen, a program in a single chip sends an AT instruction, and the distribution network is started. The WIFI module scans network information, the scanned network information is sent to the single chip microcomputer through a serial port, the SSID network name is analyzed by the single chip microcomputer through the algorithm set forth in S301-S303, and the liquid crystal display is controlled to display the scanned SSID network name. At this time, the user can click the SSID network name in the network list, enter a password setting interface, click a custom input method on the screen to input the password, the single chip microcomputer obtains the password input by the user and sends the password to the WIFI module through the serial port, a single chip microcomputer success command is returned after the distribution network is successful, and the detailed flow is shown in fig. 11.
Based on the same inventive concept, the embodiment of the present application further provides a WIFI network distribution device of a household portable blood glucose meter, which can be used for implementing the method described in the above embodiment, as described in the following embodiments. Because the principle of solving the problems of the WIFI network distribution device of the household portable glucometer is similar to the WIFI network distribution method of the household portable glucometer, the implementation of the WIFI network distribution device of the household portable glucometer can refer to the implementation of a software performance benchmark determination method, and repeated parts are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. While the system described in the embodiments below is preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
Referring to fig. 5, in order to be applied to a household portable glucometer with a WIFI transmission function, and to enable the distribution network to operate automatically, conveniently and visually, the application provides a WIFI distribution network method of the household portable glucometer, which includes:
the file loading unit 501 is used for loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file through a single chip microcomputer positioned in the blood glucose meter;
a state obtaining unit 502, configured to obtain, through the single chip microcomputer, a state corresponding to a touch point selected by a user in a touch screen on the blood glucose meter;
a screen scanning coordinate function constructing unit 503, configured to read, by the single chip microcomputer, the coordinate parameter of the touch point according to the state, and return the coordinate parameter to obtain a screen scanning coordinate function;
a fast dotting function constructing unit 504, configured to establish a fast dotting function according to a scanning timing sequence of a liquid crystal screen on the blood glucose meter through the single chip microcomputer;
the file calling unit 505 is configured to call the stemwn lcd screen interface file, the stemwn configuration file, the stemwn header file and the function library file through the single chip microcomputer to read the screen scanning coordinate function and the fast dotting function;
a network list generating unit 506, configured to receive, by the single chip microcomputer, a WIFI network distribution instruction input by a user via the touch screen by using the screen scanning coordinate function and the fast dotting function, and automatically search, by using a WIFI module located in the blood glucose meter, available wireless network information according to the WIFI network distribution instruction, so as to generate a network list;
the network access unit 507 is used for receiving a network access instruction of a user by using the screen scanning coordinate function and the quick dotting function through the single chip microcomputer, and accessing a corresponding network according to the network access instruction by using the WIFI module; the network access instruction is an instruction input by a user through the touch screen according to the network in the network list.
Referring to fig. 6, the network list generating unit 506 includes:
the searching and analyzing module 601 is used for receiving a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the WIFI module and the single chip microcomputer, automatically searching the wireless network information according to the WIFI distribution network instruction, and analyzing the wireless network information by using the single chip microcomputer;
a network list generating module 602, configured to generate, through the WIFI module and the single chip microcomputer, a corresponding network list according to the analyzed wireless network information; the wireless network information at least comprises a network channel, a wireless network name, a physical address, wireless network security parameters and wireless network signal strength.
Referring to fig. 7, the search parsing module 601 includes:
a delimiter position determining module 701, configured to determine, by the single chip microcomputer, a position where a field delimiter existing in the wireless network information is located;
a network name position and character length determining module 702, configured to determine, by the single chip microcomputer according to the position of the field separator, a position where the wireless network name is located and a wireless network name character length;
and the network name reading module 703 is configured to read, by the single chip microcomputer, a wireless network name located behind the location of the wireless network name.
From the hardware aspect, in order to be applied to a household portable blood glucose meter with a WIFI transmission function, and to enable the distribution network to operate automatically, conveniently and visually, the application provides an embodiment of an electronic device for realizing all or part of contents in a WIFI distribution network method of the household portable blood glucose meter, and the electronic device specifically includes the following contents:
a Processor (Processor), a Memory (Memory), a communication Interface (Communications Interface) and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the WIFI distribution network device of the household portable glucometer and relevant equipment such as a core service system, a user terminal and a relevant database; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the logic controller may be implemented with reference to the embodiment of the WIFI network distribution method of the home-use portable blood glucose meter and the embodiment of the WIFI network distribution device of the home-use portable blood glucose meter in the embodiment, which are incorporated herein, and repeated details are not repeated.
It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), an in-vehicle device, a smart wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In practical applications, part of the WIFI network distribution method of the household portable blood glucose meter may be performed on the electronic device side as described above, or all operations may be completed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit), and may be in communication connection with a remote server to implement data transmission with the server. The server may include a server on the side of the task scheduling center, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
Fig. 8 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 8, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this FIG. 8 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In an embodiment, the WIFI network distribution method functions of the home-use portable glucose meter may be integrated into the central processor 9100. The central processor 9100 may be configured to control as follows:
s101: loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file by the blood glucose meter through a single chip microcomputer positioned in the blood glucose meter;
s102: the blood glucose meter acquires the state corresponding to a touch point selected by a user in a touch screen on the blood glucose meter through the single chip microcomputer;
s103: the glucometer reads the coordinate parameters of the touch points according to the state through the single chip microcomputer and returns the coordinate parameters to obtain a screen scanning coordinate function;
s104: the blood glucose meter establishes a quick dotting function according to the scanning time sequence of a liquid crystal screen on the blood glucose meter through the single chip microcomputer;
s105: the glucometer calls the STemWin liquid crystal screen interface file, the STemWin configuration file, the STemWin header file and the function library file through the single chip microcomputer to read the screen scanning coordinate function and the quick dotting function;
s106: the glucometer receives a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the single chip microcomputer, and automatically searches available wireless network information according to the WIFI distribution network instruction by using a WIFI module in the glucometer so as to generate a network list;
s107: the glucometer receives a network access instruction of a user through the singlechip by utilizing the screen scanning coordinate function and the quick dotting function, and accesses a corresponding network according to the network access instruction by utilizing the WIFI module; the network access instruction is an instruction input by a user through the touch screen according to the network in the network list. According to the description, the WIFI network distribution method of the household portable glucometer can be applied to the household portable glucometer with the WIFI transmission function, so that the network distribution operation is automatic, convenient and visual.
In another embodiment, the WIFI network distribution device of the household portable blood glucose meter may be configured separately from the central processor 9100, for example, the WIFI network distribution device of the household portable blood glucose meter of the data composite transmission device may be configured as a chip connected to the central processor 9100, and the function of the WIFI network distribution method of the household portable blood glucose meter is realized through the control of the central processor.
As shown in fig. 8, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 8; further, the electronic device 9600 may further include components not shown in fig. 8, which may be referred to in the art.
As shown in fig. 8, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless lan module, may be disposed in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present application further provides a computer-readable storage medium capable of implementing all steps in the WIFI network distribution method for a home-use portable glucose meter with a server or a client as an execution subject in the foregoing embodiments, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, all steps in the WIFI network distribution method for a home-use portable glucose meter with a server or a client as an execution subject in the foregoing embodiments are implemented, for example, when the processor executes the computer program, the processor implements the following steps:
s101: loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file by the blood glucose meter through a single chip microcomputer positioned in the blood glucose meter;
s102: the blood glucose meter acquires the state corresponding to a touch point selected by a user in a touch screen on the blood glucose meter through the single chip microcomputer;
s103: the glucometer reads the coordinate parameters of the touch points according to the state through the single chip microcomputer and returns the coordinate parameters to obtain a screen scanning coordinate function;
s104: the blood glucose meter establishes a quick dotting function according to the scanning time sequence of a liquid crystal screen on the blood glucose meter through the single chip microcomputer;
s105: the glucometer calls the STemWin liquid crystal screen interface file, the STemWin configuration file, the STemWin header file and the function library file through the single chip microcomputer to read the screen scanning coordinate function and the quick dotting function;
s106: the glucometer receives a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the single chip microcomputer, and automatically searches available wireless network information according to the WIFI distribution network instruction by using a WIFI module in the glucometer so as to generate a network list;
s107: the glucometer receives a network access instruction of a user through the singlechip by utilizing the screen scanning coordinate function and the quick dotting function, and accesses a corresponding network according to the network access instruction by utilizing the WIFI module; the network access instruction is an instruction input by a user through the touch screen according to the network in the network list.
According to the description, the WIFI network distribution method of the household portable glucometer can be applied to the household portable glucometer with the WIFI transmission function, so that the network distribution operation is automatic, convenient and visual.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A WIFI network distribution method of a household portable glucometer is characterized by comprising the following steps:
loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file by a blood glucose meter through a single chip microcomputer positioned in the blood glucose meter;
the blood glucose meter acquires the state corresponding to a touch point selected by a user in a touch screen on the blood glucose meter through the single chip microcomputer;
the glucometer reads the coordinate parameters of the touch points according to the state through the single chip microcomputer and returns the coordinate parameters to obtain a screen scanning coordinate function;
the blood glucose meter establishes a quick dotting function according to the scanning time sequence of a liquid crystal screen on the blood glucose meter through the single chip microcomputer;
the glucometer calls the STemWin liquid crystal screen interface file, the STemWin configuration file, the STemWin header file and the function library file through the single chip microcomputer to read the screen scanning coordinate function and the quick dotting function;
the glucometer receives a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through a WIFI module and the single chip microcomputer in the glucometer, and automatically searches available wireless network information according to the WIFI distribution network instruction so as to generate a network list;
the glucometer receives a network access instruction of a user through the singlechip by utilizing the screen scanning coordinate function and the quick dotting function, and accesses a corresponding network according to the network access instruction by utilizing the WIFI module; the network access instruction is an instruction input by a user through the touch screen according to the network in the network list.
2. The WIFI network distribution method of the household portable glucometer according to claim 1, wherein the glucometer utilizes the screen scanning coordinate function and the fast dotting function to receive a WIFI network distribution instruction inputted by a user via the touch screen through a WIFI module in the glucometer and the single chip microcomputer, and automatically searches available wireless network information according to the WIFI network distribution instruction, thereby generating a network list, comprising:
the glucometer receives a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the WIFI module and the single chip microcomputer, automatically searches the wireless network information according to the WIFI distribution network instruction, and analyzes the wireless network information by using the single chip microcomputer;
the glucometer generates a corresponding network list according to the analyzed wireless network information through the WIFI module and the single chip microcomputer; the wireless network information at least comprises a network channel, a wireless network name, a physical address, wireless network security parameters and wireless network signal strength.
3. The WIFI network distribution method of the household portable glucometer according to claim 2, wherein the analyzing the wireless network information by using the single chip microcomputer includes:
the blood glucose meter determines the position of a field separator in the wireless network information through the single chip microcomputer;
the blood glucose meter determines the position of the wireless network name and the character length of the wireless network name according to the position of the field separator through the single chip microcomputer;
and the blood glucose meter reads the wireless network name positioned behind the position of the wireless network name according to the character length of the wireless network name through the single chip microcomputer.
4. The utility model provides a net device is joined in marriage to WIFI of domestic portable blood glucose meter which characterized in that includes:
the file loading unit is used for loading a STemWin liquid crystal screen interface file, a STemWin configuration file, a STemWin header file and a function library file through a single chip microcomputer positioned in the blood glucose meter;
the state acquisition unit is used for acquiring the state corresponding to a touch point selected by a user in a touch screen on the glucometer through the singlechip;
the screen scanning coordinate function building unit is used for reading the coordinate parameters of the touch points according to the states through the single chip microcomputer and returning the coordinate parameters to obtain a screen scanning coordinate function;
the rapid dotting function building unit is used for building a rapid dotting function according to the scanning time sequence of a liquid crystal screen on the glucometer through the single chip microcomputer;
the file calling unit is used for calling the STemWin liquid crystal screen interface file, the STemWin configuration file, the STemWin header file and the function library file through the single chip microcomputer so as to read the screen scanning coordinate function and the quick dotting function;
the network list generating unit is used for receiving a WIFI distribution network instruction input by a user through the touch screen by the glucometer through a WIFI module in the glucometer and the single chip microcomputer through the screen scanning coordinate function and the quick dotting function, and automatically searching available wireless network information according to the WIFI distribution network instruction so as to generate a network list;
the network access unit is used for receiving a network access instruction of a user by using the screen scanning coordinate function and the quick dotting function through the single chip microcomputer and accessing a corresponding network according to the network access instruction by using the WIFI module; the network access instruction is an instruction input by a user through the touch screen according to the network in the network list.
5. The WIFI distribution network device of the household portable blood glucose meter in claim 4, wherein the network list generating unit comprises:
the searching and analyzing module is used for receiving a WIFI distribution network instruction input by a user through the touch screen by using the screen scanning coordinate function and the quick dotting function through the WIFI module and the single chip microcomputer, automatically searching the wireless network information according to the WIFI distribution network instruction, and analyzing the wireless network information by using the single chip microcomputer;
the network list generating module is used for generating a corresponding network list according to the analyzed wireless network information through the WIFI module and the single chip microcomputer; the wireless network information at least comprises a network channel, a wireless network name, a physical address, wireless network security parameters and wireless network signal strength.
6. The WIFI network distribution device of the household portable blood glucose meter in claim 5, wherein the search analysis module comprises:
the separator position determining module is used for determining the position of a field separator in the wireless network information through the single chip microcomputer;
the network name position and character length determining module is used for determining the position of the wireless network name and the character length of the wireless network name according to the position of the field separator by the single chip microcomputer;
and the network name reading module is used for reading the wireless network name positioned behind the position of the wireless network name according to the character length of the wireless network name through the single chip microcomputer.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the method for WIFI distribution networking of home portable glucose meters of any of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the WIFI network distribution method for home portable glucose meters of any one of claims 1 to 3.
CN202110258478.4A 2021-03-10 2021-03-10 WIFI network distribution method and device for household portable glucometer Pending CN112637935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110258478.4A CN112637935A (en) 2021-03-10 2021-03-10 WIFI network distribution method and device for household portable glucometer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110258478.4A CN112637935A (en) 2021-03-10 2021-03-10 WIFI network distribution method and device for household portable glucometer

Publications (1)

Publication Number Publication Date
CN112637935A true CN112637935A (en) 2021-04-09

Family

ID=75297819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110258478.4A Pending CN112637935A (en) 2021-03-10 2021-03-10 WIFI network distribution method and device for household portable glucometer

Country Status (1)

Country Link
CN (1) CN112637935A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100198142A1 (en) * 2009-02-04 2010-08-05 Abbott Diabetes Care Inc. Multi-Function Analyte Test Device and Methods Therefor
CN103906107A (en) * 2014-03-21 2014-07-02 杭州敦崇科技股份有限公司 Data collecting type WLAN testing system and method based on WIFI terminal
CN105445329A (en) * 2016-01-06 2016-03-30 深圳市卡卓无线信息技术有限公司 Glucometer with wireless communication function
CN106911566A (en) * 2017-03-07 2017-06-30 广东乐心医疗电子股份有限公司 Temporary data transmission method and device for intelligent health equipment and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100198142A1 (en) * 2009-02-04 2010-08-05 Abbott Diabetes Care Inc. Multi-Function Analyte Test Device and Methods Therefor
CN103906107A (en) * 2014-03-21 2014-07-02 杭州敦崇科技股份有限公司 Data collecting type WLAN testing system and method based on WIFI terminal
CN105445329A (en) * 2016-01-06 2016-03-30 深圳市卡卓无线信息技术有限公司 Glucometer with wireless communication function
CN106911566A (en) * 2017-03-07 2017-06-30 广东乐心医疗电子股份有限公司 Temporary data transmission method and device for intelligent health equipment and mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
人狼归来: "可能是有史以来最智能的血糖仪——腾爱•糖大夫G-31微信智能血糖仪体验", 《什么值得买,HTTP://POST.SMZDM.COM/P/A9NLXLN0/》 *
张伟峰: "食品电励处理实验装置智能测控技术研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》 *

Similar Documents

Publication Publication Date Title
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN104852885B (en) Method, device and system for verifying verification code
CN109075820A (en) A kind of Bluetooth pairing methods and terminal device
CN111628897B (en) Intelligent equipment initialization method, device and system
CN110222288B (en) Page display method, device and storage medium
CN105208675A (en) Smart-watch-based wireless connection method and smart watch
CN105320616A (en) External device control method and device
US20220124192A1 (en) Communication System Selection
CN111277991B (en) Operator name display method and device, mobile terminal and storage medium
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
JP2019510303A (en) Icon processing method and apparatus for application
CN109582377A (en) BIOS option amending method, device, equipment and storage medium
CN112463199A (en) System upgrading method and terminal
CN102469109B (en) Display method of browser homepage in mobile terminal and apparatus thereof
CN111338673B (en) Equipment debugging method and device, electronic equipment and storage medium
CN105095161B (en) Method and device for displaying rich text information
CN111177612B (en) Page login authentication method and related device
CN105373370A (en) Control display method and apparatus
CN112637935A (en) WIFI network distribution method and device for household portable glucometer
US10917842B2 (en) Access point connection method and terminal
CN106817370B (en) Method and device for transmitting network data
CN114840194A (en) Code and operating system generation method and device, server and electronic equipment
CN106161750B (en) Information processing method and electronic equipment
CN104424198A (en) Method and device for acquiring page display speed
CN110096190B (en) Method and terminal for displaying two-dimensional code

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

Application publication date: 20210409

RJ01 Rejection of invention patent application after publication