Very micro intelligent device and method for operating operating system
By building an operating system and a system-on-a-chip SoC into very tiny smart devices, and utilizing the peripheral resource sharing of the host device, the problem of balancing privacy data security and device efficiency in the existing technology is solved, achieving safety, convenience and Efficient operating system operation.
Patent Information
- Application Number
- CN202411601320.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2044-11-11
AI Technical Summary
The prior art is difficult to ensure the security of private data while taking into account the efficiency and convenience of equipment, especially when facing malicious attacks or system vulnerabilities, the risk of information leakage still exists.
By building a preset operating system and system-on-a-chip SoC into very micro smart devices, combined with interface modules and storage modules, the independent operation of the operating system is realized, and the user operating experience is simplified through peripheral resource sharing of the host device.
It achieves true physical isolation, eliminates security risks caused by hardware resource sharing, ensures the security of data processing, and improves device portability and user experience.
Smart Images

Figure CN119336705A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of operating systems, and in particular to an ultra-micro intelligent device and a method for running an operating system. Background Art
[0002] With the popularization of mobile Internet and the widespread use of smart terminals, mobile devices (such as smartphones, tablets, etc.) have become the main carriers of personal privacy and sensitive data. These devices gather a large amount of personal information, financial data, work data, etc. However, due to technical and cost limitations, it is still a challenge to achieve complete isolation and protection of these private and sensitive data.
[0003] In order to solve this technical problem, the technical research and development routes on the market are as follows:
[0004] (1) Dual system or multi-system solution:
[0005] For example, patent document CN111464509A discloses a network security isolation system for dual-processing systems, which deploys two or more operating systems in the same mobile device, one for work and the other for personal life. The advantage of this solution is that it achieves partial isolation of data at the software level, but because these systems share the same hardware resources (such as CPU, memory, storage, etc.), there is still a risk of information leakage when facing malicious attacks or system vulnerabilities. Security isolation is not thorough and cross-contamination of data cannot be completely eliminated.
[0006] (2) Start the operating system from the USB drive:
[0007] For example, patent document CN101840477A discloses a method for office work using a mobile operating system. This solution usually places the image file of Windows or other operating systems in a USB flash drive, and the user starts the operating system by inserting the USB flash drive. The advantage of this solution is that an independent operating system can be run on the host computer without affecting the data security of the host system. However, this method reuses most of the resources of the host machine (such as CPU, memory, network, etc.), has poor security, and is difficult to support mobile terminals (mobile devices do not support starting the operating system from an external device).
[0008] (3) Cloud terminal solution:
[0009] For example, the web browsing method based on cloud terminal disclosed in patent document CN103067500A, the cloud terminal hosts data and applications on cloud servers, and users only run the client on mobile devices, and all operations are completed remotely through the network. This method achieves good data isolation because all calculations and storage are in the cloud. However, its disadvantage is that the user experience is poor, especially in the case of unstable network or high latency, operation jams, slow response and other problems frequently occur, which cannot meet the daily use needs of users.
[0010] This shows that the existing technology is difficult to ensure the security of privacy data while taking into account the efficiency and convenience of the equipment. Summary of the invention
[0011] In view of the defects in the prior art, an object of the present invention is to provide a very micro intelligent device and a method for running an operating system.
[0012] According to the present invention, a very micro intelligent device is provided, comprising:
[0013] System-on-chip SoC, with a built-in preset operating system;
[0014] An interface module, electrically connected to the system-on-chip SoC, through which the system-on-chip SoC performs data transmission with an external host device;
[0015] A storage module, electrically connected to the system-on-chip SoC;
[0016] The operating system interacts with the user through the input / output device of the host device.
[0017] Furthermore, the host device includes a display screen, and the operating system provides a visual graphical user interface through the display screen.
[0018] Furthermore, the very micro intelligent device also includes any one or more of the following components: a battery module, a display screen, a WIFI module, a cellular communication module, a Bluetooth module, a microphone, a speaker, a camera or a sensor.
[0019] Furthermore, the host device further includes any one or more of the following components: a battery module, a WIFI module, a cellular communication module, a Bluetooth module, a microphone, a speaker, a camera or a sensor;
[0020] The very micro intelligent devices share the components via the interface module.
[0021] Further, the interface module includes a USB module;
[0022] The system-on-chip (SoC) exchanges data with an external host device through the interface module and draws power from the host device.
[0023] Furthermore, after establishing a connection with the host device, the very micro intelligent device first detects the peripherals configured on itself and the host device, obtains the peripheral configuration information of both parties, and selects the peripherals according to the peripheral configuration information of both parties.
[0024] Further, the selection method includes: selecting a peripheral corresponding to the host device when the very micro intelligent device itself does not have a peripheral of the required type;
[0025] Also, when both parties have the required type of peripherals, the performance parameters of the peripherals of both parties are compared, and the peripheral with better performance parameters is selected based on the comparison result.
[0026] Furthermore, during the operation of the very micro intelligent device, when sound needs to be played, the speaker of the host device is used to play the sound;
[0027] When network communication is required, the WIFI module or cellular communication module of the host device is used for network communication;
[0028] When sound collection is required, use the microphone of the host device to collect sound;
[0029] When images and videos need to be collected, use the camera of the host device to collect images and videos;
[0030] When GPS and sensor data are needed, the GPS and sensors of the host device are used to collect data.
[0031] A method for running an operating system on the very micro intelligent device provided by the present invention comprises:
[0032] Installing client software for controlling the operation of the operating system on the host device;
[0033] When the interface module is connected to the host device, starting the operating system;
[0034] The operating system encodes and compresses the content to be transmitted into a data packet and transmits it to the client software through the interface module. The client software decompresses and decodes the data packet and outputs it through the host device.
[0035] The client software sends a control instruction according to the user's operation, and the control instruction is transmitted to the operating system through the interface module to control the operating system.
[0036] Further, the client software includes a resolution adaptive module;
[0037] The resolution adaptive module compares the preset resolution of the operating system and the resolution of the host device. When the preset resolution of the operating system and the resolution of the host device are the same, the interface of the operating system is displayed normally. When the preset resolution of the operating system and the resolution of the host device are different but the ratio is the same, the resolution of the operating system is proportionally enlarged or reduced to the resolution of the host device. When the preset resolution of the operating system and the resolution of the host device are different and the ratio is different, the resolution of the operating system is proportionally enlarged or reduced based on the smaller width or height of the host device resolution, and the other side is displayed in the center, and the excess part is displayed as black borders on the top and bottom or on the left and right sides of the screen.
[0038] Further, the client software includes a coordinate conversion module;
[0039] The display of the host device includes a touch screen;
[0040] When the preset resolution of the operating system is different from the resolution of the host device, the coordinate conversion module converts the screen touch point coordinates of the host device into the touch point coordinates of the operating system.
[0041] Further, the coordinate conversion module compares the preset resolution of the operating system and the resolution of the host device. When the preset resolution of the operating system and the resolution of the host device are the same, the touch coordinates of the operating system and the touch coordinates of the host device are the same. When the preset resolution of the operating system and the resolution of the host device are different but the ratio is the same, the touch coordinates of the host device are proportionally enlarged or reduced. When the preset resolution of the operating system and the resolution of the host device are different and the ratio is different, the wide side or high side with the smaller resolution of the host device is used as a reference, and the touch coordinates are proportionally enlarged or reduced with the corresponding wide side or high side of the operating system. The enlargement or reduction multiple is the enlargement or reduction multiple of the touch coordinates of the host device. After the other side is displayed in the center of the screen, the excess part is displayed with a black border, and the excess part is removed in the calculation of the corresponding touch coordinates.
[0042] Further, after the operating system is started, a data connection is established between the very micro intelligent device and the host device via the interface module;
[0043] The operating system encodes and compresses the audio and video data into data packets for transmission.
[0044] Furthermore, the operating system includes upper layer application software, hardware abstraction layer and virtualized device driver;
[0045] When the input / output device of the host device is needed during the operation of the upper-level application software, a request is initiated to the virtualization device driver of the operating system through the hardware abstraction layer. After receiving the request, the virtualization device driver transmits the request to the client software of the host device through the interface module. The client software completes the corresponding function through the driver of the host device and the input / output device.
[0046] Furthermore, after establishing a connection with the host device, the very micro intelligent device first detects the peripherals configured on itself and the host device, obtains the peripheral configuration information of both parties, and selects the peripherals according to the peripheral configuration information of both parties.
[0047] Further, the selection method includes: selecting a peripheral corresponding to the host device when the very micro intelligent device itself does not have a peripheral of the required type;
[0048] Also, when both parties have the required type of peripherals, the performance parameters of the peripherals of both parties are compared, and the peripheral with better performance parameters is selected based on the comparison result.
[0049] Furthermore, during the operation of the very micro intelligent device, when sound needs to be played, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, and sends the request to the client software through the data transmission channel of the interface module, and the client software uses the speaker of the host device to play the sound;
[0050] When network communication is needed, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, which is sent to the client software through the data transmission channel of the interface module, and the host device's WIFI module or cellular communication module is used for network communication;
[0051] When sound collection is needed, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, which is sent to the client software through the data transmission channel of the interface module, and the microphone of the host device is used for sound collection;
[0052] When images and videos need to be collected, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, which is sent to the client software through the data transmission channel of the interface module, and the camera of the host device is used to collect images and videos;
[0053] When GPS and sensor data are needed, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, which is sent to the client software through the data transmission channel of the interface module to collect data using the GPS and sensors of the host device.
[0054] Compared with the prior art, the present invention has the following beneficial effects:
[0055] Compared with the existing dual-system or multi-system technical solutions, the present invention achieves true physical isolation by completely encapsulating the operating system in an independent hardware device, and completely eliminates the security risks brought by hardware resource sharing.
[0056] The present invention operates independently and does not rely on the CPU, memory or storage of the host machine, thus ensuring the security of data processing. At the same time, since the device only needs to be connected to the host machine through a USB interface, the host machine's peripheral resources (such as screen, touch, etc.) are reused, which greatly simplifies the user's operating experience and improves convenience and compatibility.
[0057] The present invention simplifies the device structure, reduces weight, and ensures functional integrity, thereby solving problems such as inconvenient device carrying and management, limited user experience, high cost and maintenance, and complex upgrades. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0059] Figure 1 It is an overall architecture diagram of the present invention;
[0060] Figure 2 Internal connection diagram of even tiny smart devices;
[0061] Figure 3 Another overall architecture diagram of the present invention. DETAILED DESCRIPTION
[0062] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0063] Example 1
[0064] like Figure 1 and Figure 2As shown, the present invention provides a very micro smart device, which is presented in a portable form such as a USB flash drive, and includes: a system-on-chip SoC, an interface module and a storage module. The very micro smart device has a preset operating system built in, and the operating system can be an Android system or other versions or types, such as Linux, Hongmeng, Ubuntu, etc., to further expand the scope of application and support more application scenarios. After the device is connected to an external host device through an interface module, a complete operating system can be independently run on the very micro smart device, and the interface of the operating system can be displayed with the help of the host device. The operating system can be run through a simple plug-in operation, simplifying the user's operation process. During use, the very micro smart device does not rely on the CPU, GPU, memory or storage resources of the host device. All calculations, data processing and storage are completed inside the device, but the input / output devices of the host device can be shared, thereby achieving complete isolation of the operating system and the host device in a low-cost and highly portable manner, ensuring data security and system stability.
[0065] In the present invention, the system-on-chip SoC preferably uses a high-performance, low-power SoC as a central processing device, and the storage module may include a memory and a flash memory, etc., to meet the data storage needs of different users. The interface module may adopt a USB module, such as USB 3.x, USB4, etc. It supports high-speed data exchange standards to quickly transfer multimedia files and other large data sets, and can also power even micro-intelligent devices through the host device. The user only needs to connect the device to the host device (such as a smart phone, tablet computer or computer) to start using it. The host device includes a display screen (which may be a touch screen), and the operating system provides a visual graphical user interface through the display screen of the host device.
[0066] like Figure 3As shown, in addition to the basic SoC, storage module and interface module, other non-core hardware components can be flexibly selected according to specific application scenarios. In order to better realize the normal operation of the operating system, ensure complete functional applications, and provide a better user interaction experience, the very micro smart device can also include core components of mobile devices such as battery modules, WIFI modules, cellular communication modules, microphones, speakers, cameras, and various sensors. Based on the scenario, the very micro smart device needs to add one or more core components of the mobile device. For example, if the very micro smart device needs independent power supply and does not obtain power from the host device, the very micro smart device can include a battery module, and the battery module is electrically connected to the Soc. If an independent cellular communication module is required for communication, the very micro smart device can include a cellular communication module. If the volume of the very micro smart device is reduced and portability is met to the greatest extent, the core components such as battery modules, WIFI modules, cellular communication modules, microphones, speakers, cameras, and various sensors can make full use of the existing peripherals of the host device, and the very micro smart device shares the above core component peripherals of the host device. Various sensors include light sensors, GPS sensors, distance sensors, gravity sensors, accelerometers, gyroscopes, barometers, magnetic field sensors, and other common sensors commonly used in common smart phones.
[0067] The present invention realizes the independence of the device running the operating system, uses an independent system-level chip SoC, interface module and storage module, and pre-installs a complete operating system. It can independently protect user privacy and sensitive data without relying on the computing and data processing resources of the host device, and shares battery modules, WIFI modules, cellular communication modules, microphones, speakers, cameras and other hardware resources of various types of sensors with the host device through USB communication and power supply, making full use of the existing core peripheral components of the host device, simplifying the device structure, reducing weight, and ensuring functional integrity, solving the problems of inconvenient equipment carrying and management, limited user experience, high cost and maintenance, and complex upgrades.
[0068] Example 2
[0069] The present invention also provides a method for running an operating system on a very micro intelligent device, comprising:
[0070] The very micro smart device uses the device of Example 1, and the client software for controlling the operation of the operating system and realizing the interaction between the very micro smart device and the host device is installed in the host device. When the host device is a different operating system platform, the installation package of the corresponding client software is different, such as an exe file for the Windows system and an apk file for the Android system.
[0071] After the interface module is connected to the host device, the host device recognizes the device through the interface module and provides power. The user can wait for the operating system of the very micro smart device to start and run through the client software, and a data connection is established between the very micro smart device and the host device through the interface module. After successful startup, the operating system of the very micro smart device will be displayed on the screen of the host device. An audio and video connection channel is established between the very micro smart device and the host device through the interface module. The interface image or video of the operating system is compressed and encoded into a data packet and transmitted to the host device through the audio and video connection channel at a custom frequency. After the host device obtains the data packet, it decodes and decompresses the data packet through the client software, restores it to an image or video screen, and displays it visually on the host device. In addition, in order to improve the display quality, the client software also includes a resolution adaptive module to ensure that the operating system interface can be correctly displayed regardless of the screen size of the host device itself.
[0072] When the screen of the host device visualizes the operating system screen of the very micro intelligent device, the user uses the screen touch information of the host device to operate the operating system on the very micro intelligent hardware device. The client software obtains the screen touch information of the host device and transmits the data packet of the screen touch information to the very micro intelligent device through the data connection channel at a custom frequency. The very micro intelligent device issues and executes control instructions based on the screen touch information, thereby realizing user interaction to control the operating system.
[0073] The custom frequency can be set according to time, such as 1ms, etc. The compression and encoding technology used can be H.264 or H.265, etc. These encoding technologies can compress high-definition audio and video signals into smaller data packets, thereby reducing the amount of data transmitted.
[0074] The operating system interface of a very micro smart device can be preset with a customized fixed resolution. Due to the diversity of host device terminals, which can be smart phones, tablet computers or computers, when the resolution of the very micro smart device is different from that of the host device, there will be problems such as incomplete screen display or unequal proportions. The client software has a built-in resolution adaptive module to provide optimized screen display, ensuring that the host device screen displays the operating system interface of the very micro smart device in an optimal and non-deformed manner.
[0075] The resolution adaptive module compares the preset resolution of the operating system and the resolution of the host device. When the resolutions are the same, the operating system interface is displayed normally. When the resolutions are different but the ratio is the same, the resolution of the operating system is enlarged or reduced in proportion. When the resolutions are different and the ratios are different, the resolution of the operating system is enlarged or reduced in proportion based on the smaller width or height of the host device resolution, and the other side is displayed in the center, and the excess part is displayed as black borders on the top and bottom or on the left and right sides of the screen. For example, if the preset fixed resolution of the operating system is 1920*1080, if the screen resolution of the host device is 1920*1080, the operating system interface will be displayed normally. If the screen resolution of the host device is 3840*2160, the resolution adaptive module will change the resolution of the operating system to 3840*2160 and display it on the screen of the host device. If the screen resolution of the host device is 2048*1080, the resolution of the operating system will still be 1920*1080, but when the operating system interface is displayed on the host device screen, there will be a black border of (2048-1920) / 2=64 pixels on the left and right of the host device screen. If the screen resolution of the host device is 1920*960, the resolution of the operating system will be proportionally reduced to 1707*960 by the adaptive module, and then displayed in the center of the screen of the host device. There will be a black border of (1920-1707) / 2=106.5 pixels on the left and right of the host device screen.
[0076] The client software of the host device can also obtain the screen touch information of the host device, and transmit the data packets of the screen touch information to the operating system of the very micro smart device through the data connection channel at a custom frequency. The operating system of the very micro smart device issues and executes control instructions based on the screen touch information, thereby realizing user interaction.
[0077] The screen touch information obtained by the client software is the screen touch coordinates, and the coordinate value is expressed in pixels. The client software has a built-in coordinate conversion module. When the preset resolution of the operating system and the resolution of the host device are different, the coordinate conversion module converts the screen touch coordinates of the host device into the touch coordinates of the operating system. The coordinate conversion module compares the preset resolution of the operating system and the resolution of the host device. When the two are the same, the touch coordinates of the operating system and the touch coordinates of the host device are the same. When the two are different but the ratio is the same, the touch coordinates of the host device are proportionally enlarged or reduced to convert them into the touch coordinates of the operating system. When the resolution and the resolution ratio are different, the wide side or high side with a smaller resolution of the host device is used as a reference, and the corresponding wide side or high side of the operating system is proportionally enlarged or reduced. The multiple of enlargement or reduction is the multiple of enlargement or reduction of the touch coordinates of the host device. After the other side is displayed in the center of the screen, the excess part is displayed with a black border, and the excess part is removed in the corresponding touch coordinate calculation to ensure the accuracy of the position information of the screen touch coordinates and achieve accurate user interaction. For example, if the preset fixed resolution of the operating system is 1920*1080, the screen touch point coordinate value of the host device obtained is (1000,500). If the screen resolution of the host device is 1920*1080, the touch point coordinate value of the operating system is the same, and the touch point coordinate value of the operating system is (1000,500). If the screen resolution of the host device is 3840*2160, the touch point coordinate value of the operating system is halved, and the touch point coordinate value of the operating system becomes (500,250). If the screen resolution of the host device is 2048*1080, then through the coordinate conversion module, the value of the horizontal coordinate is 1000-(2048-1920) / 2=936, and the touch point coordinate value of the operating system becomes (936,500), ensuring that the touch point coordinate position obtained by the operating system is correct.
[0078] The operating system of a very small smart device includes upper-layer application software, hardware abstraction layer, and virtualized device driver. The upper-layer application software is the various APPs commonly used by users. The hardware abstraction layer (HAL) is a software layer between the operating system runtime environment and the hardware device driver. It is a bridge between the upper-layer software and the hardware device. It describes the hardware functions available for the upper-layer application software, provides a consistent interface for the upper-layer software, and allows the upper-layer software to interact with the hardware that hides the specific implementation details. The virtualized device driver is a hardware device driver simulated in the virtualized environment created in the operating system. The operating system provides virtualized device capabilities to the upper-layer application software through the HAL layer, and uses the HAL layer to share the hardware peripheral component resources of the host machine with the upper-layer application software. When the upper-layer application software of the operating system needs to use the corresponding peripheral resources during operation, it initiates a request to the virtualized device driver through the HAL layer. After receiving the request, the virtualized device driver transmits the request to the client software of the host device through the interface module. The client software completes the corresponding function through the driver of the host device and the hardware. After the hardware device has completed the corresponding functional operation, the client software returns the execution result to the virtualized device driver of the operating system through the interface module. The virtualized device driver then encapsulates these execution results into a format that can be understood by the upper-level application software and returns them to the upper-level application software through the HAL layer, thereby achieving direct and efficient use of the hardware peripheral component resources of the host machine, while ensuring compatibility with various upper-level application software. During the operation of the operating system of the micro-intelligent device, if there is an application software that needs to play sound, the speaker of the host device can be used for sound playback through the interface module. If an application needs to use network functions such as a browser, the host device's WIFI module or cellular network can be used for network communication. If sound collection is required, the host device's microphone is used to collect sound data. For applications that use functions such as photography and videography, the host device's camera is used to collect image or video data. For applications that use some GPS and sensor data, the host device's GPS and sensors are used to collect data.
[0079] This embodiment realizes the independent operation of a complete operating system with minimal hardware equipment, achieves complete isolation of privacy and sensitive data at a low cost, and ensures the security of data and the stability of the operating system; and provides a cross-platform unified security solution that can be used not only on mobile terminals, but also on traditional computing devices (such as laptops and desktops), meeting the needs of different application scenarios.
[0080] Example 3
[0081] like Figure 3As shown, the very micro smart device itself can also be configured with the required peripherals, and the technicians can choose to configure according to the actual situation. If the very micro smart device is configured with one or more of the components such as battery module, WIFI module, cellular communication module, microphone, speaker, camera, sensor, etc., when the very micro smart device uses the network, audio and video data, location information, sensor and other data to interact, the operating system can directly use the very micro smart device's own peripherals. If the host device is also configured with one or more of the components such as battery module, WIFI module, cellular communication module, microphone, speaker, camera, sensor, etc., the operating system can choose between the peripherals of the very micro smart device and the peripherals of the host device. Specifically, it can be to detect whether the device itself has corresponding peripherals. If not, use the shared host device peripherals. After establishing a connection with the host device, the very micro smart device first detects the peripherals configured on itself and the host device, obtains the peripheral configuration information of both parties, and selects the peripherals according to the peripheral configuration information of both parties. The selection strategy is as follows: (1) When the micro-intelligent device itself does not have the required type of peripherals, select the peripherals corresponding to the host device; (2) When both parties have the required type of peripherals, compare the performance parameters of the peripherals of both parties, and select the peripheral with better performance parameters based on the comparison results to achieve better user experience and functional applications.
[0082] 1. During the operation of the operating system of the very micro smart device, if an application requires sound playback, the speaker of the host device can be used for sound playback.
[0083] When the operating system of the very micro smart device is running, if sound needs to be played, the upper-level application software issues a corresponding sound playback request, and initiates a sound playback request to the virtualized device driver through the HAL layer. After receiving the sound playback request, the virtualized device driver transmits the sound playback request to the client software of the host device through the data connection channel of the interface module. The operating system of the very micro smart device compresses and encodes the sound data into data packets and transmits them to the host device through the audio and video connection channel at a custom frequency. The host device obtains the data packet through the audio and video connection channel, and decodes and decompresses the audio data of the data packet through the client software, and then uses the speaker of the host device to play the audio data.
[0084] The custom frequency can be in time units, such as 1ms.
[0085] 2. During the operation of the operating system, if you need to use applications with network functions such as browsers, you can use the host device's WIFI module or cellular communication module for network communication.
[0086] When the operating system of the very micro smart device is running, when using the network function application, the operating system initiates a network connection request to the virtualized device driver through the HAL layer, and sends it to the client software through the data transmission channel of the interface module. The client software uses the WIFI module or mobile network of the host device to establish a connection with the server. After the connection is established, the host device uses TCP to send or receive message data. The message data sent by the host device comes from the upper-level application software data of the operating system of the very micro smart device transmitted via the data transmission channel. The message data received by the host device is sent to the upper-level application software of the operating system of the very micro smart device via the data transmission channel, thereby enabling the operating system of the very micro smart device to use the WIFI module or mobile network of the host device for network communication.
[0087] 3. During the operation of the operating system of the micro-intelligent device, if sound collection is required, the microphone of the host device is used to collect sound data.
[0088] During the operation of the operating system of the very micro intelligent device, if any upper-level application software needs to collect sound, the upper-level application software will issue a corresponding sound collection request, and initiate a sound collection request to the virtualization device driver through the HAL layer. After receiving the sound collection request, the virtualization device driver will transmit the sound collection request to the client software of the host device through the data connection channel of the interface module. After the client software collects sound data through the microphone of the host device, it compresses and encodes the sound data into a data packet, and transmits it to the virtualization device driver of the operating system of the very micro intelligent device through the audio and video connection channel at a custom frequency. The virtualization device driver then decodes and decompresses the audio data of the data packet and encapsulates it into a format that the upper-level application software can understand, and returns it to the upper-level application software through the HAL layer to complete the sound data collection function.
[0089] 4. During the operation of the operating system of a very micro-intelligent device, applications such as those using functions such as photography and video recording use the camera of the host device to collect image or video data.
[0090] During the operation of the operating system of the very micro intelligent device, if the upper-level application software needs to collect image or video data, the upper-level application software issues a corresponding image or video data request, and initiates the image or video data request to the virtualization device driver through the HAL layer. After receiving the image or video data request, the virtualization device driver transmits the image or video data request to the client software of the host device through the data connection channel of the interface module. After the client software collects the image or video data through the camera of the host device, it compresses and encodes the image or video data into a data packet, and transmits the data packet to the virtualization device driver of the operating system of the very micro intelligent device through the audio and video connection channel at a custom frequency. The virtualization device driver then decodes and decompresses the image or video data of the data packet, encapsulates it into a format that the upper-level application software can understand, and returns it to the upper-level application software through the HAL layer to complete the image or video data collection function.
[0091] 5. During the operation of the operating system of a very micro-intelligent device, such as applications that use some GPS and sensor data, data is collected using the GPS and sensors of the host device.
[0092] During the operation of the operating system of the very micro intelligent device, if the upper-level application software needs GPS or sensor data, the upper-level application software also sends a corresponding request and initiates a request to the virtualized device driver through the HAL layer. After receiving the request, the virtualized device driver transmits the request to the client software of the host device through the data connection channel of the interface module. The client software obtains the corresponding data collected by the sensor device on the host device side and compresses and encodes it into a data packet. The client software sends the data packet to the virtualized device driver of the operating system of the very micro intelligent device through the data connection channel. The virtualized device driver then decodes and decompresses the data packet data, encapsulates it into a format that the upper-level application software can understand, and returns it to the upper-level application software through the HAL layer. The upper-level application software obtains the corresponding GPS or sensor data.
[0093] This embodiment provides users with more abundant choices. If, due to special needs, one or more core components are added to a micro-intelligent device, the user can dynamically and flexibly choose whether to use independent peripherals or reuse the peripherals of the host device, thereby further expanding the application scope of the device and supporting more application scenarios.
[0094] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A very micro intelligent device, characterized in that: include: System-on-chip SoC, with a built-in preset operating system; An interface module, electrically connected to the system-on-chip SoC, through which the system-on-chip SoC performs data transmission with an external host device; A storage module, electrically connected to the system-on-chip SoC; The operating system interacts with the user through the input / output device of the host device.
2. The very micro intelligent device according to claim 1, characterized in that: The host device includes a display screen, and the operating system provides a visual graphical user interface through the display screen.
3. The very micro intelligent device according to claim 1, characterized in that: The very micro intelligent device also includes any one or more of the following components: a battery module, a display screen, a WIFI module, a cellular communication module, a Bluetooth module, a microphone, a speaker, a camera or a sensor.
4. The very micro intelligent device according to claim 1, characterized in that: The host device further includes any one or more of the following components: a battery module, a WIFI module, a cellular communication module, a Bluetooth module, a microphone, a speaker, a camera or a sensor; The very micro intelligent devices share the components via the interface module.
5. The very micro intelligent device according to claim 1, characterized in that: The interface module includes a USB module; The system-on-chip (SoC) exchanges data with an external host device through the interface module and draws power from the host device.
6. The very micro intelligent device according to claim 1, characterized in that: After establishing a connection with the host device, the very micro intelligent device first detects the peripherals configured on itself and the host device, obtains the peripheral configuration information of both parties, and selects the peripherals according to the peripheral configuration information of both parties.
7. The very micro intelligent device according to claim 6, characterized in that: The selection method includes: selecting a peripheral corresponding to the host device when the very micro intelligent device itself does not have a peripheral of the required type; Also, when both parties have the required type of peripherals, the performance parameters of the peripherals of both parties are compared, and the peripheral with better performance parameters is selected based on the comparison result.
8. The very micro intelligent device according to claim 1, characterized in that: During the operation of the very micro intelligent device, when sound needs to be played, the speaker of the host device is used to play the sound; When network communication is required, the WIFI module or cellular communication module of the host device is used for network communication; When sound collection is required, use the microphone of the host device to collect sound; When images and videos need to be collected, use the camera of the host device to collect images and videos; When GPS and sensor data are needed, the GPS and sensors of the host device are used to collect data.
9. A method for running an operating system on a very micro intelligent device according to any one of claims 1 to 8, characterized in that: include: Installing client software for controlling the operation of the operating system on the host device; When the interface module is connected to the host device, starting the operating system; The operating system encodes and compresses the content to be transmitted into a data packet and transmits it to the client software through the interface module. The client software decompresses and decodes the data packet and outputs it through the host device. The client software sends a control instruction according to the user's operation, and the control instruction is transmitted to the operating system through the interface module to control the operating system.
10. The method according to claim 9, characterized in that The client software includes a resolution adaptive module; The resolution adaptive module compares the preset resolution of the operating system and the resolution of the host device. When the preset resolution of the operating system and the resolution of the host device are the same, the interface of the operating system is displayed normally. When the preset resolution of the operating system and the resolution of the host device are different but the ratio is the same, the resolution of the operating system is proportionally enlarged or reduced to the resolution of the host device. When the preset resolution of the operating system and the resolution of the host device are different and the ratio is different, the resolution of the operating system is proportionally enlarged or reduced based on the smaller width or height of the host device resolution, and the other side is displayed in the center, and the excess part is displayed as black borders on the top and bottom or left and right.
11. The method according to claim 9, characterized in that The client software includes a coordinate conversion module; The display of the host device includes a touch screen; When the preset resolution of the operating system is different from the resolution of the host device, the coordinate conversion module converts the screen touch point coordinates of the host device into the touch point coordinates of the operating system.
12. The method according to claim 11, characterized in that The coordinate conversion module compares the preset resolution of the operating system and the resolution of the host device. When the preset resolution of the operating system and the resolution of the host device are the same, the touch coordinates of the operating system and the touch coordinates of the host device are the same. When the preset resolution of the operating system and the resolution of the host device are different but the ratio is the same, the touch coordinates of the host device are proportionally enlarged or reduced. When the preset resolution of the operating system and the resolution of the host device are different and the ratio is different, the wide side or high side with the smaller resolution of the host device is used as a reference, and the corresponding wide side or high side of the operating system is proportionally enlarged or reduced. The enlargement or reduction multiple is the enlargement or reduction multiple of the touch coordinates of the host device. After the other side is displayed in the center of the screen, the excess part is displayed with a black border, and the excess part is removed in the calculation of the corresponding touch coordinates.
13. The method according to claim 9, characterized in that After the operating system is started, a data connection is established between the very micro intelligent device and the host device via the interface module; The operating system encodes and compresses the audio and video data into data packets for transmission.
14. The method according to claim 9, characterized in that The operating system includes upper layer application software, hardware abstraction layer and virtualized device driver; When the input / output device of the host device is needed during the operation of the upper-level application software, a request is initiated to the virtualization device driver of the operating system through the hardware abstraction layer. After receiving the request, the virtualization device driver transmits the request to the client software of the host device through the interface module. The client software completes the corresponding function through the driver of the host device and the input / output device.
15. The method according to claim 9, characterized in that After establishing a connection with the host device, the very micro intelligent device first detects the peripherals configured on itself and the host device, obtains the peripheral configuration information of both parties, and selects the peripherals according to the peripheral configuration information of both parties.
16. The method according to claim 15, characterized in that The selection method includes: selecting a peripheral corresponding to the host device when the very micro intelligent device itself does not have a peripheral of the required type; Also, when both parties have the required type of peripherals, the performance parameters of the peripherals of both parties are compared, and the peripheral with better performance parameters is selected based on the comparison result.
17. The method according to claim 14, characterized in that During the operation of the micro-intelligent device, when sound needs to be played, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, and sends the request to the client software through the data transmission channel of the interface module. The client software uses the speaker of the host device to play the sound; When network communication is needed, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, which is sent to the client software through the data transmission channel of the interface module, and the host device's WIFI module or cellular communication module is used for network communication; When sound collection is needed, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, which is sent to the client software through the data transmission channel of the interface module, and the microphone of the host device is used for sound collection; When images and videos need to be collected, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, which is sent to the client software through the data transmission channel of the interface module, and the camera of the host device is used to collect images and videos; When GPS and sensor data are needed, the operating system initiates a network connection request to the virtualized device driver through the hardware abstraction layer, which is sent to the client software through the data transmission channel of the interface module to collect data using the GPS and sensors of the host device.
Citation Information
Patent Citations
Method for working by using mobile operating system
CN101840477A
Web browsing method based on cloud terminal
CN103067500A
Network security isolation system for dual-processing system
CN111464509A
Electronic device
CN103365355A
Electronic System
CN104182376A