Positioning adjustment method and device of mobile operating system, equipment and medium
By installing the Window driver on the operating device and connecting using the quic protocol, the compatibility and efficiency problems of the iOS terminal positioning adjustment method are solved, the simultaneous positioning adjustment of multiple terminal devices is realized, and the processing efficiency and compatibility are improved.
Patent Information
- Application Number
- CN202410833119.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing iOS terminal positioning adjustment method has low compatibility when installing the ncm driver service on a Windows computer and can only communicate with one terminal device. The operation is cumbersome and the processing efficiency is low, making it difficult to meet the adjustment needs of the mobile operating system.
Install the Window driver on the operating device by calling the preset driver installation tool, use the network configuration tool to establish communication with multiple terminal devices, obtain the service port number, and send positioning adjustment data packets through the quic protocol connection to achieve simultaneous operation of multiple terminal devices. Positioning adjustments.
The compatibility and processing efficiency of positioning adjustment have been improved, making it convenient for users to make adjustments on different operating devices. They can adjust multiple terminal devices at the same time, shorten the processing time, and improve processing efficiency.
Smart Images

Figure CN118632345A
Abstract
Description
Background Art
[0002] Mobile operating systems are operating systems with stronger computing power and functions than traditional feature phones. Common operating systems include Android, iOS, Harmony, Symbian, Windows Phone, and BlackBerry OS. Mobile operating systems have strong application extensibility. After installing a mobile operating system on a mobile terminal, you can install a variety of applications, and use different applications to implement different application functions and provide different services to users.
[0003] One of the commonly used application functions is terminal positioning. The mobile terminal can detect its location in real time and provide positioning services for users. Therefore, when the positioning function fails, it needs to be adjusted. Since the application software of different mobile operating systems is incompatible with each other, for the iOS mobile operating system, the commonly used method is that the solution needs to install the ncm driver service corresponding to iOS on the Windows computer, and use the driver service to create a virtual network card, and then start the wintun network card of the Windows computer to communicate with the iOS terminal device through the underlying service of the driver service. The iOS terminal device sends the positioning modification information to the wintun network card, and the Windows computer forwards the positioning modification information to the ncm network card of the ncm driver service for positioning synchronization to complete the positioning adjustment.
[0004] However, the commonly used methods currently have the following technical problems: the ncm driver service can only be used on Windows computers with win10 and win11 installed, and cannot be installed on other operating devices, so the compatibility is low. Moreover, it can only communicate with one iOS terminal device at a time and perform positioning adjustments. The operation is cumbersome and the processing efficiency is low, making it difficult to meet the adjustment needs of existing mobile operating systems. Summary of the invention
[0005] The present invention provides a method, device, equipment and medium for adjusting the positioning of a mobile operating system, and the method can solve one or more of the above-mentioned technical problems.
[0006] A first aspect of an embodiment of the present invention provides a method for adjusting the positioning of a mobile operating system, the method comprising:
[0007] Calling a preset driver installation tool to install a window driver on the operating device, so that the window driver installs a network configuration tool of the mobile operating system;
[0008] After establishing communication with one or more terminal devices installed with the mobile operating system using the network configuration tool, the service port number of the mobile operating system is obtained by means of command line parameters;
[0009] A quic protocol connection is established with each of the terminal devices using the service port number, and a positioning adjustment data packet is sent to each of the terminal devices based on the protocol of the quic protocol connection, so that each of the terminal devices performs positioning adjustment according to the positioning adjustment data packet.
[0010] In a possible implementation manner of the first aspect, the using the network configuration tool to establish communication with one or more terminal devices on which a mobile operating system is installed includes:
[0011] Receiving terminal broadcast messages sent by one or more terminal devices installed with a mobile operating system through the USB Ethernet technology of the network configuration tool;
[0012] Extracting the IPv6 address of each terminal device from the broadcast packet of the terminal broadcast message;
[0013] The communication is established with each terminal device using the ipv6 address of each terminal device.
[0014] In a possible implementation manner of the first aspect, acquiring the service port number of the mobile operating system through command parameters includes:
[0015] Transmitting the IPv6 address to the quic tool in the network configuration tool in the form of a command line parameter, so that the quic tool communicates with the terminal device through the IPv6 address and obtains service information;
[0016] The port number of the untrusted auxiliary channel of the terminal device is extracted from the service information to obtain a service port number.
[0017] In a possible implementation manner of the first aspect, establishing a QUIC protocol connection with each of the terminal devices by using the service port number, and sending a positioning adjustment data packet to each of the terminal devices based on a protocol of the QUIC protocol connection includes:
[0018] After obtaining the connection port number of the quic protocol connection, using the connection port number and the service port number to establish a quic protocol connection with each of the terminal devices;
[0019] After creating the tun network card, continuously read the data packets passing through the tun network card and transmit the data packets to the daemon process of each terminal device according to the protocol of the quic protocol connection to obtain the forwarding service port of each terminal device;
[0020] After a service transmission channel for each of the terminal devices is established through the forwarding service port, a positioning adjustment data packet is sent to each of the terminal devices through the service transmission channel.
[0021] A second aspect of an embodiment of the present invention provides a positioning adjustment device for a mobile operating system, the device comprising:
[0022] A driver installation module, used to call a preset driver installation tool to install a window driver on the operating device, so that the window driver installs a network configuration tool of the mobile operating system;
[0023] A port number acquisition module, used to acquire the service port number of the mobile operating system by means of command line parameters after establishing communication with one or more terminal devices installed with the mobile operating system using the network configuration tool;
[0024] The positioning adjustment module is used to establish a quic protocol connection with each of the terminal devices using the service port number, and send a positioning adjustment data packet to each of the terminal devices based on the protocol of the quic protocol connection, so that each of the terminal devices performs positioning adjustment according to the positioning adjustment data packet.
[0025] In a possible implementation manner of the second aspect, the using the network configuration tool to establish communication with one or more terminal devices on which a mobile operating system is installed includes:
[0026] Receiving terminal broadcast messages sent by one or more terminal devices installed with a mobile operating system through the USB Ethernet technology of the network configuration tool;
[0027] Extracting the IPv6 address of each terminal device from the broadcast packet of the terminal broadcast message;
[0028] The communication is established with each terminal device using the ipv6 address of each terminal device.
[0029] In a possible implementation manner of the second aspect, acquiring the service port number of the mobile operating system through command parameters includes:
[0030] Transmitting the IPv6 address to the quic tool in the network configuration tool in the form of a command line parameter, so that the quic tool communicates with the terminal device through the IPv6 address and obtains service information;
[0031] The port number of the untrusted auxiliary channel of the terminal device is extracted from the service information to obtain a service port number.
[0032] In a possible implementation manner of the second aspect, establishing a QUIC protocol connection with each of the terminal devices by using the service port number, and sending a positioning adjustment data packet to each of the terminal devices based on a protocol of the QUIC protocol connection includes:
[0033] After obtaining the connection port number of the quic protocol connection, using the connection port number and the service port number to establish a quic protocol connection with each of the terminal devices;
[0034] After creating the tun network card, continuously read the data packets passing through the tun network card and transmit the data packets to the daemon process of each terminal device according to the protocol of the quic protocol connection to obtain the forwarding service port of each terminal device;
[0035] After a service transmission channel for each of the terminal devices is established through the forwarding service port, a positioning adjustment data packet is sent to each of the terminal devices through the service transmission channel.
[0036] A third aspect of an embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the positioning adjustment method of the mobile operating system as described above is implemented.
[0037] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the positioning adjustment method of the mobile operating system as described above.
[0038] Compared with the prior art, the positioning adjustment method, device, equipment and medium of a mobile operating system provided by an embodiment of the present invention have the following beneficial effects: the present invention can call a preset driver installation tool to install a window driver on an operating device, so that the window driver can install a network configuration tool for a mobile operating system; after establishing communication with multiple terminal devices using the network configuration tool, the service port number of the mobile operating system is obtained by means of command line parameters; a quic protocol connection is established with each terminal device using the service port number, and a positioning adjustment data packet is sent to each terminal device based on the protocol of the quic protocol connection, so that each terminal device performs positioning adjustment according to the positioning adjustment data packet. The present invention can perform positioning adjustment according to the tool in operating devices of different systems, which can improve compatibility and facilitate users to make adjustments on different operating devices; and the present invention can adjust the positioning of multiple terminal devices at the same time, which can effectively shorten the adjustment processing time and improve processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of a positioning adjustment method of a mobile operating system provided by an embodiment of the present invention;
[0040] Figure 2It is a structural schematic diagram of a positioning adjustment device for a mobile operating system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] Mobile operating systems are operating systems with stronger computing power and functions than traditional feature phones. Common operating systems include Android, iOS, Harmony, Symbian, Windows Phone, and BlackBerry OS. Mobile operating systems have strong application extensibility. After installing a mobile operating system on a mobile terminal, you can install a variety of applications, and use different applications to implement different application functions and provide different services to users.
[0043] One of the commonly used application functions is terminal positioning. The mobile terminal can detect its location in real time and provide positioning services for users. Therefore, when the positioning function fails, it needs to be adjusted. Since the application software of different mobile operating systems is incompatible with each other, for the iOS mobile operating system, the commonly used method is that the solution needs to install the ncm driver service corresponding to iOS on the Windows computer, and use the driver service to create a virtual network card, and then start the wintun network card of the Windows computer to communicate with the iOS terminal device through the underlying service of the driver service. The iOS terminal device sends the positioning modification information to the wintun network card, and the Windows computer forwards the positioning modification information to the ncm network card of the ncm driver service for positioning synchronization to complete the positioning adjustment.
[0044] However, the commonly used methods currently have the following technical problems: the ncm driver service can only be used on Windows computers with win10 and win11 installed, and cannot be installed on other operating devices, so the compatibility is low. Moreover, it can only communicate with one iOS terminal device at a time and perform positioning adjustments. The operation is cumbersome and the processing efficiency is low, making it difficult to meet the adjustment needs of existing mobile operating systems.
[0045] In order to solve the above problems, a positioning adjustment method, device, equipment and medium of a mobile operating system provided in an embodiment of the present application will be introduced and explained in detail through the following specific embodiments.
[0046] Reference Figure 1, showing a flow chart of a positioning adjustment method of a mobile operating system provided by an embodiment of the present invention.
[0047] The positioning adjustment method of the mobile operating system is suitable for use in operating devices such as PC terminals or PC computers.
[0048] Wherein, as an example, the positioning adjustment method of the mobile operating system may include:
[0049] S11, calling a preset driver installation tool to install a window driver on an operating device, so that the window driver installs a network configuration tool of a mobile operating system.
[0050] In one embodiment, the mobile operating system may be iOS. For the sake of convenience, the present invention is described using the mobile operating system of iOS 17.
[0051] In one practical operation mode, the window driver can be installed on the operating device, a PC.
[0052] In a specific operation mode, the Windows driver can be installed on the PC computer through the driver installation tool NcmdriverInstaller.exe. Among them, NcmdriverInstaller.exe can be a driver installation tool provided by iMyFone, which can install the driver file iMyFoneNCMDriver.inf on the user's PC computer.
[0053] It should be noted that this tool supports driver checking and installation based on the serial number of the relevant iOS17 terminal device.
[0054] Because the driver installation tool NcmdriverInstaller.exe supports driver checking and installation according to the relevant iOS17 terminal device serial number, after the window driver is successfully installed, the user's PC will automatically generate the virtual driver iMyFone Ncm Driver. The virtual driver iMyFone Ncm Driver can automatically install the network configuration tool on the user's PC. The network configuration tool can specifically be a network configuration software. The network configuration software includes: itunes for iOS17 terminal devices and SDK bonjour for iOS terminal devices.
[0055] S12: After establishing communication with one or more terminal devices installed with a mobile operating system using the network configuration tool, obtain the service port number of the mobile operating system by means of command line parameters.
[0056] After the user's PC has installed the above tools, drivers and software, the network configuration tool is used to establish communication with one or more terminal devices installed with the iOS17 mobile operating system. Specifically, the user's PC can establish communication with one or more terminal devices with the mobile operating system version of iOS17, so that the user's PC can obtain the service port number of iOS17 through command line parameters.
[0057] In an optional embodiment, the step of establishing communication with one or more terminal devices installed with a mobile operating system by using the network configuration tool may include the following sub-steps:
[0058] S121. Receive terminal broadcast messages sent by one or more terminal devices installed with a mobile operating system through the USB Ethernet technology of the network configuration tool.
[0059] S122. Extract the IPv6 address of each terminal device from the broadcast packet of the terminal broadcast message.
[0060] S123. Establish communication with each terminal device using the IPv6 address of each terminal device.
[0061] The above driver is installed to implement USB Ethernet technology, so that a series of broadcast messages sent by Apple devices can be received in this USB Ethernet.
[0062] Specifically, the USB Ethernet technology of the network configuration tool and the above-mentioned drivers can be used to receive terminal broadcast messages sent by one or more terminal devices installed with iOS17, and then the IPv6 address in the broadcast package corresponding to the required remote service can be obtained through the SDK bonjour network configuration software.
[0063] Finally, use the ipv6 address of each iOS17 terminal device to establish communication between the user's PC and each iOS17 terminal device. At this time, the user's PC can communicate and connect with multiple iOS17 terminal devices at the same time.
[0064] In an optional embodiment, the step of using the network configuration tool to establish communication with one or more terminal devices installed with a mobile operating system may include the following sub-steps:
[0065] S124. Transmit the IPv6 address to the quic tool in the network configuration tool in the form of a command line parameter, so that the quic tool communicates with the terminal device through the IPv6 address and obtains service information.
[0066] S125. Extract the port number of the untrusted auxiliary channel of the terminal device from the service information to obtain a service port number.
[0067] In a specific implementation, the ipv6 address can be passed to the quic tool as a command line parameter. The quic tool can be the redBullQuic program. The redBullQuic program mainly communicates with the daemon process remoted of the iOS17 terminal device through the obtained ipv6 address, so as to obtain relevant information of a series of services on the iOS17 terminal device, thereby obtaining service information.
[0068] Then, take out the port number of the untrusted auxiliary channel of the terminal device of iOS17 from the obtained service information to get the service port number.
[0069] Specifically, the port number of the untrusted auxiliary channel is the port number of the service com.apple.internal.dt.coredevice.untrusted.tunnelservice.
[0070] S13. Establish a quic protocol connection with each of the terminal devices using the service port number, and send a positioning adjustment data packet to each of the terminal devices based on the protocol of the quic protocol connection, so that each of the terminal devices performs positioning adjustment according to the positioning adjustment data packet.
[0071] Then, the service port number can be used to establish a quic protocol connection with each iOS17 terminal device, so as to communicate data and send and receive data packets with each iOS17 terminal device through the quic protocol, and then send a positioning adjustment data packet to each iOS17 terminal device, so that each iOS17 terminal device can adjust its positioning according to the positioning adjustment data packet.
[0072] Specifically, the positioning adjustment data packet can be sent to the iOS17 terminal device, and the iOS17 terminal device can replace its own positioning coordinates with the positioning adjustment data packet, thereby completing the positioning modification and adjustment.
[0073] In one embodiment, the establishing a QUIC protocol connection with each of the terminal devices using the service port number, and sending a positioning adjustment data packet to each of the terminal devices based on the protocol of the QUIC protocol connection may include the following sub-steps:
[0074] S131. After obtaining the connection port number of the quic protocol connection, establish a quic protocol connection with each of the terminal devices using the connection port number and the service port number.
[0075] S132. After creating the tun network card, continuously read the data packets passing through the tun network card and transmit the data packets to the daemon process of each of the terminal devices according to the protocol of the quic protocol connection to obtain the forwarding service port of each of the terminal devices.
[0076] S133: After establishing a service transmission channel for each of the terminal devices through the forwarding service port, send a positioning adjustment data packet to each of the terminal devices through the service transmission channel.
[0077] Specifically, after obtaining the service port number, the user's PC can establish trust with each iOS17 terminal device through this service port number. At this time, the user's PC can obtain the port that the quic protocol needs to connect to, and then establish a quic connection with each iOS17 terminal device.
[0078] Then the user's PC sends a request to obtain the tun network card. After receiving the tun network card information, it creates the tun network card and starts the task of continuously reading the data packets passing through the tun network card. Then, it forwards the data packets to each iOS17 terminal device through the quic protocol connection, and then maintains the quic connection by sending a heartbeat packet task to each iOS17 terminal device.
[0079] In the process of sending the heartbeat packet, the heartbeat packet passes through the tun network card and then connects to the lockdown daemon of each iOS17 terminal device, so that the forwarding service port of each iOS17 terminal device can be obtained through the lockdown daemon of each iOS17 terminal device. Specifically, the forwarding service port can be the com.apple.instruments.dtservicehub service port.
[0080] Then, through this forwarding service port, a service transmission channel can be established with each iOS17 terminal device. At this point, the positioning information of the PC can be obtained to construct a positioning adjustment data packet, and then the positioning adjustment data packet is sent to each iOS17 terminal device through this service transmission channel, so that each iOS17 terminal device can perform positioning adjustment.
[0081] In this embodiment, the embodiment of the present invention provides a method for adjusting the positioning of a mobile operating system, and its beneficial effects are: the present invention can call a preset driver installation tool to install a window driver on an operating device, so that the window driver installs a network configuration tool for a mobile operating system; after establishing communication with multiple terminal devices using the network configuration tool, the service port number of the mobile operating system is obtained by means of command line parameters; a quic protocol connection is established with each terminal device using the service port number, and a positioning adjustment data packet is sent to each terminal device based on the protocol of the quic protocol connection, so that each terminal device performs positioning adjustment according to the positioning adjustment data packet. The present invention can perform positioning adjustment according to the tool in operating devices of different systems, which can improve compatibility and facilitate users to make adjustments on different operating devices; and the present invention can adjust the positioning of multiple terminal devices at the same time, which can effectively shorten the adjustment processing time and improve processing efficiency.
[0082] The embodiment of the present invention also provides a positioning adjustment device for a mobile operating system, see Figure 2 , showing a schematic structural diagram of a positioning adjustment device for a mobile operating system provided by an embodiment of the present invention.
[0083] Wherein, as an example, the positioning adjustment device of the mobile operating system may include:
[0084] The driver installation module 201 is used to call a preset driver installation tool to install a window driver on the operating device, so that the window driver installs a network configuration tool of the mobile operating system;
[0085] The port number acquisition module 202 is used to acquire the service port number of the mobile operating system by means of command line parameters after establishing communication with one or more terminal devices installed with the mobile operating system using the network configuration tool;
[0086] The positioning adjustment module 203 is used to establish a quic protocol connection with each of the terminal devices using the service port number, and send a positioning adjustment data packet to each of the terminal devices based on the protocol of the quic protocol connection, so that each of the terminal devices performs positioning adjustment according to the positioning adjustment data packet.
[0087] In one implementation, the using the network configuration tool to establish communication with one or more terminal devices installed with a mobile operating system includes:
[0088] Receiving terminal broadcast messages sent by one or more terminal devices installed with a mobile operating system through the USB Ethernet technology of the network configuration tool;
[0089] Extracting the IPv6 address of each terminal device from the broadcast packet of the terminal broadcast message;
[0090] The communication is established with each terminal device using the ipv6 address of each terminal device.
[0091] In one implementation, obtaining the service port number of the mobile operating system through command parameters includes:
[0092] Transmitting the IPv6 address to the quic tool in the network configuration tool in the form of a command line parameter, so that the quic tool communicates with the terminal device through the IPv6 address and obtains service information;
[0093] The port number of the untrusted auxiliary channel of the terminal device is extracted from the service information to obtain a service port number.
[0094] In one implementation, establishing a quic protocol connection with each of the terminal devices by using the service port number, and sending a positioning adjustment data packet to each of the terminal devices based on a protocol of the quic protocol connection includes:
[0095] After obtaining the connection port number of the quic protocol connection, using the connection port number and the service port number to establish a quic protocol connection with each of the terminal devices;
[0096] After creating the tun network card, continuously read the data packets passing through the tun network card and transmit the data packets to the daemon process of each terminal device according to the protocol of the quic protocol connection to obtain the forwarding service port of each terminal device;
[0097] After a service transmission channel for each of the terminal devices is established through the forwarding service port, a positioning adjustment data packet is sent to each of the terminal devices through the service transmission channel.
[0098] Those skilled in the art can clearly understand that, for the sake of convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0099] Furthermore, an embodiment of the present application also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the positioning adjustment method of the mobile operating system as described in the above embodiment is implemented.
[0100] Furthermore, an embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer-executable program, and the computer-executable program is used to enable a computer to execute the positioning adjustment method of the mobile operating system as described in the above embodiment.
[0101] It should be noted that the orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. When an element such as a layer, region or substrate is referred to as being "on" or "above" another element, it can be directly on the other element, or there can also be an intermediate element. On the contrary, when an element is referred to as "directly on" or "above" another element, there is no intermediate element. It should also be understood that when an element is referred to as being "under" or "below" another element, it can be directly under or below the other element, or there can also be an intermediate element. On the contrary, when an element is referred to as being "directly under" or "below" another element, there is no intermediate element. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0102] Those skilled in the art will appreciate that the embodiments of the present application may also provide computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program codes.
[0103] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), apparatuses, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0104] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0105] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0106] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A positioning adjustment method for a mobile operating system, It is characterized in that The method comprises: Calling a preset driver installation tool to install a window driver on the operating device, so that the window driver installs a network configuration tool of the mobile operating system; After establishing communication with one or more terminal devices installed with the mobile operating system using the network configuration tool, obtaining the service port number of the mobile operating system by means of command line parameters; A quic protocol connection is established with each of the terminal devices using the service port number, and a positioning adjustment data packet is sent to each of the terminal devices based on the protocol of the quic protocol connection, so that each of the terminal devices performs positioning adjustment according to the positioning adjustment data packet.
2. The method for adjusting the positioning of a mobile operating system according to claim 1, It is characterized in that The using the network configuration tool to establish communication with one or more terminal devices installed with a mobile operating system includes: Receiving terminal broadcast messages sent by one or more terminal devices installed with a mobile operating system through the USB Ethernet technology of the network configuration tool; Extracting the IPv6 address of each terminal device from the broadcast packet of the terminal broadcast message; The communication is established with each terminal device using the ipv6 address of each terminal device.
3. The method for adjusting the positioning of a mobile operating system according to claim 2, It is characterized in that The method of obtaining the service port number of the mobile operating system through command parameters includes: Transmitting the IPv6 address to the quic tool in the network configuration tool in the form of a command line parameter, so that the quic tool communicates with the terminal device through the IPv6 address and obtains service information; The port number of the untrusted auxiliary channel of the terminal device is extracted from the service information to obtain a service port number.
4. The method for adjusting the positioning of a mobile operating system according to claim 1, It is characterized in that The method of establishing a quic protocol connection with each of the terminal devices by using the service port number, and sending a positioning adjustment data packet to each of the terminal devices based on a protocol of the quic protocol connection includes: After obtaining the connection port number of the quic protocol connection, using the connection port number and the service port number to establish a quic protocol connection with each of the terminal devices; After creating the tun network card, continuously read the data packets passing through the tun network card and transmit the data packets to the daemon process of each terminal device according to the protocol of the quic protocol connection to obtain the forwarding service port of each terminal device; After a service transmission channel for each of the terminal devices is established through the forwarding service port, a positioning adjustment data packet is sent to each of the terminal devices through the service transmission channel.
5. A positioning adjustment device for a mobile operating system, It is characterized in that The device comprises: A driver installation module, used to call a preset driver installation tool to install a window driver on the operating device, so that the window driver installs a network configuration tool of the mobile operating system; A port number acquisition module, used to acquire the service port number of the mobile operating system by means of command line parameters after establishing communication with one or more terminal devices installed with the mobile operating system using the network configuration tool; The positioning adjustment module is used to establish a quic protocol connection with each of the terminal devices using the service port number, and send a positioning adjustment data packet to each of the terminal devices based on the protocol of the quic protocol connection, so that each of the terminal devices performs positioning adjustment according to the positioning adjustment data packet.
6. The positioning adjustment device for a mobile operating system according to claim 5, It is characterized in that The using the network configuration tool to establish communication with one or more terminal devices installed with a mobile operating system includes: Receiving terminal broadcast messages sent by one or more terminal devices installed with a mobile operating system through the USB Ethernet technology of the network configuration tool; Extracting the IPv6 address of each terminal device from the broadcast packet of the terminal broadcast message; The communication is established with each terminal device using the ipv6 address of each terminal device.
7. The positioning adjustment device for a mobile operating system according to claim 6, It is characterized in that The method of obtaining the service port number of the mobile operating system through command parameters includes: Transmitting the IPv6 address to the quic tool in the network configuration tool in the form of a command line parameter, so that the quic tool communicates with the terminal device through the IPv6 address and obtains service information; The port number of the untrusted auxiliary channel of the terminal device is extracted from the service information to obtain a service port number.
8. The positioning adjustment device for a mobile operating system according to claim 5, It is characterized in that The method of establishing a quic protocol connection with each of the terminal devices by using the service port number, and sending a positioning adjustment data packet to each of the terminal devices based on a protocol of the quic protocol connection includes: After obtaining the connection port number of the quic protocol connection, using the connection port number and the service port number to establish a quic protocol connection with each of the terminal devices; After creating the tun network card, continuously read the data packets passing through the tun network card and transmit the data packets to the daemon process of each terminal device according to the protocol of the quic protocol connection to obtain the forwarding service port of each terminal device; After a service transmission channel for each of the terminal devices is established through the forwarding service port, a positioning adjustment data packet is sent to each of the terminal devices through the service transmission channel.
9. An electronic device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the positioning adjustment method for a mobile operating system as described in any one of claims 1 to 4 is implemented.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the positioning adjustment method for a mobile operating system as described in any one of claims 1-4.
Citation Information
Patent Citations
IP transparent transmission method and system based on UDP and QUIC protocols
CN115604339A
Data transmission method, device and equipment based on iOS equipment and storage medium
CN116963312A
Communication method and device for different system devices, equipment and storage medium
CN117640723A
Communication method and device based on iOS17, electronic terminal and storage medium
CN118158080A
