CN111131459A - Webpage end visualization system based on embedded chip - Google Patents
Webpage end visualization system based on embedded chip Download PDFInfo
- Publication number
- CN111131459A CN111131459A CN201911360432.2A CN201911360432A CN111131459A CN 111131459 A CN111131459 A CN 111131459A CN 201911360432 A CN201911360432 A CN 201911360432A CN 111131459 A CN111131459 A CN 111131459A
- Authority
- CN
- China
- Prior art keywords
- webpage
- chip
- embedded chip
- wifi
- embedded
- 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
Links
- 238000012800 visualization Methods 0.000 title claims abstract description 21
- 230000005540 biological transmission Effects 0.000 claims abstract description 10
- 238000012986 modification Methods 0.000 claims description 17
- 230000004048 modification Effects 0.000 claims description 17
- 238000000034 method Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 3
- 238000003909 pattern recognition Methods 0.000 claims description 3
- 238000007781 pre-processing Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 5
- 230000000007 visual effect Effects 0.000 abstract description 3
- 238000012545 processing Methods 0.000 abstract description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000013079 data visualisation Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
- H04L69/162—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a webpage end visualization system based on an embedded chip, belonging to the technical field of data processing, and the webpage end visualization system based on the embedded chip comprises: the device comprises an embedded chip, a first WiFi chip and a second WiFi chip. According to the invention, two WiFi chips are arranged, bus connection is not used, a hot spot is provided through the first WiFi chip, an external hot spot device is connected through the second WiFi chip, webpage end visualization can be conveniently carried out, data transmission is high-speed, stable and safe based on the WiFi chips, contact type physical connection is not needed, the webpage end expandability is high, a user can compile html according to own requirements and application scenes, a visual interface and a control interface are customized, and the problems of poor contact, no problem of communication, unmatched protocol, low data transmission speed, high error rate and the like are avoided.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a webpage end visualization system based on an embedded chip.
Background
An ARMv8-A architecture chip is introduced by ARM corporation in 2011 and is a high-performance CPU which supports 64-bit addressing and instructions and is the first in ARM Cortex-A series. The ARMv8 architecture has occupied the hardware market of the mobile terminal with absolute advantage, almost all mobile phones use the CPU of the ARMv8 architecture, and apple abandons 32bit and fully supports 64 bit. In an embedded system, an embedded ARM64 chip (i.e., ARMv8) is also widely used due to the characteristics of low power consumption and high performance.
Although devices based on ARM chips generally have abundant data interfaces, interfaces are often reduced as much as possible in the development design of internet of things and embedded type, so that the size is saved and the stability of the system is maintained. At present, physical interfaces such as Serial Peripheral Interface (SPI), Asynchronous Receiver Transmitter/Transmitter (UART), I2C and other bus connections are commonly used for communication among a plurality of devices, which has the advantages of low power consumption, but also introduces a plurality of problems such as poor contact, unstable communication, mismatched protocol, slow data transmission speed, high error rate and the like, and brings troubles to design, development, debugging and practical application.
Disclosure of Invention
In order to solve all or part of the above technical problems, the present invention provides an embedded chip-based web page visualization system, which includes: the device comprises an embedded chip, a first WiFi chip and a second WiFi chip;
the embedded chip is used for storing a plurality of webpages;
the first WiFi chip is used for providing a hot spot for external equipment and sending a webpage access instruction to the embedded chip when receiving the webpage access instruction sent by the external equipment;
the embedded chip is further used for searching a webpage to be accessed corresponding to the webpage access instruction, and feeding the webpage to be accessed back to the external equipment through the first WiFi chip so that the external equipment can display the webpage to be accessed;
the second WiFi chip is used for connecting external hot spot equipment and sending a webpage modification instruction to the embedded chip when receiving the webpage modification instruction sent by the external hot spot equipment;
the embedded chip is also used for searching a webpage to be modified corresponding to the webpage modification instruction and modifying the webpage to be modified according to the webpage modification instruction.
Preferably, the program in the embedded chip is implemented by Python programming language.
Preferably, the embedded chip sets callback functions of different requests through a bottle.
Preferably, the second WiFi chip is an ESP32 chip, and the second WiFi chip is connected to the embedded chip through a serial port pin.
Preferably, the second WiFi chip is further configured to receive data to be processed, and send the data to be processed to the embedded chip;
the embedded chip is also used for sequentially carrying out preprocessing, feature extraction and pattern recognition on the data to be processed.
Preferably, the embedded chip realizes inter-process memory sharing through a memory mapping file.
Preferably, the embedded chip performs data transmission with the first WiFi chip and the second WiFi chip through a WebSocket protocol.
Preferably, a Gevent concurrent network module is arranged in the embedded chip, and the Gevent concurrent network module is used for realizing co-project support so as to process concurrent network requests.
Preferably, the embedded chip searches for a to-be-accessed webpage corresponding to the webpage access instruction through an internally-arranged Dnsmasq, and searches for a to-be-modified webpage corresponding to the webpage modification instruction through the Dnsmasq.
According to the invention, two WiFi chips are arranged, bus connection is not used, a hot spot is provided through the first WiFi chip, an external hot spot device is connected through the second WiFi chip, webpage end visualization can be conveniently carried out, data transmission is high-speed, stable and safe based on the WiFi chips, contact type physical connection is not needed, the webpage end expandability is high, a user can compile html according to own requirements and application scenes, a visual interface and a control interface are customized, and the problems of poor contact, no problem of communication, unmatched protocol, low data transmission speed, high error rate and the like are avoided.
Drawings
Fig. 1 is a block diagram of a web page end visualization system based on an embedded chip according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
FIG. 1 is a block diagram of a webpage-side visualization system based on an embedded chip according to an embodiment of the present invention; referring to fig. 1, the embedded chip-based web page end visualization system includes: the embedded chip 100, the first WiFi chip 200 and the second WiFi chip 300;
the embedded chip 100 is used for storing a plurality of webpages;
it can be understood that the embedded chip is equipped with a Linux system, the embedded chip can adopt a full-log ARM64 processor, the data visualization interface and the control interface of the web page side are constructed based on the ARM64 micro embedded system in the embodiment, the interaction with the device becomes very simple, and the running state, the program information and the like of the device can be obtained anytime and anywhere. The embodiment can be applied to various scenes, such as a remote control robot, cloud synchronous monitoring, multi-module cluster control and the like.
In specific implementation, the program in the embedded chip is implemented by a Python programming language, the Python programming language has high compatibility with other programming languages, interfaces of multiple languages are supported, and the multi-process and coroutine program design breaks through the GIL performance limit.
In a specific implementation, the embedded chip sets callback functions of different requests through a bottle.python network architecture, and integrates a web interface program, and because the bottle.python network architecture has the characteristics of being open-source, fast, lightweight, convenient to expand and the like, the embedded chip can support various network servers, the bottle.python provides callback functions for various HTTP requests, and integrates a WebSocket protocol, so that the embedded chip 100 performs data transmission with the first WiFi chip and the second WiFi chip through the WebSocket protocol, the WebSocket protocol is a data stream interface supported by most browsers, the real-time performance is good, and a great amount of data can be simultaneously sent to a plurality of different terminals in combination with a greenlet.
The first WiFi chip 200 is configured to provide a hot spot to an external device, and send a webpage access instruction to the embedded chip when receiving the webpage access instruction sent by the external device;
it should be noted that the external device is a terminal device, and the terminal device may be a mobile phone, a tablet, a computer, and the like, which is not limited in this embodiment.
In a specific implementation, the first WiFi chip 200 may be implemented by an AP6212 chip, and the AP6212 integrates two functions of bluetooth BT and WiFi, and is additionally provided with an antenna for enhancing a signal.
The embedded chip 100 is further configured to search for a to-be-accessed webpage corresponding to the webpage access instruction, and feed back the to-be-accessed webpage to the external device through the first WiFi chip 200, so that the external device displays the to-be-accessed webpage;
it can be understood that the web page to be accessed can be a guide interface, and can jump to a data visualization interface, a console interface, an equipment state monitoring interface and the like through the guide interface.
The second WiFi chip 300 is configured to connect to an external hotspot device, and send a webpage modification instruction to the embedded chip when receiving the webpage modification instruction sent by the external hotspot device;
it should be noted that the second WiFi chip 300 is implemented by using an ESP32 chip disposed on an expansion board, the ESP32 chip starts a WiFi function, and the second WiFi chip 300 is simulated as a second network card by forwarding serial port information of the embedded chip 100 to an interface, and is connected to the embedded chip 100 through a serial port pin to receive commands, data and information sent by the embedded chip 100.
It can be understood that, the second WiFi chip 300 is further configured to receive data to be processed, and send the data to be processed to the embedded chip 100; the embedded chip 100 is further configured to sequentially perform preprocessing, feature extraction, and pattern recognition on the data to be processed, thereby implementing back-end operation, reducing computation pressure at a web page side, and reducing pressure of a browser (client hardware, i.e., terminal equipment).
The embedded chip 100 is further configured to search for a web page to be modified corresponding to the web page modification instruction, and modify the web page to be modified according to the web page modification instruction.
In a specific implementation, the embedded chip 100 implements inter-process Memory sharing through a Memory Mapped File (MMF).
It should be noted that the embedded chip is provided with a getent concurrent network module, and the getent concurrent network module is used to implement a collaborative engineering support to process a concurrent network request.
The embedded chip can search a webpage to be accessed corresponding to the webpage access instruction through the Dnsmasq arranged inside, and search a webpage to be modified corresponding to the webpage modification instruction through the Dnsmasq, and the Dnsmasq can analyze the address of a network request submitted by client hardware, so that local website mapping, advertisement filtering and the like are achieved.
This embodiment sets up two wiFi chips, no longer use bus connection, but provide the hot spot through first wiFi chip, connect outside hotspot equipment through second wiFi chip, can carry out the webpage end visualization very conveniently, because based on the wiFi chip, data transmission is high-speed, and is stable, safety, need not the physical connection of contact, webpage end scalability is high, the user can compile html according to the demand and the application scene of oneself, customization visual interface and control interface, and contact failure has been avoided, the communication is not problematic, the agreement does not match, data transmission speed is slow, the high scheduling problem of error rate.
The technical scheme of the invention is explained in detail in aspects of system composition, structure, coefficient calculation principle, upper computer display interface, use flow and the like through the drawings and the description of the specific embodiment. The above-described modes are only preferred embodiments of the present invention, and it will be apparent to those skilled in the art that modifications or equivalent substitutions can be made on the basis of the present disclosure to apply to various medical instrument systems, not limited to the system structure described in the embodiments of the present invention, and thus the above-described modes are only preferred and not intended to be limiting.
The above embodiments are only some specific embodiments of the present invention, and the above embodiments are only used for illustrating the technical solutions and concepts of the present invention and not for limiting the scope of the claims of the present invention. Other technical solutions which can be obtained by logical analysis, reasoning or limited experiments based on the concepts of the patent and the prior art should also be considered to fall within the scope of the claims of the present invention.
The above embodiments are only for illustrating the invention and are not to be construed as limiting the invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention, therefore, all equivalent technical solutions also belong to the scope of the invention, and the scope of the invention is defined by the claims.
Claims (9)
1. The webpage end visualization system based on the embedded chip is characterized by comprising the following components: the device comprises an embedded chip, a first WiFi chip and a second WiFi chip;
the embedded chip is used for storing a plurality of webpages;
the first WiFi chip is used for providing a hot spot for external equipment and sending a webpage access instruction to the embedded chip when receiving the webpage access instruction sent by the external equipment;
the embedded chip is further used for searching a webpage to be accessed corresponding to the webpage access instruction, and feeding the webpage to be accessed back to the external equipment through the first WiFi chip so that the external equipment can display the webpage to be accessed;
the second WiFi chip is used for connecting external hot spot equipment and sending a webpage modification instruction to the embedded chip when receiving the webpage modification instruction sent by the external hot spot equipment;
the embedded chip is also used for searching a webpage to be modified corresponding to the webpage modification instruction and modifying the webpage to be modified according to the webpage modification instruction.
2. The embedded chip-based web page visualization system of claim 1, wherein the program in the embedded chip is implemented by Python programming language.
3. The embedded chip-based webpage side visualization system of claim 2, wherein the embedded chip sets callback functions of different requests through a bottle.
4. The embedded chip-based webpage end visualization system of claim 1, wherein the second WiFi chip is an ESP32 chip, and the second WiFi chip is connected to the embedded chip through serial port pins.
5. The embedded chip-based webpage end visualization system according to claim 4, wherein the second WiFi chip is further configured to receive data to be processed and send the data to be processed to the embedded chip;
the embedded chip is also used for sequentially carrying out preprocessing, feature extraction and pattern recognition on the data to be processed.
6. The embedded chip-based webpage side visualization system according to any one of claims 1 to 5, wherein the embedded chip realizes inter-process memory sharing through a memory mapping file.
7. The embedded chip-based webpage end visualization system according to any one of claims 1 to 5, wherein the embedded chip performs data transmission with the first WiFi chip and the second WiFi chip through a WebSocket protocol.
8. The embedded chip-based webpage end visualization system according to any one of claims 1 to 5, wherein a Gevent concurrent network module is arranged in the embedded chip, and the Gevent concurrent network module is used to realize coroutine support so as to process concurrent network requests.
9. The embedded chip-based webpage side visualization system according to any one of claims 1 to 5, wherein the embedded chip searches for the webpage to be accessed corresponding to the webpage access instruction through an internally-arranged Dnsmasq, and searches for the webpage to be modified corresponding to the webpage modification instruction through the Dnsmasq.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911360432.2A CN111131459A (en) | 2019-12-25 | 2019-12-25 | Webpage end visualization system based on embedded chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911360432.2A CN111131459A (en) | 2019-12-25 | 2019-12-25 | Webpage end visualization system based on embedded chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111131459A true CN111131459A (en) | 2020-05-08 |
Family
ID=70502575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911360432.2A Pending CN111131459A (en) | 2019-12-25 | 2019-12-25 | Webpage end visualization system based on embedded chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111131459A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5742768A (en) * | 1996-07-16 | 1998-04-21 | Silicon Graphics, Inc. | System and method for providing and displaying a web page having an embedded menu |
CN205486066U (en) * | 2016-02-03 | 2016-08-17 | 西安诺瓦电子科技有限公司 | Control card based on embedded operating system |
CN107024879A (en) * | 2017-04-05 | 2017-08-08 | 大连德嘉工控设备有限公司 | Industry automatic control equipment, method and the router of embedded web monitor server |
CN109240675A (en) * | 2017-05-10 | 2019-01-18 | 兰州大学 | Portable visual hardware programming system and method based on WIFI |
-
2019
- 2019-12-25 CN CN201911360432.2A patent/CN111131459A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5742768A (en) * | 1996-07-16 | 1998-04-21 | Silicon Graphics, Inc. | System and method for providing and displaying a web page having an embedded menu |
CN205486066U (en) * | 2016-02-03 | 2016-08-17 | 西安诺瓦电子科技有限公司 | Control card based on embedded operating system |
CN107024879A (en) * | 2017-04-05 | 2017-08-08 | 大连德嘉工控设备有限公司 | Industry automatic control equipment, method and the router of embedded web monitor server |
CN109240675A (en) * | 2017-05-10 | 2019-01-18 | 兰州大学 | Portable visual hardware programming system and method based on WIFI |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10248607B1 (en) | Dynamic interface port assignment for communication transaction | |
CN111901164B (en) | OCP NIC network card adaptation control method, device, equipment and system | |
CN103747074B (en) | mobile monitoring system based on Web server | |
CN103180817A (en) | Storage expansion apparatus and server | |
CN117312229B (en) | Data transmission device, data processing equipment, system, method and medium | |
US11784946B2 (en) | Method for improving data flow and access for a neural network processor | |
CN107209725A (en) | Method, processor and the computer of processing write requests | |
CN112559425A (en) | PCIE port splitting method, device, equipment and medium | |
CN112507259B (en) | Webpage loading method and device, electronic equipment and storage medium | |
CN116450554A (en) | Interrupt processing method, root complex device and electronic device | |
CN115114202B (en) | Embedded WEB Server Based on Optical Fiber Communication Interface Expansion | |
US20160202358A1 (en) | Satellite positioning receiver integrated with high-precision positioning application system | |
CN210839647U (en) | Webpage end visualization system based on embedded chip | |
CN104850516A (en) | DDR frequency conversion design method and device | |
CN117971740B (en) | Memory expansion board card and memory expansion method | |
CN111131459A (en) | Webpage end visualization system based on embedded chip | |
CN113722110B (en) | Computer system, memory access method and device | |
CN113660123B (en) | Virtual switch upgrading method, device, electronic equipment and storage medium | |
CN116781586A (en) | gRPC flow analysis method, device, equipment and medium | |
CN113127783B (en) | Page display method and device, equipment and medium | |
WO2022100148A1 (en) | Backplane communication device and control method therefor, and storage medium | |
CN111937366B (en) | Web request processing method and device | |
CN114500598A (en) | Equipment access method, system and proxy service equipment | |
CN105760278A (en) | Computer performance monitoring system based on singlechip microcomputer and computer performance monitoring method based on singlechip microcomputer | |
CN106603188A (en) | Frequency converter interface device |
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: 20200508 |
|
RJ01 | Rejection of invention patent application after publication |