Communication resource collaboration method and electronic device
By using low-latency service devices to coordinate with other devices to release communication resources, select appropriate channels and broadcast requests, the problems of increased latency and instability caused by multiple devices competing for resources are solved, and user experience and data interaction efficiency are improved.
Patent Information
- Application Number
- CN202110871914.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-03-30
- Filing Date
- 2021-07-30
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2041-07-30
AI Technical Summary
When multiple electronic devices compete for limited wireless communication resources, the interaction process of low-latency services increases latency and becomes unstable, affecting user experience, especially for devices running low-latency services.
The low-latency service device instructs devices that are not running low-latency services to release communication resources, selects the channel with the least number of electronic devices, and broadcasts a communication resource release request on the control or out-of-band channel to ensure that it obtains more communication resources.
It improves the user experience of low-latency business devices, reduces the delay and instability of the interaction process by optimizing the allocation of communication resources, and improves the efficiency of data interaction between devices.
Smart Images

Figure CN115150897B_ABST
Abstract
Description
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 30, 2021, with application number 2021103436559 and application name “Communication Resource Collaboration Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of electronic technology, and in particular to a communication resource collaboration method and electronic equipment. Background Art
[0003] With the advancement of communication technology and the widespread adoption of smart devices, the era of the artificial intelligence and internet of things (AIoT) is approaching. Thanks to the improved distributed interconnectivity of operating systems, devices such as smart wearables, smart home appliances, and mobile terminals can exchange data over the network and collaborate to achieve specific functions based on this data exchange.
[0004] Electronic devices such as smart wearables, smart home appliances, and mobile terminals can already exchange data over wireless networks. However, compared to the communication resources required by multiple electronic devices, the available communication resources in space are limited. For example, when multiple devices access a wireless network provided by the same access device, they must compete for limited wireless air interface resources to exchange data. If an electronic device fails to compete for wireless air interface resources, it temporarily stores the data waiting to be sent locally until it succeeds again.
[0005] Because devices must compete for limited communication resources, this competition inevitably increases latency during device interactions and can lead to latency instability. When low-latency services are running on a device, the increased and unstable latency significantly degrades the user experience. However, when non-low-latency services are running on a device, the increased and unstable latency is less noticeable to users, resulting in a smaller impact on the user experience.
[0006] For example, device 1 and device 2 are each exchanging data on channel 1. During a certain period of time, the latency of wireless channel 1 is approximately 500ms. Device 1 is running a screen projection service (a low-latency service), while device 2 is running a download service (a non-low-latency service). The latency of channel 1 cannot meet the requirements of the screen projection service, while the latency of channel 1 can meet the requirements of the download service. Users can clearly perceive the lag of the screen projection service, but it is difficult to perceive the lag of the download service.
[0007] After a device connects to a wireless network, if the service experience on the device does not meet its needs, it can proactively switch channels. For this device, the communication quality of the channel after the switch may be worse than that of the channel before the switch. Data exchange on the switched channel will increase interaction latency and cause instability. For electronic devices running low-latency services, choosing to proactively switch channels may degrade the user experience. Summary of the Invention
[0008] An embodiment of the present application provides a communication resource collaboration method, which includes: a device running a low-latency service can instruct a device not running a low-latency service to reduce its occupancy of channel communication resources, thereby fully guaranteeing the communication resources of the device running the low-latency service and improving the user experience.
[0009] In the first aspect, the present application provides a communication resource collaboration method, which includes: a first electronic device accesses a first channel, a first service runs on the first electronic device, and the first service is a low-latency service; the first electronic device obtains experience parameters of the first service; when the experience parameters of the first service do not meet the experience parameter threshold, the first electronic device determines whether there is a second electronic device occupying the communication resources of the first channel, and the second electronic device is an electronic device that does not run the low-latency service; when a second electronic device occupies the communication resources of the first channel, the first electronic device sends a communication resource release request to the second electronic device.
[0010] In the above embodiment, when the service experience parameter of a device running a low-latency service does not meet the experience parameter threshold, the device sends a communication resource release request to other devices that are not running a low-latency service. The communication resource release request is used to request the devices that are not running a low-latency service to release communication resources, thereby ensuring the communication resources of the devices running a low-latency service and improving the user experience.
[0011] In combination with some embodiments of the first aspect, in some embodiments, the first electronic device determines, based on a clear channel assessment CCA, that the channel with the least number of electronic devices is the first channel.
[0012] In the above embodiment, a device running a low-latency service can select a channel with the least number of electronic devices when accessing a channel, thereby obtaining more communication resources and improving the user experience of the low-latency service.
[0013] In combination with some embodiments of the first aspect, in some embodiments, the first electronic device monitors a third message on a control channel or an out-of-band channel, where the third message is used to instruct the first electronic device to access the first channel.
[0014] In the above embodiment, a device running a low-latency service can listen for a third message on a control channel or an out-of-band channel before accessing the channel. The channel indicated by the content of the third message is suitable for data interaction of the low-latency service, which helps to improve the user experience of the low-latency service.
[0015] In combination with some embodiments of the first aspect, in some embodiments, when the experience parameter of the first service meets the experience parameter threshold, the first electronic device broadcasts a first message on a control channel or an out-of-band channel, and the first message is used to indicate that the first channel is used to carry data interaction of electronic devices running low-latency services.
[0016] In the above embodiment, the electronic device running the low-latency service broadcasts that the channel where the electronic device is located is suitable for carrying data interaction of the low-latency service, which helps other devices select a suitable channel as needed.
[0017] In combination with some embodiments of the first aspect, in some embodiments, when no second electronic device occupies the communication resources of the first channel, the first electronic device widens the first channel.
[0018] In the above embodiment, if there are only devices running low-latency services on the channel and the experience parameters of the low-latency services do not meet the experience parameter threshold, the electronic device can widen the channel to obtain more communication resources, thereby improving the user experience when using the low-latency services.
[0019] In combination with some embodiments of the first aspect, in some embodiments, the first electronic device broadcasts the communication resource release request on a control channel or an out-of-band channel.
[0020] In the above embodiment, the device running the low-latency service can broadcast a communication resource release request on the control channel or out-of-band channel so that as many other devices as possible receive the request, releasing more communication resources, thereby improving the user experience when using the low-latency service.
[0021] In combination with some embodiments of the first aspect, in some embodiments, the first electronic device establishes a connection with the second electronic device and sends the communication resource release request to the second electronic device.
[0022] In the above embodiment, a device running a low-latency service can request a specific device to release communication resources, thereby improving the user experience when using the low-latency service.
[0023] In combination with some embodiments of the first aspect, in some embodiments, the first electronic device determines that the second electronic device is the electronic device that occupies the most communication resources of the first channel.
[0024] In the above embodiment, electronic devices running low-latency services can give priority to devices that occupy more communication resources to give up more communication resources, thereby improving the user experience when using low-latency services.
[0025] In combination with some embodiments of the first aspect, in some embodiments, the experience parameter includes one or more of quality of experience QoE, key performance indicator KPI, or channel delay.
[0026] In the above embodiment, the experience parameter of the low-latency service may include a combination of one or more parameters, which can more accurately measure the user's experience of the service.
[0027] In combination with some embodiments of the first aspect, in some embodiments, the communication resource release request is used to request the electronic device to reduce occupation of the communication resources of the first channel.
[0028] In the above embodiment, when a device that is not running a low-latency service receives a communication resource release request, the occupancy of the communication resources of the first channel can be reduced, which helps to increase the communication resources occupied by the device running the low-latency service.
[0029] With reference to some embodiments of the first aspect, in some embodiments, the experience parameter is used to reflect the service quality of the first service.
[0030] In the above embodiment, the device running the low-latency service can estimate the user's experience of the low-latency service based on the experience parameter.
[0031] In combination with some embodiments of the first aspect, in some embodiments, the communication resource release request is used to request the second electronic device to reduce the communication rate on the first channel; or, the communication resource release request is used to request the second electronic device to leave the first channel.
[0032] In the above embodiment, the non-low-latency device can release the communication resources of the first channel occupied by the non-low-latency device by reducing the communication rate on the first channel or leaving the first channel, thereby helping the low-latency device to obtain more communication resources to improve the user experience.
[0033] In the second aspect, the present application provides a communication resource collaboration method, which includes: a second electronic device accesses a first channel, and no low-latency service is running on the second electronic device; the second electronic device receives a communication resource release request; and the second electronic device reduces the occupancy of the communication resources of the first channel.
[0034] In the above embodiment, devices that are not running low-latency services can receive and respond to communication resource release requests, reduce the occupancy of communication resources, help devices running low-latency services obtain more communication resources, and thus improve users' experience with low-latency services.
[0035] In combination with some embodiments of the second aspect, in some embodiments, the second electronic device reduces the communication rate on the first channel; or, the second electronic device leaves the first channel.
[0036] In the above embodiment, the device that is not running the low-latency service may respond to the communication resource release request in a variety of ways, which may enable the device that is not running the low-latency service to reasonably release communication resources according to its own situation, and may also increase the opportunity for the device that is running the low-latency service to obtain communication resources.
[0037] In the third aspect, the present application provides a communication resource collaboration method, which includes: a first electronic device and a second electronic device access a first channel, a first service is running on the first electronic device, and the first service is a low-latency service, and the second electronic device does not run the low-latency service; the first electronic device obtains the experience parameter of the first service; when the experience parameter of the first service does not meet the experience parameter threshold, the first electronic device sends a communication resource release request to the second electronic device.
[0038] In the above embodiment, when the service experience parameter of a device running a low-latency service does not meet the experience parameter threshold, the device sends a communication resource release request to other devices that are not running a low-latency service. The communication resource release request is used to request the devices that are not running a low-latency service to release communication resources, thereby ensuring the communication resources of the devices running a low-latency service and improving the user experience.
[0039] In combination with some embodiments of the third aspect, in some embodiments, the first electronic device determines, based on a clear channel assessment CCA, that the channel with the least number of electronic devices is the first channel.
[0040] In the above embodiment, a device running a low-latency service can select a channel with the least number of electronic devices when accessing a channel, thereby obtaining more communication resources and improving the user experience of the low-latency service.
[0041] In combination with some embodiments of the third aspect, in some embodiments, the first electronic device monitors a third message on a control channel or an out-of-band channel, where the third message is used to instruct the first electronic device to access the first channel.
[0042] In the above embodiment, a device running a low-latency service can listen for a third message on a control channel or an out-of-band channel before accessing the channel. The channel indicated by the content of the third message is suitable for data interaction of the low-latency service, which helps to improve the user experience of the low-latency service.
[0043] In combination with some embodiments of the third aspect, when the experience parameter of the first service meets the experience parameter threshold, the first electronic device broadcasts a first message on a control channel or an out-of-band channel, and the first message is used to indicate that the first channel is used to carry data interaction of electronic devices running low-latency services.
[0044] In the above embodiment, the electronic device running the low-latency service broadcasts that the channel where the electronic device is located is suitable for carrying data interaction of the low-latency service, which helps other devices select a suitable channel as needed.
[0045] In combination with some embodiments of the third aspect, the first electronic device broadcasts the communication resource release request on a control channel or an out-of-band channel; and the second electronic device receives the communication resource release request on the control channel or the out-of-band channel.
[0046] In the above embodiment, the device running the low-latency service can broadcast a communication resource release request on the control channel or out-of-band channel so that as many other devices as possible receive the request, releasing more communication resources, thereby improving the user experience when using the low-latency service.
[0047] In combination with some embodiments of the third aspect, the first electronic device establishes a connection with the second electronic device, and the first electronic device sends the communication resource release request to the second electronic device.
[0048] In the above embodiment, a device running a low-latency service can request a specific device to release communication resources, thereby improving the user experience when using the low-latency service.
[0049] In combination with some embodiments of the third aspect, in response to the communication resource release request, the second electronic device reduces the communication rate on the first channel; or, the second electronic device leaves the first channel.
[0050] In the above embodiment, electronic devices running low-latency services can give priority to devices that occupy more communication resources to give up more communication resources, thereby improving the user experience when using low-latency services.
[0051] In combination with some embodiments of the third aspect, the experience parameter includes one or more of quality of experience QoE, key performance indicator KPI or channel delay.
[0052] In the above embodiment, the experience parameter of the low-latency service may include a combination of one or more parameters, which can more accurately measure the user's experience of the service.
[0053] In combination with some embodiments of the third aspect, in some embodiments, the communication resource release request is used to request the electronic device to reduce the occupation of the communication resources of the first channel.
[0054] In the above embodiment, when a device that is not running a low-latency service receives a communication resource release request, the occupancy of the communication resources of the first channel can be reduced, which helps to increase the communication resources occupied by the device running the low-latency service.
[0055] With reference to some embodiments of the third aspect, in some embodiments, the experience parameter is used to reflect the service quality of the first service.
[0056] In the above embodiment, the device running the low-latency service can estimate the user's experience of the low-latency service based on the experience parameter.
[0057] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute: a first electronic device accesses a first channel, a first service runs on the first electronic device, and the first service is a low-latency service; the first electronic device obtains experience parameters of the first service; when the experience parameters of the first service do not meet the experience parameter threshold, the first electronic device determines whether there is a second electronic device occupying the communication resources of the first channel, and the second electronic device is an electronic device that does not run the low-latency service; when a second electronic device occupies the communication resources of the first channel, the first electronic device sends a communication resource release request to the second electronic device.
[0058] In combination with some embodiments of the fourth aspect, the first electronic device determines, based on a clear channel assessment CCA, that the channel with the least number of electronic devices is the first channel.
[0059] In combination with some embodiments of the fourth aspect, the first electronic device monitors a third message on a control channel or an out-of-band channel, where the third message is used to instruct the first electronic device to access the first channel.
[0060] In combination with some embodiments of the fourth aspect, when the experience parameter of the first service meets the experience parameter threshold, the first electronic device broadcasts a first message on a control channel or an out-of-band channel, and the first message is used to indicate that the first channel is used to carry data interaction of electronic devices running low-latency services.
[0061] In combination with some embodiments of the fourth aspect, when no second electronic device occupies the communication resources of the first channel, the first electronic device widens the first channel.
[0062] In combination with some embodiments of the fourth aspect, the first electronic device broadcasts the communication resource release request on a control channel or an out-of-band channel.
[0063] In combination with some embodiments of the fourth aspect, the first electronic device determines that the second electronic device is the electronic device that occupies the most communication resources of the first channel.
[0064] In combination with some embodiments of the fourth aspect, the experience parameter includes one or more of quality of experience QoE, key performance indicator KPI or channel delay.
[0065] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute: a second electronic device accesses a first channel, and no low-latency service is running on the second electronic device; the second electronic device receives a communication resource release request; the second electronic device reduces the occupancy of the communication resources of the first channel.
[0066] In combination with some embodiments of the fifth aspect, the second electronic device reduces the communication rate on the first channel; or, the second electronic device leaves the first channel.
[0067] In the sixth aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device, and the chip system includes one or more processors, which are used to call computer instructions to enable the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect, or the method described in the second aspect and any possible implementation of the second aspect.
[0068] In the seventh aspect, the application embodiment provides a computer program product containing instructions, which, when the above-mentioned computer program product is run on an electronic device, enables the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect, or the method described in the second aspect and any possible implementation of the second aspect.
[0069] In an eighth aspect, an embodiment of the application provides a computer-readable storage medium comprising instructions. When the instructions are executed on an electronic device, the electronic device executes the method described in the first aspect and any possible implementation of the first aspect, or the method described in the second aspect and any possible implementation of the second aspect.
[0070] It is understandable that the electronic devices provided in the fourth and fifth aspects, the chip system provided in the sixth aspect, the computer program product provided in the seventh aspect, and the computer storage medium provided in the eighth aspect are all used to execute the methods provided in the embodiments of the present application. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 The figure is an exemplary diagram showing the impact of channel delay on different types of services.
[0072] Figure 2 An exemplary diagram of the conversion between first-class equipment and second-class equipment.
[0073] Figure 3 Another exemplary diagram of the conversion between the first type of device and the second type of device.
[0074] Figure 4 This is an exemplary diagram of the relationship between channel delay and interaction delay.
[0075] Figure 5 The figure is an exemplary diagram of the relationship between experience parameters, experience parameter thresholds, and device conversion.
[0076] Figure 6 The figure is an exemplary diagram of communication resource allocation in a P2P scenario.
[0077] Figure 7 and Figure 8 Two wireless channel selection and access methods involved in this application are shown respectively.
[0078] Figure 9 This is an exemplary schematic diagram of an implementation scenario of the communication resource collaboration method provided in this application.
[0079] Figure 10 A structural diagram of an electronic device 100 provided in an embodiment of the present application.
[0080] Figure 11 This is another structural diagram of the electronic device 100 provided in an embodiment of the present application.
[0081] Figure 12 This is a schematic block diagram of the software structure of the electronic device 100 in an embodiment of the present application.
[0082] Figure 13 This is another schematic block diagram of the software structure of the electronic device 100 in an embodiment of the present application.
[0083] Figure 14 This is an exemplary diagram of the communication resource collaboration method process provided in this application.
[0084] Figure 15 This is an exemplary schematic diagram of a first type of device sending a communication resource release request to other devices in an embodiment of the present application.
[0085] Figure 16This is another exemplary schematic diagram of a first type of device sending a communication resource release request to other devices in an embodiment of the present application.
[0086] Figure 17 An exemplary schematic diagram of the communication resource collaboration method provided in an embodiment of the present application in a multi-device interaction scenario. DETAILED DESCRIPTION
[0087] The terms used in the following examples of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and appended claims of this application, the singular expressions "a," "an," "the," "above," "the," and "this" are intended to include plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in this application refers to and includes any or all possible combinations of one or more of the listed items.
[0088] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0089] For ease of understanding, the following first introduces the relevant terms and concepts involved in the embodiments of this application. The terms used in the embodiments of the present invention are only used to explain the specific embodiments of the present invention, and are not intended to limit the present invention.
[0090] (1) Low-latency services and other services
[0091] Applications / service sessions can be categorized as low-latency services and other services based on their latency requirements for data exchange. When an application on a device or a service session initiated by an application is sensitive to data exchange latency, the application / service session is considered a low-latency service. Conversely, when an application-initiated service session on a device is insensitive to data exchange latency, the application / service session is considered other services. In peer-to-peer (P2P) scenarios, data exchange latency, referred to as interaction latency, is the time it takes from one end of the network to start sending data to the other end to receive and process the data.
[0092] Low-latency services can take many forms, primarily encompassing two. First, low-latency services can include application / service sessions that transmit streaming data from one device to another. For example, an application / service session that can project streaming data, such as presentations and online videos, from a mobile phone onto a TV, VR / AR device, or other similar device is a low-latency service. Second, low-latency services can include application / service sessions that transmit control instructions. For example, a game requires timely transmission of user game instructions to a server; in this case, a game is a low-latency service. Alternatively, an application / service session responsible for the exchange of industrial control instructions between manufacturing equipment and central equipment in a factory is a low-latency service.
[0093] Optionally, in some embodiments of the present application, other services can be further divided into general services and high-throughput services. When a service session initiated by an application on a device transmits a large amount of data per unit time, the application / service session is considered a high-throughput service.
[0094] In an embodiment of the present application, when the application / service session is both a low-latency service and a high-throughput service, the service is considered to be a low-latency service.
[0095] In an embodiment of the present application, an application / service session on a device can statically or dynamically configure its service type. Static configuration may include: an application / service session on a device can pre-configure itself as a low-latency service / other service, and can declare itself as a low-latency service or other service to other electronic devices. Dynamic configuration may include: an application / service session on a device pre-configures a parameter threshold, and the device determines the service type of the application / service session by evaluating the communication quality or quality of experience of the current application / service session.
[0096] Optionally, in some embodiments of the present application, the application / service session on the device can preconfigure itself as a low-latency service / other service.
[0097] Optionally, in some embodiments of the present application, the device / operating system may designate any application / service session as a low-latency service / other service.
[0098] Optionally, in some embodiments of the present application, the application / service session on the device can be pre-configured with a delay threshold. When the channel delay / interaction delay is greater than or equal to the delay threshold, the application / service session is a low-latency service; correspondingly, when the channel delay is less than the delay threshold, the application / service session is other services.
[0099] Optionally, in some embodiments of the present application, the application / service session on the device can evaluate its own quality of experience (QoE) parameters, and a QoE threshold can be pre-configured. When the QoE is less than or equal to the QoE threshold, the application / service session is a low-latency service; correspondingly, when the QoE is greater than the QoE threshold, the application / service session is other services. Among them, QoE is a comprehensive evaluation parameter of the user's subjective feeling about the service during the user's interaction with the service. QoE can have different calculation methods and forms of expression depending on the application / service session. For example, QoE can be a comprehensive evaluation result of part or all of the parameters such as uplink and downlink air interface channel delay, bandwidth, network jitter, etc. in the data interaction of the application / service session, which is not limited here.
[0100] The concepts of terms such as interaction delay and channel delay can be referred to the text description of wireless channel in (3) of the term explanation, and will not be repeated here.
[0101] Below Figure 1 Taking the content shown as an example, low-latency services and non-low-latency services are introduced exemplarily.
[0102] Figure 1 The figure is an exemplary diagram showing the impact of channel delay on different types of services.
[0103] Figure 1 (A) shows a low-latency service scenario, such as Figure 1 As shown in (A), the mobile phone establishes a WIFI connection with the projector, and transmits the PPT displayed on the mobile phone screen to the projector through the WIFI connection for display. Among them, the projection service is a low-latency service. When the air interface resources are limited or the channel signal-to-noise ratio is low, the interaction delay is large and / or the interaction delay is unstable. Figure 1 As shown in (A), at 0 seconds, the user starts to display the first page of the PPT on the mobile phone, and waits for 0.5 seconds before the content of the first page of the PPT can be viewed on the projector; at 0.7 seconds, the user switches to the second page of the PPT on the mobile phone, and waits for 0.4 seconds before the content of the second page of the PPT can be viewed on the projector.
[0104] In contrast, Figure 1 Middle (B) shows a high throughput business scenario. Figure 1As shown in Figure (B), mobile phone 1 and mobile phone 2 have established a Wi-Fi connection, and a video file is being transferred from mobile phone 1 to mobile phone 2 via the Wi-Fi connection. Video transmission is a high-throughput service. Similarly, with large and / or unstable interaction latency, at 0 seconds, mobile phone 1 begins transferring the video file to mobile phone 2; at 0.5 seconds, mobile phone 2 begins receiving data sent by mobile phone 1; at 35 seconds, mobile phone 1 sends all the video file data; and at 35.3 seconds, mobile phone 2 receives all the video file data.
[0105] like Figure 1 As shown in (A), every time the user switches PPT on the phone, they can clearly feel the increase in interaction delay and the sense of lag caused by instability. Figure 1 As shown in (B), when users are transmitting video files, the total transmission time is much longer than the upper limit of the interaction delay. Therefore, the increase and instability of the interaction delay only causes changes in the transmission rate at certain moments, but hardly affects the average transmission rate. Therefore, users hardly feel any lag.
[0106] It is understandable that when comparing low-latency services with other services, when the interaction delay is large and / or the interaction delay is unstable, the low-latency services are more affected and have a greater impact on the user experience.
[0107] (2) Category I equipment and Category II equipment
[0108] Depending on whether low-latency services are running on electronic devices, electronic devices can be divided into first-category devices and second-category devices. First-category devices are electronic devices that are running low-latency services, and second-category devices are electronic devices that are not running low-latency services. In addition, both first-category devices and second-category devices exchange data on the same channel. The definition of low-latency services can be referred to the text description in (1) low-latency services and other services in the term explanation, and will not be repeated here.
[0109] Optionally, similar to the classification of services, in some embodiments of the present application, electronic devices may be further divided into first-category devices, second-category devices, and other-category devices. The first-category devices are electronic devices running low-latency services, the second-category devices are electronic devices that are not running low-latency services but are running high-throughput services, and the other-category devices are electronic devices that are neither running low-latency services nor high-throughput services.
[0110] It is worth noting that classifying electronic devices into first-category devices and second-category devices provides a basis for differentiated scheduling of communication resources, and giving priority to communication resources for first-category devices is conducive to improving user experience; alternatively, electronic devices can be classified into first-category devices, second-category devices, and other types of devices. Considering that second-category devices run high-throughput services and occupy a large amount of communication resources, second-category devices can be given priority to give up communication resources, thereby more effectively improving the efficiency of communication resource scheduling.
[0111] As the application / service session state on the electronic device changes, the application / service session can be transformed from a low-latency service to other services, and similarly, it can be transformed from other services to low-latency services. Correspondingly, the first type of device can be transformed into the second type of device (other type of device), and the second type of device (other type of device) can be transformed into the first type of device. Figure 2 and Figure 3 Taking the content shown in the figure as an example, the conversion between the first type of equipment and the second type of equipment is introduced.
[0112] Figure 2 An exemplary diagram of the conversion between first-class equipment and second-class equipment.
[0113] Figure 2 Middle (A) shows the conversion between the first type of device and the second type of device from the application perspective. Figure 2 Middle (B) shows the conversion between the first type of device and the second type of device from the perspective of business sessions.
[0114] like Figure 2 As shown in (A), when a game is running on mobile phone 1 and the game is in progress, the game is a low-latency service, that is, mobile phone 1 is a first-category device; when the game of the online game running on the device ends and the game body is updated, the game is a high-throughput service, that is, mobile phone 1 is a second-category device; when mobile phone 1 closes the game and no low-latency service or high-throughput service is running on mobile phone 1, mobile phone 1 is a second-category device (other type of device).
[0115] Correspondingly, such as Figure 2 As shown in (B), when the game running on mobile phone 1 creates a battle service session, the battle service is a low-latency service, that is, mobile phone 1 is a first-category device; when the game running on the device ends the battle service session and creates an update service session, the update service session is a high-throughput service, that is, mobile phone 1 is a second-category device; when the game on mobile phone 1 is closed and the application on mobile phone 1 does not run a service session for low-latency and high-throughput services, mobile phone 1 is a second-category device (other types of devices).
[0116] Figure 3Another exemplary diagram of the conversion between the first type of device and the second type of device.
[0117] like Figure 3 As shown, the pre-configured delay threshold for application / service sessions on the device is 150 milliseconds. When the device estimates that the channel delay for carrying application / service session data exceeds 150 milliseconds, the device is a first-class device; when the device estimates that the channel delay for carrying application / service session data is less than or equal to 150 milliseconds, the device is a second-class device. Figure 3 As shown in , from 0 seconds to 0.3 seconds and after 1.6 seconds, mobile phone 1 is a first category device; from 0.3 seconds to 1.6 seconds, mobile phone 1 is a first category device.
[0118] It is understandable that electronic devices can be divided into first category devices and second category devices according to the requirements of the application / service session running on the electronic device. The differentiated classification of electronic devices provides a basis for differentiated scheduling of communication resources.
[0119] (3) Wireless channel
[0120] A wireless channel is a path used to transmit data using wireless signals as a transmission medium. Frequency and bandwidth can be used to describe a wireless channel, which together determine the frequency range of signals transmitted on the channel. In P2P scenarios, usable frequency bands for wireless channels include the Industrial, Scientific, and Medical (ISM) band and unlicensed bands.
[0121] The time it takes for data to travel from one end to the other in a wireless channel is called channel latency. Users only intuitively experience interaction latency, which includes channel latency. In P2P scenarios, many factors influence channel latency, including the access device's air interface traffic level and the wireless channel's signal-to-noise ratio (SNR). A wireless channel is considered relatively busy when multiple high-throughput services are interacting with it. Furthermore, for low-latency services, the more other services transmitting on the same channel, the lower the SNR.
[0122] Based on whether there are first-class devices transmitting on the wireless channel, wireless channels can be divided into first-class channels and second-class channels. First-class channels are mainly used for data exchange between first-class devices, and second-class channels are mainly used for data exchange between second-class devices (and other types of devices).
[0123] A first-category device may broadcast first information to notify other devices that the channel on which the first-category device resides is a first-category channel. The first information may be in the form of the frequency and bandwidth of the first-category channel, or in the form of the channel number specified by the communication protocol it complies with, without limitation. The first information may be encrypted or in plain text.
[0124] There are many ways for the first type of device to broadcast, for example, it can broadcast on a control channel, or it can broadcast on an out-of-band channel, or it can broadcast through short-range communication, etc., which are not limited here.
[0125] The concepts of control channel, out-of-band channel, etc. can be found in the description of (4) channel selection strategy and device avoidance strategy in the term explanation, and will not be repeated here.
[0126] It can be understood that the differentiated division of wireless channels into first-class channels and second-class channels provides a basis for differentiated scheduling of communication resources. Specifically, when communication resources are scarce, to ensure communication resources for first-class devices, second-class devices in first-class channels are switched to second-class channels to ensure communication resources for first-class devices in first-class channels. Furthermore, when other first-class devices are not in first-class channels, the first-class devices can be instructed to access the first-class channels for data exchange.
[0127] Among them, at any time, the communication performance of the first type of channel, such as channel delay, signal-to-noise ratio parameters, etc., does not need to be better than the communication performance of the second type of channel.
[0128] Below Figure 4 Taking the content shown in the figure as an example, the relationship between channel delay and interaction delay is introduced.
[0129] Figure 4 This is an exemplary diagram of the relationship between channel delay and interaction delay.
[0130] like Figure 4As shown, a WIFI connection is established between the mobile phone and the projector, and the mobile phone projects the PPT onto the projector through the WIFI connection. The mobile phone establishes a WIFI connection with the projector at 0 seconds, and starts to establish the projection service in response to the user's operation; at 0.05 seconds, the mobile phone completes the projection service and starts to request air interface resources from the projector for data transmission; from 0.05 seconds to 0.08 seconds, the mobile phone fails to compete for air interface resources; at 0.08 seconds, the mobile phone starts to request air interface resources from the projector for data transmission for the second time; from 0.08 seconds to 0.11 seconds, the mobile phone succeeds in competing for air interface resources and succeeds at 0.11 seconds. The projector starts transmitting data at 0.24 seconds; from 0.24 seconds to 0.35 seconds, the channel delay of the wireless channel carrying data is 0.24 seconds, and the projector does not receive the complete data, requiring the mobile phone to retransmit the data; at 0.35 seconds, the mobile phone starts retransmitting data; from 0.35 seconds to 0.45 seconds, the channel delay of the wireless channel carrying data is 0.1 seconds; at 0.45 seconds, the projector hands over the underlying data to the upper-layer business; at 0.46 seconds, the projector displays the data on the screen.
[0131] Obviously, users can directly feel the interactive delay of 0.46 seconds, including the channel delay of two data transmissions of the packet block, where the two channel delays are 0.24 seconds and 0.1 seconds respectively.
[0132] (4) Channel selection strategy and device avoidance strategy
[0133] In the embodiment of the present application, the channel selection strategy is a strategy used by an electronic device when selecting a wireless channel for access.
[0134] Among them, according to whether the electronic device can determine that it is a Class I device when selecting a wireless channel for access, it can be divided into two specific situations:
[0135] First, when an electronic device cannot determine whether it is a Class I device when selecting a wireless channel to access, the channel selection strategy includes: the electronic device selects a suitable wireless channel for access based on the communication protocol followed during interaction.
[0136] Secondly, when an electronic device is able to determine whether it is a Class I device when selecting a wireless channel to access, the channel selection strategy includes: when the electronic device is a Class I device and there is currently a Class I channel, the electronic device accesses the Class I channel; when the electronic device is a Class I device and there are currently multiple Class I channels, the electronic device randomly selects a Class I channel to access, or the electronic device selects the Class I channel with the least number of devices to access, or the electronic device selects the Class I channel with the highest channel signal-to-noise ratio to access, or the electronic device selects the Class I channel with the highest channel receiving power to access, etc.; when the electronic device is a Class I device and there is currently no Class I channel, the electronic device randomly selects a Class II channel to access, or the electronic device selects the Class II channel with the least number of devices to access, or the electronic device selects the Class II channel with the highest channel signal-to-noise ratio to access, or the electronic device selects the wireless channel with the highest channel receiving power to access. When the electronic device is a Class II device, it can select either the Class I channel or the Class II channel to access.
[0137] When a device is preparing to access a wireless channel, it can use various methods to find out whether there is an accessible first-class channel in the current environment. For example, the device can listen to the first message in various ways such as the control channel and the out-of-band channel to determine whether there is a first-class channel, as well as the frequency and bandwidth of the first-class channel, which are not limited here.
[0138] Among them, the control channel can have many different forms depending on the different communication protocols followed when devices interact with data. For example, the control channel can be the wireless channel for broadcasting specified by the Apple Wireless Direct Link (AWDL) protocol, the wireless channel for broadcasting specified by the Neighbor Awareness Network (NAN) protocol, the wireless channel for broadcasting specified by short-range communication protocols such as Bluetooth, etc., and is not limited here.
[0139] The device may estimate the number of devices in different channels in various ways. For example, the device may estimate the number of devices in different channels through clear channel assessment (CCA), which is not limited here.
[0140] The device avoidance strategy is the strategy used by the first-category device to request the second-category device (other-category device) to reduce its occupancy of communication resources when the experience parameter of the low-latency service on the first-category device does not meet the experience parameter threshold. When the first-category device is interacting with data on the first-category channel, if the experience parameter of the low-latency service running on the device is less than or equal to the experience parameter threshold, the device avoidance strategy will be used to initiate a communication resource release request to one or more second-category devices (other-category devices), so that one or more second-category devices (other-category devices) reduce their occupancy of communication resources to protect the communication resources of the first-category device.
[0141] The experience parameter of a low-latency service is used to directly or indirectly reflect the service quality of the low-latency service. The experience parameter can be a variety of parameters, such as the requirement for channel latency, a QoE parameter, or a KPI parameter, etc., without limitation here.
[0142] Among them, the device avoidance strategy may include: the device avoidance strategy can be that the first type of device randomly selects a second type of device (or other types of devices) and sends a communication resource release request to the second type of device (or other types of devices); or, the device avoidance strategy can be that the first type of device estimates the order of communication resources occupied by devices in the current wireless channel according to the request to send protocol (RTS) or the clear to send protocol (CTS), and sends communication resource release requests to the devices in sequence according to the order of occupied communication resources; or, the device avoidance strategy can be that the first type of device broadcasts a communication resource release request to all devices, and after receiving the communication resource release request, the second type of device (other types of devices) can respond to the communication resource release request.
[0143] In some embodiments of the present application, when a first-category device sends a communication resource release request, it may not know whether the other device is a first-category device or a second-category device (other-category device). In this case, when the first-category device receives the communication resource release request, it will not respond to the communication resource release request; correspondingly, in this case, when the second-category device (other-category device) receives the communication resource release request, it may respond to the communication resource release request.
[0144] Among them, after receiving the communication resource release request, the second-category device (other type of device) may respond by switching the wireless channel that carries the data interaction. Furthermore, different channel switching methods may be adopted depending on the second-category device (other type of device). For example, when the second-category device is mobile phone A, one of two mobile phones (respectively, mobile phone A and mobile phone B) that are transmitting a large number of files via Bluetooth, then after receiving the communication resource release request, mobile phone A negotiates with mobile phone B and selects another channel for data transmission based on the Bluetooth protocol they comply with. For another example, when the second-category device is router D, and mobile phone C is downloading a video through router D, after receiving the communication resource release request, router D may select another channel for operation based on the WIFI protocol it complies with and notify mobile phone C of the new channel. Therefore, this is not limited here.
[0145] Optionally, in some embodiments of the present application, after receiving a communication resource release request, if the second-class device has no available channel to switch to or the communication quality of the switched channel is poor, the response may be to reduce the communication rate. For example, if the service running on the second-class device is a video service, the communication rate may be reduced by lowering the frame rate or bit rate.
[0146] It is worth noting that when electronic devices are divided into first-category devices, second-category devices and other-category devices, other-category devices may not respond after receiving a communication resource release request for the first time; when other-category devices receive a communication resource release request more than a threshold number of times, they may respond by switching channels, reducing the communication rate, etc.
[0147] It is understandable that when electronic devices are divided into first-category devices and second-category devices, second-category devices occupy more communication resources and have a higher tolerance for interaction delays caused by switching channels. Second-category devices can release communication resources by switching channels or reducing communication rates, thereby ensuring the user experience of low-latency services on first-category devices.
[0148] It can be understood that when electronic devices are divided into first category devices, second category devices, and other categories of devices, considering that other categories of devices occupy fewer communication resources, only second category devices can be allowed to switch channels or reduce communication rates to release communication resources, thereby ensuring the user experience of low-latency services on first category devices; or, considering reducing the complexity of device avoidance strategies, second category devices and other categories of devices can be allowed to switch channels or reduce communication rates to release communication resources, thereby ensuring the user experience of low-latency services on first category devices.
[0149] Below is Figure 5 Taking the content shown in the figure as an example, the relationship between experience parameters, experience parameter thresholds, and device conversion is introduced.
[0150] Figure 5 The figure is an exemplary diagram of the relationship between experience parameters, experience parameter thresholds, and device conversion.
[0151] Combine Figure 3 and Figure 5 In the content shown, the pre-configured delay threshold of the application / service session on the device is 150 milliseconds, the pre-configured experience parameter of the application / service session on the device is channel delay, and the experience parameter threshold is 200 milliseconds. Figure 3 Based on this information, if the device estimates that the channel latency carrying the application / service session data exceeds 200 milliseconds, the low-latency service experience parameter on the device is considered to not meet the experience parameter threshold. Therefore, between 0.5 seconds and 1.2 seconds, mobile phone 1 is a Class 1 device, and the low-latency service experience parameter on mobile phone 1 does not meet the experience parameter threshold. Mobile phone 1 will send a communication resource release request to other devices based on the device avoidance strategy.
[0152] The following briefly introduces the P2P scenarios involved in this application and several communication resource collaboration methods involved in this application.
[0153] In P2P scenarios, multiple different types of electronic devices may interact with each other using different communication protocols over wireless channels in similar or identical frequency bands. In this scenario, spectrum leakage from devices operating in adjacent frequency bands and competition for air interface resources among devices on the same wireless channel inevitably lead to increased latency and instability in device interaction. For low-latency services, this increased latency and instability can significantly degrade the user experience.
[0154] Figure 6 The figure is an exemplary diagram of communication resource allocation in a P2P scenario.
[0155] like Figure 6 As shown in the figure, in a P2P scenario, devices using communication resources may include computers, wearable smart devices, mobile terminals, smart home appliances, and so on. Given that different devices may adhere to different protocols when exchanging data, multiple channels can exist in space. For a frequency band, such as Band 1, multiple channels may exist on Band 1, carrying data exchange between different electronic devices. In the ISM band and unlicensed bands, Band 1 may contain multiple channels with overlapping frequency ranges, which may further increase latency and instability in interactions between electronic devices.
[0156] It is understandable that it is necessary to reduce device interaction delay and reduce the instability of interaction delay by reasonably scheduling communication resources.
[0157] Figure 7 and Figure 8 Two wireless channel selection and access methods involved in this application are shown respectively.
[0158] like Figure 7 As shown in the figure, the router provides channels 1 and 2 for device access. Channel 1 can be the channel provided by the router in the 5GHz band, and channel 2 can be the channel provided by the router in the 2.4GHz band. Before device 2 accesses the router, device 1 and other devices exchange data on channel 1. When device 2 accesses the router, it can listen for transmission opportunities (TXOPs) and determine that more devices are interacting with data on channel 1 than on channel 2. In this case, it will select channel 2 for access.
[0159] However, it takes time to detect suitable wireless channel resources through TXOPs or other dedicated sounding frames and then select a wireless channel for access. Obviously, given the time-varying nature of wireless channels, when a device selects a channel based on the sounding results, parameters such as channel latency and air interface congestion will vary. This does not guarantee that the device's communication resources will be guaranteed after accessing the wireless channel.
[0160] like Figure 8 As shown, in a P2P scenario, there are two operating routers, Router 1 and Router 2. Router 1 provides channel 2 for data exchange with electronic devices, and Router 2 provides channel 3 for data exchange with electronic devices. According to the Wi-Fi protocol, routers can operate on channels 1 to 13, and the frequency bands of channels 1, 2, and 3 partially overlap. Device 1 accesses Router 1 through channel 2. Because the spectrum of channels 2 and 1 partially overlaps, device 1's data transmission on channel 2 is significantly interfered with by router 2. Device 1 can switch to channel 1 for data exchange, where interference from router 2 is less severe.
[0161] When the wireless channel carrying data exchange between electronic devices is interfered with, the electronic devices can select other channels with less interference to exchange data. However, the operation of switching channels itself will cause a sharp increase in interaction latency, which is likely to deteriorate the user experience.
[0162] The two wireless channel selection and access methods designed by this application described above do not take into account the different tolerances for interaction delays among different applications / service sessions on electronic devices. Obviously, selecting the same resource scheduling method for different applications / service sessions cannot effectively guarantee the user experience of low-latency services. Secondly, when the communication performance of the wireless channel carrying data interaction between electronic devices, such as channel delay and other parameters, deteriorates, the operation of actively switching channels itself will further increase the interaction delay.
[0163] Because traditional communication protocols don't account for the differentiated channel quality requirements of low-latency services and other services, they won't proactively switch channels when the channel quality meets the needs of other services but not low-latency services. In this case, low-latency services remain usable but suboptimal for users, degrading the user experience.
[0164] In response to the above-mentioned problems, the present application provides a communication resource collaboration method and an electronic device.
[0165] Figure 9 This is an exemplary schematic diagram of an implementation scenario of the communication resource collaboration method provided in this application.
[0166] like Figure 9 As shown, Figure 7 The content shown is similar. The router provides channels 1 and 2 for device access. Channel 1 can be a channel provided by the router in the 5G band, and channel 2 can be a channel provided by the router in the 2.4G band. Initially, device 1 and device 2 both exchange data on channel 1. Device 1 is a Class II device, and device 2 is a Class I device. When the experience parameter of the low-latency service on device 2 does not meet the experience parameter threshold, a communication resource release request is sent to device 1. After receiving the communication resource release request, device 1 can choose to switch to channel 2 for data exchange. Because device 1 relinquishes communication resources, the interaction latency of device 2 is reduced, improving the user experience of device 2. Secondly, because device 1 is a Class II device, it is insensitive to the increased interaction latency and instability caused by channel switching, making the user of device 1 almost unaware of any lag.
[0167] Combine Figures 7 to 9From the content shown, it can be understood that the communication resource collaboration method provided by this application first divides the application / service session into low-latency services and other services based on the interaction latency requirements of the application / service session on the electronic device. Secondly, based on the classification of the application / service session, the corresponding devices running the application / service session are divided into first-category devices and second-category devices. Furthermore, after classifying the devices, through differentiated scheduling of communication resources, communication resources for low-latency services on the first-category devices are guaranteed, which can greatly improve the user experience.
[0168] The electronic equipment provided by this application is described below:
[0169] The electronic device in the embodiment of the present application may be a single electronic device. For example, the electronic device may be a mobile electronic device, or the electronic device may be a PC, etc., which is not limited here.
[0170] The electronic devices in the embodiments of the present application may be multiple electronic devices that are performing data interaction. For example, the electronic device may be a router and a mobile electronic device that is performing data interaction with the router; or, the electronic device may be two electronic devices that are connected via Bluetooth and are performing data interaction, etc., which is not limited here.
[0171] By way of example, a single electronic device is used as an example to introduce the electronic device provided by this application.
[0172] For example, Figure 10 A structural diagram of an electronic device 100 provided in an embodiment of the present application.
[0173] The following embodiments are described in detail using electronic device 100 as an example. It should be understood that electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. The various components shown in the figure may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.
[0174] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0175] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0176] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0177] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0178] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0179] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0180] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0181] The charging management module 140 is configured to receive charging input from a charger, which may be a wireless charger or a wired charger.
[0182] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to provide power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160.
[0183] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0184] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0185] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0186] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0187] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0188] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0189] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0190] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0191] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0192] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0193] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0194] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0195] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0196] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0197] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0198] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation of DDR SDRAM is generally referred to as DDR5 SDRAM), etc.
[0199] Non-volatile memory may include disk storage devices and flash memory.
[0200] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage cell potential level; universal flash storage (UFS) and embedded multi media card (eMMC) can be divided into UFS and embedded multi media card according to the storage specification.
[0201] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.
[0202] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
[0203] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 via the external memory interface 120 to implement data storage. For example, files such as music and videos can be stored in the external non-volatile memory.
[0204] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0205] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0206] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0207] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0208] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
[0209] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0210] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0211] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0212] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0213] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications.
[0214] In the embodiment of the present application, the processor 110 can call the computer instructions stored in the internal memory 121 to enable the electronic device 100 to execute the communication resource collaboration method in the embodiment of the present application.
[0215] For example, Figure 11 This is another structural diagram of the electronic device 100 provided in an embodiment of the present application.
[0216] The electronic device 100 includes:
[0217] Input device 201, output device 202, processor 203 and memory 204 (wherein the number of processor 203 in electronic device 100 can be one or more, Figure 11 In some embodiments of the present application, the input device 201, the output device 202, the processor 203 and the memory 204 may be connected via a bus or other means, wherein: Figure 11 The bus connection is taken as an example.
[0218] The processor 203 calls the operating instructions stored in the memory 204 to enable the electronic device 100 to execute the communication resource collaboration method in the embodiment of the present application.
[0219] For example, Figure 12 This is a schematic block diagram of the software structure of the electronic device 100 in an embodiment of the present application.
[0220] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other via software interfaces. In some embodiments, the system is divided into four layers: application layer, application framework layer, system library layer, and kernel layer, from top to bottom.
[0221] The application layer can include a series of application packages.
[0222] like Figure 12 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications (also referred to as applications).
[0223] The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0224] like Figure 12 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, a local profile assistant (LPA), and the like.
[0225] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.
[0226] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0227] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0228] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).
[0229] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0230] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically, without requiring user interaction. For example, the Notification Manager can be used to notify users of completed downloads, message reminders, and so on. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog interfaces on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0231] The application framework layer may also include wireless transmission services for providing configurable and differentiated wireless communication capabilities for applications in different application layers or service sessions initiated by applications.
[0232] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.
[0233] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the core library.
[0234] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0235] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0236] Corresponding to the wireless transmission service, the system library also includes a wireless transmission service library, which is configured with implementation methods for the communication resource collaboration method provided in this application. Specifically, methods may be provided for configuring application / service sessions as low-latency services or non-low-latency services; methods may be provided for configuring experience parameters and experience parameter thresholds; methods may be provided for implementing the sending of communication resource release requests, etc. This is not limited here. Program developers can implement wireless transmission services by configuring the parameters of the methods in the wireless transmission service library, or by adding, deleting, or modifying the content of the methods in the wireless transmission service library.
[0237] The surface manager is used to manage the display subsystem and provide the fusion of two-dimensional (2D) and three-dimensional (3D) layers for multiple applications.
[0238] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0239] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0240] A 2D graphics engine is a drawing engine for 2D drawings.
[0241] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, sensor driver, and virtual card driver.
[0242] The kernel layer may also include a network card driver for carrying data interaction, including: receiving / sending communication resource release requests to switch channels, estimating channel delays, broadcasting / listening for first messages, etc.
[0243] It is worth noting that when developing applications, developers configure the methods in the wireless transmission service library so that when the application uses the wireless transmission service, it can directly interact with the network card driver at the kernel layer and implement the communication resource collaboration method provided in this application.
[0244] For example, Figure 13 This is another schematic block diagram of the software structure of the electronic device 100 in an embodiment of the present application.
[0245] In some embodiments, the system is divided into four layers, from top to bottom: application layer, framework layer, system service library, and kernel layer.
[0246] The application layer includes system applications and third-party non-system applications.
[0247] The framework layer provides user program frameworks and capability frameworks in multiple languages such as JAVA / C / C++ / JS for application layer applications, as well as multi-language framework APIs open to the outside world for various software and hardware services.
[0248] The system service layer includes: system basic capability subsystem set, basic software service subsystem set, enhanced software service subsystem set, and hardware service subsystem set.
[0249] The system's basic capabilities subsystems support operations such as operating system execution, scheduling, and migration across multiple devices. These subsystems can include a distributed soft bus, distributed data management, distributed task scheduling, and common infrastructure subsystems. The system service layer and framework layer jointly implement the multi-mode input subsystem and graphics subsystem. The communication resource collaboration method provided in this application can be implemented within the distributed soft bus.
[0250] Among them, the basic software service subsystem set provides public and general software services for the operating system, which may include: event notification subsystem, multimedia subsystem, etc.
[0251] Among them, the enhanced software service subsystem set provides differentiated software services for different devices and may include: IOT proprietary business subsystem.
[0252] Among them, the hardware service subsystem set provides hardware services for the operating system and may include: IOT proprietary hardware service subsystem.
[0253] It is worth noting that, according to the deployment environment of different device forms, the above-mentioned system basic capability subsystem set, basic software service subsystem set, enhanced software service subsystem set, and hardware service subsystem set can be re-divided according to other functional granularities.
[0254] The kernel layer includes the kernel abstraction layer and the driver subsystem. The kernel abstraction layer includes multiple kernels and, by shielding the differences between these kernels, provides the upper layer with basic kernel capabilities, such as thread / process management, memory management, file system, and network management. The driver subsystem provides software developers with unified peripheral access capabilities and a driver development and management framework.
[0255] When configuring the communication resource collaboration method provided in this application, software developers can configure relevant parameters in the distributed soft bus, driver subsystem, IoT-specific business subsystem, or IoT-specific hardware service subsystem. Furthermore, applications in the application layer can implement the communication resource collaboration method provided in this application.
[0256] It is worth noting that, depending on the operating system and possible future upgrades, the software structure of the electronic device can be divided in other ways based on the operating system.
[0257] The following describes the communication resource collaboration method provided by this application.
[0258] Figure 14 This is an exemplary diagram of the communication resource collaboration method process provided in this application.
[0259] like Figure 14 As shown, the communication resource collaboration method provided by this application may include:
[0260] S1401: In response to the establishment of the service session, the electronic device prepares to access the channel.
[0261] Specifically, in response to a user starting an application on an electronic device, or in response to an application on an electronic device creating a service session, the electronic device begins to prepare for data interaction and prepares to select appropriate communication resources to carry the data interaction.
[0262] The service session may be an HTTP session, an RTP session, etc., which is not limited here.
[0263] When electronic devices select appropriate communication resources, the range of wireless channels they can choose varies depending on the protocol used to establish communication in an application / service session. For example, when an electronic device is connected via Bluetooth 4.0, it can select multiple wireless channels within the frequency range of 2.4GHz to 2.483GHz. The frequency range and number of wireless channels also vary depending on the specific protocol version and region.
[0264] Optionally, in some embodiments of the present application, when an electronic device starts an application or when the application creates a service session, it can directly specify that the application is a low-latency service or that the service session is a low-latency service. That is, when developing an application, a software developer can pre-configure the application / service session as a low-latency service or other service. The concept of low-latency service can be referred to in the text description of low-latency service and other services (1) in the explanation, and will not be repeated here.
[0265] Execute step S1402.
[0266] S1402: The electronic device listens to the first message on the control channel.
[0267] Specifically, when the electronic device is preparing to access a channel, it may allocate a certain amount of time to listen to the first message on the control channel to determine whether there is a first type of channel in the current space.
[0268] The process of the electronic device preparing to access the channel may occur when the electronic device changes from an idle state to a connected state, or when the electronic device changes from a dormant state to a connected state.
[0269] The length of time allocated by the electronic device to listen to the first message may be related to the period T of broadcasting the first message on the control channel in step S1406. For example, the electronic device may allocate 1.2T to listen to the first message on the control channel, which is not limited here.
[0270] The concepts of control channel, out-of-band channel, first message, etc. can be referred to in the description of (3) wireless channel, (4) channel selection strategy, and device avoidance strategy in the term explanation, and will not be repeated here.
[0271] Execute step S1403.
[0272] S1403: The electronic device selects a channel to access according to the channel selection strategy.
[0273] Specifically, after the electronic device listens to the first message in step S1402, it can determine whether a first-class channel currently exists. The electronic device selects a channel to access based on whether the first-class channel currently exists and the channel selection policy pre-configured on the electronic device.
[0274] In some embodiments of the present application, when selecting a channel to access, if the electronic device cannot currently determine whether it is a Class I or Class II device based on existing parameters, it can select an appropriate channel to access based on the communication protocol it complies with. After selecting a channel to access, if the electronic device determines that a low-latency service is running on the electronic device, that is, if the electronic device is a Class I device, it can switch to the Class I channel.
[0275] In some embodiments of the present application, after the electronic device is converted from a second-category device to a first-category device and after executing step S1402 , it is determined that a first-category channel exists, and the first-category channel for switching can be selected according to the channel selection strategy.
[0276] In some embodiments of the present application, after an electronic device is converted from a second-category device to a first-category device, when the experience parameter of the low-latency service on the electronic device does not meet the experience parameter threshold, and after executing step S1402, it is determined that there is a first-category channel, the first-category channel for switching can be selected based on the channel selection strategy.
[0277] The concepts of first-class devices, second-class devices, first-class channels, and channel selection strategies can be found in the descriptions of (2) first-class channels, second-class devices, (3) wireless channels, and (4) channel selection strategies and device avoidance strategies in the term explanations, and will not be repeated here.
[0278] Execute step S1404.
[0279] S1404: When the electronic device is a first-category device and is on a first-category channel, determine whether an experience parameter of a low-latency service on the electronic device meets an experience parameter threshold.
[0280] Specifically, after the electronic device accesses the wireless channel and before executing step S1404, it can determine whether the application / service session currently running on the electronic device is a low-latency service, that is, whether the electronic device is a Class I device. Furthermore, the electronic device can determine whether it is currently on a Class I channel. If the electronic device is a Class I device, it may be running one or more low-latency services. The electronic device determines whether the experience parameters of all current low-latency services meet the experience parameter threshold.
[0281] The electronic device can obtain the experience parameter threshold of all current low-latency services, and when the experience parameter is channel delay, the electronic device can determine the channel delay of the current channel, and then determine whether the experience parameter meets the experience parameter threshold. Figure 10 The mobile communication module 150, wireless communication module 160, etc. shown in FIG. 1 obtain the experience parameters of the low-latency service; or, the electronic device can obtain the experience parameters of the low-latency service based on the following example: Figure 12 The network card driver shown obtains the experience parameters of the low-latency service. Alternatively, the low-latency service determines whether the experience parameters meet the experience parameters and notifies the electronic device of the result of whether the experience parameters meet the experience parameters. For example, when the experience parameters are KPIs or QoE, the low-latency service determines the relationship between the experience parameters and the experience parameter threshold and notifies the electronic device of the result.
[0282] When the experience parameter of any low-latency service does not meet the experience parameter threshold, step S1405 is executed;
[0283] When the experience parameters of all low-latency services on the device meet the experience parameter threshold, step S1408 is executed.
[0284] Optionally, in some embodiments of the present application, for a first-class device, when the experience parameter does not meet the experience parameter threshold and there are multiple first-class channels, the device may switch to another first-class channel before performing step S1404. When switching to another first-class channel, the device may switch to the first-class channel with the largest number of first-class devices, or may switch to the first-class channel with the highest signal-to-noise ratio, or may switch to the first-class channel with the highest receive power.
[0285] The concepts of how the device determines that the application / service session running on the device is a low-latency service, experience parameters, experience parameter thresholds, etc. can be referred to the text descriptions in the term explanation (1) low-latency service, other services, (4) channel selection strategy, and device avoidance strategy, and will not be repeated here.
[0286] S1405: Whether there is a second type of device performing data interaction on the first type of channel.
[0287] Specifically, depending on the classification criteria for low-latency services, different methods can be used to determine whether a second-category device is interacting with data on the channel where the electronic device is located. If a second-category device is interacting with data on the channel where the electronic device is located, step S1406 is executed; if no second-category device is interacting with data on the channel where the electronic device is located, step S1407 is executed.
[0288] For example, when low-latency services are pre-configured for applications, electronic devices can use TXOP detection, radio detection, RTS / CTS and other technologies to obtain the field used to represent the application in the data message header in the channel to determine whether there is a second type of device performing data interaction in the current channel.
[0289] For another example, when the classification criteria for low-latency services are related to channel delay or interaction delay, electronic devices can access other electronic devices through short-range communication services to determine whether they are first-category devices; or electronic devices can record the device that broadcasts the first message on the control channel and compare it with the device that is interacting with data on the current channel to determine whether there is a second-category device in the current channel. This is not limited here.
[0290] S1406: The first type of device sends a communication resource release request to the second type of device according to the device avoidance strategy.
[0291] Specifically, a first-category device sends a communication resource release request to one or more second-category devices (or second-category devices and other-category devices) in the first-category channel where the first-category device is located, based on the device avoidance strategy. Alternatively, a first-category device broadcasts a communication resource release request to all devices in the channel where the first-category device is located, based on the device avoidance strategy.
[0292] The concepts of terms such as device avoidance strategy and communication resource release request can be referred to the text descriptions in (4) channel selection strategy and device avoidance strategy in the term explanation, and will not be repeated here.
[0293] Execute step S1404.
[0294] It can be understood that by initiating a communication resource release request to other devices, other devices are forced to switch channels or reduce communication rates, thereby giving up communication resources to electronic devices where low-latency services are located, thereby improving the user experience of users using low-latency services.
[0295] The following combination Figure 15 、 Figure 16 The content shown exemplarily introduces how the first type of device sends a communication resource release request according to the device avoidance strategy.
[0296] Figure 15 This is an exemplary schematic diagram of a first type of device sending a communication resource release request to other devices in an embodiment of the present application.
[0297] like Figure 15As shown, a Wi-Fi connection is established between phone 1 and the projector, and a Bluetooth connection is established between phone 2 and phone 3. Phone 1 and the projector are running the projection service, which is preconfigured as a low-latency service. This means that phone 1 is a Class 1 device. Phones 2 and 3 are running the file transfer service, which is preconfigured as a high-throughput service. This means that phone 2 is a Class 2 device. Furthermore, the channel used for data exchange between phone 1 and the projector is the same as the channel used for data exchange between phone 2 and phone 3.
[0298] When the experience parameter of the low-latency service on mobile phone 1 does not meet the experience parameter threshold, it prepares to send a communication resource release request to mobile phone 2 based on the locally pre-configured device avoidance strategy. At this time, mobile phone 1 can establish a short-range communication service with mobile phone 2 through technologies such as radio sensing technology, such as HiLink connection or Bluetooth connection, and send the communication resource release request to mobile phone 2 based on the short-range communication service.
[0299] Figure 16 This is another exemplary schematic diagram of a first type of device sending a communication resource release request to other devices in an embodiment of the present application.
[0300] and Figure 15 The content shown is similar to Figure 16 The mobile phone 1 shown is a first type of device, and the mobile phone 2 is a second type of device, and both the mobile phone 1 and the mobile phone 2 are connected to the router via WIFI.
[0301] like Figure 16 As shown in (A), when the experience parameter of the low-latency service on mobile phone 1 does not meet the experience parameter threshold, a communication resource release request and the frequency and bandwidth of channel 1, which carries the screen projection service data exchange for mobile phone 1, can be sent to the router. The router can forward the communication resource release request and the frequency and bandwidth representing channel 1 to multiple devices, including mobile phone 2, based on the device avoidance policy preconfigured on the router.
[0302] Multiple devices including mobile phone 2 receive the communication resource release request and the frequency and bandwidth indicating wireless channel 1. Since mobile phone 2 is a second-class device that exchanges data on wireless channel 1, mobile phone 2 chooses to switch to the Bluetooth channel.
[0303] like Figure 16 As shown in (B), when the experience parameter of the low-latency service on mobile phone 1 does not meet the experience parameter threshold, it can determine to send a communication resource release request to mobile phone 2 based on the pre-configured device avoidance strategy. Mobile phone 1 can send the communication resource release request and the identifier of mobile phone 2 to the router via Wi-Fi. After receiving the communication resource release request, the router can forward it to the router based on the identifier of mobile phone 2.
[0304] S1407: The first type of electronic device widens the first type of channel.
[0305] Specifically, when there is no second-category device in the first-category channel where the first-category device is located, the first-category device can ensure communication resources for low-latency services by expanding the first-category channel.
[0306] Broadening the first-class channel may include: changing the frequency and bandwidth of the first-class channel, such as increasing the bandwidth, etc.; or, it may be establishing a new channel as a new first-class channel according to the communication protocol complied by the device, which is not limited here.
[0307] The establishment of a new channel may include: for a router, channels may be re-divided from an available spectrum, and a channel corresponding to a new frequency point and bandwidth may be selected for access.
[0308] Execute step S1404.
[0309] S1408: The first type of device broadcasts a first message on the control channel, notifying that the channel is a first type of channel.
[0310] Specifically, when the experience parameter meets the experience parameter threshold, the application on the electronic device may broadcast a first message on the control channel to inform other devices that the channel indicated by the first message is a first-category channel.
[0311] Optionally, in some embodiments of the present application, the electronic device may also inform other devices through short-range communication or other communication protocols that the channel where the electronic device is located is a first-category channel.
[0312] by Figure 17 As shown in the example, there are multiple electronic devices interacting with each other. Figure 14 The communication resource collaboration method shown is an exemplary description of the communication resource collaboration method in the embodiment of the present application:
[0313] Figure 17 An exemplary schematic diagram of the communication resource collaboration method provided in an embodiment of the present application in a multi-device interaction scenario.
[0314] like Figure 17 As shown in the figure, a scenario involves multiple electronic devices that can interact with each other, including: mobile phone 1, mobile phone 2, and mobile phone 3. Mobile phone 1, mobile phone 2, and mobile phone 3 each establish wireless connections with other devices and exchange data. To simplify the description of this scenario, it is assumed that the wireless connections established by mobile phone 1, mobile phone 2, and mobile phone 3 can all be carried on channel 1 or channel 2. Channel 1 and channel 2 have different frequencies and the same channel delay.
[0315] In this scenario, mobile phone 1 runs application A, which is preconfigured for low-latency services. Mobile phone 2 runs application B, which is configured with a 180ms latency threshold. This means that when the estimated channel latency is greater than 180ms, the application is configured as a low-latency service, and when it is less than 180ms, the application is configured as a different service. Mobile phone 3 runs application C, which is configured for high-throughput services. The experience parameter threshold for application A is an estimated channel latency of 165ms, while the experience parameter threshold for application B is 200ms.
[0316] And, combined with Figure 17 The estimated channel delay shown shows that: from 0 to 0.4 seconds, mobile phone 2 is a Class 2 device; from 0.4 to 1.0 seconds, mobile phone 2 is a Class 1 device; and after 1.0 seconds, mobile phone 2 is a Class 2 device. Mobile phone 1 is always a Class 1 device, and mobile phone 3 is always a Class 2 device.
[0317] The following combination Figure 14 The steps in the communication resource cooperation method shown are exemplarily introduced in which the mobile phone 2 Figure 17 The process of implementing the communication resource collaboration method provided by this application is implemented in the scenario shown.
[0318] Before the 0th second, mobile phone 1 and mobile phone 3 have both connected to channel 1 for data exchange, and mobile phone 1 is a first-class device and mobile phone 3 is a second-class device; from the 0th second to the 0.3th second, mobile phone 1 broadcasts the first message to inform other devices that the channel is a first-class channel.
[0319] Corresponding to step S1401: at the 0th second, the user starts application B on mobile phone 2 and prepares to access the channel.
[0320] Corresponding to step S1402: within 0 seconds to 0.3 seconds, mobile phone 2 intercepts the first message sent by mobile phone 1 and learns that channel 1 in the current environment is a first-category channel and channel 2 is a second-category channel.
[0321] Corresponding to step S1403: Between seconds 0 and 0.3, and after monitoring the first message, mobile phone 2 selects channel 1. Between seconds 0.3 and 0.4, because the estimated channel delay is greater than the experience parameter threshold of application A, mobile phone 1 sends communication resource release request 2 to mobile phone 2 and communication resource release request 1 to mobile phone 3. In response to communication resource release request 2, mobile phone 2 switches to channel 2; in response to communication resource release request 1, mobile phone 3 reduces the communication rate.
[0322] Corresponding to step S1406: Between 0.3 and 0.4 seconds, because the estimated channel delay is greater than the channel delay threshold of application B, mobile phone 2 transitions from a Class 2 device to a Class 1 device. Since mobile phone 2 transitions to a Class 1 device, it selects the Class 1 channel for access, i.e., Channel 1.
[0323] From 0.45 to 0.8 seconds, after mobile phone 2 accesses channel 1, it estimates that the channel delay is still greater than the experience parameter threshold of application B. Therefore, it sends a communication resource release request to mobile phone 3. After receiving communication resource release request 3, mobile phone 3 switches to channel 2.
[0324] It is understandable that by implementing the communication resource collaboration method provided in this application, it is ensured that the service experience of services statically configured as low-latency services is always maintained at a high level, and secondly, it is ensured that the service experience of services dynamically configured as low-latency services does not fall below a lower level. The communication resource collaboration method provided in this application achieves a dynamic balance between maximizing communication resource utilization, maximizing the user experience of low-latency services, and minimizing interaction delay and instability.
[0325] It can be understood that by implementing the communication resource collaboration method provided in this application, through the dynamic and differentiated allocation of communication resources, for low-latency services, the increase and instability of interaction delay caused by channel resource shortages, frequent channel switching, etc. is avoided to a great extent, and the communication resources for running low-latency service equipment are effectively guaranteed.
[0326] As used in the above embodiments, the term “when…” may be interpreted to mean “if…” or “after…” or “in response to determining…” or “in response to detecting…”, depending on the context. Similarly, the phrases “upon determining…” or “if (stated condition or event) is detected” may be interpreted to mean “if determining…” or “in response to determining…” or “upon detecting (stated condition or event)” or “in response to detecting (stated condition or event)”, depending on the context.
[0327] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk).
[0328] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A communication resource collaboration method, characterized in that: include: A first electronic device is connected to a first channel, and a first service is running on the first electronic device, where the first service is a low-latency service; The first electronic device obtains an experience parameter of the first service, where the experience parameter of the first service is used to reflect the service quality of the first service; When the experience parameter of the first service does not meet the experience parameter threshold, the first electronic device determines whether a second electronic device occupies the communication resources of the first channel, where the second electronic device is an electronic device that does not run the low-latency service; When a second electronic device occupies the communication resource of the first channel, the first electronic device sends a communication resource release request to the second electronic device.
2. The method according to claim 1, characterized in that Before the first electronic device accesses the first channel, the method further includes: The first electronic device determines, based on a clear channel assessment CCA, that a channel having the least number of electronic devices is the first channel.
3. The method according to claim 1, characterized in that Before the first electronic device accesses the first channel, the method further includes: The first electronic device monitors a third message on a control channel or an out-of-band channel, where the third message is used to instruct the first electronic device to access the first channel.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: When the experience parameter of the first service meets the experience parameter threshold, the first electronic device broadcasts a first message on a control channel or an out-of-band channel, where the first message indicates that the first channel is used to carry data interaction of electronic devices running low-latency services.
5. The method according to claim 4, characterized in that The method further comprises: When no second electronic device occupies the communication resource of the first channel, the first electronic device widens the first channel.
6. The method according to claim 5, characterized in that The first electronic device sending a communication resource release request to the second electronic device specifically includes: The first electronic device broadcasts the communication resource release request on a control channel or an out-of-band channel.
7. The method according to any one of claims 5 or 6, characterized in that The first electronic device sending a communication resource release request to the second electronic device specifically includes: The first electronic device establishes a connection with the second electronic device and sends the communication resource release request to the second electronic device.
8. The method according to claim 7, characterized in that Before the step of establishing a connection between the first electronic device and the second electronic device and sending the communication resource release request to the second electronic device, the method further includes: The first electronic device determines that the second electronic device is the electronic device that occupies the most communication resources of the first channel.
9. The method according to claim 8, characterized in that The experience parameter includes one or more of quality of experience (QoE), key performance indicator (KPI), or channel delay.
10. The method according to claim 8 or 9, characterized in that The communication resource release request is used to request the second electronic device to reduce the communication rate on the first channel; Alternatively, the communication resource release request is used to request the second electronic device to leave the first channel.
11. A communication resource collaboration method, characterized in that: include: A first electronic device and a second electronic device are connected to a first channel. The first electronic device runs a first service, which is a low-latency service, and the second electronic device does not run the low-latency service. The first electronic device obtains an experience parameter of the first service, where the experience parameter of the first service is used to reflect the service quality of the first service; When the experience parameter of the first service does not meet the experience parameter threshold, the first electronic device sends a communication resource release request to the second electronic device.
12. The method according to claim 11, characterized in that Before the first electronic device accesses the first channel, the method further includes: The first electronic device determines, based on a clear channel assessment CCA, that a channel having the least number of electronic devices is the first channel.
13. The method according to claim 11, characterized in that Before the first electronic device accesses the first channel, the method further includes: The first electronic device monitors a third message on a control channel or an out-of-band channel, where the third message is used to instruct the first electronic device to access the first channel.
14. The method according to any one of claims 11 to 13, characterized in that The method further comprises: When the experience parameter of the first service meets the experience parameter threshold, the first electronic device broadcasts a first message on a control channel or an out-of-band channel, where the first message indicates that the first channel is used to carry data interaction of electronic devices running low-latency services.
15. The method according to claim 14, characterized in that The first electronic device sending a communication resource release request to the second electronic device specifically includes: The first electronic device broadcasts the communication resource release request on a control channel or an out-of-band channel; The second electronic device receives the communication resource release request on a control channel or an out-of-band channel.
16. The method according to claim 14, characterized in that The first electronic device sending a communication resource release request to the second electronic device specifically includes: The first electronic device establishes a connection with the second electronic device, and the first electronic device sends the communication resource release request to the second electronic device.
17. The method according to claim 15 or 16, further comprising: after the first electronic device sends the communication resource release request to the second electronic device: In response to the communication resource release request, the second electronic device reduces the communication rate on the first channel; Alternatively, the second electronic device leaves the first channel.
18. The method according to claim 17, characterized in that The experience parameter includes one or more of quality of experience (QoE), key performance indicator (KPI), or channel delay.
19. An electronic device, characterized in that: The electronic device includes: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program code, where the computer program code includes computer instructions. The one or more processors call the computer instructions to enable the electronic device to perform the method according to any one of claims 1 to 18.
20. A computer program product comprising instructions, characterized in that When the computer program product is run on an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 18.
21. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Traffic-priority based silencing techniques for interference mitigation
CN110089183A