WiFi network dynamic change coding and decoding processing method and device, medium and equipment

By dynamically adjusting encoding and decoding modes based on network signal strength, the method stabilizes image data transmission quality in WiFi networks, addressing fluctuations and maintaining high-quality image display.

CN119110333APending Publication Date: 2024-12-10XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411118389.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

Image data transmission in WiFi networks is affected by fluctuating network signal strength, leading to instability and reduced quality, especially in wide area networks, where bandwidth limitations and distance further exacerbate these issues.

Method used

A method and device for dynamically adjusting encoding and decoding modes based on real-time network signal strength analysis, using a master control module to determine appropriate encoding and decoding methods for terminals connected to different WiFi networks, including stable and fluctuating states, to maintain image data quality.

Benefits of technology

Stabilizes image data quality transmission by adapting encoding and decoding modes to match current network conditions, ensuring stable and high-quality image display despite fluctuating WiFi signal strengths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119110333A_ABST
    Figure CN119110333A_ABST
Patent Text Reader

Abstract

The invention relates to a WiFi network dynamic change coding and decoding processing method and device, a medium and equipment. Comprising the following steps: accessing an acquisition zero terminal to a first local wireless WiFi network corresponding to the acquisition zero terminal, and acquiring first current network signal strength of the first local wireless WiFi network; the receiving zero terminal is accessed to a second local wireless WiFi network corresponding to the receiving zero terminal, and the second local wireless WiFi network is acquired; comparing the first current network signal strength with a preset network signal strength threshold to generate a first network signal strength record table; comparing the second current network signal intensity with a preset network signal intensity threshold value, and generating a second network signal intensity record table; reporting the first network signal strength record table and the second network signal strength record table to a master control module; and the master control module determines the network signal condition of the first local wireless WiFi network according to the first network signal strength record table so as to determine a corresponding coding mode. According to the invention, stable transmission of image data can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Common image acquisition and transmission is carried out in a wired LAN with a guaranteed bandwidth, and the image quality is guaranteed to a certain extent. However, when transmitting in a wide area network, a constant bandwidth is required, and it is limited by distance and has high costs. The transmission speed of image data is slow and the image quality will be affected. For example, when transmitting in a WiFi network, the image data quality is even less guaranteed.

[0003] Therefore, it is necessary to provide a new technical solution to improve one or more problems existing in the above solutions.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of this application is to provide a method, device, medium and equipment for processing dynamically changing encoding and decoding of a WiFi network, thereby overcoming one or more problems caused by limitations and defects of related technologies at least to a certain extent.

[0006] According to a first aspect of an embodiment of the present application, a method for processing dynamically changing codecs in a WiFi network is provided, the method comprising:

[0007] The collecting zero terminal is connected to a first local wireless WiFi network corresponding to it, and a first current network signal strength of the first local wireless WiFi network is obtained; and the receiving zero terminal is connected to a second local wireless WiFi network corresponding to it, and the second local wireless WiFi network is obtained;

[0008] and comparing the first current network signal strength with a preset network signal strength threshold to generate a first network signal strength record table; and comparing the second current network signal strength with a preset network signal strength threshold to generate a second network signal strength record table; wherein the first network signal strength record table includes the first current network signal strength and the corresponding signal strength level, and the second network signal strength record table includes the second current network signal strength and the corresponding signal strength level;

[0009] Reporting the first network signal strength record table and the second network signal strength record table to the general control module;

[0010] The master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method.

[0011] In an embodiment of the present application, the master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method, including:

[0012] When the network signal condition of the first local wireless WiFi network is in a stable state, and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends an instruction of the original encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the original encoding mode for encoding; and the master control module sends an instruction of the small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0013] In an embodiment of the present application, the master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method, including:

[0014] When the network signal condition of the first local wireless WiFi network is in a fluctuating state, and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0015] In an embodiment of the present application, the master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method, including:

[0016] When the network signal condition of the first local wireless WiFi network is in a fluctuating state, and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0017] In an embodiment of the present application, the master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method, including:

[0018] When the network signal condition of the first local wireless WiFi network is in a stable state, and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of a high-quality data volume encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the high-quality data volume encoding mode for encoding; and the master control module sends an instruction of a high-quality data volume decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the high-quality data volume decoding mode for decoding.

[0019] According to a second aspect of an embodiment of the present application, a device for processing dynamically changing codecs in a WiFi network is provided, the device comprising:

[0020] A first WiFi module is used to connect the collecting zero terminal to a first local wireless WiFi network corresponding thereto, and obtain a first current network signal strength of the first local wireless WiFi network; and a second WiFi module is used to connect the receiving zero terminal to a second local wireless WiFi network corresponding thereto, and obtain the second local wireless WiFi network;

[0021] A first comparison generation module, used to compare the first current network signal strength with a preset network signal strength threshold to generate a first network signal strength record table; and a second comparison generation module, used to compare the second current network signal strength with a preset network signal strength threshold to generate a second network signal strength record table; wherein the first network signal strength record table includes the first current network signal strength and the corresponding signal strength level, and the second network signal strength record table includes the second current network signal strength and the corresponding signal strength level;

[0022] A reporting module, used to report the first network signal strength record table and the second network signal strength record table to a general control module;

[0023] The master control module is used to determine the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determine the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method.

[0024] In an embodiment of the present application, the device further includes:

[0025] The first master control submodule is used for, when the network signal condition of the first local wireless WiFi network is in a stable state and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends the instruction of the original encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the original encoding mode for encoding; and the master control module sends the instruction of the small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0026] In an embodiment of the present application, the device further includes:

[0027] The second master control submodule is used for, when the network signal condition of the first local wireless WiFi network is in a fluctuating state and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0028] According to a third aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of the method for processing dynamically changing encoding and decoding of a WiFi network described in any one of the above embodiments are implemented.

[0029] According to a fourth aspect of an embodiment of the present application, there is provided an electronic device, including:

[0030] Processor; and

[0031] A memory, configured to store executable instructions of the processor;

[0032] The processor is configured to execute the steps of the method for processing dynamically changing encoding and decoding of a WiFi network in any one of the above embodiments by executing the executable instructions.

[0033] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0034] In one embodiment of the present application, through the above method, the first current network signal strength is compared with the preset network signal strength threshold, and a first network signal strength record table is generated; the second current network signal strength is compared with the preset network signal strength threshold, and a second network signal strength record table is generated; the main control module determines the network signal status of the first local wireless WiFi network through the first network signal strength record table, determines the corresponding encoding method to encode different quality data; determines the network signal status of the second local wireless WiFi network through the second network signal strength record table, and determines the corresponding decoding method to decode different quality data. Through this application, when image data is transmitted over a wide area network under a WiFi wireless network, the stability of image data quality transmission can be achieved.

[0035] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 A flowchart schematically showing a method for dynamically changing encoding and decoding of a WiFi network in an exemplary embodiment of the present application;

[0038] Figure 2 A schematic diagram of a system for dynamically changing encoding and decoding processing of a WiFi network in an exemplary embodiment of the present application is schematically shown;

[0039] Figure 3 A block diagram of a WiFi network dynamic change codec processing device in an exemplary embodiment of the present application is schematically shown;

[0040] Figure 4 A schematic diagram of a program product in an exemplary embodiment of the present application is schematically shown;

[0041] Figure 5 A schematic diagram of an electronic device in an exemplary embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0042] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0043] In addition, the accompanying drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0044] This example implementation first provides a method for processing dynamically changing WiFi network codecs. Figure 1 As shown in , the method includes steps S101 to S104.

[0045] Among them, step S101: connecting the collection zero terminal to the corresponding first local wireless WiFi network and obtaining the first current network signal strength of the first local wireless WiFi network; and connecting the receiving zero terminal to the corresponding second local wireless WiFi network and obtaining the second local wireless WiFi network.

[0046] Step S102: Compare the first current network signal strength with the preset network signal strength threshold to generate a first network signal strength record table; and, compare the second current network signal strength with the preset network signal strength threshold to generate a second network signal strength record table; wherein the first network signal strength record table includes the first current network signal strength and the corresponding signal strength level, and the second network signal strength record table includes the second current network signal strength and the corresponding signal strength level.

[0047] Step S103: reporting the first network signal strength record table and the second network signal strength record table to the general control module.

[0048] Step S104: The master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method.

[0049] In one embodiment of the present application, through the above method, the first current network signal strength is compared with the preset network signal strength threshold, and a first network signal strength record table is generated; the second current network signal strength is compared with the preset network signal strength threshold, and a second network signal strength record table is generated; the main control module determines the network signal status of the first local wireless WiFi network through the first network signal strength record table, determines the corresponding encoding method to encode different quality data; determines the network signal status of the second local wireless WiFi network through the second network signal strength record table, and determines the corresponding decoding method to decode different quality data. Through this application, when image data is transmitted over a wide area network under a WiFi wireless network, the stability of image data quality transmission can be achieved.

[0050] Next, we will refer to Figure 2 Each step of the above method in this example implementation is described in more detail.

[0051] In step S101, the collecting zero terminal is connected to the first local wireless WiFi network corresponding to it, and the first current network signal strength of the first local wireless WiFi network is obtained; and the receiving zero terminal is connected to the second local wireless WiFi network corresponding to it, and the second local wireless WiFi network is obtained.

[0052] It is understandable that the network scenario in this application is a wide area network environment, such as Figure 2 As shown, the acquisition zero terminal, that is, the S end, is used to acquire remote image data. The image source of the image data is a wired local area network. A first WiFi module is set in the acquisition zero terminal. The first WiFi module can enable the acquisition zero terminal to access the first local wireless WiFi network of the acquisition source. After the acquisition zero terminal acquires the image data, since the encoding module is located in the acquisition zero terminal, the image data is encoded by the encoding module of the acquisition zero terminal. The generated encoded data is transmitted from wireless to wired and then to the receiving zero terminal, that is, the R end, for decoding and display; the R end is the receiving zero terminal. A second WiFi module is set in the receiving zero terminal. The second WiFi module can enable the receiving zero terminal to access the second local wireless WiFi network of the R end. The decoding module is located in the receiving zero terminal. The encoded image data is decoded and displayed by the decoding module of the receiving zero terminal.

[0053] In step S102, the first current network signal strength is compared with the preset network signal strength threshold to generate a first network signal strength record table; and the second current network signal strength is compared with the preset network signal strength threshold to generate a second network signal strength record table; wherein the first network signal strength record table includes the first current network signal strength and the corresponding signal strength level, and the second network signal strength record table includes the second current network signal strength and the corresponding signal strength level.

[0054] It is understandable that when image data is being transmitted, the network status of the acquisition zero terminal and the network status of the receiving zero terminal will have different performances. If the network signal of the first local wireless WiFi network fluctuates, it will affect the transmission of image data, and the image screen of the receiving zero terminal will be displayed abnormally. Therefore, a function is added to the first WiFi module, that is, to statistically compare the first current network signal strength with the preset network signal strength threshold at any time, and generate a first network signal strength record table. Since the first network signal strength record table includes the first current network signal strength and the corresponding signal strength level. Therefore, the first current network signal strength and the signal strength level corresponding to the first current network signal strength can be obtained through the first network signal strength record table. The higher the value of the first current network signal strength, the stronger the received signal, and vice versa, the lower the received signal strength.

[0055] It should be noted that the first current network signal strength can be calculated by the first WiFi module through its own algorithm. The preset network signal strength threshold is the signal threshold planned during program design. The signal strength level corresponding to the first current network signal strength includes a high level and a low level.

[0056] In one embodiment, when the first current network signal strength is greater than a preset network signal strength threshold, the signal strength level corresponding to the first network signal strength is a high level; when the first current network signal strength is less than the preset network signal strength threshold, the signal strength level corresponding to the first network signal strength is a low level.

[0057] In one example, the preset network signal strength threshold may be -55dbm. When the first current network signal strength is greater than -55dbm, the signal strength level corresponding to the first network signal strength is a high level; when the first current network signal strength is less than -55dbm, the signal strength level corresponding to the first network signal strength is a low level. The specific setting of the preset network signal strength threshold may be set according to actual conditions, and this application does not impose any limitation on this.

[0058] Similarly, the same function is added to the second WiFi module, that is, the second current network signal strength is statistically compared with the preset network signal strength threshold at any time, and a second network signal strength record table is generated. Since the second network signal strength record table includes the second current network signal strength and the corresponding signal strength level. Therefore, the second current network signal strength and the signal strength level corresponding to the second current network signal strength can be obtained through the second network signal strength record table. The higher the value of the second current network signal strength, the stronger the received signal, and vice versa, the lower the received signal strength.

[0059] When the network signal of the second local wireless WiFi network connected to the R end fluctuates, resulting in unstable received image data, the decoding mode can be adjusted according to the second current network signal strength provided by the second network signal strength record table and the signal strength level corresponding to the second current network signal strength. High-quality data is decoded and displayed in YUV444, and general quality data is decoded and displayed in YUV420. Changes in the encoding and decoding mode are predicted in advance based on fluctuations in the network signal. Among them, general quality data is also a small amount of data.

[0060] It should be noted that the second current network signal strength can be calculated by the second WiFi module through its own algorithm. The preset network signal strength threshold is the signal threshold planned during program design. The signal strength level corresponding to the second current network signal strength includes a high level and a low level.

[0061] In one embodiment, when the second current network signal strength is greater than the preset network signal strength threshold, the signal strength level corresponding to the second network signal strength is a high level; when the second current network signal strength is less than the preset network signal strength threshold, the signal strength level corresponding to the second network signal strength is a low level.

[0062] In one example, when the preset network signal strength threshold is -55dbm, when the second current network signal strength is greater than -55dbm, the signal strength level corresponding to the second network signal strength is a high level; when the second current network signal strength is less than -55dbm, the signal strength level corresponding to the second network signal strength is a low level.

[0063] In step S103, the first network signal strength record table and the second network signal strength record table are reported to the general control module.

[0064] It can be understood that in order to perform encoding / decoding control based on WiFi network signal strength analysis on the collection zero terminal and the receiving zero terminal, a general control module is set in the collection zero terminal, and the general control module is used to obtain the first network signal strength record table generated by the first WiFi module on the S end, and to receive the second network signal strength record table generated and sent by the second WiFi module on the R end; thereafter, according to the first current network signal strength in the first WiFi network signal strength record table and the signal strength level corresponding to the first current network signal strength, the encoding method is adjusted in time, and according to the second current network signal strength in the second WiFi network signal strength record table and the signal strength level corresponding to the second current network signal strength, the decoding method is adjusted in time.

[0065] In step S104, the master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method.

[0066] It can be understood that the acquisition zero terminal receives the first network signal strength record table reported by the first WiFi module and the second network signal strength record table reported by the second WiFi module through the general control module, and determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to adjust the encoding method; determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table, and determines whether the current network signals of the acquisition zero terminal and the receiving zero terminal are in a stable state or a fluctuating state to adjust the decoding method.

[0067] The encoding mode includes a small data amount encoding mode and a high quality data encoding mode, and the decoding mode includes a small data amount decoding mode and a high quality data decoding mode. The process of adjusting the encoding mode and the decoding mode is specifically referred to the following steps included in step S104:

[0068] In step S1041, when the network signal condition of the first local wireless WiFi network is in a stable state, and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends an instruction of the original encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the original encoding mode for encoding; and the master control module sends an instruction of the small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0069] It is understandable that when the network signal condition of the first local wireless WiFi network is in a stable state, it proves that the network signal is good, so the original encoding mode is a high-quality data encoding mode, that is, a large data volume encoding mode, so the acquisition zero terminal uses the original encoding mode to encode the image data to achieve high-quality encoding of the image data. When the network signal condition of the second local wireless WiFi network is in a fluctuating state, it proves that the network signal is unstable, so the receiving zero terminal needs to use a small data volume decoding mode to decode the encoded image data to match the current network state and achieve stable decoding of the encoded image data.

[0070] It should be noted that when the acquisition zero terminal uses the original encoding mode to encode the image data, since the encoding module is located in the acquisition zero terminal, the encoding module in the acquisition zero terminal uses the original encoding mode to encode the image data. When the receiving zero terminal uses the small data amount decoding mode to decode the encoded image data, the decoding module in the receiving zero terminal uses the small data amount decoding mode to decode the encoded image data.

[0071] In step S1042, when the network signal condition of the first local wireless WiFi network is in a fluctuating state, and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0072] It is understandable that when the network signal condition of the first local wireless WiFi network is in a fluctuating state, it proves that the network signal is unstable, and therefore, it is necessary to encode the image data in a small data volume encoding mode to achieve stable transmission of the encoded image data. When the network signal condition of the second local wireless WiFi network is in a stable state, it proves that the network signal is stable, but since the acquisition zero terminal encodes in a small data volume encoding mode, the encoded image data will be transmitted more slowly, and therefore it is necessary to decode the encoded image data in a small data volume decoding mode to match the transmission speed during small data encoding, and achieve stable decoding of the encoded image data.

[0073] It should be noted that when the acquisition zero terminal uses the small data amount encoding mode to encode the image data, since the encoding module is located in the acquisition zero terminal, it is the encoding module in the acquisition zero terminal that encodes the image data using the small data amount encoding mode. When the receiving zero terminal uses the small data amount decoding mode to decode the encoded image data, it is the decoding module in the receiving zero terminal that decodes the encoded image data using the small data amount decoding mode.

[0074] In step S1043, when the network signal condition of the first local wireless WiFi network is in a fluctuating state, and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0075] It is understandable that when the network signal condition of the first local wireless WiFi network is in a fluctuating state, it proves that the network signal is unstable, and therefore, it is necessary to encode the image data in a small data volume encoding mode to achieve stable transmission of the encoded image data. When the network signal condition of the second local wireless WiFi network is in a fluctuating state, it proves that the network signal is unstable, and therefore, it is necessary to decode the encoded image data in a small data volume decoding mode to match the current network state and achieve stable decoding of the encoded image data.

[0076] It should be noted that when the acquisition zero terminal uses the small data amount encoding mode to encode the image data, since the encoding module is located in the acquisition zero terminal, it is the encoding module in the acquisition zero terminal that encodes the image data using the small data amount encoding mode. When the receiving zero terminal uses the small data amount decoding mode to decode the encoded image data, it is the decoding module in the receiving zero terminal that decodes the encoded image data using the small data amount decoding mode.

[0077] In step S1044, when the network signal condition of the first local wireless WiFi network is in a stable state, and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of a high-quality data volume encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the high-quality data volume encoding mode for encoding; and, the master control module sends an instruction of a high-quality data volume decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the high-quality data volume decoding mode for decoding.

[0078] It can be understood that the network signal condition of the first local wireless WiFi network is in a stable state, which proves that the network signal is good, so the original encoding mode is a high-quality data encoding mode, that is, a large data volume encoding mode, to achieve high-quality encoding of the image data. The network signal condition of the second local wireless WiFi network is in a stable state, which proves that the network signal is stable, therefore, it is necessary to decode the encoded image data in a high-quality data volume decoding mode to match the current network state and achieve stable decoding of the encoded image data.

[0079] It should be noted that when the acquisition zero terminal uses the original encoding mode to encode the image data, since the encoding module is located in the acquisition zero terminal, the encoding module in the acquisition zero terminal uses the original encoding mode to encode the image data. When the receiving zero terminal uses the high-quality data volume decoding mode to decode the encoded image data, the decoding module in the receiving zero terminal uses the high-quality data volume decoding mode to decode the encoded image data.

[0080] It should be noted that, although the steps of the method in the present application are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc. In addition, it is also easy to understand that these steps may be, for example, executed synchronously or asynchronously in multiple modules / processes / threads.

[0081] Furthermore, in this exemplary embodiment, a device for processing dynamically changing codecs in a WiFi network is also provided. Figure 3 As shown in , the device 100 includes a first WiFi module 110, a second WiFi module 120, a first comparison generation module 130, a second comparison generation module 140, a reporting module and a general control module. Among them: the first WiFi module 110 is used to connect the collecting zero terminal to the first local wireless WiFi network corresponding to it, and obtain the first current network signal strength of the first local wireless WiFi network; and the second WiFi module 120 is used to connect the receiving zero terminal to the second local wireless WiFi network corresponding to it, and obtain the second local wireless WiFi network; the first comparison generation module 130 is used to compare the first current network signal strength with the preset network signal strength threshold to generate a first network signal strength record table; and the second comparison generation module 140 is used to compare the second current network signal strength with the preset network signal strength threshold to generate a first network signal strength record table. Two network signal strength record tables; wherein the first network signal strength record table includes the first current network signal strength and the corresponding signal strength level, and the second network signal strength record table includes the second current network signal strength and the corresponding signal strength level; a reporting module 150 is used to report the first network signal strength record table and the second network signal strength record table to the general control module; the general control module 160 is used to determine the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determine the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method.

[0082] In one embodiment, the apparatus further comprises:

[0083] The first master control submodule is used for, when the network signal condition of the first local wireless WiFi network is in a stable state and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends the instruction of the original encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the original encoding mode for encoding; and the master control module sends the instruction of the small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0084] In one embodiment, the apparatus further comprises:

[0085] The second master control submodule is used for, when the network signal condition of the first local wireless WiFi network is in a fluctuating state and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0086] In one embodiment, the apparatus further comprises:

[0087] The third master control submodule is used for, when the network signal condition of the first local wireless WiFi network is in a fluctuating state, and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

[0088] In one embodiment, the apparatus further comprises:

[0089] The fourth master control submodule is used for, when the network signal condition of the first local wireless WiFi network is in a stable state, and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of the high-quality data volume encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the high-quality data volume encoding mode for encoding; and the master control module sends an instruction of the high-quality data volume decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the high-quality data volume decoding mode for decoding.

[0090] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0091] In an exemplary embodiment of the present application, a computer-readable storage medium is also provided, on which a computer program is stored, and when the program is included in a processor and executed, the steps of the method for processing the dynamic change of the codec in the WiFi network described in any of the above embodiments can be implemented. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the method for processing the dynamic change of the codec in the WiFi network described in the above section of this specification.

[0092] refer to Figure 4 As shown, a program product 500 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0093] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0094] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0095] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0096] In an exemplary embodiment of the present application, an electronic device is further provided, which may include a processor and a memory for storing executable instructions of the processor, wherein the processor is configured to execute the steps of the method for processing dynamically changing WiFi network codecs in any of the above embodiments by executing the executable instructions.

[0097] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0098] Refer to the following Figure 5 The electronic device 600 according to this embodiment of the present invention is described. Figure 5 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0099] like Figure 5 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0100] The storage unit stores a program code, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps of various exemplary embodiments of the present invention described in the above-mentioned WiFi network dynamic change codec processing method part of this specification. For example, the processing unit 610 can perform the following steps: Figure 1 Follow the steps shown in .

[0101] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0102] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0103] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0104] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0105] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation method of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server or a network device, etc.) to execute the above-mentioned WiFi network dynamic change encoding and decoding processing method according to the implementation method of the present application.

[0106] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the implementation mode of the present application, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units for concretization. The components displayed as modules or units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present application scheme. Those of ordinary skill in the art can understand and implement it without paying creative work.

[0107] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application.

Claims

1. A method for processing dynamically changing encoding and decoding of a WiFi network, characterized in that: The method includes: The collecting zero terminal is connected to a first local wireless WiFi network corresponding to it, and a first current network signal strength of the first local wireless WiFi network is obtained; and the receiving zero terminal is connected to a second local wireless WiFi network corresponding to it, and the second local wireless WiFi network is obtained; Compare the first current network signal strength with a preset network signal strength threshold to generate a first network signal strength record table; and compare the second current network signal strength with a preset network signal strength threshold to generate a second network signal strength record table; wherein the first network signal strength record table includes the first current network signal strength and the corresponding signal strength level, and the second network signal strength record table includes the second current network signal strength and the corresponding signal strength level; Reporting the first network signal strength record table and the second network signal strength record table to the general control module; The master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method.

2. The method for processing dynamically changing WiFi network codecs according to claim 1, characterized in that: The master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method, including: When the network signal condition of the first local wireless WiFi network is in a stable state, and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends an instruction of the original encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the original encoding mode for encoding; and the master control module sends an instruction of the small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

3. The method for processing dynamically changing WiFi network codecs according to claim 1, characterized in that: The master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method, including: When the network signal condition of the first local wireless WiFi network is in a fluctuating state, and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

4. The method for processing dynamically changing WiFi network codecs according to claim 1, characterized in that: The master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method, including: When the network signal condition of the first local wireless WiFi network is in a fluctuating state, and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

5. The method for processing dynamically changing WiFi network codecs according to claim 1, characterized in that: The master control module determines the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determines the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method, including: When the network signal condition of the first local wireless WiFi network is in a stable state, and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of a high-quality data volume encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the high-quality data volume encoding mode for encoding; and the master control module sends an instruction of a high-quality data volume decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the high-quality data volume decoding mode for decoding.

6. A WiFi network dynamic change codec processing device, characterized in that: The device includes: A first WiFi module is used to connect the collecting zero terminal to a first local wireless WiFi network corresponding thereto, and obtain a first current network signal strength of the first local wireless WiFi network; and a second WiFi module is used to connect the receiving zero terminal to a second local wireless WiFi network corresponding thereto, and obtain the second local wireless WiFi network; A first comparison generation module, used to compare the first current network signal strength with a preset network signal strength threshold to generate a first network signal strength record table; and a second comparison generation module, used to compare the second current network signal strength with a preset network signal strength threshold to generate a second network signal strength record table; wherein the first network signal strength record table includes the first current network signal strength and the corresponding signal strength level, and the second network signal strength record table includes the second current network signal strength and the corresponding signal strength level; A reporting module, used to report the first network signal strength record table and the second network signal strength record table to a general control module; The master control module is used to determine the network signal status of the first local wireless WiFi network according to the first network signal strength record table to determine the corresponding encoding method; and determine the network signal status of the second local wireless WiFi network according to the second network signal strength record table to determine the corresponding decoding method.

7. The WiFi network dynamic change codec processing device according to claim 6, characterized in that: The device also includes: The first master control submodule is used for, when the network signal condition of the first local wireless WiFi network is in a stable state and the network signal condition of the second local wireless WiFi network is in a fluctuating state, the master control module sends the instruction of the original encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the original encoding mode for encoding; and the master control module sends the instruction of the small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

8. The WiFi network dynamic change codec processing device according to claim 6, characterized in that: The device also includes: The second master control submodule is used for, when the network signal condition of the first local wireless WiFi network is in a fluctuating state and the network signal condition of the second local wireless WiFi network is in a stable state, the master control module sends an instruction of a small data amount encoding mode to the acquisition zero terminal, so that the acquisition zero terminal adopts the small data amount encoding mode for encoding; and the master control module sends an instruction of a small data amount decoding mode to the receiving zero terminal, so that the receiving zero terminal adopts the small data amount decoding mode for decoding.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for processing dynamically changing encoding and decoding of a WiFi network as described in any one of claims 1 to 5 are implemented.

10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the steps of the method for processing dynamically changing WiFi network codecs according to any one of claims 1 to 5 by executing the executable instructions.