WO2022206603A1 - Communication resource cooperation method and electronic device - Google Patents

Communication resource cooperation method and electronic device Download PDF

Info

Publication number
WO2022206603A1
WO2022206603A1 PCT/CN2022/083061 CN2022083061W WO2022206603A1 WO 2022206603 A1 WO2022206603 A1 WO 2022206603A1 CN 2022083061 W CN2022083061 W CN 2022083061W WO 2022206603 A1 WO2022206603 A1 WO 2022206603A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
channel
service
communication resource
type
Prior art date
Application number
PCT/CN2022/083061
Other languages
French (fr)
Chinese (zh)
Inventor
王皓
姚松平
张志军
李锋
郭兴民
顾燕杰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022206603A1 publication Critical patent/WO2022206603A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to a communication resource cooperation method and an electronic device.
  • AIoT artificial intelligence & internet of things
  • Electronic devices such as smart wearable devices, smart home devices, and mobile terminals can already realize data interaction through wireless networks.
  • the communication resources that can be used in the space are limited. For example, when multiple devices access the wireless network provided by the same access device, the multiple devices need to compete for limited wireless air interface resources for data interaction. After the electronic device fails to compete for wireless air interface resources, the electronic device temporarily stores the data to be sent locally, and waits for the next competition to succeed.
  • the competition process will inevitably increase the delay of the device interaction process, and lead to the instability of the device interaction process delay.
  • the increase in the delay of the interaction process and the instability of the delay will greatly deteriorate the user experience.
  • the service running on the device is a non-low-latency service, the increase of the delay in the interaction process and the instability of the delay will make the user's perception weaker, so the impact on the user experience is small.
  • device 1 and device 2 perform data exchange on channel 1 respectively, and the delay of wireless channel 1 in a certain period of time is about 500ms.
  • Device 1 runs a screen casting service (low-latency service), and device 2 runs a download service (non-low-latency service).
  • the delay of channel 1 cannot meet the requirements of the screen projection service, and the delay of channel 1 can meet the requirements of the download service. Users can clearly perceive the freeze of the screen projection service, but it is difficult to perceive the freeze of the download service.
  • the device After the device is connected to the wireless network, when the service experience on the device does not meet the requirements, it can actively switch channels.
  • the communication quality of the channel after the handover may be worse than the quality of the channel before the handover, and performing data exchange on the channel after the handover will lead to increased interaction delay and instability.
  • choosing to actively switch channels may deteriorate the user experience.
  • An embodiment of the present application provides a communication resource coordination method, the method includes: a device running a low-latency service can instruct a device that does not run a low-latency service to reduce the occupation of channel communication resources, thereby fully guaranteeing the low-latency operation.
  • the communication resources of the service equipment are delayed, which improves the user experience.
  • the present application provides a communication resource coordination method, the method 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 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 judges whether there is a second electronic device occupying the communication of the first channel resource, 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 to the second electronic device ask.
  • the device running the low-latency service when the service experience parameter does not meet the experience parameter threshold, the device running the low-latency service sends a communication resource release request to other devices that do not run the low-latency service.
  • Devices running low-latency services release communication resources, thereby ensuring communication resources for devices running low-latency services, and improving user experience.
  • the first electronic device determines a channel with the least number of electronic devices as the first channel based on the idle channel evaluation CCA.
  • 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's experience of the low-latency service.
  • 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 .
  • the device running the low-latency service can monitor the third message on the control channel or the 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. Helps improve user experience of the low-latency service.
  • the first electronic device 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, the first The message is used to indicate that: the first channel is used to carry data exchange of electronic devices running low-latency services.
  • the electronic device running the low-latency service broadcasts that the channel on which the electronic device is located is suitable for carrying the data interaction of the low-latency service, which helps other devices to select a suitable channel as needed.
  • the first electronic device widens the first channel when no second electronic device occupies the communication resources of the first channel.
  • the electronic device can widen the channel to obtain more communication resources, thereby improving the user experience.
  • the first electronic device broadcasts the communication resource release request on a control channel or an out-of-band channel.
  • a device running a low-latency service can broadcast a communication resource release request on a control channel or an out-of-band channel, so that as many other devices as possible receive the request, release more communication resources, and then Improves user experience when using low-latency services.
  • the first electronic device establishes a connection with the second electronic device, and sends the communication resource release request to the second electronic device.
  • 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.
  • the first electronic device determines that the second electronic device is the electronic device that occupies the most communication resources of the first channel.
  • the electronic device running the low-latency service can give priority to the device occupying more communication resources to give up more communication resources, so as to improve the user's experience when using the low-latency service.
  • the experience parameter includes one or more of quality of experience QoE, key performance indicator KPI, or channel delay.
  • the experience parameter of the low-latency service may include a combination of one or more parameters, which can measure the user's experience of the service more accurately.
  • the communication resource release request is used to request the electronic device to reduce the occupation of the communication resources of the first channel.
  • the occupancy of the communication resources of the first channel can be reduced, and the communication resources occupied by the device of the low-latency service can be increased.
  • the experience parameter is used to reflect the service quality of the first service.
  • the device running the low-latency service can estimate the user's experience of the low-latency service according to the experience parameter.
  • 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 The second electronic device leaves the first channel.
  • 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 contributing to low-latency
  • the device acquires more communication resources to improve the user experience.
  • the present application provides a communication resource coordination method, the method includes: a second electronic device accesses a first channel, and a low-latency service is not running on the second electronic device; the second electronic device receives a communication resource A release request; the second electronic device reduces the occupation of the communication resources of the first channel.
  • devices that do not run low-latency services can receive and respond to communication resource release requests, reduce the occupation of communication resources, help devices running low-latency services to obtain more communication resources, and thus improve user Experience with low-latency services.
  • the second electronic device reduces the communication rate on the first channel; or, the second electronic device leaves the first channel.
  • the response of the device not running the low-latency service to the communication resource release request can be in various ways, even if the device not running the low-latency service can release the communication resources reasonably according to its own situation, it is also It can increase the opportunity for devices running low-latency services to obtain communication resources.
  • the present application provides a communication resource coordination method, the method includes: a first electronic device and a second electronic device access a first channel, the first electronic device runs a first service, the first service It 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 The first electronic device sends a communication resource release request to the second electronic device.
  • the device running the low-latency service when the service experience parameter does not meet the experience parameter threshold, the device running the low-latency service sends a communication resource release request to other devices that do not run the low-latency service.
  • Devices running low-latency services release communication resources, thereby ensuring communication resources for devices running low-latency services, and improving user experience.
  • the first electronic device determines a channel with the least number of electronic devices as the first channel based on the idle channel evaluation CCA.
  • 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's experience of the low-latency service.
  • 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 .
  • the device running the low-latency service can monitor the third message on the control channel or the 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. Helps improve user experience of the low-latency service.
  • the first electronic device broadcasts a first message on a control channel or an out-of-band channel, where the first message is used to indicate: the The first channel is used to carry the data interaction of the electronic device running the low-latency service.
  • the electronic device running the low-latency service broadcasts that the channel on which the electronic device is located is suitable for carrying the data interaction of the low-latency service, which helps other devices to select a suitable channel as needed.
  • 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.
  • a device running a low-latency service can broadcast a communication resource release request on a control channel or an out-of-band channel, so that as many other devices as possible receive the request, release more communication resources, and then Improves user experience when using low-latency services.
  • 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.
  • 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.
  • the second electronic device in response to the communication resource release request, reduces the communication rate on the first channel; or, the second electronic device leaves the first channel.
  • the electronic device running the low-latency service can give priority to the device occupying more communication resources to give up more communication resources, so as to improve the user's experience when using the low-latency service.
  • the experience parameter includes one or more of quality of experience QoE, key performance indicator KPI or channel delay.
  • the experience parameter of the low-latency service may include a combination of one or more parameters, which may more accurately measure the user's experience of the service.
  • the communication resource release request is used to request the electronic device to reduce the occupation of the communication resources of the first channel.
  • the occupancy of the communication resources of the first channel can be reduced, and the communication resources occupied by the device of the low-latency service can be increased.
  • the experience parameter is used to reflect the service quality of the first service.
  • the device running the low-latency service can estimate the user's experience of the low-latency service according to the experience parameter.
  • an embodiment of the present application provides an electronic device, the electronic device includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program codes,
  • the computer program code includes computer instructions, which are invoked by the one or more processors to cause the electronic device to execute: a first electronic device is connected to a first channel, a first service is running on the first electronic device, and the first electronic device is connected to a first channel.
  • a service is a 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 determines whether there is a second electronic device Occupies 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 message to the first electronic device. The second electronic device sends a communication resource release request.
  • the first electronic device determines, based on the idle channel evaluation CCA, a channel with the least number of electronic devices as the first channel.
  • 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.
  • the first electronic device broadcasts a first message on a control channel or an out-of-band channel, where the first message is used to indicate: the The first channel is used to carry the data interaction of the electronic device running the low-latency service.
  • the first electronic device when no second electronic device occupies the communication resources of the first channel, the first electronic device widens the first channel.
  • the first electronic device broadcasts the communication resource release request on a control channel or an out-of-band channel.
  • the first electronic device determines that the second electronic device is the electronic device that occupies the most communication resources of the first channel.
  • the experience parameter includes one or more of quality of experience QoE, key performance indicator KPI or channel delay.
  • an embodiment of the present application provides an electronic device, the electronic device includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program codes,
  • the computer program code includes computer instructions that are invoked by the one or more processors to cause the electronic device to execute: a second electronic device is connected to the first channel, and no low-latency service is running on the second electronic device; the The second electronic device receives the communication resource release request; the second electronic device reduces the occupation of the communication resources of the first channel.
  • the second electronic device reduces the communication rate on the first channel; or, the second electronic device leaves the first channel.
  • an embodiment of the present application provides a chip system, the chip system is applied to an electronic device, the chip system includes one or more processors, and the processors are configured to invoke computer instructions to cause the electronic device to execute the first A method as described in the aspect and any possible implementation of the first aspect, or as described in the second aspect and any possible implementation of the second aspect.
  • the application embodiments provide a computer program product including instructions, when the above computer program product is run on an electronic device, the electronic device is made to perform as described in the first aspect and any possible implementation manner of the first aspect The method, or the method described in the second aspect and any possible implementation manner of the second aspect.
  • the application embodiments provide a computer-readable storage medium, including instructions, when the above-mentioned instructions are executed on an electronic device, the electronic device executes as described in the first aspect and any possible implementation manner of the first aspect The method, or the method described in the second aspect and any possible implementation manner of the second aspect.
  • the electronic device provided in the fourth aspect and the fifth aspect, 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 embodiments of the present application. provided method. Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects in the corresponding method, which will not be repeated here.
  • FIG. 1 is an exemplary schematic diagram of the influence of channel delay on different types of services.
  • FIG. 2 is an exemplary schematic diagram of the conversion between the first type of equipment and the second type of equipment.
  • FIG. 3 is another exemplary schematic diagram of the conversion between the first type of equipment and the second type of equipment.
  • FIG. 4 is an exemplary schematic diagram of the relationship between the channel delay and the interaction delay.
  • FIG. 5 is an exemplary schematic diagram of the relationship between experience parameters, experience parameter thresholds, and device transitions.
  • FIG. 6 is an exemplary schematic diagram of communication resource allocation in a P2P scenario.
  • FIG. 7 and FIG. 8 respectively show two wireless channel selection access methods involved in the present application.
  • FIG. 9 is an exemplary schematic diagram of an implementation scenario of the communication resource cooperation method provided by the present application.
  • FIG. 10 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • FIG. 11 is another schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • FIG. 12 is a schematic block diagram of a software structure of the electronic device 100 in the embodiment of the present application.
  • FIG. 13 is another schematic block diagram of the software structure of the electronic device 100 in the embodiment of the present application.
  • FIG. 14 is an exemplary schematic diagram of the flow of the communication resource cooperation method provided by the present application.
  • FIG. 15 is an exemplary schematic diagram of a first type of device sending a communication resource release request to another device in an embodiment of the present application.
  • FIG. 16 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.
  • FIG. 17 is an exemplary schematic diagram of the communication resource cooperation method provided by the embodiment of the present application in a multi-device interaction scenario.
  • first and second are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. 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 the present application, unless otherwise specified, the “multiple” The meaning is two or more.
  • Applications/service sessions can be divided into low-latency services and other services according to their own requirements for the latency of data interaction.
  • the application/service session is considered to be a low-latency service;
  • the delay is not sensitive, the application/service session is considered to be other services.
  • the delay of data interaction can be referred to as the interaction delay, which means that one end of the network is ready to start sending data, and the other end of the network finishes receiving and processing the data. required time.
  • Low-latency services can take many forms, mainly including two forms.
  • First, low-latency services can include applications/service sessions that enable streaming data from one device to another. For example, streaming media data such as PPT and online video on the mobile phone can be projected onto the TV, VR/AR and other devices.
  • the application/service session is a low-latency service.
  • Second, low-latency services may include application/service sessions that transmit control commands. For example, the game needs to send the user's game instructions to the server in time, and the game is a low-latency service; or, the application/service session responsible for the interaction between the manufacturing equipment in the factory and the industrial control instructions of the central equipment is a low-latency service.
  • other services may be further classified into general services and high-throughput services.
  • a service session initiated by an application on a device transmits a large amount of data per unit of time
  • the application/service session is considered to be a high-throughput service.
  • the service 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.
  • the application/service session on the device may be configured with its own service type statically or dynamically.
  • the static configuration may include: an application/service session on the device can preconfigure itself as a low-latency service/other service, and can declare itself as a low-latency service or other service to other electronic devices.
  • the dynamic configuration may include: preconfiguring a parameter threshold for the application/service session on the device, and the device may determine the service type of the application/service session by evaluating the communication quality or experience quality of the current application/service session.
  • the application/service session on the device may be preconfigured as a low-latency service/other service.
  • the device/operating system may designate any application/service session as a low-latency service/other service.
  • an application/service session on the device may be preconfigured with a delay threshold, and when the channel delay/interaction delay is greater than or equal to the delay threshold, the application/service session It is a low-latency service; correspondingly, when the channel delay is less than the delay threshold, the application/service session is other services.
  • the application/service session on the device may evaluate its own quality of experience (quality of experience, QoE) parameter, and a QoE threshold may be preconfigured.
  • QoE quality of experience
  • 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.
  • QoE is a comprehensive evaluation parameter of the user's subjective feeling of the service during the user's interaction with the service.
  • QoE can have different calculation methods and expressions according to different applications/service sessions.
  • QoE may be the comprehensive evaluation result of part or all of parameters such as uplink and downlink air interface channel delay, bandwidth, and network jitter in the data exchange of the application/service session, which is not limited here.
  • the following takes the content shown in FIG. 1 as an example to exemplarily introduce low-latency services and non-low-latency services.
  • FIG. 1 is an exemplary schematic diagram of the influence of channel delay on different types of services.
  • Figure 1 (A) shows a low-latency service scenario.
  • the mobile phone establishes a WIFI connection with the projector, and transmits the PPT displayed on the screen of the mobile phone to the projector through the WIFI connection on display.
  • the projection service is a low-latency service.
  • the air interface resources are limited or the channel signal-to-noise ratio is low, the interaction delay is relatively large and/or the interaction delay is unstable.
  • FIG. 1 shows a high-throughput service scenario.
  • the mobile phone 1 and the mobile phone 2 establish a WIFI connection, and the video files are transmitted from the mobile phone 1 to the mobile phone 2 through the WIFI connection.
  • the video transmission service is a high-throughput service.
  • the interaction delay is large and/or the interaction delay is unstable
  • the mobile phone 1 starts to transmit the video file to the mobile phone 2; at the 0.5th second, the mobile phone 2 starts to receive the mobile phone 1.
  • the electronic device can be divided into the first type of device and the second type of device.
  • the first type of device is an electronic device that is running a low-latency service
  • the second type of device is an electronic device that is not running a low-latency service.
  • both the first type of device and the second type of device perform data interaction on the same channel.
  • electronic devices may be further classified into first-type devices, second-type devices, and other types of devices.
  • first type of equipment is electronic equipment that is running low-latency services
  • second type of equipment is electronic equipment that is not running low-latency services and is running high-throughput services
  • other types of equipment are neither running low-latency services.
  • classifying electronic devices into the first type of equipment and the second type of equipment provides a basis for the differentiated scheduling of communication resources, and giving priority to ensuring the communication resources of the first type of equipment is conducive to improving user experience; or , the electronic equipment can be classified into the first type of equipment, the second type of equipment and other types of equipment.
  • the second type of equipment runs high-throughput services and occupies a large amount of communication resources, the second type of equipment can be given priority. Communication resources, more effectively improve the efficiency of communication resource scheduling.
  • the application/service session can be transformed from a low-latency service to other services, and similarly, it can also be transformed from other services to low-latency services.
  • the first type of equipment can be converted into the second type of equipment (other type of equipment), and the second type of equipment (other type of equipment) can be converted into the first type of equipment.
  • the following takes the content shown in FIG. 2 and FIG. 3 as examples to introduce the conversion between the first type of equipment and the second type of equipment.
  • FIG. 2 is an exemplary schematic diagram of the conversion between the first type of equipment and the second type of equipment.
  • Figure 2 (A) shows the conversion between the first type of device and the second type of device from the application point of view.
  • Figure 2 (B) shows the conversion between the first type of equipment and the second type of equipment from the perspective of service sessions.
  • the game when a game is running on the mobile phone 1, and the game is in the process of playing, the game is a low-latency service, that is, the mobile phone 1 is a first-class device; After the game battle of the game is over and the game body is updated, at this time, the game is a high-throughput service, that is, mobile phone 1 is a second-class device; when mobile phone 1 closes the game, and mobile phone 1 is not running low-latency services and In the case of high-throughput services, the mobile phone 1 is the second type of equipment (other type of equipment).
  • the battle service is a low-latency service, that is, the mobile phone 1 is a first-class device;
  • the game 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-class device; when the game on mobile phone 1 is closed, and the application on mobile phone 1 does not run For a business session of low-latency and high-throughput business, the mobile phone 1 is the second type of device (other type of device).
  • FIG. 3 is another exemplary schematic diagram of the conversion between the first type of equipment and the second type of equipment.
  • the pre-configured delay threshold of the application/service session on the device is 150 milliseconds.
  • the device estimates that the channel delay carrying the data of the application/service session exceeds 150 milliseconds, the device is the first type Device; when the device estimates that the channel delay of carrying the data of the application program/service session is less than or equal to 150 milliseconds, the device is the second type of device.
  • the mobile phone 1 is a first-class device; within 0.3 seconds to 1.6 seconds, the mobile phone 1 is a first-class device.
  • the electronic devices can be divided into the first type of devices and the second type of devices, and the differential classification of electronic devices is the differential scheduling of communication resources. provided the foundation.
  • a wireless channel refers to a channel that uses a wireless signal as a transmission carrier to transmit data.
  • the frequency point and the bandwidth can be used to describe the wireless channel, and the frequency point and the bandwidth jointly determine the frequency range of the signal transmitted on the channel.
  • the available frequency bands of the wireless channel include: Industrial Scientific and Medical (ISM) frequency band and unlicensed frequency band.
  • ISM Industrial Scientific and Medical
  • the channel delay In a wireless channel, the time it takes for data to be transmitted from one end to the other is called the channel delay. The user can only intuitively feel the interaction delay, where the interaction delay includes the channel delay. In a P2P scenario, there are many factors that affect the channel delay, such as the busyness of the air interface of the access device and the signal-to-noise ratio of the wireless channel. For a wireless channel, when there are multiple high-throughput services for data exchange in the channel, it can be considered that the air interface corresponding to the wireless channel is relatively busy. Moreover, for low-latency services, the more other services that transmit data on the same channel, the lower the signal-to-noise ratio of the channel.
  • the wireless channel can be divided into a first-type channel and a second-type channel.
  • the first type of channel is mainly used for the first type of equipment to perform data interaction
  • the second type of channel is mainly used for the second type of equipment (and other types of equipment) to perform data interaction.
  • the first type of device may notify other devices by broadcasting the first information that the channel on which the first type of device is located is the first type of channel.
  • the expression form of the first message may be the frequency point and bandwidth of the first type of channel, or the expression form of the first message may be the channel number specified by the communication protocol it complies, which is not limited here.
  • the broadcasted first message may be encrypted or plaintext.
  • the first type of device can broadcast on a control channel, or can broadcast on an out-of-band channel, or can broadcast through short-range communication, etc., which is not limited here.
  • the second-type devices in the first-type channels are switched to the second-type channels to ensure the communication resources of the first-type devices in the first-type channels. communication resources.
  • the first-type device can be instructed to access the first-type channel for data interaction.
  • the communication performance of the first type of channel such as channel delay, signal-to-noise ratio parameters, etc.
  • the communication performance of the second type of channel need not be better than the communication performance of the second type of channel.
  • the following takes the content shown in FIG. 4 as an example to introduce the relationship between the channel delay and the interaction delay.
  • FIG. 4 is an exemplary schematic diagram of the relationship between the channel delay and the interaction delay.
  • a WIFI connection is established between the mobile phone and the projector, and the mobile phone projects the PPT screen to the projector through the WIFI connection.
  • the mobile phone establishes a WIFI connection with the projector at the 0th second, and starts to establish the screen projection service in response to the user's operation; at the 0.05th second, the mobile phone establishes and completes the screen projection service, and begins to request air interface resources from the projector for data transmission.
  • the mobile phone fails to compete for air interface resources; in the 0.08th second, the mobile phone begins to request the projector for air interface resources for the second time to transmit data; in the 0.08th to 0.11th second, the mobile phone
  • the competition for air interface resources is successful, and data transmission starts at 0.11 seconds; from 0.24 seconds to 0.35 seconds, the channel delay of the wireless channel carrying the data is 0.24 seconds, and the projector does not receive complete data.
  • Retransmit data at 0.35 seconds, the mobile phone starts to retransmit data; from 0.35 seconds to 0.45 seconds, the channel delay of the wireless channel carrying the data is 0.1 seconds; at 0.45 seconds, the projector will The data is handed over to the upper-level business; at 0.46 seconds, the projector displays the data on the screen.
  • the interaction delay can be directly felt as 0.46 seconds, in which the channel delay of the two data transmissions of the packet block, wherein the two channel delays are 0.24 seconds and 0.1 seconds respectively.
  • the channel selection strategy is the strategy on which the electronic device selects a wireless channel for access.
  • the electronic device can determine whether the device itself is the first type of device when selecting a wireless channel for access, it can be divided into two situations:
  • the channel selection strategy includes: the electronic device selects an appropriate wireless channel for access according to the communication protocol complied with during interaction.
  • the channel selection strategy includes: when the electronic device is a first-class device and there is currently a first-class channel , the electronic device accesses the first-type channel; when the electronic device is a first-type device and there are multiple first-type channels, the electronic device randomly selects a first-type channel to access, or The electronic device selects the first type of channel access with the least number of devices, or the electronic device selects the first type of channel access with the highest channel signal-to-noise ratio, or the electronic device selects the first type of channel access with the highest channel received power, etc.
  • the electronic device When the electronic device is a first-class device and there is currently no first-class channel, the electronic device randomly selects a second-class channel to access, or the electronic device selects the second-class channel with the least number of devices to access. , or the electronic device selects the second type of channel access with the highest channel signal-to-noise ratio, or the electronic device selects the wireless channel access with the highest channel received power.
  • the electronic device When the electronic device is a second-type device, the first-type channel or the second-type channel can be selected for access.
  • a device When a device prepares to access a wireless channel, it can learn whether there is a first-type channel that can be accessed in the current environment in various ways. For example, the device can listen to the first message in a variety of ways, such as a control channel and an out-of-band channel. , to determine whether there is a channel of the first type, and the frequency point and bandwidth of the channel of the first type, which are not limited here.
  • control channel can have many different forms according to the different communication protocols complied with when the device data interacts.
  • the control channel can be the wireless radio used for broadcasting specified by the Apple Wireless Direct Link (AWDL) protocol.
  • AWDL Apple Wireless Direct Link
  • the channel, the wireless channel for broadcasting specified by the neighbor awareness network (neighborawareness network, NAN) protocol, the wireless channel for broadcasting specified by the short-range communication protocol such as Bluetooth, etc., are not limited herein.
  • 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 herein.
  • CCA clear channel assessment
  • the device avoidance policy is the policy on which the first type of device requests the second type of device (other type of device) to reduce the occupation of communication resources when the experience parameter of the low-latency service on the first type of device does not meet the experience parameter threshold.
  • a first-type device performs data interaction on the first-type channel, and the experience parameter of the low-latency service running on the device is less than or equal to the experience parameter threshold, it will send one or more second-type devices to one or more devices according to the device avoidance policy.
  • the device (other type of device) initiates a communication resource release request, so that one or more second type of device (other type of device) reduces the occupation of communication resources to ensure the communication resources of the first type of device.
  • the experience parameter of the low-latency service is used to directly or indirectly reflect the service quality of the low-latency service.
  • the experience parameter can be many kinds of parameters, for example, the experience parameter can be a requirement for channel delay; or the experience parameter can be a QoE parameter, etc.; or the experience parameter can be a KPI parameter, etc., which are not limited here.
  • the device avoidance strategy may include: the device avoidance strategy may be that the first type of device randomly selects a second type of device (or other type of device), and sends a communication resource release request to the second type of device (or other type of device); or , the device avoidance strategy can be that the first type of device estimates the order of the communication resources occupied by the devices in the current wireless channel according to the request to send protocol (request to send, RTS) or the permission to send protocol (cleartosend, CTS), and according to the order of occupied communication resources Send a communication resource release request to the device in turn; or, the device avoidance strategy may be that the first type of device broadcasts the communication resource release request to all devices, and the second type of device (other type of device) after receiving the communication resource release request, can Respond to the communication resource release request.
  • the device avoidance strategy may be that the first type of device randomly selects a second type of device (or other type of device), and sends a communication resource release request to the second type of device (or other type of device
  • a first-type device when a first-type device sends a communication resource release request, it may not be able to know whether other devices are first-type devices or second-type devices (other-type devices). In this case, when the first type of device receives the communication resource release request, it will not respond to the communication resource release request; correspondingly, in this case, the second type of device (other device) receives the communication resource release request may respond to a communication resource release request.
  • the response made by the second type of device (other type of device) after receiving the communication resource release request may be: switching the wireless channel carrying the data interaction.
  • different channel switching methods can be adopted. For example, when the second type of device is two mobile phones (mobile phone A and mobile phone B, respectively) that are transferring a large number of files through Bluetooth One of the mobile phone A, after receiving the communication resource release request, the mobile phone A negotiates with the mobile phone B, and selects other channels for data transmission according to the complied Bluetooth protocol; for another example, when the second type of device is router D, Mobile phone C is downloading video through router D.
  • router D receives the communication resource release request, it can select other channels to work in combination with the WIFI protocol complied with by router D, and notify mobile phone C of the new channel, so it is not limited here. .
  • the response may be to reduce the communication rate.
  • the communication rate can be reduced by reducing the frame rate or the bit rate.
  • the electronic devices when the electronic devices are divided into the first type of equipment, the second type of equipment and other types of equipment, other types of equipment may not respond after receiving the communication resource release request for the first time;
  • the response may include switching channels, reducing the communication rate, and the like.
  • Class I devices release communication resources by switching channels or reducing communication rates, thereby ensuring user experience of low-latency services on Class I devices.
  • the electronic equipment when the electronic equipment is divided into the first type of equipment, the second type of equipment, and other types of equipment, considering that other types of equipment occupy less communication resources, only the second type of equipment can switch channels or reduce the communication rate.
  • the user experience of low-latency services on the first type of equipment can be guaranteed; or, considering the complexity of the device avoidance strategy, the second type of equipment and other types of equipment can be switched to switch channels or reduce the communication rate to The communication resources are released, thereby ensuring the user experience of the low-latency service on the first type of equipment.
  • the following takes the content shown in FIG. 5 as an example to introduce the relationship between experience parameters, experience parameter thresholds, and device conversion.
  • FIG. 5 is an exemplary schematic diagram of the relationship between experience parameters, experience parameter thresholds, and device transitions.
  • 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 the channel delay
  • the experience parameter threshold is 200 milliseconds.
  • the device estimates that the channel delay carrying the data of the application/service session exceeds 200 milliseconds it is considered that the low-latency service experience parameter on the device does not meet the experience parameter threshold. Therefore, from 0.5 seconds to 1.2 seconds, mobile phone 1 is a first-class device, and the low-latency service experience parameters on mobile phone 1 do not meet the experience parameter threshold, and mobile phone 1 will send communication resources to other devices according to the device avoidance policy. release request.
  • a variety of different types of electronic devices may perform data exchange on wireless channels in the same or similar frequency bands according to different communication protocols.
  • it will inevitably lead to increased and unstable device interaction delay.
  • the increase and instability of the interaction delay will greatly deteriorate the user experience.
  • FIG. 6 is an exemplary schematic diagram of communication resource allocation in a P2P scenario.
  • the devices that are using communication resources may include computers, wearable smart devices, mobile terminals, smart home devices, and the like.
  • the protocols complied with when different devices interact with each other can be different, there can be multiple channels in the space.
  • frequency band 1 For a certain frequency band, such as frequency band 1, there may be multiple channels on frequency band 1, which carry data interaction of different electronic devices.
  • frequency band 1 For a certain frequency band, such as frequency band 1, there may be multiple channels on frequency band 1, which carry data interaction of different electronic devices.
  • frequency band 1 In the ISM frequency band and the unlicensed frequency band, there may be multiple channels with overlapping frequency ranges on frequency band 1, which may further aggravate the increase and instability of the interaction delay between electronic devices.
  • FIG. 7 and FIG. 8 respectively show two wireless channel selection access methods involved in the present application.
  • the router provides channel 1 and channel 2 for devices to access.
  • Channel 1 can be the channel provided by the router in the 5G frequency band
  • channel 2 can be the channel provided by the router in the 2.4G frequency band.
  • device 1 exchanges data with other devices and on channel 1.
  • device 2 When device 2 is connected to the router, it can listen to the transmission opportunity (TXOP) to determine that there are more devices carrying data interaction on channel 1 and fewer devices carrying data interaction on channel 2, so channel 2 is selected to connect to the router. enter.
  • TXOP transmission opportunity
  • router 1 provides channel 2 to the electronic device for data exchange
  • router 2 provides channel 3 to the electronic device. for data interaction.
  • the router can work on channel 1 to channel 13, and the frequency band ranges between channel 1, channel 2, and channel 3 partially overlap.
  • Device 1 accesses router 1 through channel 2. Since channel 2 and channel 1 have partial spectrum overlap, device 1 transmits data on channel 2, which is greatly interfered by router 2, and can switch to channel 1, which is less interfered by router 2, for data exchange.
  • the electronic device can select other channels with less interference for data interaction.
  • the operation of switching the channel itself will cause a sharp increase in the interaction delay, which is likely to deteriorate the user experience.
  • the two wireless channel selection and access methods designed in the present application described above do not first take into account that different applications/service sessions on the electronic device have different tolerances for interaction delays. Obviously, selecting the same resource scheduling method for different applications/service sessions cannot effectively guarantee the user's experience of using low-latency services. Secondly, when the communication performance of the wireless channel carrying electronic device data interaction, such as channel delay and other parameters, deteriorates, the operation of actively switching the channel itself will further aggravate the interaction delay.
  • the traditional communication protocol does not take into account the difference in channel communication quality requirements between low-latency services and other services, when the channel communication quality can meet the needs of other services but cannot meet the needs of low-latency services, it will not actively switch. channel. In this case, for the user, the low-latency service is always available but not usable, which will also deteriorate the user's experience.
  • the present application provides a communication resource cooperation method and an electronic device.
  • FIG. 9 is an exemplary schematic diagram of an implementation scenario of the communication resource cooperation method provided by the present application.
  • the router provides channel 1 and channel 2 for devices to access.
  • Channel 1 can be the channel provided by the router in the 5G frequency band
  • channel 2 can be the channel provided by the router in the 2.4G frequency band.
  • both device 1 and device 2 perform data interaction on channel 1
  • device 1 is a second-type device
  • device 2 is a first-type device.
  • a communication resource release request is sent to the device 1.
  • device 1 can choose to switch to channel 2 for data interaction. Since the device 1 gives up communication resources, the interaction delay of the device 2 is reduced, and the experience of the user using the device 2 is improved.
  • the device 1 is a second type of device, it is not sensitive to the increase of interaction delay and instability caused by channel switching, so that the user who uses the device 1 hardly feels stuck.
  • the communication resource collaboration method provided by the present application firstly divides the application program/service session into two groups according to the requirements of the application program/service session on the electronic device for the interaction delay. Low-latency services and other services. Secondly, based on the classification of the application program/service session, the corresponding devices running the application program/service session are divided into a first-type device and a second-type device. Further, after the devices are classified, the communication resources of the low-latency service on the first type of devices are guaranteed through differentiated scheduling of communication resources, which can greatly improve the user experience.
  • the electronic device in this 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 herein.
  • the electronic devices in the embodiments of the present application may be multiple electronic devices that are performing data interaction, for example, the electronic devices may be a router and a mobile electronic device that performs data interaction with the router; or, the electronic devices may be two electronic devices that are connected through Bluetooth And the electronic devices that are performing data interaction, etc., are not limited here.
  • a single electronic device is taken as an example to introduce the electronic device provided in this application.
  • FIG. 10 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have different component configurations.
  • the various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • 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.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194 and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM Subscriber identification module
  • 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, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the power management module 141 is used for connecting 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 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify 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 then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may 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 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with 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), broadband 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, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the 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 alter display information.
  • 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 or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a 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 and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
  • RAM random access memories
  • NVM non-volatile memories
  • Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronization Dynamic random access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as fifth-generation DDR SDRAM is generally called DDR5 SDRAM), etc.;
  • SRAM static random-access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • fifth-generation DDR SDRAM is generally called DDR5 SDRAM
  • Non-volatile memory may include magnetic disk storage devices, flash memory.
  • Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle, and can include single-level memory cell (SLC), multi-level memory cell (multi-level memory cell, SLC) according to the level of storage cell potential.
  • cell, MLC multi-level memory cell
  • TLC triple-level cell
  • QLC quad-level cell
  • UFS universal flash storage
  • eMMC embedded multimedia memory card
  • the random access memory can be directly read and written by the processor 110, and can be used to store executable programs (eg, machine instructions) of an operating system or other running programs, and can also be used to store data of users and application programs.
  • executable programs eg, machine instructions
  • the random access memory can be directly read and written by the processor 110, and can be used to store executable programs (eg, machine instructions) of an operating system or other running programs, and can also be used to store data of users and application programs.
  • the non-volatile memory can also store executable programs and store data of user and application programs, etc., and can be loaded into the random access memory in advance for the processor 110 to directly read and write.
  • the external memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 100 .
  • the external non-volatile memory communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video, etc. files in external non-volatile memory.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • 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 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may 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 card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may 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 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to realize functions such as call and data communication.
  • the processor 110 may call the computer instructions stored in the internal memory 121 to cause the electronic device 100 to execute the communication resource cooperation method in the embodiments of the present application.
  • FIG. 11 is another schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 includes:
  • An input device 201, an output device 202, a processor 203, and a memory 204 (wherein the number of processors 203 in the electronic device 100 may be one or more, and one processor 203 is taken as an example in FIG. 11).
  • the input device 201 , the output device 202 , the processor 203 , and the memory 204 may be connected by a bus or in other ways, wherein the connection by a bus is taken as an example in FIG. 11 .
  • the processor 203 causes the electronic device 200 to execute the communication resource cooperation method in the embodiment of the present application by invoking the operation instruction stored in the memory 204 .
  • FIG. 12 is a schematic block diagram of a software structure of the electronic device 100 in this embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • 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).
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • 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.
  • a window manager a content provider
  • a view system a phone manager
  • a resource manager a notification manager
  • LPA Local Profile Assistant
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications from applications running in the background, and can also display notifications on the screen in the form of a dialog interface. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • the application framework layer may further include a wireless transmission service for providing configurable and differentiated wireless communication capabilities for applications of different application layers or business sessions initiated by the application.
  • the runtime includes core libraries and virtual machines.
  • the runtime is responsible for the scheduling and management of the operating system.
  • the core library consists of two parts: one is the functional functions that the java language needs to call, and the other is the core library.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library Media Libraries
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the system library further includes a wireless transmission service library, and the wireless transmission service library is configured with the implementation method of the communication resource cooperation method provided by the present application.
  • a method for configuring an application/service session as a low-latency service or a non-low-latency service may be provided; a method for configuring experience parameters and experience parameter thresholds may be provided; method etc. It is not limited here.
  • the program developer can implement the wireless transmission service by configuring the parameters of the methods in the wireless transmission service library, or adding, deleting, and modifying the content of the methods in the wireless transmission service library.
  • the Surface Manager is used to manage the display subsystem and provides a fusion of two-dimensional (2-Dimensional, 2D) and three-dimensional (3-Dimensional, 3D) layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still 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.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, sensor drivers, and virtual card drivers.
  • the kernel layer may further include a network card driver for carrying data interaction, including: receiving/sending a communication resource release request to switch channels, estimating channel delay, broadcasting/listening the first message, and the like.
  • the developer configures the method in the wireless transmission service library when developing the application, so that the application can directly interact with the network card driver of the kernel layer when using the wireless transmission service, and implement the communication resources provided by this application. Collaborative approach.
  • FIG. 13 is a schematic block diagram of another software structure of the electronic device 100 in this embodiment of the present application.
  • the system is divided into four layers, which are, from top to bottom, an application layer, a framework layer, a system service library, and a kernel layer.
  • the application layer includes system applications and third-party non-system applications.
  • the framework layer provides multi-language user program frameworks and capability frameworks such as JAVA/C/C++/JS for applications in the application layer, as well as multi-language framework APIs open to the outside world for various software and hardware services.
  • 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.
  • the system basic capability subsystem set supports the operation, scheduling, and migration of the operating system on multiple devices.
  • the system basic capability subsystem set may include: distributed soft bus, distributed data management, distributed task scheduling, common basic subsystem, etc.
  • the system service layer and the framework layer jointly realize the multi-mode input subsystem, the graphics subsystem and so on.
  • the communication resource cooperation method provided by the present application may be located in a distributed soft bus.
  • the set of basic software service subsystems provides common and general software services for the operating system, and may include: an event notification subsystem, a multimedia subsystem, and the like.
  • the enhanced software service subsystem set provides differentiated software services for different devices, and may include: IOT proprietary service subsystem.
  • the hardware service subsystem set provides hardware services for the operating system, and may include: IOT proprietary hardware service subsystem.
  • the kernel layer includes the kernel abstraction layer and the driver subsystem.
  • the kernel abstraction layer includes a variety of kernels, and by shielding the differences between multiple kernels, it provides basic kernel capabilities for the upper layer, such as thread/process management, memory management, file system, network management, etc.
  • the driver subsystem provides software developers with a unified peripheral access capability and a driver development and management framework.
  • the software structure of the electronic device can be divided in other ways according to the operating system.
  • FIG. 14 is an exemplary schematic diagram of the flow of the communication resource cooperation method provided by the present application.
  • the communication resource cooperation method provided by the present application may include:
  • the electronic device in response to the user starting the application on the electronic device, or in response to the application creating the service session on the electronic device, the electronic device begins to prepare for data interaction, and prepares to select an appropriate communication resource to carry the data interaction.
  • the service session may be an HTTP session, an RTP session, etc., which is not limited herein.
  • the range of the wireless channel that the electronic device can select is also different according to the different protocols that the application program/service session complies with when establishing communication. For example, when an electronic device is connected via Bluetooth 4.0, the electronic device can select multiple wireless channels in the frequency band range of 2.4GHz to 2.483GHz. And according to the specific version of the agreement and the different regions, the frequency band range and the number of wireless channels are also different.
  • the electronic device when the electronic device starts an application or the application creates a service session, the electronic device may directly designate the application as a low-latency service or the service session as a low-latency service. That is, when a software developer develops an application, the application/service session can be pre-configured as a low-latency service or other service.
  • the low-latency service reference may be made to the text descriptions in Interpretation of medium-low-latency services and other services (1), which will not be repeated here.
  • Step S1402 is executed.
  • S1402 The electronic device listens for the first message on the control channel.
  • a certain period of time may be allocated for listening to the first message on the control channel, so as to determine whether there is a channel of the first type in the current space.
  • the process of preparing the electronic device to access the channel may occur during the process of the electronic device transitioning from the idle state to the connected state, or the process of the electronic device transitioning from the sleep state to the connected state.
  • the length of time allocated by the electronic device to listen to the first message may be related to the period T during which the electronic device broadcasts the first message on the control channel in step S1406.
  • the electronic device may allocate a time of 1.2T for monitoring the first message on the control channel, which is not limited herein.
  • Step S1403 is executed.
  • S1403 The electronic device selects a channel to access according to the channel selection policy.
  • step S1402 listens to the first message, it can determine whether the first type of channel currently exists.
  • the electronic device selects a channel to access based on whether there is currently a first-type channel and a channel selection policy preconfigured on the electronic device.
  • an electronic device when an electronic device selects a channel to access, if it is temporarily unable to determine whether the electronic device itself is a first-type device or a second-type device according to the existing parameters, it can be based on the communication protocol it complies. Select the appropriate channel to access. After the electronic device selects the channel to access, it is determined that a low-latency service is running on the electronic device, that is, when the electronic device is a first-type device, it can switch to the first-type channel.
  • step S1402 after the electronic device is converted from a second-type device to a first-type device, and after step S1402 is executed, it is determined that there is a first-type channel, and the first type of channel for switching can be selected according to a channel selection strategy class channel.
  • step S1402 determine There is a first type of channel, and the first type of channel to be switched can be selected according to the channel selection strategy.
  • the concepts of the first type of equipment, the second type of equipment, the first type of channel, and the channel selection strategy can refer to (2) the first type of channel, the second type of equipment, (3) the wireless channel, (4) the channel in the term explanation
  • the text description in the selection policy and device avoidance policy will not be repeated here.
  • Step S1404 is executed.
  • S1404 When the electronic device is the first type of device and the electronic device is on the first type of channel, determine whether the experience parameter of the low-latency service on the electronic device meets the experience parameter threshold.
  • step S1404 it can be determined whether the application/service session running on the electronic device is a low-latency service, that is, whether the electronic device is a first-type device. And, the electronic device can determine whether it is currently on the first type of channel. When the electronic device is the first type of device, one or more low-latency services may be running on the device, and the electronic device determines whether the experience parameters of all current low-latency services meet the experience parameter threshold.
  • the electronic device can obtain the experience parameter thresholds of all current low-latency services, and when the experience parameter is the 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. For example, the electronic device can obtain the experience parameters of the low-latency service based on the mobile communication module 150, the wireless communication module 160, etc. as shown in FIG. 10; or, the electronic device can obtain the low-latency service based on the network card driver as shown in FIG. 12 experience parameters. Or, after the low-latency service determines whether the experience parameter satisfies the experience parameter, it notifies the electronic device of the result of whether it satisfies. For example, when the experience parameter is KPI and QoE, after the low-latency service determines the relationship between the experience parameter and the experience parameter threshold, it informs the electronic device of the result.
  • the experience parameter is KPI and QoE
  • step S1405 is performed;
  • step S1408 is performed.
  • step S1404 when switching to other first-type channels, you can switch to the first-type channel with the largest number of first-type devices, or you can switch to the first-type channel with the highest signal-to-noise ratio, or you can switch to the first-type channel with the highest received power class channel.
  • 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 and other terms can refer to (1) low-latency services, other services in the term explanation, (4) The text descriptions in the channel selection strategy and the device avoidance strategy will not be repeated here.
  • step S1406 is performed; when there is no second type of device on the channel where the electronic device is located to perform data interaction, step S1407 is performed.
  • the electronic device can use TXOP detection, radio detection, RTS/CTS and other technologies to obtain the field used to represent the application in the header of the data packet in the channel to determine the current Whether there is a second type of device in the channel that is interacting with data.
  • the electronic device can access whether other electronic devices are the first type of devices through the short-range communication service; or the electronic device records in the control channel broadcast No.
  • S1406 The first type of device sends a communication resource release request to the second type of device according to the device avoidance policy.
  • the first-type device sends a communication resource release request to one or more second-type devices (or second-type devices and other types of devices) in the first-type channel where the first-type device is located according to the device avoidance policy .
  • the first type of device broadcasts the communication resource release request to all the devices in the channel where the first type of device is located according to the device avoidance policy.
  • Step S1404 is executed.
  • FIG. 15 is an exemplary schematic diagram of a first type of device sending a communication resource release request to another device in an embodiment of the present application.
  • a WIFI connection is established between the mobile phone 1 and the projector, and a Bluetooth connection is established between the mobile phone 2 and the mobile phone 3.
  • the mobile phone 1 and the projector are running a projection service, and the projection service is preconfigured as a low-latency service, that is, the mobile phone 1 is a first-class device.
  • the mobile phone 2 and the mobile phone 3 run a file transfer service, and the file transfer service is pre-configured as a high-throughput service, that is, the mobile phone 2 is a second-class device.
  • the channel used for data interaction between mobile phone 1 and the projector is the same as the channel used for data interaction between mobile phone 2 and mobile phone 3 .
  • the experience parameter of the low-latency service on the mobile phone 1 When the experience parameter of the low-latency service on the mobile phone 1 does not meet the experience parameter threshold, it prepares to send a communication resource release request to the mobile phone 2 according to the locally preconfigured device avoidance policy.
  • the mobile phone 1 can establish a short-range communication service with the mobile phone 2 through technologies such as radio sensing technology, such as HiLink connection, Bluetooth connection, etc., and send a communication resource release request to the mobile phone 2 based on the short-range communication service.
  • FIG. 16 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.
  • the mobile phone 1 shown in Figure 16 is the first type of device
  • the mobile phone 2 is the second type of device
  • both the mobile phone 1 and the mobile phone 2 are connected to the router through WIFI.
  • the experience parameter of the low-latency service on the mobile phone 1 when the experience parameter of the low-latency service on the mobile phone 1 does not meet the experience parameter threshold, it can send a communication resource release request to the router and the frequency of the channel 1 that carries the data interaction of the screen casting service of the mobile phone 1. point and bandwidth.
  • the router can forward the communication resource release request and the frequency point and bandwidth used to indicate the channel 1 to multiple devices including the mobile phone 2 according to the device avoidance policy preconfigured on the router.
  • Multiple devices including the mobile phone 2 receive the communication resource release request and the frequency and bandwidth used to indicate the wireless channel 1 . Since the mobile phone 2 is the second type of device that performs data interaction on the wireless channel 1, the mobile phone 2 will choose to switch the Bluetooth channel.
  • the experience parameter of the low-latency service on the mobile phone 1 when the experience parameter of the low-latency service on the mobile phone 1 does not meet the experience parameter threshold, it can be determined to send a communication resource release request to the mobile phone 2 according to the pre-configured local device avoidance policy.
  • the mobile phone 1 can send the communication resource release request and the identifier of the mobile phone 2 to the router through WIFI. After the router obtains the communication resource release request, it can forward the communication resource release request to the router according to the identifier of the mobile phone 2 .
  • S1407 The first type of electronic device widens the first type of channel.
  • the first-type device when there is no second-type device in the first-type channel where the first-type device is located, the first-type device can expand the first-type channel to ensure the communication resources of the low-latency service.
  • Widening the first-type channel may include: changing the frequency and bandwidth of the first-type channel, such as increasing the bandwidth; This is not limited.
  • setting up a new channel may include: for the router, the channel may be re-divided from the available frequency spectrum, and the channel corresponding to the new frequency point and bandwidth may be selected for access.
  • Step S1404 is executed.
  • the first-type device broadcasts the first message on the control channel, announcing that the channel is the first-type channel.
  • 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 the first type of channel.
  • the electronic device may also notify other devices through short-range communication or other communication protocols that the channel on which the electronic device is located is the first type of channel.
  • FIG. 17 is an exemplary schematic diagram of the communication resource cooperation method provided by the embodiment of the present application in a multi-device interaction scenario.
  • mobile phone 1 there are multiple electronic devices that can interact with each other in a certain scene, including: mobile phone 1 , mobile phone 2 , and mobile phone 3 .
  • the mobile phone 1, the mobile phone 2, and the mobile phone 3 respectively establish wireless connections with other devices and perform data exchange.
  • 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.
  • application A runs on mobile phone 1, and application A is pre-configured as a low-latency service; application B runs on mobile phone 2, and application B is configured with a delay threshold of 180 milliseconds, That is, when the estimated channel delay is greater than 180 milliseconds, the application is a low-latency service; when the estimated channel delay is less than 180 milliseconds, the application is other services; there is application C running on mobile phone 3, and application C is configured as High throughput business.
  • the experience parameter threshold of application A is estimated to be 165 milliseconds of channel delay, and the experience parameter threshold of application B is 200 milliseconds.
  • the mobile phone 2 in the 0th to 0.4th second, the mobile phone 2 is the second type of device; in the 0.4th to 1.0th second, the mobile phone 2 is the first type of device device; after 1.0 seconds, mobile phone 2 is a second-class device.
  • Mobile phone 1 has always been the first type of device
  • mobile phone 3 has always been the second type of device.
  • both mobile phone 1 and mobile phone 3 Before the 0th second, both mobile phone 1 and mobile phone 3 have access to channel 1 for data exchange, and mobile phone 1 is the first type device and mobile phone 3 is the second type device; from the 0th second to the 0.3th second, the mobile phone 1 Broadcast the first message to notify other devices that the channel is the first type of channel.
  • step S1401 at the 0th second, the user starts the application B on the mobile phone 2 to prepare to access the channel.
  • step S1402 in the 0th to 0.3th second, the mobile phone 2 detects the first message sent by the mobile phone 1, and learns that the channel 1 in the current environment is the first type channel, and the channel 2 is the second type channel.
  • step S1403 within the 0th second to 0.3rd second, and after monitoring the first message, the mobile phone 2 selects the access channel 1. From 0.3 seconds to 0.4 seconds, 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. And in response to the communication resource release request 2, the mobile phone 2 switches to access the channel 2; in response to the communication resource release request 1, the mobile phone 3 reduces the communication rate.
  • step S1406 in the second to 0.4 seconds, since the estimated channel delay is greater than the channel delay threshold of application B, the mobile phone 2 is converted from the second type of device to the first type of device. Since the mobile phone 2 is transformed into the first type of equipment, the mobile phone 2 selects the first type of channel access, that is, selects the channel 1 to access.
  • the communication resource coordination method provided by this application achieves a dynamic balance among maximizing the utilization rate of communication resources, maximizing the user experience of the low-latency service, minimizing the interaction delay and instability.
  • 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.
  • the phrases “in determining" or “if detecting (the stated condition or event)” can be interpreted to mean “if determining" or “in response to determining" or “on detecting (the stated condition or event)” or “in response to the detection of (the stated condition or event)”.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software 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.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the procedures or functions according to the embodiments of the present application are generated in whole or in part.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions may be stored on or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted over a wire from a website site, computer, server or data center (eg coaxial cable, optical fiber, digital subscriber line) or wireless (eg infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated.
  • the available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state drives), and the like.
  • the process can be completed by instructing the relevant hardware by a computer program, and the program can be stored in a computer-readable storage medium.
  • the program When the program is executed , which may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random storage memory RAM, magnetic disk or optical disk and other mediums that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present application provide a communication resource cooperation method and an electronic device. The method comprises: an electronic device running a low latency service can make a device not running a low latency service to release a communication resource, for example, performing a channel handover and reducing a data transmission rate. Because a user is more sensitive to interaction lagging of a low latency service, the communication resource cooperation method provided by the embodiments of the present application can preferentially guarantee communication resources of the low latency service, so that the lagging of the low latency service is reduced, and the experience of the user for the low latency service is improved.

Description

通信资源协作方法及电子设备Communication resource cooperation method and electronic device
本申请要求于2021年03月30日提交中国专利局、申请号为202110343655.9、申请名称为“通信资源协作方法及电子设备”的中国专利申请的优先权,本申请要求于2021年07月30日提交中国专利局、申请号为202110871914.5、申请名称为“通信资源协作方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number of 202110343655.9 and the application name "Communication Resource Collaboration Method and Electronic Device", which was submitted to the China Patent Office on March 30, 2021. This application claims the priority on July 30, 2021 The priority of the Chinese patent application with the application number of 202110871914.5 and the application title of "Communication Resource Collaboration Method and Electronic Device" submitted to the Chinese Patent Office, the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及电子技术领域,尤其涉及通信资源协作方法及电子设备。The present application relates to the field of electronic technologies, and in particular, to a communication resource cooperation method and an electronic device.
背景技术Background technique
随着通信技术的发展以及智能设备的普及,万物互联的人工智能物联网(artificial intelligence&internet of things,AIoT)时代正在到来。受益于操作系统的分布式互联能力的提高,智能穿戴设备、智能家居设备、移动终端等设备可以通过网络进行数据交互,并且基于该数据交互去协作实现特定的功能。With the development of communication technology and the popularization of smart devices, the era of artificial intelligence & internet of things (AIoT) is coming. Benefiting from the improvement of the distributed interconnection capability of the operating system, devices such as smart wearable devices, smart home devices, and mobile terminals can interact with data through the network, and cooperate to achieve specific functions based on the data interaction.
智能穿戴设备、智能家居设备、移动终端等电子设备已经可以通过无线网络实现数据交互。但是,相比于多个电子设备对通信资源的需求,空间中可以使用的通信资源是有限的。例如,当多个设备接入同一个接入设备提供的无线网络时,多个设备需要竞争有限的无线空口资源以进行数据交互。电子设备在竞争无线空口资源失败后,电子设备会将等待发送的数据临时存储在本地,等待下一次竞争成功。Electronic devices such as smart wearable devices, smart home devices, and mobile terminals can already realize data interaction through wireless networks. However, compared to the communication resource requirements of multiple electronic devices, the communication resources that can be used in the space are limited. For example, when multiple devices access the wireless network provided by the same access device, the multiple devices need to compete for limited wireless air interface resources for data interaction. After the electronic device fails to compete for wireless air interface resources, the electronic device temporarily stores the data to be sent locally, and waits for the next competition to succeed.
由于设备必须要竞争获取有限的通信资源,竞争这一过程就会不可避免的增加设备交互过程的时延,并且导致该设备交互过程时延的不稳定。当设备上运行有低时延业务时,交互过程时延的增加和时延的不稳定,会极大程度的恶化用户的体验。而当设备上运行的业务为非低时延业务时,交互过程时延的增加和时延的不稳定,用户感知较弱,故对用户使用体验的影响较小。Since devices must compete to obtain limited communication resources, the competition process will inevitably increase the delay of the device interaction process, and lead to the instability of the device interaction process delay. When there are low-latency services running on the device, the increase in the delay of the interaction process and the instability of the delay will greatly deteriorate the user experience. However, when the service running on the device is a non-low-latency service, the increase of the delay in the interaction process and the instability of the delay will make the user's perception weaker, so the impact on the user experience is small.
例如,设备1和设备2分别在信道1上进行数据交互,某一时段内无线信道1的时延约为500ms。设备1上运行有投屏业务(低时延业务),设备2运行有下载业务(非低时延业务)。信道1的时延不能满足投屏业务的需求,信道1的时延能够满足下载业务的需求。用户能很明显的感知到投屏业务的卡顿,但是很难感知到下载业务的卡顿。For example, device 1 and device 2 perform data exchange on channel 1 respectively, and the delay of wireless channel 1 in a certain period of time is about 500ms. Device 1 runs a screen casting service (low-latency service), and device 2 runs a download service (non-low-latency service). The delay of channel 1 cannot meet the requirements of the screen projection service, and the delay of channel 1 can meet the requirements of the download service. Users can clearly perceive the freeze of the screen projection service, but it is difficult to perceive the freeze of the download service.
设备接入无线网络后,当设备上业务体验不满足需求时,可以主动切换信道。对于该设备来说,切换后的信道的通信质量可能差于切换前的信道质量,在切换后的信道上进行数据交互,会导致交互时延的增加和不稳定。对于运行有低时延业务电子设备来说,选择去主动切换信道,有可能会恶化用户的体验。After the device is connected to the wireless network, when the service experience on the device does not meet the requirements, it can actively switch channels. For the device, the communication quality of the channel after the handover may be worse than the quality of the channel before the handover, and performing data exchange on the channel after the handover will lead to increased interaction delay and instability. For electronic devices running low-latency services, choosing to actively switch channels may deteriorate the user experience.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种通信资源协作方法,该方法包括:运行有低时延业务的设备可以指示没有运行低时延业务的设备降低对信道通信资源的占用,进而能够充分保障运行有低时延业务设备的通信资源,提升了用户体验。An embodiment of the present application provides a communication resource coordination method, the method includes: a device running a low-latency service can instruct a device that does not run a low-latency service to reduce the occupation of channel communication resources, thereby fully guaranteeing the low-latency operation. The communication resources of the service equipment are delayed, which improves the user experience.
第一方面,本申请提供了一种通信资源协作方法,该方法包括:第一电子设备接入第一信道,该第一电子设备上运行有第一业务,该第一业务为低时延业务;该第一电子设备获取该第一业务的体验参数;当该第一业务的体验参数不满足该体验参数阈值时,该第一电子设备判断是否有第二电子设备占用该第一信道的通信资源,该第二电子设备为没有运行该低时 延业务的电子设备;当有第二电子设备占用该第一信道的通信资源时,该第一电子设备向该第二电子设备发送通信资源释放请求。In a first aspect, the present application provides a communication resource coordination method, the method 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 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 judges whether there is a second electronic device occupying the communication of the first channel resource, 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 to the second electronic device ask.
在上述实施例中,运行有低时延业务的设备在业务体验参数不满足体验参数阈值时,向其他没有运行低时延业务的设备发送通信资源释放请求,该通信资源释放请求用于请求没有运行低时延业务的设备释放通信资源,进而保障了运行有低时延业务设备的通信资源,提高了用户的体验。In the above embodiment, when the service experience parameter does not meet the experience parameter threshold, the device running the low-latency service sends a communication resource release request to other devices that do not run the low-latency service. Devices running low-latency services release communication resources, thereby ensuring communication resources for devices running low-latency services, and improving user experience.
结合第一方面的一些实施例,在一些实施例中,该第一电子设备基于空闲信道评估CCA确定电子设备数量最少的信道为该第一信道。With reference to some embodiments of the first aspect, in some embodiments, the first electronic device determines a channel with the least number of electronic devices as the first channel based on the idle channel evaluation CCA.
在上述实施例中,运行有低时延业务的设备在接入信道时可以选择电子设备数量最少的信道,进而获取更多的通信资源,提升用户对该低时延业务的体验。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's experience of the low-latency service.
结合第一方面的一些实施例,在一些实施例中,该第一电子设备在控制信道或带外信道监听第三消息,该第三消息用于指示该第一电子设备接入该第一信道。With reference to 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 .
在上述实施例中,运行有低时延业务的设备在接入信道前可以在控制信道或带外信道监听第三消息,第三消息内容所指示的信道适合低时延业务的数据交互,有助于提升用户对该低时延业务的体验。In the above embodiment, the device running the low-latency service can monitor the third message on the control channel or the 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. Helps improve user experience of the low-latency service.
结合第一方面的一些实施例,在一些实施例中,当该第一业务的体验参数满足该体验参数阈值时,该第一电子设备在控制信道或带外信道广播第一消息,该第一消息用于表示:该第一信道用于承载运行有低时延业务的电子设备的数据交互。With reference to 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, the first The message is used to indicate that: the first channel is used to carry data exchange of electronic devices running low-latency services.
在上述实施例中,运行有低时延业务的电子设备广播该电子设备所在的信道适合承载低时延业务的数据交互,有助于其他设备按需选取合适的信道。In the above embodiment, the electronic device running the low-latency service broadcasts that the channel on which the electronic device is located is suitable for carrying the data interaction of the low-latency service, which helps other devices to select a suitable channel as needed.
结合第一方面的一些实施例,在一些实施例中,当没有第二电子设备占用该第一信道的通信资源时,该第一电子设备拓宽该第一信道。In conjunction with some embodiments of the first aspect, in some embodiments, the first electronic device widens the first channel when no second electronic device occupies the communication resources of the first channel.
在上述实施例中,若信道上只有运行低时延业务的设备,且低时延业务的体验参数不满足体验参数阈值时,电子设备可以拓宽信道以获得更多的通信资源,进而提升了用户使用低时延业务时的体验。In the above embodiment, if there are only devices running the low-latency service on the channel, and the experience parameter of the low-latency service does not meet the experience parameter threshold, the electronic device can widen the channel to obtain more communication resources, thereby improving the user experience. Experience when using low-latency services.
结合第一方面的一些实施例,在一些实施例中,该第一电子设备在控制信道或带外信道广播该通信资源释放请求。With reference to 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.
在上述实施例中,运行有低时延业务的设备可以在控制信道或带外信道广播广播通信资源释放请求,以使得尽可能多的其他设备接收到该请求,释放更多的通信资源,进而提升了用户使用低时延业务时的体验。In the above embodiment, a device running a low-latency service can broadcast a communication resource release request on a control channel or an out-of-band channel, so that as many other devices as possible receive the request, release more communication resources, and then Improves user experience when using low-latency services.
结合第一方面的一些实施例,在一些实施例中,该第一电子设备与该第二电子设备建立连接,并向该第二电子设备发送该通信资源释放请求。With reference to 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.
在上述实施例中,运行有低时延业务的设备可以请求特定设备去释放通信资源,进而提升了用户使用低时延业务时的体验。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.
结合第一方面的一些实施例,在一些实施例中,该第一电子设备确定该第二电子设备为占据该第一信道通信资源最多的电子设备。With reference to 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.
在上述实施例中,运行有低时延业务的电子设备可以优先让占据通信资源多的设备让出较多的通信资源,提升用户使用低时延业务时的体验。In the above embodiment, the electronic device running the low-latency service can give priority to the device occupying more communication resources to give up more communication resources, so as to improve the user's experience when using the low-latency service.
结合第一方面的一些实施例,在一些实施例中,该体验参数包括体验质量QoE、关键性能指标KPI或信道时延中的一种或多种。With reference to 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.
在上述实施例中,低时延业务的体验参数可以包括一种或多种参数的组合,可以更准确 的衡量用户对该业务的体验。In the above embodiment, the experience parameter of the low-latency service may include a combination of one or more parameters, which can measure the user's experience of the service more accurately.
结合第一方面的一些实施例,在一些实施例中,通信资源释放请求用于请求电子设备降低对第一信道的通信资源的占用。With reference to some embodiments of the first 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.
在上述实施例中,没有运行低时延业务的设备接收到通信资源释放请求可以降低对第一信道的通信资源的占用,有助于提高低时延业务的设备占据的通信资源。In the above-mentioned embodiment, when a device that does not run a low-latency service receives a communication resource release request, the occupancy of the communication resources of the first channel can be reduced, and the communication resources occupied by the device of the low-latency service can be increased.
结合第一方面的一些实施例,在一些实施例中,体验参数用于反映第一业务的业务质量。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.
在上述实施例中,运行有低时延业务的设备可以根据体验参数去估计用户对该低时延业务的体验。In the above embodiment, the device running the low-latency service can estimate the user's experience of the low-latency service according to the experience parameter.
结合第一方面的一些实施例,在一些实施例中,该通信资源释放请求用于请求该第二电子设备降低在该第一信道上的通信速率;或者,该通信资源释放请求用于请求该第二电子设备离开该第一信道。With reference to 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 The second electronic device leaves the first channel.
在上述实施例中,非低时延设备可以通过降低在第一信道上的通信速率或者离开第一信道去释放非低时延设备占用的第一信道的通信资源,进而有助于低时延设备获取更多的通信资源去提升用户的体验。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 contributing to low-latency The device acquires more communication resources to improve the user experience.
第二方面,本申请提供了一种通信资源协作方法,该方法包括:第二电子设备接入第一信道,该第二电子设备上没有运行低时延业务;该第二电子设备接收通信资源释放请求;该第二电子设备降低对该第一信道的通信资源的占用。In a second aspect, the present application provides a communication resource coordination method, the method includes: a second electronic device accesses a first channel, and a low-latency service is not running on the second electronic device; the second electronic device receives a communication resource A release request; the second electronic device reduces the occupation of the communication resources of the first channel.
在上述实施例中,没有运行低时延业务的设备可以接收并响应通信资源释放请求,降低对通信资源的占用,有助于运行低时延业务的设备获取更多的通信资源,进而提升用户对低时延业务的体验。In the above embodiment, devices that do not run low-latency services can receive and respond to communication resource release requests, reduce the occupation of communication resources, help devices running low-latency services to obtain more communication resources, and thus improve user Experience with low-latency services.
结合第二方面的一些实施例,在一些实施例中,该第二电子设备降低在该第一信道上的通信速率;或者,该第二电子设备离开该第一信道。In conjunction 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.
在上述实施例中,没有运行低时延业务的设备对通信资源释放请求的响应可以是多种方式,即使得没有运行低时延业务的设备可以根据自身的情况去合理的释放通信资源,也可以增加运行低时延业务的设备获取通信资源的机会。In the above embodiment, the response of the device not running the low-latency service to the communication resource release request can be in various ways, even if the device not running the low-latency service can release the communication resources reasonably according to its own situation, it is also It can increase the opportunity for devices running low-latency services to obtain communication resources.
第三方面,本申请提供了一种通信资源协作方法,该方法包括:第一电子设备、第二电子设备接入第一信道,该第一电子设备上运行有第一业务,该第一业务为低时延业务,该第二电子设备没有运行该低时延业务;该第一电子设备获取该第一业务的体验参数;当该第一业务的体验参数不满足该体验参数阈值时,该第一电子设备向该第二电子设备发送通信资源释放请求。In a third aspect, the present application provides a communication resource coordination method, the method includes: a first electronic device and a second electronic device access a first channel, the first electronic device runs a first service, the first service It 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 The first electronic device sends a communication resource release request to the second electronic device.
在上述实施例中,运行有低时延业务的设备在业务体验参数不满足体验参数阈值时,向其他没有运行低时延业务的设备发送通信资源释放请求,该通信资源释放请求用于请求没有运行低时延业务的设备释放通信资源,进而保障了运行有低时延业务设备的通信资源,提高了用户的体验。In the above embodiment, when the service experience parameter does not meet the experience parameter threshold, the device running the low-latency service sends a communication resource release request to other devices that do not run the low-latency service. Devices running low-latency services release communication resources, thereby ensuring communication resources for devices running low-latency services, and improving user experience.
结合第三方面的一些实施例,在一些实施例中,该第一电子设备基于空闲信道评估CCA确定电子设备数量最少的信道为该第一信道。With reference to some embodiments of the third aspect, in some embodiments, the first electronic device determines a channel with the least number of electronic devices as the first channel based on the idle channel evaluation CCA.
在上述实施例中,运行有低时延业务的设备在接入信道时可以选择电子设备数量最少的信道,进而获取更多的通信资源,提升用户对该低时延业务的体验。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's experience of the low-latency service.
结合第三方面的一些实施例,在一些实施例中,该第一电子设备在控制信道或带外信道 监听第三消息,该第三消息用于指示该第一电子设备接入该第一信道。With reference to 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 .
在上述实施例中,运行有低时延业务的设备在接入信道前可以在控制信道或带外信道监听第三消息,第三消息内容所指示的信道适合低时延业务的数据交互,有助于提升用户对该低时延业务的体验。In the above embodiment, the device running the low-latency service can monitor the third message on the control channel or the 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. Helps improve user experience of the low-latency service.
结合第三方面的一些实施例,当该第一业务的体验参数满足该体验参数阈值时,该第一电子设备在控制信道或带外信道广播第一消息,该第一消息用于表示:该第一信道用于承载运行有低时延业务的电子设备的数据交互。With reference to 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, where the first message is used to indicate: the The first channel is used to carry the data interaction of the electronic device running the low-latency service.
在上述实施例中,运行有低时延业务的电子设备广播该电子设备所在的信道适合承载低时延业务的数据交互,有助于其他设备按需选取合适的信道。In the above embodiment, the electronic device running the low-latency service broadcasts that the channel on which the electronic device is located is suitable for carrying the data interaction of the low-latency service, which helps other devices to select a suitable channel as needed.
结合第三方面的一些实施例,该第一电子设备在控制信道或带外信道广播该通信资源释放请求;该第二电子设备在控制信道或带外信道接收该通信资源释放请求。With reference to 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; the second electronic device receives the communication resource release request on a control channel or an out-of-band channel.
在上述实施例中,运行有低时延业务的设备可以在控制信道或带外信道广播广播通信资源释放请求,以使得尽可能多的其他设备接收到该请求,释放更多的通信资源,进而提升了用户使用低时延业务时的体验。In the above embodiment, a device running a low-latency service can broadcast a communication resource release request on a control channel or an out-of-band channel, so that as many other devices as possible receive the request, release more communication resources, and then Improves user experience when using low-latency services.
结合第三方面的一些实施例,该第一电子设备与该第二电子设备建立连接,并且该第一电子设备向该第二电子设备发送该通信资源释放请求。With reference to 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.
在上述实施例中,运行有低时延业务的设备可以请求特定设备去释放通信资源,进而提升了用户使用低时延业务时的体验。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.
结合第三方面的一些实施例,响应于该通信资源释放请求,该第二电子设备降低在该第一信道上的通信速率;或者,该第二电子设备离开该第一信道。With reference to 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.
在上述实施例中,运行有低时延业务的电子设备可以优先让占据通信资源多的设备让出较多的通信资源,提升用户使用低时延业务时的体验。In the above embodiment, the electronic device running the low-latency service can give priority to the device occupying more communication resources to give up more communication resources, so as to improve the user's experience when using the low-latency service.
结合第三方面的一些实施例,该体验参数包括体验质量QoE、关键性能指标KPI或信道时延中的一种或多种。With reference to 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.
在上述实施例中,低时延业务的体验参数可以包括一种或多种参数的组合,可以更准确的衡量用户对该业务的体验。In the foregoing embodiment, the experience parameter of the low-latency service may include a combination of one or more parameters, which may more accurately measure the user's experience of the service.
结合第三方面的一些实施例,在一些实施例中,通信资源释放请求用于请求电子设备降低对第一信道的通信资源的占用。With reference to 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.
在上述实施例中,没有运行低时延业务的设备接收到通信资源释放请求可以降低对第一信道的通信资源的占用,有助于提高低时延业务的设备占据的通信资源。In the above-mentioned embodiment, when a device that does not run a low-latency service receives a communication resource release request, the occupancy of the communication resources of the first channel can be reduced, and the communication resources occupied by the device of the low-latency service can be increased.
结合第三方面的一些实施例,在一些实施例中,体验参数用于反映第一业务的业务质量。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.
在上述实施例中,运行有低时延业务的设备可以根据体验参数去估计用户对该低时延业务的体验。In the above embodiment, the device running the low-latency service can estimate the user's experience of the low-latency service according to the experience parameter.
第四方面,本申请实施例提供了一种电子设备,该电子设备包括:一个或多个处理器和存储器;该存储器与该一个或多个处理器耦合,该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,该一个或多个处理器调用该计算机指令以使得该电子设备执行:第一电子设备接入第一信道,该第一电子设备上运行有第一业务,该第一业务为低时延业务;该第一电子设备获取该第一业务的体验参数;当该第一业务的体验参数不满足该体验参数阈值时,该第一电子设备判断是否有第二电子设备占用该第一信道的通信资源,该第二电子设备为没有运行该低时延业务的电子设备;当有第二电子设备占用该第一信道的通信资源时, 该第一电子设备向该第二电子设备发送通信资源释放请求。In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program codes, The computer program code includes computer instructions, which are invoked by the one or more processors to cause the electronic device to execute: a first electronic device is connected to a first channel, a first service is running on the first electronic device, and the first electronic device is connected to a first channel. A service is a 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 determines whether there is a second electronic device Occupies 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 message to the first electronic device. The second electronic device sends a communication resource release request.
结合第四方面的一些实施例,该第一电子设备基于空闲信道评估CCA确定电子设备数量最少的信道为该第一信道。With reference to some embodiments of the fourth aspect, the first electronic device determines, based on the idle channel evaluation CCA, a channel with the least number of electronic devices as the first channel.
结合第四方面的一些实施例,该第一电子设备在控制信道或带外信道监听第三消息,该第三消息用于指示该第一电子设备接入该第一信道。With reference to 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.
结合第四方面的一些实施例,当该第一业务的体验参数满足该体验参数阈值时,该第一电子设备在控制信道或带外信道广播第一消息,该第一消息用于表示:该第一信道用于承载运行有低时延业务的电子设备的数据交互。With reference to 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, where the first message is used to indicate: the The first channel is used to carry the data interaction of the electronic device running the low-latency service.
结合第四方面的一些实施例,当没有第二电子设备占用该第一信道的通信资源时,该第一电子设备拓宽该第一信道。With reference to 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.
结合第四方面的一些实施例,该第一电子设备在控制信道或带外信道广播该通信资源释放请求。With reference to 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.
结合第四方面的一些实施例,该第一电子设备确定该第二电子设备为占据该第一信道通信资源最多的电子设备。With reference to 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.
结合第四方面的一些实施例,该体验参数包括体验质量QoE、关键性能指标KPI或信道时延中的一种或多种。With reference to 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.
第五方面,本申请实施例提供了一种电子设备,该电子设备包括:一个或多个处理器和存储器;该存储器与该一个或多个处理器耦合,该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,该一个或多个处理器调用该计算机指令以使得该电子设备执行:第二电子设备接入第一信道,该第二电子设备上没有运行低时延业务;该第二电子设备接收通信资源释放请求;该第二电子设备降低对该第一信道的通信资源的占用。In a fifth aspect, an embodiment of the present application provides an electronic device, the electronic device includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program codes, The computer program code includes computer instructions that are invoked by the one or more processors to cause the electronic device to execute: a second electronic device is connected to the first channel, and no low-latency service is running on the second electronic device; the The second electronic device receives the communication resource release request; the second electronic device reduces the occupation of the communication resources of the first channel.
结合第五方面的一些实施例,该第二电子设备降低在该第一信道上的通信速率;或者,该第二电子设备离开该第一信道。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.
第六方面,本申请实施例提供了一种芯片系统,该芯片系统应用于电子设备,该芯片系统包括一个或多个处理器,该处理器用于调用计算机指令以使得该电子设备执行如第一方面以及第一方面中任一可能的实现方式描述的方法,或如第二方面以及第二方面中任一可能的实现方式描述的方法。In a sixth aspect, an embodiment of the present application provides a chip system, the chip system is applied to an electronic device, the chip system includes one or more processors, and the processors are configured to invoke computer instructions to cause the electronic device to execute the first A method as described in the aspect and any possible implementation of the first aspect, or as described in the second aspect and any possible implementation of the second aspect.
第七方面,申请实施例提供一种包含指令的计算机程序产品,当上述计算机程序产品在电子设备上运行时,使得该电子设备执行如第一方面以及第一方面中任一可能的实现方式描述的方法,或如第二方面以及第二方面中任一可能的实现方式描述的方法。In a seventh aspect, the application embodiments provide a computer program product including instructions, when the above computer program product is run on an electronic device, the electronic device is made to perform as described in the first aspect and any possible implementation manner of the first aspect The method, or the method described in the second aspect and any possible implementation manner of the second aspect.
第八方面,申请实施例提供一种计算机可读存储介质,包括指令,当上述指令在电子设备上运行时,得该电子设备执行如第一方面以及第一方面中任一可能的实现方式描述的方法,或如第二方面以及第二方面中任一可能的实现方式描述的方法。In an eighth aspect, the application embodiments provide a computer-readable storage medium, including instructions, when the above-mentioned instructions are executed on an electronic device, the electronic device executes as described in the first aspect and any possible implementation manner of the first aspect The method, or the method described in the second aspect and any possible implementation manner of the second aspect.
可以理解地,上述第四方面、第五方面提供的电子设备,第六方面提供的芯片系统,第七方面提供的计算机程序产品和第八方面提供的计算机存储介质均用于执行本申请实施例所提供的方法。因此,其所能达到的有益效果可参考对应方法中的有益效果,此处不再赘述。It can be understood that the electronic device provided in the fourth aspect and the fifth aspect, 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 embodiments of the present application. provided method. Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects in the corresponding method, which will not be repeated here.
附图说明Description of drawings
图1为信道时延对不同类型业务影响的一个示例性示意图。FIG. 1 is an exemplary schematic diagram of the influence of channel delay on different types of services.
图2为第一类设备与第二类设备转换的一个示例性示意图。FIG. 2 is an exemplary schematic diagram of the conversion between the first type of equipment and the second type of equipment.
图3为第一类设备与第二类设备转换的另一个示例性示意图。FIG. 3 is another exemplary schematic diagram of the conversion between the first type of equipment and the second type of equipment.
图4为信道时延与交互时延关系的一个示例性示意图。FIG. 4 is an exemplary schematic diagram of the relationship between the channel delay and the interaction delay.
图5为体验参数、体验参数阈值、与设备转换之间关系的一个示例性示意图。FIG. 5 is an exemplary schematic diagram of the relationship between experience parameters, experience parameter thresholds, and device transitions.
图6为P2P场景中通信资源分配的一个示例性示意图。FIG. 6 is an exemplary schematic diagram of communication resource allocation in a P2P scenario.
图7与图8分别示出了本申请涉及的两种无线信道选择接入方法。FIG. 7 and FIG. 8 respectively show two wireless channel selection access methods involved in the present application.
图9为本申请提供的通信资源协作方法实施场景的一个示例性示意图。FIG. 9 is an exemplary schematic diagram of an implementation scenario of the communication resource cooperation method provided by the present application.
图10为本申请实施例提供的电子设备100的一个结构示意图。FIG. 10 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
图11为本申请实施例提供的电子设备100的另一个结构示意图。FIG. 11 is another schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
图12为本申请实施例中电子设备100的一个软件结构示意框图。FIG. 12 is a schematic block diagram of a software structure of the electronic device 100 in the embodiment of the present application.
图13为本申请实施例中电子设备100的另一个软件结构示意框图。FIG. 13 is another schematic block diagram of the software structure of the electronic device 100 in the embodiment of the present application.
图14为本申请提供的通信资源协作方法流程的一个示例性示意图。FIG. 14 is an exemplary schematic diagram of the flow of the communication resource cooperation method provided by the present application.
图15为本申请实施例中第一类设备向其他设备发送通信资源释放请求的一个示例性示意图。FIG. 15 is an exemplary schematic diagram of a first type of device sending a communication resource release request to another device in an embodiment of the present application.
图16为本申请实施例中第一类设备向其他设备发送通信资源释放请求的另一个示例性示意图。FIG. 16 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.
图17为本申请实施例提供的通信资源协作方法在多设备交互场景中的一个示例性示意图。FIG. 17 is an exemplary schematic diagram of the communication resource cooperation method provided by the embodiment of the present application in a multi-device interaction scenario.
具体实施方式Detailed ways
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“该”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指并包含一个或多个所列出项目的任何或所有可能组合。The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations of the present application. As used in the specification of this application and the appended claims, the singular expressions "a," "an," "the," "above," "the," and "the" are intended to also include Plural expressions unless the context clearly dictates otherwise. It will also be understood that, as used in this application, the term "and/or" refers to and includes any and all possible combinations of one or more of the listed items.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. 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 the present application, unless otherwise specified, the "multiple" The meaning is two or more.
为了便于理解,下面先对本申请实施例涉及的相关术语及相关概念进行介绍。本发明的实施方式部分使用的术语仅用于对本发明的具体实施例进行解释,而非旨在限定本发明。For ease of understanding, related terms and related concepts involved in the embodiments of the present application are first introduced below. The terms used in the embodiments of the present invention are only used to explain specific embodiments of the present invention, and are not intended to limit the present invention.
(1)低时延业务、其他业务(1) Low-latency services, other services
应用程序/业务会话依据本身对数据交互的时延的需求,可以划分为低时延业务和其他业务。当设备上应用程序或应用程序发起的业务会话对数据交互的时延较为敏感时,认为该应用程序/业务会话为低时延业务;相对的,当设备上应用程序发起的业务会话对数据交互的时延不敏感时,认为该应用程序/业务会话为其他业务。其中,在端到端(peertopeer,P2P)场景 中,数据交互的时延可以简称为交互时延,是指从网络中的一端准备开始发送数据,到网络中的另一端完成接收并且处理该数据所需要的时间。Applications/service sessions can be divided into low-latency services and other services according to their own requirements for the latency of data interaction. When an application or a service session initiated by an application on the device is sensitive to the delay of data interaction, the application/service session is considered to be a low-latency service; When the delay is not sensitive, the application/service session is considered to be other services. Among them, in an end-to-end (peertopeer, P2P) scenario, the delay of data interaction can be referred to as the interaction delay, which means that one end of the network is ready to start sending data, and the other end of the network finishes receiving and processing the data. required time.
低时延业务可以有很多种表现形式,其中主要包括两种表现形式。其一,低时延业务可以包括使流媒体数据从一个设备上传输到另一个设备上的应用程序/业务会话。例如,可以将手机上的PPT、在线视频等流媒体数据投屏到电视、VR/AR等设备上的应用程序/业务会话为低时延业务。其二,低时延业务可以包括传输控制指令的应用程序/业务会话。例如,游戏需要及时将用户的游戏指令发送到服务器,此时游戏为低时延业务;或者,负责工厂中制造设备与中心设备工业控制指令交互的应用程序/业务会话为低时延业务。Low-latency services can take many forms, mainly including two forms. First, low-latency services can include applications/service sessions that enable streaming data from one device to another. For example, streaming media data such as PPT and online video on the mobile phone can be projected onto the TV, VR/AR and other devices. The application/service session is a low-latency service. Second, low-latency services may include application/service sessions that transmit control commands. For example, the game needs to send the user's game instructions to the server in time, and the game is a low-latency service; or, the application/service session responsible for the interaction between the manufacturing equipment in the factory and the industrial control instructions of the central equipment is a low-latency service.
可选的,在本申请的一些实施例中,其他业务可以进一步分为一般业务和高吞吐业务。当设备上应用程序发起的业务会话在单位时间内传输的数据量较大时,认为该应用程序/业务会话为高吞吐业务。Optionally, in some embodiments of the present application, other services may be further classified 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 of time, the application/service session is considered to be a high-throughput service.
在本申请实施例中,当该应用程序/业务会话既是低时延业务也是高吞吐业务时,认为该业务为低时延业务。In this 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.
在本申请实施例中,设备上应用程序/业务会话可以静态配置或动态配置自己的业务类型。其中,静态配置可以包括:设备上的应用程序/业务会话可以预配置自己为低时延业务/其他业务,并可以向其他电子设备声明自己为低时延业务或其他业务。其中,动态配置可以包括:设备上的应用程序/业务会话预配置一个参数阈值,设备通过评估当前应用程序/业务会话的通信质量或体验质量,可以确定该应用程序/业务会话的业务类型。In this embodiment of the present application, the application/service session on the device may be configured with its own service type statically or dynamically. The static configuration may include: an application/service session on the device can preconfigure itself as a low-latency service/other service, and can declare itself as a low-latency service or other service to other electronic devices. The dynamic configuration may include: preconfiguring a parameter threshold for the application/service session on the device, and the device may determine the service type of the application/service session by evaluating the communication quality or experience quality of the current application/service session.
可选的,在本申请一些实施例中,设备上的应用程序/业务会话可以预配置自己为低时延业务/其他业务。Optionally, in some embodiments of the present application, the application/service session on the device may be preconfigured as a low-latency service/other service.
可选的,在本申请一些实施例中,设备/操作系统可以指定任一应用程序/业务会话为低时延业务/其他业务。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.
可选的,在本申请的一些实施例中,设备上的应用程序/业务会话可以预配置一个时延阈值,当信道时延/交互时延大于等于时延阈值时,该应用程序/业务会话为低时延业务;对应的,当信道时延小于时延阈值时,该应用程序/业务会话为其他业务。Optionally, in some embodiments of the present application, an application/service session on the device may be preconfigured with a delay threshold, and when the channel delay/interaction delay is greater than or equal to the delay threshold, the application/service session It is a low-latency service; correspondingly, when the channel delay is less than the delay threshold, the application/service session is other services.
可选的,在本申请的一些实施例中,设备上的应用程序/业务会话可以评估本身的体验质量(qualityofexperience,QoE)参数,并且可以预先配置一个QoE阈值。当QoE小于等于QoE阈值时,该应用程序/业务会话为低时延业务;对应的,当QoE大于QoE阈值时,该应用程序/业务会话为其他业务。其中,QoE为用户在与服务的交互过程中,用户对服务的主观感受的一种综合评价参数。QoE根据应用程序/业务会话的不同,可以有不同的计算方式与表现形式。例如,QoE可以是该应用程序/业务会话在数据交互中,对上下行空口信道时延、带宽、网络抖动等参数部分或全部的综合评估结果,在此不做限定。Optionally, in some embodiments of the present application, the application/service session on the device may evaluate its own quality of experience (quality of experience, QoE) parameter, and a QoE threshold may be preconfigured. 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 of the service during the user's interaction with the service. QoE can have different calculation methods and expressions according to different applications/service sessions. For example, QoE may be the comprehensive evaluation result of part or all of parameters such as uplink and downlink air interface channel delay, bandwidth, and network jitter in the data exchange of the application/service session, which is not limited here.
其中,交互时延、信道时延等术语的概念可以参考术语解释中(3)无线信道中的文字描述,此处不作赘述。For the concepts of terms such as interaction delay and channel delay, reference may be made to the text description in (3) Wireless Channel in Terminology Interpretation, which will not be repeated here.
下面以图1所示的内容为例,示例性的介绍低时延业务与非低时延业务。The following takes the content shown in FIG. 1 as an example to exemplarily introduce low-latency services and non-low-latency services.
图1为信道时延对不同类型业务影响的一个示例性示意图。FIG. 1 is an exemplary schematic diagram of the influence of channel delay on different types of services.
图1中(A)示出了一个低时延业务的场景,如图1中(A)所示,手机与投影仪建立WIFI连接,并通过WIFI连接将手机屏幕上展示的PPT传输到投影仪上进行展示。其中,投影业务为低时延业务。在空口资源有限或者信道信噪比较低的情况下,交互时延较大和/或交互时延不稳定。如图1中(A)所示,在第0秒时,用户在手机上开始展示第一页PPT,等待0.5秒 后才能在投影仪上观看到第一页PPT的内容;在第0.7秒时,用户在手机上切换到第二页PPT,等待0.4秒后才能在投影仪上观看到第二页PPT的内容。Figure 1 (A) shows a low-latency service scenario. As shown in Figure 1 (A), the mobile phone establishes a WIFI connection with the projector, and transmits the PPT displayed on the screen of the mobile phone to the projector through the WIFI connection on 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 relatively large and/or the interaction delay is unstable. As shown in Figure 1 (A), at the 0th second, the user starts to display the first page of PPT on the mobile phone, and waits for 0.5 seconds before viewing the content of the first page of PPT on the projector; at the 0.7th second , the user switches to the second page of PPT on the mobile phone, and waits for 0.4 seconds before viewing the content of the second page of PPT on the projector.
相对的,图1中(B)示出了一个高吞吐业务的场景。如图1中(B)所示,手机1与手机2建立有WIFI连接,并通过WIFI连接将视频文件从手机1传输到手机2。其中,视频传输业务为高吞吐业务。同样的,在交互时延较大和/或交互时延不稳定的情况下,在第0秒时,手机1开始将视频文件传输到手机2;在第0.5秒时,手机2开始接收到手机1发送的数据;在第35秒时,手机1将视频文件的全部数据发送出去;在第35.3秒时,手机2收到视频文件的全部数据。In contrast, (B) in FIG. 1 shows a high-throughput service scenario. As shown in (B) of FIG. 1 , the mobile phone 1 and the mobile phone 2 establish a WIFI connection, and the video files are transmitted from the mobile phone 1 to the mobile phone 2 through the WIFI connection. Among them, the video transmission service is a high-throughput service. Similarly, when the interaction delay is large and/or the interaction delay is unstable, at the 0th second, the mobile phone 1 starts to transmit the video file to the mobile phone 2; at the 0.5th second, the mobile phone 2 starts to receive the mobile phone 1. The data sent; at the 35th second, the mobile phone 1 sends all the data of the video file; at the 35.3th second, the mobile phone 2 receives all the data of the video file.
如图1中(A)所示,用户每次在手机上切换PPT时,都能够明显感觉到交互时延的增加和不稳定带来的卡顿感。相对的,如图1中(B)所示,用户在传输视频文件时,由于传输视频文件的总时长远远大于交互时延的上限,故交互时延的增加和不稳定仅会导致传输速率在某些时刻的变化,但几乎不影响平均传输速率,故用户几乎感受不到卡顿。As shown in (A) in Figure 1, every time the user switches the PPT on the mobile phone, he can obviously feel the increase of the interaction delay and the feeling of stuttering caused by instability. In contrast, as shown in (B) in Figure 1, when the user transmits video files, since the total duration of the video file transmission is far greater than the upper limit of the interaction delay, the increase and instability of the interaction delay will only lead to the transmission rate. Changes at certain moments, but hardly affect the average transmission rate, so users hardly feel the freeze.
可以理解的是,将低时延业务与其他业务比较,在交互时延较大和/或交互时延不稳定的情况下,低时延业务受到的影响更大,对用户的体验的影响也更大。It is understandable that, comparing low-latency services with other services, when the interaction delay is large and/or the interaction delay is unstable, the low-latency service will be more affected and the user experience will be more affected. big.
(2)第一类设备、第二类设备(2) The first type of equipment, the second type of equipment
根据电子设备上是否正在运行低时延业务,可以将电子设备分为第一类设备、第二类设备。第一类设备为正在运行低时延业务的电子设备,第二类设备为没有正在运行低时延业务的电子设备。并且,第一类设备与第二类设备均在同一信道上进行数据交互。其中,低时延业务的定义可以参考术语解释中(1)低时延业务、其他业务中的文字描述,此处不再赘述。According to whether the low-latency service is running on the electronic device, the electronic device can be divided into the first type of device and the second type of device. The first type of device is an electronic device that is running a low-latency service, and the second type of device is an electronic device that is not running a low-latency service. Moreover, both the first type of device and the second type of device perform data interaction on the same channel. For the definition of the low-latency service, reference may be made to the text description in (1) Low-latency service and other services in Terminology Explanation, which will not be repeated here.
可选的,与对业务的分类类似,在本申请的一些实施例中,可以进一步将电子设备分为第一类设备、第二类设备、以及其他类设备。其中,第一类设备为正在运行低时延业务的电子设备,第二类设备为没有正在运行低时延业务并且正在运行高吞吐业务的电子设备,其他类设备为既没有运行低时延业务并且也没有运行高吞吐业务的电子设备。Optionally, similar to the classification of services, in some embodiments of the present application, electronic devices may be further classified into first-type devices, second-type devices, and other types of devices. Among them, the first type of equipment is electronic equipment that is running low-latency services, the second type of equipment is electronic equipment that is not running low-latency services and is running high-throughput services, and other types of equipment are neither running low-latency services. And there's also no electronics to run high-throughput business.
值得说明的是,将电子设备分类为第一类设备和第二类设备,为通信资源的差异化调度提供了实现基础,并且优先保障第一类设备的通信资源有利于提高用户使用体验;或者,可以将电子设备分类为第一类设备、第二类设备和其他类设备,考虑到第二类设备上由于运行有高吞吐业务且占据通信资源较大,可以优先让第二类设备让出通信资源,更有效的提高通信资源调度的效率。It is worth noting that classifying electronic devices into the first type of equipment and the second type of equipment provides a basis for the differentiated scheduling of communication resources, and giving priority to ensuring the communication resources of the first type of equipment is conducive to improving user experience; or , the electronic equipment can be classified into the first type of equipment, the second type of equipment and other types of equipment. Considering that the second type of equipment runs high-throughput services and occupies a large amount of communication resources, the second type of equipment can be given priority. Communication resources, more effectively improve the efficiency of communication resource scheduling.
随着电子设备上应用程序/业务会话状态的改变,该应用程序/业务会话可以从低时延业务转变为其他业务,同理,也可以从其他业务转变为低时延业务。对应的,第一类设备可以转换为第二类设备(其他类设备),第二类设备(其他类设备)可以转换为第一类设备。下面以图2和图3所示的内容为例,介绍第一类设备与第二类设备的转换。As the state of the application/service session on the electronic device changes, the application/service session can be transformed from a low-latency service to other services, and similarly, it can also be transformed from other services to low-latency services. Correspondingly, the first type of equipment can be converted into the second type of equipment (other type of equipment), and the second type of equipment (other type of equipment) can be converted into the first type of equipment. The following takes the content shown in FIG. 2 and FIG. 3 as examples to introduce the conversion between the first type of equipment and the second type of equipment.
图2为第一类设备与第二类设备转换的一个示例性示意图。FIG. 2 is an exemplary schematic diagram of the conversion between the first type of equipment and the second type of equipment.
图2中(A)从应用程序的角度展示了第一类设备与第二类设备的转换。图2中(B)从业务会话的角度展示了第一类设备与第二类设备的转换。Figure 2 (A) shows the conversion between the first type of device and the second type of device from the application point of view. Figure 2 (B) shows the conversion between the first type of equipment and the second type of equipment from the perspective of service sessions.
如图2中(A)所示,当手机1上运行有游戏,且在游戏对战过程时,此时,游戏为低时延业务,即手机1为第一类设备;当设备上运行的联网游戏的游戏对战结束,并进入游戏本体更新后,此时,游戏为高吞吐业务,即手机1为第二类设备;当手机1关闭游戏后,且手机1上没有正在运行低时延业务和高吞吐业务时,手机1为第二类设备(其他类设备)。As shown in (A) in Figure 2, when a game is running on the mobile phone 1, and the game is in the process of playing, the game is a low-latency service, that is, the mobile phone 1 is a first-class device; After the game battle of the game is over and the game body is updated, at this time, the game is a high-throughput service, that is, mobile phone 1 is a second-class device; when mobile phone 1 closes the game, and mobile phone 1 is not running low-latency services and In the case of high-throughput services, the mobile phone 1 is the second type of equipment (other type of equipment).
对应的,如图2中(B)所示,当手机1上运行的游戏创建对战业务会话时,此时,对 战业务为低时延业务,即手机1为第一类设备;当设备上运行的游戏结束对战业务会话,并创建更新业务会话,此时,更新业务会话为高吞吐业务,即手机1为第二类设备;当手机1上游戏关闭后,并且手机1上的应用程序没有运行低时延和高吞吐业务的业务会话,手机1为第二类设备(其他类设备)。Correspondingly, as shown in (B) in Figure 2, when the game running on the mobile phone 1 creates a battle service session, at this time, the battle service is a low-latency service, that is, the mobile phone 1 is a first-class device; The game ends the battle service session and creates an update service session. At this time, the update service session is a high-throughput service, that is, mobile phone 1 is a second-class device; when the game on mobile phone 1 is closed, and the application on mobile phone 1 does not run For a business session of low-latency and high-throughput business, the mobile phone 1 is the second type of device (other type of device).
图3为第一类设备与第二类设备转换的另一个示例性示意图。FIG. 3 is another exemplary schematic diagram of the conversion between the first type of equipment and the second type of equipment.
如图3所示,设备上的应用程序/业务会话预配置时延阈值为150毫秒,当设备预估承载应用程序/业务会话的数据的信道时延超过150毫秒,则该设备为第一类设备;当设备预估承载应用程序/业务会话的数据的信道时延小于等于150毫秒,则该设备为第二类设备。结合图3中所示的内容,在第0秒至0.3秒内以及第1.6秒以后,手机1为第一类设备;在第0.3秒至1.6秒内,手机1为第一类设备。As shown in Figure 3, the pre-configured delay threshold of the application/service session on the device is 150 milliseconds. When the device estimates that the channel delay carrying the data of the application/service session exceeds 150 milliseconds, the device is the first type Device; when the device estimates that the channel delay of carrying the data of the application program/service session is less than or equal to 150 milliseconds, the device is the second type of device. Combining the content shown in FIG. 3 , within seconds 0 to 0.3 and after 1.6 seconds, the mobile phone 1 is a first-class device; within 0.3 seconds to 1.6 seconds, the mobile phone 1 is a first-class device.
可以理解的是,根据电子设备上正在运行的应用程序/业务会话的需求,可以将电子设备分为包括第一类设备、第二类设备,电子设备的差异化分类为通信资源的差异化调度提供了基础。It can be understood that, according to the requirements of the applications/service sessions running on the electronic devices, the electronic devices can be divided into the first type of devices and the second type of devices, and the differential classification of electronic devices is the differential scheduling of communication resources. provided the foundation.
(3)无线信道(3) Wireless channel
无线信道是指以无线信号作为传输载体,用于传输数据的通道。其中,频点和频宽可以用于描述无线信道,频点和频宽共同决定该信道上传输信号的频率范围。在P2P场景中,无线信道的可以用的频段包括:工业、科学和医用(Industrial Scientific and Medical,ISM)频段、unlicensed频段。A wireless channel refers to a channel that uses a wireless signal as a transmission carrier to transmit data. Among them, the frequency point and the bandwidth can be used to describe the wireless channel, and the frequency point and the bandwidth jointly determine the frequency range of the signal transmitted on the channel. In the P2P scenario, the available frequency bands of the wireless channel include: Industrial Scientific and Medical (ISM) frequency band and unlicensed frequency band.
数据在无线信道中,从一端传输到另一端所花费的时间称为信道时延。用户只能直观的感受到交互时延,其中交互时延包括信道时延。在P2P场景中,影响信道时延的因素有很多,例如,接入设备的空口繁忙程度、无线信道的信噪比等。对于一个无线信道来说,当该信道中存在有多个高吞吐业务进行数据交互时,可以认为该无线信道所对应的空口较为繁忙。并且,对于低时延业务来说,在同一个信道上进行传输数据的其他业务越多,则该信道的信噪比越低。In a wireless channel, the time it takes for data to be transmitted from one end to the other is called the channel delay. The user can only intuitively feel the interaction delay, where the interaction delay includes the channel delay. In a P2P scenario, there are many factors that affect the channel delay, such as the busyness of the air interface of the access device and the signal-to-noise ratio of the wireless channel. For a wireless channel, when there are multiple high-throughput services for data exchange in the channel, it can be considered that the air interface corresponding to the wireless channel is relatively busy. Moreover, for low-latency services, the more other services that transmit data on the same channel, the lower the signal-to-noise ratio of the channel.
根据是否有第一类设备在无线信道上传输,可以将无线信道划分为第一类信道和第二类信道。第一类信道主要用于第一类设备进行数据交互,第二类信道主要用于第二类设备(和其他类设备)进行数据交互。According to whether there is a first-type device transmitting on the wireless channel, the wireless channel can be divided into a first-type channel and a second-type channel. The first type of channel is mainly used for the first type of equipment to perform data interaction, and the second type of channel is mainly used for the second type of equipment (and other types of equipment) to perform data interaction.
第一类设备可以通过广播第一信息告知其他设备:第一类设备所在的信道为第一类信道。其中第一消息的表现形式可以是该第一类信道的频点和频宽,或者第一消息的表现形式可以是其遵守的通信协议所规定的信道编号,在此不作限定。其中,该广播的第一消息可以是加密的,也可以是明文的。The first type of device may notify other devices by broadcasting the first information that the channel on which the first type of device is located is the first type of channel. The expression form of the first message may be the frequency point and bandwidth of the first type of channel, or the expression form of the first message may be the channel number specified by the communication protocol it complies, which is not limited here. The broadcasted first message may be encrypted or plaintext.
第一类设备广播的方式可以有很多种,例如,可以在控制信道进行广播,或者可以在带外信道进行广播,或者可以通过近距离通信进行广播等,在此不作限定。There are many ways for the first type of device to broadcast, for example, it can broadcast on a control channel, or can broadcast on an out-of-band channel, or can broadcast through short-range communication, etc., which is not limited here.
其中,控制信道、带外信道等术语的概念可以参考术语解释中(4)信道选择策略、设备避让策略中的文字描述,此处不再赘述。For the concepts of terms such as control channel and out-of-band channel, reference may be made to the text description in (4) Channel selection strategy and device avoidance strategy in Terminology Explanation, which will not be repeated here.
可以理解的是,通过将无线信道差异化的划分为第一类信道和第二类信道,为通信资源的差异化调度提供了基础。具体的,当通信资源紧张时,为了保障第一类设备的通信资源,通过让第一类信道中第二类设备切换到第二类信道中去保证第一类信道中的第一类设备的通信资源。其次,当其他第一类设备没有在第一类信道中,可以告知该第一类设备接入第一类信道中进行数据交互。It can be understood that, by differentially dividing the wireless channels into the first type of channels and the second type of channels, a basis is provided for the differential scheduling of communication resources. Specifically, when communication resources are scarce, in order to ensure the communication resources of the first-type devices, the second-type devices in the first-type channels are switched to the second-type channels to ensure the communication resources of the first-type devices in the first-type channels. communication resources. Secondly, when other first-type devices are not in the first-type channel, the first-type device can be instructed to access the first-type channel for data interaction.
其中,在任一时刻,第一类信道的通信性能如信道时延、信噪比参数等无需好于第二类信道的通信性能。Wherein, at any moment, the communication performance of the first type of channel, such as channel delay, signal-to-noise ratio parameters, etc., need not be better than the communication performance of the second type of channel.
下面以图4所示的内容为例,介绍信道时延与交互时延的关系。The following takes the content shown in FIG. 4 as an example to introduce the relationship between the channel delay and the interaction delay.
图4为信道时延与交互时延关系的一个示例性示意图。FIG. 4 is an exemplary schematic diagram of the relationship between the channel delay and the interaction delay.
如图4所示,手机与投影仪建立有WIFI连接,并且手机通过WIFI连接将PPT投屏到投影仪上。手机在第0秒与投影仪建立有WIFI连接,并且响应于用户的操作开始建立投屏业务;在第0.05秒时,手机建立完成投屏业务,且开始向投影仪请求空口资源用于传输数据;在第0.05秒至第0.08秒内,手机竞争空口资源失败;在第0.08秒时,手机开始第二次向投影仪请求空口资源用于传输数据;在第0.08秒至第0.11秒内,手机竞争空口资源成功,并在第0.11秒时开始传输数据;在第0.24秒至第0.35秒内,承载数据的无线信道的信道时延为0.24秒,且投影仪没有收到完整的数据,要求手机重新传输数据;在第0.35秒时,手机开始重新传输数据;在第0.35秒至第0.45秒内,承载数据的无线信道的信道时延为0.1秒;在第0.45秒时,投影仪将底层的数据交给上层业务;在第0.46秒时,投影仪将数据展现在屏幕上。As shown in Figure 4, a WIFI connection is established between the mobile phone and the projector, and the mobile phone projects the PPT screen to the projector through the WIFI connection. The mobile phone establishes a WIFI connection with the projector at the 0th second, and starts to establish the screen projection service in response to the user's operation; at the 0.05th second, the mobile phone establishes and completes the screen projection service, and begins to request air interface resources from the projector for data transmission. ;In the 0.05th to 0.08th second, the mobile phone fails to compete for air interface resources; in the 0.08th second, the mobile phone begins to request the projector for air interface resources for the second time to transmit data; in the 0.08th to 0.11th second, the mobile phone The competition for air interface resources is successful, and data transmission starts at 0.11 seconds; from 0.24 seconds to 0.35 seconds, the channel delay of the wireless channel carrying the data is 0.24 seconds, and the projector does not receive complete data. Retransmit data; at 0.35 seconds, the mobile phone starts to retransmit data; from 0.35 seconds to 0.45 seconds, the channel delay of the wireless channel carrying the data is 0.1 seconds; at 0.45 seconds, the projector will The data is handed over to the upper-level business; at 0.46 seconds, the projector displays the data on the screen.
很显然的,对于用户来说,能够直接感受到交互时延为0.46秒,其中包块两次数据传输的信道时延,其中两次信道时延分别为0.24秒和0.1秒。Obviously, for the user, the interaction delay can be directly felt as 0.46 seconds, in which the channel delay of the two data transmissions of the packet block, wherein the two channel delays are 0.24 seconds and 0.1 seconds respectively.
(4)信道选择策略、设备避让策略(4) Channel selection strategy, device avoidance strategy
在本申请实施例中,信道选择策略为电子设备在选择一个无线信道进行接入时所依据的策略。In this embodiment of the present application, the channel selection strategy is the strategy on which the electronic device selects a wireless channel for access.
其中,根据电子设备在选择无线信道进行接入时能否确定该设备本身为第一类设备,具体可以分为两种情况:Among them, according to whether the electronic device can determine whether the device itself is the first type of device when selecting a wireless channel for access, it can be divided into two situations:
其一,当电子设备在选择无线信道接入时,不能确定设备本身是否为第一类设备时,信道选择策略包括:电子设备依据交互时遵守的通信协议,选择合适的无线信道进行接入。First, when the electronic device cannot determine whether the device itself is the first type of device when selecting a wireless channel for access, the channel selection strategy includes: the electronic device selects an appropriate wireless channel for access according to the communication protocol complied with during interaction.
其二,当电子设备在选择无线信道接入时,能够确定设备本身是否为第一类设备时,信道选择策略包括:当该电子设备为第一类设备,且当前存在一个第一类信道时,则该电子设备接入该第一类信道;当该电子设备为第一类设备,且当前存在多个第一个类信道时,则该电子设备随机选择一个第一类信道接入,或者该电子设备选择设备数量最少的第一类信道接入,或者该电子设备选择信道信噪比最高的第一类信道接入,或者该电子设备选择信道接收功率最高的第一类信道接入等;当该电子设备为第一类设备时,且当前不存在第一类信道,则该电子设备随机选择一个第二类信道接入,或者该电子设备选择设备数量最少的第二类信道接入,或者该电子设备选择信道信噪比最高的第二类信道接入,或者该电子设备选择信道接收功率最高的无线信道接入。当该电子设备为第二类设备时,可以选择第一类信道或者选择第二类信道接入。Second, when the electronic device is able to determine whether the device itself is a first-class device when selecting a wireless channel for access, the channel selection strategy includes: when the electronic device is a first-class device and there is currently a first-class channel , the electronic device accesses the first-type channel; when the electronic device is a first-type device and there are multiple first-type channels, the electronic device randomly selects a first-type channel to access, or The electronic device selects the first type of channel access with the least number of devices, or the electronic device selects the first type of channel access with the highest channel signal-to-noise ratio, or the electronic device selects the first type of channel access with the highest channel received power, etc. ; When the electronic device is a first-class device and there is currently no first-class channel, the electronic device randomly selects a second-class channel to access, or the electronic device selects the second-class channel with the least number of devices to access. , or the electronic device selects the second type of channel access with the highest channel signal-to-noise ratio, or the electronic device selects the wireless channel access with the highest channel received power. When the electronic device is a second-type device, the first-type channel or the second-type channel can be selected for access.
设备在准备接入无线信道时,可以通过多种方式得知当前环境中是否存在可以接入的第一类信道,例如,设备可以在控制信道、带外信道等多种方式侦听第一消息,确定是否存在第一类信道,以及第一类信道的频点和频宽,在此不作限定。When a device prepares to access a wireless channel, it can learn whether there is a first-type channel that can be accessed in the current environment in various ways. For example, the device can listen to the first message in a variety of ways, such as a control channel and an out-of-band channel. , to determine whether there is a channel of the first type, and the frequency point and bandwidth of the channel of the first type, which are not limited here.
其中,控制信道根据设备数据交互时遵守的通信协议的不同可以有多种不同的形式,例如,控制信道可以是苹果无线直连连接(Apple Wireless Direct Link,AWDL)协议规定的用于广播的无线信道,邻居感知网络(neighborawareness networking,NAN)协议规定的用于广播的无线信道,蓝牙等近距离通信协议规定的用于广播的无线信道等,在此不作限定。Wherein, the control channel can have many different forms according to the different communication protocols complied with when the device data interacts. For example, the control channel can be the wireless radio used for broadcasting specified by the Apple Wireless Direct Link (AWDL) protocol. The channel, the wireless channel for broadcasting specified by the neighbor awareness network (neighborawareness network, NAN) protocol, the wireless channel for broadcasting specified by the short-range communication protocol such as Bluetooth, etc., are not limited herein.
设备可以通过多种方式估计不同信道中的设备数量,例如设备可以通过空闲信道评估(clearchannelassessment,CCA)估计不同信道中的设备数量,在此不作限定。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 herein.
设备避让策略为第一类设备上的低时延业务在体验参数不满足体验参数阈值时,第一类设备请求第二类设备(其他类设备)降低通信资源的占用时所依据的策略。当第一类设备在第一类信道上进行数据交互时,该设备上正在运行的低时延业务的体验参数小于等于体验参数阈值时,会依据设备避让策略,向一个或多个第二类设备(其他类设备)发起通信资源释放请求,使得一个或多个第二类设备(其他类设备)降低对通信资源的占用,以保障第一类设备的通信资源。The device avoidance policy is the policy on which the first type of device requests the second type of device (other type of device) to reduce the occupation of communication resources when the experience parameter of the low-latency service on the first type of device does not meet the experience parameter threshold. When a first-type device performs data interaction on the first-type channel, and the experience parameter of the low-latency service running on the device is less than or equal to the experience parameter threshold, it will send one or more second-type devices to one or more devices according to the device avoidance policy. The device (other type of device) initiates a communication resource release request, so that one or more second type of device (other type of device) reduces the occupation of communication resources to ensure the communication resources of the first type of device.
其中,低时延业务的体验参数用于直接或间接反映该低时延业务的业务质量。其中,体验参数可以是很多种类的参数,例如,体验参数可以是对信道时延的要求;或者体验参数可以是QoE参数等;或者体验参数可以是KPI参数等,在此不做限定。The experience parameter of the low-latency service is used to directly or indirectly reflect the service quality of the low-latency service. The experience parameter can be many kinds of parameters, for example, the experience parameter can be a requirement for channel delay; or the experience parameter can be a QoE parameter, etc.; or the experience parameter can be a KPI parameter, etc., which are not limited here.
其中,设备避让策略可以包括:设备避让策略可以是第一类设备随机选择一个第二类设备(或其他类设备),向该第二类设备(或其他类设备)发送通信资源释放请求;或者,设备避让策略可以是第一类设备根据请求发送协议(request to send,RTS)或允许发送协议(cleartosend,CTS),估计当前无线信道中设备占据通信资源的排序,并根据占据通信资源的排序依次向设备或发送通信资源释放请求;或者,设备避让策略可以是第一类设备向所有设备广播通信资源释放请求,第二类设备(其他类设备)接收到该通信资源释放请求后,可以对该通信资源释放请求作出响应。Wherein, the device avoidance strategy may include: the device avoidance strategy may be that the first type of device randomly selects a second type of device (or other type of device), and sends a communication resource release request to the second type of device (or other type of device); or , the device avoidance strategy can be that the first type of device estimates the order of the communication resources occupied by the devices in the current wireless channel according to the request to send protocol (request to send, RTS) or the permission to send protocol (cleartosend, CTS), and according to the order of occupied communication resources Send a communication resource release request to the device in turn; or, the device avoidance strategy may be that the first type of device broadcasts the communication resource release request to all devices, and the second type of device (other type of device) after receiving the communication resource release request, can Respond to the communication resource release request.
在本申请的一些实施例中,第一类设备在发送通信资源释放请求时,可能不能得知其他设备是第一类设备还是第二类设备(其他类设备)。在该情况下,第一类设备收到通信资源释放请求时,不会对该通信资源释放请求作出响应;对应的,在该情况下,第二类设备(其他设备)收到通信资源释放请求时,可能会对通信资源释放请求作出响应。In some embodiments of the present application, when a first-type device sends a communication resource release request, it may not be able to know whether other devices are first-type devices or second-type devices (other-type devices). In this case, when the first type of device receives the communication resource release request, it will not respond to the communication resource release request; correspondingly, in this case, the second type of device (other device) receives the communication resource release request may respond to a communication resource release request.
其中,第二类设备(其他类设备)在接收到通信资源释放请求后,作出的响应可以为:切换承载数据交互的无线信道。并且根据第二类设备(其他类设备)的不同,可以采取不同的信道切换方式,例如,当第二类设备为正在通过蓝牙进行传输大量文件的两台手机(分别为手机A和手机B)中的一台手机A,则手机A在接收到通信资源释放请求后,与手机B进行协商,根据遵守的蓝牙协议,选择其他信道进行数据传输;又例如,当第二类设备为路由器D,手机C正在通过路由器D下载视频,当路由器D接收到通信资源释放请求后,结合路由器D遵守的WIFI协议,可以选择其他的信道进行工作,并将新的信道通知手机C,故在此不作限定。The response made by the second type of device (other type of device) after receiving the communication resource release request may be: switching the wireless channel carrying the data interaction. And according to the difference of the second type of device (other types of devices), different channel switching methods can be adopted. For example, when the second type of device is two mobile phones (mobile phone A and mobile phone B, respectively) that are transferring a large number of files through Bluetooth One of the mobile phone A, after receiving the communication resource release request, the mobile phone A negotiates with the mobile phone B, and selects other channels for data transmission according to the complied Bluetooth protocol; for another example, when the second type of device is router D, Mobile phone C is downloading video through router D. When router D receives the communication resource release request, it can select other channels to work in combination with the WIFI protocol complied with by router D, and notify mobile phone C of the new channel, so it is not limited here. .
可选的,在本申请的一些实施例中,第二类设备在接收到通信资源释放请求后,当该第二类设备没有可以切换的信道或者切换后的信道的通信质量较差的情况下,作出的响应可以为降低通信速率。例如,当第二类设备上运行的业务为视频类业务时,可以通过降低帧率或者码率以降低通信速率。Optionally, in some embodiments of the present application, after receiving the communication resource release request, the second type of device does not have a switchable channel or the communication quality of the switched channel is poor. , the response may be to reduce the communication rate. For example, when the service running on the second type of device is a video service, the communication rate can be reduced by reducing the frame rate or the bit rate.
值得说明的是,当将电子设备分为第一类设备、第二类设备和其他类设备时,其他类设备在第一次接收到通信资源释放请求后,可以不作出响应;当其他类设备接收通信资源释放请求次数超过阈值时,可以作出响应包括:切换信道、降低通信速率等。It is worth noting that when the electronic devices are divided into the first type of equipment, the second type of equipment and other types of equipment, other types of equipment may not respond after receiving the communication resource release request for the first time; When the number of times of receiving the communication resource release request exceeds the threshold, the response may include switching channels, reducing the communication rate, and the like.
可以理解的是,当将电子设备分为第一类设备、第二类设备时,第二类设备占据的通信资源较多并且对切换信道导致的交互时延容忍度较高,可以让第二类设备通过切换信道或者降低通信速率以释放通信资源,进而保障了第一类设备上低时延业务的用户体验。It can be understood that when the electronic devices are divided into the first type of equipment and the second type of equipment, the second type of equipment occupies more communication resources and has a higher tolerance for the interaction delay caused by switching channels, which can allow the second type of equipment. Class I devices release communication resources by switching channels or reducing communication rates, thereby ensuring user experience of low-latency services on Class I devices.
可以理解的是,当将电子设备分为第一类设备、第二类设备、其他类设备,考虑到其他类设备占据的通信资源较少,可以仅让第二类设备切换信道或者降低通信速率以释放通信资源,进而保障了第一类设备上低时延业务的用户体验;或者,考虑到降低设备避让策略的复杂度,可以让第二类设备和其他类设备切换信道或者降低通信速率以释放通信资源,进而保障了第一类设备上低时延业务的用户体验。It is understandable that when the electronic equipment is divided into the first type of equipment, the second type of equipment, and other types of equipment, considering that other types of equipment occupy less communication resources, only the second type of equipment can switch channels or reduce the communication rate. In order to release communication resources, the user experience of low-latency services on the first type of equipment can be guaranteed; or, considering the complexity of the device avoidance strategy, the second type of equipment and other types of equipment can be switched to switch channels or reduce the communication rate to The communication resources are released, thereby ensuring the user experience of the low-latency service on the first type of equipment.
下面以图5所示的内容为例,介绍体验参数、体验参数阈值、与设备转换之间的关系。The following takes the content shown in FIG. 5 as an example to introduce the relationship between experience parameters, experience parameter thresholds, and device conversion.
图5为体验参数、体验参数阈值、与设备转换之间关系的一个示例性示意图。FIG. 5 is an exemplary schematic diagram of the relationship between experience parameters, experience parameter thresholds, and device transitions.
结合图3与图5所示的内容,设备上的应用程序/业务会话预配置时延阈值为150毫秒,设备上的应用程序/业务会话预配置的体验参数为信道时延,且体验参数阈值为200毫秒。在图3所示内容的此基础上,当设备预估承载应用程序/业务会话的数据的信道时延超过200毫秒,则认为该设备上低时延业务体验参数不满足体验参数阈值。故,在第0.5秒至第1.2秒间,手机1为第一类设备,且手机1上低时延业务体验参数不满足体验参数阈值,且手机1会依据设备避让策略向其他设备发送通信资源释放请求。Combining the content shown in Figure 3 and Figure 5, 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 the channel delay, and the experience parameter threshold is 200 milliseconds. Based on the content shown in Figure 3, when the device estimates that the channel delay carrying the data of the application/service session exceeds 200 milliseconds, it is considered that the low-latency service experience parameter on the device does not meet the experience parameter threshold. Therefore, from 0.5 seconds to 1.2 seconds, mobile phone 1 is a first-class device, and the low-latency service experience parameters on mobile phone 1 do not meet the experience parameter threshold, and mobile phone 1 will send communication resources to other devices according to the device avoidance policy. release request.
下面简单介绍本申请涉及的P2P场景,以及本申请涉及的几种通信资源协作方法。The following briefly introduces the P2P scenarios involved in this application, and several communication resource cooperation methods involved in this application.
在P2P场景中,多种不同类型的电子设备可能根据不同的通信协议在相近或相同的频段的无线信道上进行数据交互。在该情况下,不论是相邻频段上的电子设备的频谱泄露,还是同一无线信道上电子设备对空口资源的竞争,都不可避免的会导致设备交互时延的增加和不稳定。对于低时延业务来说,这种交互时延的增加和不稳定会极大的恶化用户的体验。In a P2P scenario, a variety of different types of electronic devices may perform data exchange on wireless channels in the same or similar frequency bands according to different communication protocols. In this case, whether it is spectrum leakage of electronic devices on adjacent frequency bands or competition for air interface resources by electronic devices on the same wireless channel, it will inevitably lead to increased and unstable device interaction delay. For low-latency services, the increase and instability of the interaction delay will greatly deteriorate the user experience.
图6为P2P场景中通信资源分配的一个示例性示意图。FIG. 6 is an exemplary schematic diagram of communication resource allocation in a P2P scenario.
如图6所示,在P2P场景中,正在使用通信资源的设备可以包括电脑、可穿戴智能设备、移动终端、智能家居设备等。考虑到不同设备数据交互时遵守的协议可以不同,在空间中可以存在多个信道。对于某个频段如频段1来说,频段1上可能存在有多个信道,承载不同电子设备的数据交互。在ISM频段和unlicensed频段,频段1上可能存在多个频率范围有重叠的信道,可能会进一步加剧电子设备间交互时延的增加和不稳定。As shown in FIG. 6 , in the P2P scenario, the devices that are using communication resources may include computers, wearable smart devices, mobile terminals, smart home devices, and the like. Considering that the protocols complied with when different devices interact with each other can be different, there can be multiple channels in the space. For a certain frequency band, such as frequency band 1, there may be multiple channels on frequency band 1, which carry data interaction of different electronic devices. In the ISM frequency band and the unlicensed frequency band, there may be multiple channels with overlapping frequency ranges on frequency band 1, which may further aggravate the increase and instability of the interaction delay between electronic devices.
可以理解的是,有必要通过合理的调度通信资源,去降低设备交互时延以及减少交互时延的不稳定。It can be understood that it is necessary to reduce the interaction delay of devices and reduce the instability of interaction delay by reasonably scheduling communication resources.
图7与图8分别示出了本申请涉及的两种无线信道选择接入方法。FIG. 7 and FIG. 8 respectively show two wireless channel selection access methods involved in the present application.
如图7所示,路由器提供信道1和信道2用于设备进行接入。信道1可以是路由器在5G频段提供的信道,信道2可以是路由器在2.4G频段提供的信道。在设备2接入路由器前,设备1和其他设备以及在信道1上进行数据交互。设备2在接入路由器时,可以通过侦听传输机会(transmissionopportunity,TXOP),确定信道1上承载数据交互的设备较多,且信道2上承载数据交互的设备较少,则会选择信道2接入。As shown in Figure 7, the router provides channel 1 and channel 2 for devices to access. Channel 1 can be the channel provided by the router in the 5G frequency band, and channel 2 can be the channel provided by the router in the 2.4G frequency band. Before device 2 is connected to the router, device 1 exchanges data with other devices and on channel 1. When device 2 is connected to the router, it can listen to the transmission opportunity (TXOP) to determine that there are more devices carrying data interaction on channel 1 and fewer devices carrying data interaction on channel 2, so channel 2 is selected to connect to the router. enter.
但是,通过TXOP或者其他专用的探测帧去探测合适的无线信道资源,探测完后再去选择一个无线信道接入需要一定的时间。很明显的,考虑到无线信道的时变性,当设备依据探测的结果选择信道时,被选择的无线信道的信道延时、空口资源拥挤程度等参数都会发生变化,并不能保障设备在接入该无线信道后该设备的通信资源能够得到保障。However, it takes a certain amount of time to detect a suitable wireless channel resource through TXOP or other dedicated detection frames, and to select a wireless channel for access after the detection is completed. Obviously, considering the time variability of the wireless channel, when the device selects the channel according to the detection result, the parameters such as the channel delay of the selected wireless channel and the degree of congestion of the air interface resources will change, which does not guarantee that the device can access the channel. After the wireless channel, the communication resources of the device can be guaranteed.
如图8所示,在P2P场景中存在有两个正在工作的路由器,分别为路由器1和路由器2,其中,路由器1向电子设备提供信道2用于数据交互,路由器2向电子设备提供信道3用于数据交互。根据WIFI协议的规定,路由器可以工作在信道1至信道13,且信道1、信道2、 信道3之间的频段范围有部分重叠。设备1通过信道2接入路由器1。由于信道2与信道1有部分频谱重叠,设备1在信道2上传输数据受到路由器2的干扰较大,可以切换到受到路由器2干扰较小的信道1上进行数据交互。As shown in Figure 8, there are two working routers in the P2P scenario, namely router 1 and router 2. Among them, router 1 provides channel 2 to the electronic device for data exchange, and router 2 provides channel 3 to the electronic device. for data interaction. According to the regulations of the WIFI protocol, the router can work on channel 1 to channel 13, and the frequency band ranges between channel 1, channel 2, and channel 3 partially overlap. Device 1 accesses router 1 through channel 2. Since channel 2 and channel 1 have partial spectrum overlap, device 1 transmits data on channel 2, which is greatly interfered by router 2, and can switch to channel 1, which is less interfered by router 2, for data exchange.
当承载电子设备上数据交互的无线信道受到干扰时,电子设备可以选择其他干扰较少的信道进行数据交互。但是,切换信道这一操作本身会造成交互时延的急剧增加,很可能会造成用户体验恶化。When the wireless channel carrying data interaction on the electronic device is interfered, the electronic device can select other channels with less interference for data interaction. However, the operation of switching the channel itself will cause a sharp increase in the interaction delay, which is likely to deteriorate the user experience.
上述介绍的本申请设计的两种无线信道选择接入方法,首先没有考虑到电子设备上不同应用程序/业务会话对交互时延的容忍程度不同。很显然的,对于不同的应用程序/业务会话选择相同的资源调度方法,并不能有效保障用户对于低时延业务的使用体验。其次,当承载电子设备数据交互的无线信道的通信性能如信道时延等参数恶化时,选择主动切换信道这一操作本身会进一步加剧交互时延。The two wireless channel selection and access methods designed in the present application described above do not first take into account that different applications/service sessions on the electronic device have different tolerances for interaction delays. Obviously, selecting the same resource scheduling method for different applications/service sessions cannot effectively guarantee the user's experience of using low-latency services. Secondly, when the communication performance of the wireless channel carrying electronic device data interaction, such as channel delay and other parameters, deteriorates, the operation of actively switching the channel itself will further aggravate the interaction delay.
由于传统通信协议并没有考虑到低时延业务与其他业务对信道通信质量要求的差异化,当信道通信质量能够满足其他业务的需求而不能满足低时延业务的需求时,并不会主动切换信道。在该情况下,对用户来说,低时延业务一直处于能用但不够好用的状态,也会恶化用户的体验。Since the traditional communication protocol does not take into account the difference in channel communication quality requirements between low-latency services and other services, when the channel communication quality can meet the needs of other services but cannot meet the needs of low-latency services, it will not actively switch. channel. In this case, for the user, the low-latency service is always available but not usable, which will also deteriorate the user's experience.
针对上述存在的问题,本申请提供了通信资源协作方法及电子设备。In view of the above existing problems, the present application provides a communication resource cooperation method and an electronic device.
图9为本申请提供的通信资源协作方法实施场景的一个示例性示意图。FIG. 9 is an exemplary schematic diagram of an implementation scenario of the communication resource cooperation method provided by the present application.
如图9所示,与图7所示的内容类似,路由器提供信道1和信道2用于设备进行接入。信道1可以是路由器在5G频段提供的信道,信道2可以是路由器在2.4G频段提供的信道。最初,设备1与设备2均在信道1上进行数据交互,且设备1为第二类设备,设备2为第一类设备。当设备2上低时延业务的体验参数不满足体验参数阈值时,向设备1发送通信资源释放请求。设备1接收到通信资源释放请求后,可以选择切换到信道2上进行数据交互。由于设备1让出了通信资源,设备2的交互时延降低,提升了使用设备2用户的体验。其次,由于设备1为第二类设备,对信道切换导致的交互时延增加和不稳定不敏感,使得使用设备1的用户几乎感觉不到卡顿。As shown in Figure 9, similar to that shown in Figure 7, the router provides channel 1 and channel 2 for devices to access. Channel 1 can be the channel provided by the router in the 5G frequency band, and channel 2 can be the channel provided by the router in the 2.4G frequency band. Initially, both device 1 and device 2 perform data interaction on channel 1, and device 1 is a second-type device and device 2 is a first-type device. When the experience parameter of the low-latency service on the device 2 does not meet the experience parameter threshold, a communication resource release request is sent to the device 1. After receiving the communication resource release request, device 1 can choose to switch to channel 2 for data interaction. Since the device 1 gives up communication resources, the interaction delay of the device 2 is reduced, and the experience of the user using the device 2 is improved. Secondly, because the device 1 is a second type of device, it is not sensitive to the increase of interaction delay and instability caused by channel switching, so that the user who uses the device 1 hardly feels stuck.
结合图7至图9所示的内容,可以理解的是,本申请提供的通信资源协作方法,首先依据电子设备上应用程序/业务会话对交互时延的需求,将应用程序/业务会话分为低时延业务和其他业务。其次,基于对应用程序/业务会话的分类,将运行该应用程序/业务会话对应的分为第一类设备、第二类设备。进一步的,在对设备进行分类后,通过差异化的调度通信资源,保障第一类设备上低时延业务的通信资源,能够极大的提高用户的使用体验。With reference to the contents shown in FIGS. 7 to 9 , it can be understood that the communication resource collaboration method provided by the present application firstly divides the application program/service session into two groups according to the requirements of the application program/service session on the electronic device for the interaction delay. Low-latency services and other services. Secondly, based on the classification of the application program/service session, the corresponding devices running the application program/service session are divided into a first-type device and a second-type device. Further, after the devices are classified, the communication resources of the low-latency service on the first type of devices are guaranteed through differentiated scheduling of communication resources, which can greatly improve the user experience.
下面介绍本申请提供的电子设备:The electronic equipment provided by this application is described below:
本申请实施例中的电子设备可以为单个电子设备,例如,电子设备可以为移动电子设备,或者电子设备可以为PC等,此处不作限定。The electronic device in this 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 herein.
本申请实施例中的电子设备可以为多个正在进行数据交互的电子设备,例如,电子设备可以为路由器和与路由器进行数据交互的移动电子设备;或者,电子设备可以为两个通过蓝牙建立连接并且正在进行数据交互的电子设备等,此处不作限定。The electronic devices in the embodiments of the present application may be multiple electronic devices that are performing data interaction, for example, the electronic devices may be a router and a mobile electronic device that performs data interaction with the router; or, the electronic devices may be two electronic devices that are connected through Bluetooth And the electronic devices that are performing data interaction, etc., are not limited here.
示例性的,以单个电子设备为例,介绍本申请提供的电子设备。Exemplarily, a single electronic device is taken as an example to introduce the electronic device provided in this application.
示例性的,图10为本申请实施例提供的电子设备100的一个结构示意图。Exemplarily, FIG. 10 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
下面以电子设备100为例对实施例进行具体说明。应该理解的是,电子设备100可以具有比图中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的 部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。The embodiment will be described in detail below by taking the electronic device 100 as an example. It should be understood that electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have different component configurations. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。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. Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194 and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on. 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, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structures illustrated in the embodiments of the present invention do 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 less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。The power management module 141 is used for connecting 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 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模 块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify 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 then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). The wireless communication module 160 may 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 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with 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), broadband 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, etc. The GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the 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 alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶 显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。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 or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A 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 and so on.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
随机存取存储器可以包括静态随机存储器(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,例如第五代DDR SDRAM一般称为DDR5SDRAM)等;Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronization Dynamic random access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as fifth-generation DDR SDRAM is generally called DDR5 SDRAM), etc.;
非易失性存储器可以包括磁盘存储器件、快闪存储器(flash memory)。Non-volatile memory may include magnetic disk storage devices, flash memory.
快闪存储器按照运作原理划分可以包括NOR FLASH、NAND FLASH、3D NAND FLASH等,按照存储单元电位阶数划分可以包括单阶存储单元(single-level cell,SLC)、多阶存储单元(multi-level cell,MLC)、三阶储存单元(triple-level cell,TLC)、四阶储存单元(quad-level cell,QLC)等,按照存储规范划分可以包括通用闪存存储(英文:universal flash storage,UFS)、嵌入式多媒体存储卡(embedded multi media Card,eMMC)等。Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle, and can include single-level memory cell (SLC), multi-level memory cell (multi-level memory cell, SLC) according to the level of storage cell potential. cell, MLC), triple-level cell (TLC), quad-level cell (QLC), etc., according to the storage specification can include universal flash storage (English: universal flash storage, UFS) , embedded multimedia memory card (embedded multi media Card, eMMC) and so on.
随机存取存储器可以由处理器110直接进行读写,可以用于存储操作系统或其他正在运行中的程序的可执行程序(例如机器指令),还可以用于存储用户及应用程序的数据等。The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (eg, machine instructions) of an operating system or other running programs, and can also be used to store data of users and application programs.
非易失性存储器也可以存储可执行程序和存储用户及应用程序的数据等,可以提前加载到随机存取存储器中,用于处理器110直接进行读写。The non-volatile memory can also store executable programs and store data of user and application programs, etc., and can be loaded into the random access memory in advance for the processor 110 to directly read and write.
外部存储器接口120可以用于连接外部的非易失性存储器,实现扩展电子设备100的存储能力。外部的非易失性存储器通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部的非易失性存储器中。The external memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 100 . The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video, etc. files in external non-volatile memory.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or a voice message, the voice can be answered by placing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. 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 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。The SIM card interface 195 is used to connect a SIM card. The SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 . The electronic device 100 may 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 card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may 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 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as call and data communication.
本申请实施例中,该处理器110可以通过调用该内部存储器121中存储的计算机指令, 以使得该电子设备100执行本申请实施例中的通信资源协作方法。In the embodiments of the present application, the processor 110 may call the computer instructions stored in the internal memory 121 to cause the electronic device 100 to execute the communication resource cooperation method in the embodiments of the present application.
示例性的,图11为本申请实施例提供的电子设备100的另一个结构示意图。Exemplarily, FIG. 11 is another schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
该电子设备100包括:The electronic device 100 includes:
输入装置201、输出装置202、处理器203和存储器204(其中电子设备100中的处理器203的数量可以一个或多个,图11中以一个处理器203为例)。在本申请的一些实施例中,输入装置201、输出装置202、处理器203和存储器204可通过总线或其它方式连接,其中,图11中以通过总线连接为例。An input device 201, an output device 202, a processor 203, and a memory 204 (wherein the number of processors 203 in the electronic device 100 may be one or more, and one processor 203 is taken as an example in FIG. 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 by a bus or in other ways, wherein the connection by a bus is taken as an example in FIG. 11 .
其中,处理器203通过调用存储器204存储的操作指令以使得电子设备200执行本申请实施例中的通信资源协作方法。The processor 203 causes the electronic device 200 to execute the communication resource cooperation method in the embodiment of the present application by invoking the operation instruction stored in the memory 204 .
示例性的,图12为本申请实施例中电子设备100的一个软件结构示意框图。Exemplarily, FIG. 12 is a schematic block diagram of a software structure of the electronic device 100 in this embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将系统分为四层,从上至下分别为应用程序层,应用程序框架层,系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, a system library, and a kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图12所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序(也可以称为应用)。As shown in FIG. 12 , 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).
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图12所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器,本地Profile管理助手(Local Profile Assistant,LPA)等。As shown in Figure 12, 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.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100 . For example, the management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话界面形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications from applications running in the background, and can also display notifications on the screen in the form of a dialog interface. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
应用程序框架层还可以包括无线传输服务,用于为不同的应用程序层的应用程序或应用程序发起的业务会话提供可配置的、差异化的无线通信能力。The application framework layer may further include a wireless transmission service for providing configurable and differentiated wireless communication capabilities for applications of different application layers or business sessions initiated by the application.
运行时包括核心库和虚拟机。运行时负责操作系统的调度和管理。The runtime includes core libraries and virtual machines. The runtime is responsible for the scheduling and management of the operating system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是核心库。The core library consists of two parts: one is the functional functions that the java language needs to call, and the other is the core library.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),二维图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
对应于无线传输服务,系统库还包括无线传输服务库,无线传输服务库中配置有本申请提供的通信资源协作方法的实现方法。具体的,可以提供有配置应用程序/业务会话为低时延业务或非低时延业务的方法;可以提供有配置体验参数与体验参数阈值的方法;可以有提供有实现发送通信资源释放请求的方法等。在此不作限定。程序开发人员可以通过配置无线传输服务库中方法的参数,或者添加、删除、修改无线传输服务库中方法的内容,可以实现无线传输服务。Corresponding to the wireless transmission service, the system library further includes a wireless transmission service library, and the wireless transmission service library is configured with the implementation method of the communication resource cooperation method provided by the present application. Specifically, a method for configuring an application/service session as a low-latency service or a non-low-latency service may be provided; a method for configuring experience parameters and experience parameter thresholds may be provided; method etc. It is not limited here. The program developer can implement the wireless transmission service by configuring the parameters of the methods in the wireless transmission service library, or adding, deleting, and modifying the content of the methods in the wireless transmission service library.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了二维(2-Dimensional,2D)和三维(3-Dimensional,3D)图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of two-dimensional (2-Dimensional, 2D) and three-dimensional (3-Dimensional, 3D) layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still 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.
三维图形处理库用于实现3D图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动,虚拟卡驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, sensor drivers, and virtual card drivers.
内核层还可以包括网卡驱动,用于承载数据交互,包括:接收/发送通信资源释放请求切换信道、估计信道延时、广播/侦听第一消息等。The kernel layer may further include a network card driver for carrying data interaction, including: receiving/sending a communication resource release request to switch channels, estimating channel delay, broadcasting/listening the first message, and the like.
值得说明的是,开发者在开发应用时通过配置无线传输服务库中的方法,使得应用程序在使用无线传输服务时,可以直接与内核层的网卡驱动进行交互,实施本申请提供过的通信资源协作方法。It is worth noting that the developer configures the method in the wireless transmission service library when developing the application, so that the application can directly interact with the network card driver of the kernel layer when using the wireless transmission service, and implement the communication resources provided by this application. Collaborative approach.
示例性的,图13为本申请实施例中电子设备100的另一个软件结构示意框图。Exemplarily, FIG. 13 is a schematic block diagram of another software structure of the electronic device 100 in this embodiment of the present application.
在一些实施例中,将系统分为四层,从上至下分别为应用层,框架层,系统服务库,以及内核层。In some embodiments, the system is divided into four layers, which are, from top to bottom, an application layer, a framework layer, a system service library, and a kernel layer.
应用层包括系统应用和第三方非系统应用。The application layer includes system applications and third-party non-system applications.
框架层为应用层的应用程序提供JAVA/C/C++/JS等多语言的用户程序框架和能力框架,以及各种软硬件服务对外开放的多语言框架API。The framework layer provides multi-language user program frameworks and capability frameworks such as JAVA/C/C++/JS for applications in the application layer, as well as multi-language framework APIs open to the outside world for various software and hardware services.
系统服务层包括:系统基本能力子系统集、基础软件服务子系统集、增强软件服务子系统集、硬件服务子系统集。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.
其中,系统基本能力子系统集支持操作系统在多设备上运行、调度、迁移等操作。系统基本能力子系统集可以包括:分布式软总线、分布式数据管理、分布式任务调度、公共基础子系统等。系统服务层和框架层联合实现了多模输入子系统、图形子系统等。本申请提供的通信资源协作方法可以位于分布式软总线中。Among them, the system basic capability subsystem set supports the operation, scheduling, and migration of the operating system on multiple devices. The system basic capability subsystem set may include: distributed soft bus, distributed data management, distributed task scheduling, common basic subsystem, etc. The system service layer and the framework layer jointly realize the multi-mode input subsystem, the graphics subsystem and so on. The communication resource cooperation method provided by the present application may be located in a distributed soft bus.
其中,基础软件服务子系统集为操作系统提供公共的、通用的软件服务,可以包括:事件通知子系统、多媒体子系统等。The set of basic software service subsystems provides common and general software services for the operating system, and may include: an event notification subsystem, a multimedia subsystem, and the like.
其中,增强软件服务子系统集为不同设备提供差异化的软件服务,可以包括:IOT专有业务子系统。The enhanced software service subsystem set provides differentiated software services for different devices, and may include: IOT proprietary service subsystem.
其中,硬件服务子系统集为操作系统提供硬件服务,可以包括:IOT专有硬件服务子系统。The hardware service subsystem set provides hardware services for the operating system, and may include: IOT proprietary hardware service subsystem.
值得说明的是,根据不同设备形态的部署环境,上述系统基本能力子系统集、基础软件服务子系统集、增强软件服务子系统集、硬件服务子系统集可以按照其他功能粒度进行重新划分。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 granularity.
内核层包括内核抽象层和驱动子系统。其中,内核抽象层包括多种内核,并且通过屏蔽多内核差异,对上层提供基础的内核能力,例如,线程/进程管理、内存管理、文件系统、网络管理等。其中,驱动子系统为软件开发者提供统一外设访问能力和驱动开发、管理框架。The kernel layer includes the kernel abstraction layer and the driver subsystem. Among them, the kernel abstraction layer includes a variety of kernels, and by shielding the differences between multiple kernels, it provides basic kernel capabilities for the upper layer, such as thread/process management, memory management, file system, network management, etc. Among them, the driver subsystem provides software developers with a unified peripheral access capability and a driver development and management framework.
在配置本申请提供的通信资源协作方法时,软件开发人员可以在分布式软总线、驱动子系统、IOT专有业务子系统或IOT专有硬件服务子系统中进行相关参数的配置。进而,应用层中的应用可以实施本申请提供的通信资源协作方法。When configuring the communication resource cooperation method provided by this application, software developers can configure relevant parameters in the distributed soft bus, drive subsystem, IOT-specific service subsystem or IOT-specific hardware service subsystem. Furthermore, the application in the application layer can implement the communication resource cooperation method provided by the present application.
值得说明的是,根据操作系统的不同以及未来可能的升级换代,电子设备的软件结构可以根据操作系统进行其他方式的划分。It is worth noting that, according to different operating systems and possible future upgrades, the software structure of the electronic device can be divided in other ways according to the operating system.
下面介绍本申请提供的通信资源协作方法。The following describes the communication resource cooperation method provided by the present application.
图14为本申请提供的通信资源协作方法流程的一个示例性示意图。FIG. 14 is an exemplary schematic diagram of the flow of the communication resource cooperation method provided by the present application.
如图14所示,本申请提供的通信资源协作方法可以包括:As shown in FIG. 14 , the communication resource cooperation method provided by the present application may include:
S1401:响应于业务会话的建立,电子设备准备接入信道。S1401: In response to the establishment of the service session, the electronic device prepares to access the channel.
具体的,响应于用户启动电子设备上应用程序,或者响应于电子设备上应用程序创建业务会话,电子设备开始准备进行数据交互,并准备选择合适通信资源去承载数据交互。Specifically, in response to the user starting the application on the electronic device, or in response to the application creating the service session on the electronic device, the electronic device begins to prepare for data interaction, and prepares to select an appropriate communication resource to carry the data interaction.
其中,业务会话可以是HTTP会话、RTP会话等,在此不作限定。The service session may be an HTTP session, an RTP session, etc., which is not limited herein.
其中,电子设备在选择合适通信资源时,依据应用程序/业务会话建立通信时遵守的协议不同,电子设备可以选择的无线信道范围也有所不同。例如,当电子设备通过蓝牙4.0连接时,电子设备可以选择的频段范围在2.4GHz至2.483GHz内的多个无线信道。且根据具体遵守协议版本以及地区的不同,其频段范围及无线信道个数也有不同。Wherein, when the electronic device selects an appropriate communication resource, the range of the wireless channel that the electronic device can select is also different according to the different protocols that the application program/service session complies with when establishing communication. For example, when an electronic device is connected via Bluetooth 4.0, the electronic device can select multiple wireless channels in the frequency band range of 2.4GHz to 2.483GHz. And according to the specific version of the agreement and the different regions, the frequency band range and the number of wireless channels are also different.
可选的,在本申请的一些实施例中,电子设备在启动应用程序或该应用程序创建业务会话时,可以直接指定该应用程序为低时延业务或者该业务会话为低时延业务。即,软件开发者在开发应用时,可以预配置该应用程序/业务会话为低时延业务或其他业务。其中,低时延业务的概念可以参考属于解释中低时延业务、其他业务(1)中的文字描述,此处不再赘述。Optionally, in some embodiments of the present application, when the electronic device starts an application or the application creates a service session, the electronic device may directly designate the application as a low-latency service or the service session as a low-latency service. That is, when a software developer develops an application, the application/service session can be pre-configured as a low-latency service or other service. For the concept of the low-latency service, reference may be made to the text descriptions in Interpretation of medium-low-latency services and other services (1), which will not be repeated here.
执行步骤S1402。Step S1402 is executed.
S1402:电子设备在控制信道侦听第一消息。S1402: The electronic device listens for the first message on the control channel.
具体的,电子设备在准备接入信道时,可以分配一定的时间用于在控制信道侦听第一消息,用于判断当前空间内是是否存在有第一类信道。Specifically, when the electronic device prepares to access the channel, a certain period of time may be allocated for listening to the first message on the control channel, so as to determine whether there is a channel of the first type in the current space.
其中,电子设备准备接入信道这一过程可以发生在电子设备从空闲状态转变为连接状态的过程中,或者是电子设备从休眠状态转变为连接状态的过程中。The process of preparing the electronic device to access the channel may occur during the process of the electronic device transitioning from the idle state to the connected state, or the process of the electronic device transitioning from the sleep state to the connected state.
其中,电子设备分配用于侦听第一消息的时间的长短可以与步骤S1406中,电子设备在控制信道广播第一消息的周期T有关。例如,电子设备可以分配1.2T的时间用于在控制信道侦听第一消息,在此不作限定。The length of time allocated by the electronic device to listen to the first message may be related to the period T during which the electronic device broadcasts the first message on the control channel in step S1406. For example, the electronic device may allocate a time of 1.2T for monitoring the first message on the control channel, which is not limited herein.
其中,控制信道、带外信道、第一消息等术语的概念可以参考术语解释中(3)无线信道,(4)信道选择策略、设备避让策略中的文字描述,此处不再赘述。For the concepts of terms such as control channel, out-of-band channel, and first message, please refer to the text descriptions in (3) Wireless channel and (4) Channel selection strategy and device avoidance strategy in the term explanation, which will not be repeated here.
执行步骤S1403。Step S1403 is executed.
S1403:电子设备根据信道选择策略,选择一个信道接入。S1403: The electronic device selects a channel to access according to the channel selection policy.
具体的,在步骤S1402中的电子设备侦听第一消息后,可以判断当前是否存在第一类信道。电子设备结合当前是否存在第一类信道,以及预配置在电子设备上的信道选择策略,选择一个信道接入。Specifically, after the electronic device in step S1402 listens to the first message, it can determine whether the first type of channel currently exists. The electronic device selects a channel to access based on whether there is currently a first-type channel and a channel selection policy preconfigured on the electronic device.
在本申请的一些实施例中,电子设备在选择信道接入时,暂时还不能根据已有的参数确定电子设备本身是第一类设备还是第二类设备时,可以根据本身遵守的通信协议,选择合适的信道接入。当电子设备在选择信道接入后,确定电子设备上正在运行有低时延业务,即电子设备为第一类设备时,可以切换到第一类信道。In some embodiments of the present application, when an electronic device selects a channel to access, if it is temporarily unable to determine whether the electronic device itself is a first-type device or a second-type device according to the existing parameters, it can be based on the communication protocol it complies. Select the appropriate channel to access. After the electronic device selects the channel to access, it is determined that a low-latency service is running on the electronic device, that is, when the electronic device is a first-type device, it can switch to the first-type channel.
在本申请的一些实施例中,电子设备从第二类设备转换为第一类设备后,并且在执行步骤S1402后,确定存在有第一类信道,可以依据信道选择策略,选择切换的第一类信道。In some embodiments of the present application, after the electronic device is converted from a second-type device to a first-type device, and after step S1402 is executed, it is determined that there is a first-type channel, and the first type of channel for switching can be selected according to a channel selection strategy class channel.
在本申请的一些实施例中,电子设备从第二类设备转换为第一类设备后,当电子设备上的低时延业务的体验参数不满足体验参数阈值时,并且执行步骤S1402后,确定存在有第一类信道,可以依据信道选择策略,选择切换的第一类信道。In some embodiments of the present application, after the electronic device is converted from the second type of device to the first type of device, when the experience parameter of the low-latency service on the electronic device does not meet the experience parameter threshold, and after step S1402 is performed, determine There is a first type of channel, and the first type of channel to be switched can be selected according to the channel selection strategy.
其中,第一类设备、第二类设备、第一类信道、信道选择策略的概念可以参考术语解释中(2)第一类信道、第二类设备,(3)无线信道,(4)信道选择策略、设备避让策略中的文字描述,此处不再赘述。Among them, the concepts of the first type of equipment, the second type of equipment, the first type of channel, and the channel selection strategy can refer to (2) the first type of channel, the second type of equipment, (3) the wireless channel, (4) the channel in the term explanation The text description in the selection policy and device avoidance policy will not be repeated here.
执行步骤S1404。Step S1404 is executed.
S1404:当电子设备为第一类设备且该电子设备在第一类信道上时,判断该电子设备上的低时延业务的体验参数是否满足体验参数阈值。S1404: When the electronic device is the first type of device and the electronic device is on the first type of channel, determine whether the experience parameter of the low-latency service on the electronic device meets the experience parameter threshold.
具体的,电子设备接入无线信道之后,且在执行步骤S1404前,可以确定电子设备上正在运行的应用程序/业务会话是否为低时延业务,即确定电子设备是否为第一类设备。并且,电子设备可以确定当前是否在第一类信道上。当电子设备为第一类设备时,该设备上可能运行有一个或多个低时延业务,该电子设备判断当前所有的低时延业务的体验参数是否满足体验参数阈值。Specifically, after the electronic device accesses the wireless channel and before step S1404 is performed, it can be determined whether the application/service session running on the electronic device is a low-latency service, that is, whether the electronic device is a first-type device. And, the electronic device can determine whether it is currently on the first type of channel. When the electronic device is the first type of device, one or more low-latency services may be running on the device, and the electronic device determines whether the experience parameters of all current low-latency services meet the experience parameter threshold.
电子设备可以获取当前所有的低时延业务的体验参数阈值,并且当体验参数为信道时延时,电子设备可以确定当前所在信道的信道时延,进而判断体验参数是否满足体验参数阈值。例如,电子设备可以基于如图10所示的移动通信模块150、无线通信模块160等获取低时延业务的体验参数;或者,电子设备可以基于如图12所示的网卡驱动获取低时延业务的体验参数。或者,低时延业务确定体验参数是否满足体验参数后,将是否满足的结果告知电子设备。例如,当体验参数为KPI、QoE时,低时延业务确定体验参数与体验参数阈值的关系后,将结果告知电子设备。The electronic device can obtain the experience parameter thresholds of all current low-latency services, and when the experience parameter is the 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. For example, the electronic device can obtain the experience parameters of the low-latency service based on the mobile communication module 150, the wireless communication module 160, etc. as shown in FIG. 10; or, the electronic device can obtain the low-latency service based on the network card driver as shown in FIG. 12 experience parameters. Or, after the low-latency service determines whether the experience parameter satisfies the experience parameter, it notifies the electronic device of the result of whether it satisfies. For example, when the experience parameter is KPI and QoE, after the low-latency service determines the relationship between the experience parameter and the experience parameter threshold, it informs the electronic device of the result.
当任意一个低时延业务的体验参数不满足体验参数阈值时,执行步骤S1405;When the experience parameter of any low-latency service does not meet the experience parameter threshold, step S1405 is performed;
当设备上全部的低时延业务各自的体验参数均满足体验参数阈值时,执行步骤S1408。When the respective experience parameters of all the low-latency services on the device meet the experience parameter threshold, step S1408 is performed.
可选的,在本申请的一些实施例中,对某个第一类设备来说,当体验参数不满足体验参数阈值并且当前存在多个第一类信道时,可以切换到其他第一类信道后,再执行步骤S1404。其中,切换到其他第一类信道时,可以切换到第一类设备数量最多的第一类信道,或者可以切换到信噪比最高的第一类信道,或者可以切换到接收功率最高的第一类信道。Optionally, in some embodiments of the present application, for a certain first-type device, when the experience parameter does not meet the experience parameter threshold and there are currently multiple first-type channels, it can switch to other first-type channels. After that, step S1404 is executed again. Among them, when switching to other first-type channels, you can switch to the first-type channel with the largest number of first-type devices, or you can switch to the first-type channel with the highest signal-to-noise ratio, or you can switch to the first-type channel with the highest received power class channel.
其中,设备如何确定设备上正在运行的应用程序/业务会话为低时延业务、体验参数、体 验参数阈值等术语的概念可以参考术语解释中(1)低时延业务、其他业务,(4)信道选择策略、设备避让策略中的文字描述,此处不再赘述。Among them, 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 and other terms can refer to (1) low-latency services, other services in the term explanation, (4) The text descriptions in the channel selection strategy and the device avoidance strategy will not be repeated here.
S1405:第一类信道上是否有第二类设备在进行数据交互。S1405: Whether there is a second-type device performing data exchange on the first-type channel.
具体的,根据低时延业务的划分标准不同,有不同的方式可以确定电子设备所在信道上是否有第二类设备进行数据交互。当电子设备所在信道上有第二类设备进行数据交互,执行步骤S1406;当电子设备所在信道上没有第二类设备进行数据交互,执行步骤S1407。Specifically, according to different classification standards of low-latency services, there are different ways to determine whether there is a second type of device on the channel where the electronic device is located for data exchange. When there is a second type of device on the channel where the electronic device is located to perform data interaction, step S1406 is performed; when there is no second type of device on the channel where the electronic device is located to perform data interaction, step S1407 is performed.
例如,当低时延业务为应用程序预配置的,电子设备可以通过TXOP探测、无线电探测、RTS/CTS等技术,通过获取信道中数据报文报头中用于表示应用程序的字段,可以确定当前信道中是否有第二类设备正在进行数据交互。For example, when the low-latency service is pre-configured by the application, the electronic device can use TXOP detection, radio detection, RTS/CTS and other technologies to obtain the field used to represent the application in the header of the data packet in the channel to determine the current Whether there is a second type of device in the channel that is interacting with data.
又例如,当低时延业务的划分标准与信道时延或交互时延有关时,电子设备可以通过近距离通信服务访问其他电子设备是否是第一类设备;或者电子设备记录在控制信道广播第一消息的设备,并与当前信道正在进行数据交互的设备进行比对,判断当前信道中是否存在第二类设备,在此不作限定。For another example, when the division standard of low-latency services is related to channel delay or interaction delay, the electronic device can access whether other electronic devices are the first type of devices through the short-range communication service; or the electronic device records in the control channel broadcast No. A device that receives a message, and compares it with the device that is performing data exchange on the current channel to determine whether there is a second type of device in the current channel, which is not limited here.
S1406:第一类设备依据设备避让策略,向第二类设备发送通信资源释放请求。S1406: The first type of device sends a communication resource release request to the second type of device according to the device avoidance policy.
具体的,第一类设备依据设备避让策略,向该第一类设备所在的第一类信道中的一个或多个第二类设备(或第二类设备和其他类设备)发送通信资源释放请求。或者,第一类设备依据设备避让策略,向该第一类设备所在信道中的所有设备广播通信资源释放请求。Specifically, the first-type device sends a communication resource release request to one or more second-type devices (or second-type devices and other types of devices) in the first-type channel where the first-type device is located according to the device avoidance policy . Alternatively, the first type of device broadcasts the communication resource release request to all the devices in the channel where the first type of device is located according to the device avoidance policy.
其中,设备避让策略、通信资源释放请求等术语的概念可以参考术语解释中(4)信道选择策略、设备避让策略中的文字描述,此处不再赘述。For the concepts of terms such as device avoidance strategy and communication resource release request, please refer to the text description in (4) Channel selection strategy and device avoidance strategy in Terminology Explanation, which will not be repeated here.
执行步骤S1404。Step S1404 is executed.
可以理解的是,通过向其他设备发起通信资源释放请求,使得其他设备切换信道或者降低通信速率,为低时延业务所在的电子设备让出了通信资源,进而提高了使用低时延业务用户的使用体验。It can be understood that by initiating a communication resource release request to other devices, other devices switch channels or reduce the communication rate, freeing up communication resources for the electronic devices where the low-latency service is located, thereby improving the user's ability to use the low-latency service. Use experience.
下面结合图15、图16所示的内容,示例性的介绍第一类设备如何根据设备避让策略去发送通信资源释放请求。In the following, in conjunction with the contents shown in FIG. 15 and FIG. 16 , how the first type of device sends a communication resource release request according to the device avoidance policy is exemplarily introduced.
图15为本申请实施例中第一类设备向其他设备发送通信资源释放请求的一个示例性示意图。FIG. 15 is an exemplary schematic diagram of a first type of device sending a communication resource release request to another device in an embodiment of the present application.
如图15所示,手机1和投影仪上建立有WIFI连接,手机2和手机3建立有蓝牙连接。手机1和投影仪正在运行有投影业务,且投影业务被预配置为低时延业务,即手机1为第一类设备。手机2和手机3上运行有文件传输业务,且文件传输业务被预配置为高吞吐业务,即手机2为第二类设备。并且手机1和投影仪数据交互使用的信道与手机2和手机3数据交互使用的信道相同。As shown in Figure 15, a WIFI connection is established between the mobile phone 1 and the projector, and a Bluetooth connection is established between the mobile phone 2 and the mobile phone 3. The mobile phone 1 and the projector are running a projection service, and the projection service is preconfigured as a low-latency service, that is, the mobile phone 1 is a first-class device. The mobile phone 2 and the mobile phone 3 run a file transfer service, and the file transfer service is pre-configured as a high-throughput service, that is, the mobile phone 2 is a second-class device. And the channel used for data interaction between mobile phone 1 and the projector is the same as the channel used for data interaction between mobile phone 2 and mobile phone 3 .
当手机1上低时延业务的体验参数不满足体验参数阈值时,依据本地预配置的设备避让策略,准备向手机2发送通信资源释放请求。此时,手机1可以通过无线电感知技术等技术与手机2建立近距离通信服务,如HiLink连接、蓝牙连接等,并基于该近距离通信服务将通信资源释放请求发送给手机2。When the experience parameter of the low-latency service on the mobile phone 1 does not meet the experience parameter threshold, it prepares to send a communication resource release request to the mobile phone 2 according to the locally preconfigured device avoidance policy. At this time, the mobile phone 1 can establish a short-range communication service with the mobile phone 2 through technologies such as radio sensing technology, such as HiLink connection, Bluetooth connection, etc., and send a communication resource release request to the mobile phone 2 based on the short-range communication service.
图16为本申请实施例中第一类设备向其他设备发送通信资源释放请求的另一个示例性示意图。FIG. 16 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.
与图15所示的内容类似,图16所示的手机1为第一类设备,手机2为第二类设备,并 且手机1与手机2均通过WIFI连接在路由器上。Similar to the content shown in Figure 15, the mobile phone 1 shown in Figure 16 is the first type of device, the mobile phone 2 is the second type of device, and both the mobile phone 1 and the mobile phone 2 are connected to the router through WIFI.
如图16中(A)所示,当手机1上低时延业务的体验参数不满足体验参数阈值时,可以向路由器发送通信资源释放请求以及承载手机1投屏业务数据交互的信道1的频点和频宽。路由器可以根据预配置在路由器上的设备避让策略,向包括手机2在内的多个设备转发通信资源释放请求和用于表示信道1的频点和频宽。As shown in (A) of Figure 16, when the experience parameter of the low-latency service on the mobile phone 1 does not meet the experience parameter threshold, it can send a communication resource release request to the router and the frequency of the channel 1 that carries the data interaction of the screen casting service of the mobile phone 1. point and bandwidth. The router can forward the communication resource release request and the frequency point and bandwidth used to indicate the channel 1 to multiple devices including the mobile phone 2 according to the device avoidance policy preconfigured on the router.
包括手机2在内的多个设备接收到通信资源释放请求和用于表示无线信道1的频点和频宽。由于手机2为在无线信道1上进行数据交互的第二类设备,故手机2会选择切换蓝牙信道。Multiple devices including the mobile phone 2 receive the communication resource release request and the frequency and bandwidth used to indicate the wireless channel 1 . Since the mobile phone 2 is the second type of device that performs data interaction on the wireless channel 1, the mobile phone 2 will choose to switch the Bluetooth channel.
如图16中(B)所示,当手机1上低时延业务的体验参数不满足体验参数阈值时,可以依据预配置在本地的设备避让策略,确定向手机2发送通信资源释放请求。手机1可以将通信资源释放请求以及手机2的标识符通过WIFI发送给路由器。路由器在获的通信资源释放请求后,可以转依据手机2的标识符转发将该通信资源释放请求转发给路由器。As shown in (B) of FIG. 16 , when the experience parameter of the low-latency service on the mobile phone 1 does not meet the experience parameter threshold, it can be determined to send a communication resource release request to the mobile phone 2 according to the pre-configured local device avoidance policy. The mobile phone 1 can send the communication resource release request and the identifier of the mobile phone 2 to the router through WIFI. After the router obtains the communication resource release request, it can forward the communication resource release request to the router according to the identifier of the mobile phone 2 .
S1407:第一类电子设备拓宽第一类信道。S1407: The first type of electronic device widens the first type of channel.
具体的,当第一类设备所在的第一类信道中没有第二类设备时,第一类设备可以通过拓展第一类信道,以保障低时延业务的通信资源。Specifically, when there is no second-type device in the first-type channel where the first-type device is located, the first-type device can expand the first-type channel to ensure the communication resources of the low-latency service.
拓宽第一类信道可以包括:改变该第一类信道的频点和频宽,如增加频宽等;或者,可以是根据设备遵守的通信协议架设新的信道作为新的第一类信道,在此不作限定。Widening the first-type channel may include: changing the frequency and bandwidth of the first-type channel, such as increasing the bandwidth; This is not limited.
其中,架设新的信道可以包括:对于路由器来说,可以从可用的频谱中对信道进行重新划分,选择新的频点和频宽所对应的信道接入。Wherein, setting up a new channel may include: for the router, the channel may be re-divided from the available frequency spectrum, and the channel corresponding to the new frequency point and bandwidth may be selected for access.
执行步骤S1404。Step S1404 is executed.
S1408:第一类设备在控制信道广播第一消息,通告该信道为第一类信道。S1408: The first-type device broadcasts the first message on the control channel, announcing that the channel is the first-type channel.
具体的,电子设备上的应用程序在体验参数满足体验参数阈值的时候,可以在控制信道广播第一消息,用于告知其他设备第一消息所指示的信道为第一类信道。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 the first type of channel.
可选的,在本申请一些实施例中,电子设备也可以通过近距离通信或者其他通信协议,去告知其他设备,该电子设备所在的信道为第一类信道。Optionally, in some embodiments of the present application, the electronic device may also notify other devices through short-range communication or other communication protocols that the channel on which the electronic device is located is the first type of channel.
以图17所示的存在多个电子设备交互的场景为例,结合图14所示的通信资源协作方法,对本申请实施例中的通信资源协作方法进行示例性的描述:Taking the scenario shown in FIG. 17 where multiple electronic devices interact as an example, and in conjunction with the communication resource cooperation method shown in FIG. 14 , the communication resource cooperation method in the embodiment of the present application is exemplarily described:
图17为本申请实施例提供的通信资源协作方法在多设备交互场景中的一个示例性示意图。FIG. 17 is an exemplary schematic diagram of the communication resource cooperation method provided by the embodiment of the present application in a multi-device interaction scenario.
如图17所示,某场景中存在多个可互相交互的电子设备,包括:手机1、手机2、手机3。手机1、手机2、手机3分别于其他设备建立无线连接,并进行数据交互。为了更简便的说明该场景,认为手机1、手机2、手机3建立的无线连接均可以承载在信道1或者信道2上,信道1与信道2的频点不同,信道时延相同。As shown in FIG. 17 , there are multiple electronic devices that can interact with each other in a certain scene, including: mobile phone 1 , mobile phone 2 , and mobile phone 3 . The mobile phone 1, the mobile phone 2, and the mobile phone 3 respectively establish wireless connections with other devices and perform data exchange. In order to explain this scenario more easily, it is considered 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.
在该场景中,手机1上运行有应用程序A,且应用程序A被预配置为低时延业务;手机2上运行有应用程序B,且应用程序B被配置有180毫秒的时延阈值,即当估计信道时延大于180毫秒,应用程序为低时延业务,当估计信道时延小于180毫秒时,应用程序为其他业务;手机3上运行有应用程序C,且应用程序C被配置为高吞吐业务。其中,应用程序A的体验参数阈值为估计信道时延为165毫秒,应用程序B的体验参数阈值为200毫秒。In this scenario, application A runs on mobile phone 1, and application A is pre-configured as a low-latency service; application B runs on mobile phone 2, and application B is configured with a delay threshold of 180 milliseconds, That is, when the estimated channel delay is greater than 180 milliseconds, the application is a low-latency service; when the estimated channel delay is less than 180 milliseconds, the application is other services; there is application C running on mobile phone 3, and application C is configured as High throughput business. The experience parameter threshold of application A is estimated to be 165 milliseconds of channel delay, and the experience parameter threshold of application B is 200 milliseconds.
并且,结合图17所示的估计信道时延,可以得知:在第0秒至0.4秒内,手机2为第二类设备;在第0.4秒至第1.0秒内,手机2为第一类设备;在第1.0秒后,手机2为第二类设备。手机1一直为第一类设备,手机3一直为第二类设备。And, in combination with the estimated channel delay shown in Figure 17, it can be known that: in the 0th to 0.4th second, the mobile phone 2 is the second type of device; in the 0.4th to 1.0th second, the mobile phone 2 is the first type of device device; after 1.0 seconds, mobile phone 2 is a second-class device. Mobile phone 1 has always been the first type of device, and mobile phone 3 has always been the second type of device.
下面结合图14所示通信资源协作方法中的步骤,示例性介绍手机2在图17所示的场景中实施本申请提供的通信资源协作方法的流程。In the following, in conjunction with the steps in the communication resource cooperation method shown in FIG. 14 , the flow of the mobile phone 2 implementing the communication resource cooperation method provided by the present application in the scenario shown in FIG. 17 is exemplarily introduced.
在第0秒前,手机1和手机3均已经接入信道1进行数据交互,并且手机1为第一类设备、手机3为第二类设备;在第0秒至第0.3秒时,手机1广播第一消息,通告其他设备该信道为第一类信道。Before the 0th second, both mobile phone 1 and mobile phone 3 have access to channel 1 for data exchange, and mobile phone 1 is the first type device and mobile phone 3 is the second type device; from the 0th second to the 0.3th second, the mobile phone 1 Broadcast the first message to notify other devices that the channel is the first type of channel.
对应于步骤S1401:在第0秒时,用户启动手机2上的应用程序B,准备接入信道。Corresponding to step S1401: at the 0th second, the user starts the application B on the mobile phone 2 to prepare to access the channel.
对应于步骤S1402:在第0秒至0.3秒内,手机2侦听到手机1发送的第一消息,得知当前环境中的信道1为第一类信道,信道2为第二类信道。Corresponding to step S1402: in the 0th to 0.3th second, the mobile phone 2 detects the first message sent by the mobile phone 1, and learns that the channel 1 in the current environment is the first type channel, and the channel 2 is the second type channel.
对应于步骤S1403:在第0秒至0.3秒内,并且在监听到第一消息后,手机2选择接入信道1。在第0.3秒至第0.4秒内,由于估计信道时延大于应用程序A的体验参数阈值,手机1向手机2发送通信资源释放请求2以及向手机3发送通信资源释放请求1。并且响应于通信资源释放请求2,手机2切换到信道2接入;响应于通信资源释放请求1,手机3降低通信速率。Corresponding to step S1403: within the 0th second to 0.3rd second, and after monitoring the first message, the mobile phone 2 selects the access channel 1. From 0.3 seconds to 0.4 seconds, 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. And in response to the communication resource release request 2, the mobile phone 2 switches to access the channel 2; in response to the communication resource release request 1, the mobile phone 3 reduces the communication rate.
对应于步骤S1406:在第0.3秒至0.4秒内,由于估计信道时延大于应用程序B的信道时延阈值,故手机2从第二类设备转变为第一类设备。由于手机2转变为第一类设备,故手机2选择第一类信道接入,即选择信道1接入。Corresponding to step S1406: in the second to 0.4 seconds, since the estimated channel delay is greater than the channel delay threshold of application B, the mobile phone 2 is converted from the second type of device to the first type of device. Since the mobile phone 2 is transformed into the first type of equipment, the mobile phone 2 selects the first type of channel access, that is, selects the channel 1 to access.
在第0.45秒至第0.8秒内,由于手机2接入信道1后,估计信道时延仍然大于应用程序B的体验参数阈值,故向手机3发送通信资源释放请求。手机3在接收到通信资源释放请求3后,切换到信道2。From 0.45 seconds to 0.8 seconds, after mobile phone 2 accesses channel 1, the estimated channel delay is still greater than the experience parameter threshold of application B, so a communication resource release request is sent to mobile phone 3. After receiving the communication resource release request 3, the mobile phone 3 switches to the channel 2.
可以理解的是,通过实施本申请提供的通信资源协作方法,既保证了被静态配置为低时延业务的业务体验一直保持在较高的水平,其次保证了被动态配置为低时延业务的业务体验不会低于一个较低的水平。本申请提供的通信资源协作方法在最大化通信资源利用率、最大化低时延业务的用户体验、最小化交互时延以及不稳定三者之间取得了动态平衡。It can be understood that, by implementing the communication resource coordination method provided by this application, it not only ensures that the service experience statically configured as a low-latency service is maintained at a high level, and secondly, it ensures that the The business experience does not fall below a lower level. The communication resource cooperation method provided by the present application achieves a dynamic balance among maximizing the utilization rate of communication resources, maximizing the user experience of the low-latency service, minimizing the interaction delay and instability.
可以理解的是,通过实施本申请提供的通信资源协作方法,通过对通信资源的动态的、差异化的分配,对于低时延业务来说,极大程度上避免了由于信道资源紧张、频繁信道切换等原因导致的交互时延增加和不稳定,有效保障了运行有低时延业务设备的通信资源。It can be understood that, by implementing the communication resource cooperation method provided by the present application, through the dynamic and differentiated allocation of communication resources, for low-latency services, it is largely avoided due to the shortage of channel resources and frequent channels. The interaction delay increases and becomes unstable due to handover and other reasons, which effectively guarantees the communication resources of devices running low-latency services.
上述实施例中所用,根据上下文,术语“当…时”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。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, depending on the context, the phrases "in determining..." or "if detecting (the stated condition or event)" can be interpreted to mean "if determining..." or "in response to determining..." or "on detecting (the stated condition or event)" or "in response to the detection of (the stated condition or event)".
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红 外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, 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 procedures or functions according to the embodiments of the present application are generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions may be stored on or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted over a wire from a website site, computer, server or data center (eg coaxial cable, optical fiber, digital subscriber line) or wireless (eg infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media integrated. The available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state drives), and the like.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented. The process can be completed by instructing the relevant hardware by a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed , which may include the processes of the foregoing method embodiments. The aforementioned storage medium includes: ROM or random storage memory RAM, magnetic disk or optical disk and other mediums that can store program codes.

Claims (21)

  1. 一种通信资源协作方法,其特征在于,包括:A communication resource cooperation method, comprising:
    第一电子设备接入第一信道,所述第一电子设备上运行有第一业务,所述第一业务为低时延业务;The first electronic device is connected to the first channel, the first electronic device runs a first service, and the first service is a low-latency service;
    所述第一电子设备获取所述第一业务的体验参数;acquiring, by the first electronic device, experience parameters 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, and the second electronic device is not running the electronic device for 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. 根据权利要求1所述的方法,其特征在于,第一电子设备接入第一信道前,还包括:The method according to claim 1, wherein before the first electronic device accesses the first channel, the method further comprises:
    所述第一电子设备基于空闲信道评估CCA确定电子设备数量最少的信道为所述第一信道。The first electronic device determines, based on the idle channel evaluation CCA, a channel with the least number of electronic devices as the first channel.
  3. 根据权利要求1所述的方法,其特征在于,第一电子设备接入第一信道前,还包括:The method according to claim 1, wherein before the first electronic device accesses the first channel, the method further comprises:
    所述第一电子设备在控制信道或带外信道监听第三消息,所述第三消息用于指示所述第一电子设备接入所述第一信道。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. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein 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 is used to indicate that the first channel is used for Data interaction for electronic devices that carry low-latency services.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    当没有第二电子设备占用所述第一信道的通信资源时,所述第一电子设备拓宽所述第一信道。The first electronic device widens the first channel when no second electronic device occupies the communication resources of the first channel.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述第一电子设备向所述第二电子设备发送通信资源释放请求,具体包括:The method according to any one of claims 1 to 5, wherein the first electronic device sends a communication resource release request to the second electronic device, which specifically includes:
    所述第一电子设备在控制信道或带外信道广播所述通信资源释放请求。The first electronic device broadcasts the communication resource release request on a control channel or an out-of-band channel.
  7. 根据权利要求1至5中任一项所述的方法,其特征在于,所述第一电子设备向所述第二电子设备发送通信资源释放请求,具体包括:The method according to any one of claims 1 to 5, wherein the first electronic device sends a communication resource release request to the second electronic device, which 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. 根据权利要求7所述的方法,其特征在于,所述第一电子设备与所述第二电子设备建立连接,并向所述第二电子设备发送所述通信资源释放请求步骤之前,还包括:The method according to claim 7, wherein 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 comprises:
    所述第一电子设备确定所述第二电子设备为占据所述第一信道通信资源最多的电子设备。The first electronic device determines that the second electronic device is the electronic device occupying the most communication resources of the first channel.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述体验参数包括体验质量QoE、关键性能指标KPI或信道时延中的一种或多种。The method according to any one of claims 1 to 8, wherein the experience parameter includes one or more of quality of experience (QoE), key performance indicator (KPI), or channel delay.
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,The method according to any one of claims 1 to 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 cooperation method, comprising:
    第一电子设备、第二电子设备接入第一信道,所述第一电子设备上运行有第一业务,所述第一业务为低时延业务,所述第二电子设备没有运行所述低时延业务;The first electronic device and the second electronic device access the first channel, the first electronic device runs the first service, the first service is a low-latency service, and the second electronic device does not run the low-latency service. delay business;
    所述第一电子设备获取所述第一业务的体验参数;acquiring, by the first electronic device, experience parameters 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. 根据权利要求11所述的方法,其特征在于,所述第一电子设备接入第一信道前,还包括:The method according to claim 11, wherein before the first electronic device accesses the first channel, the method further comprises:
    所述第一电子设备基于空闲信道评估CCA确定电子设备数量最少的信道为所述第一信道。The first electronic device determines, based on the idle channel evaluation CCA, a channel with the least number of electronic devices as the first channel.
  13. 根据权利要求11所述的方法,其特征在于,所述第一电子设备接入第一信道前,还包括:The method according to claim 11, wherein before the first electronic device accesses the first channel, the method further comprises:
    所述第一电子设备在控制信道或带外信道监听第三消息,所述第三消息用于指示所述第一电子设备接入所述第一信道。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. 根据权利要求11至13中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 11 to 13, wherein 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 is used to indicate that the first channel is used for Data interaction for electronic devices that carry low-latency services.
  15. 根据权利要求11至14中任一项所述的方法,其特征在于,所述第一电子设备向所述第二电子设备发送通信资源释放请求,具体包括:The method according to any one of claims 11 to 14, wherein the first electronic device sends a communication resource release request to the second electronic device, which 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. 根据权利要求11至14中任一项所述的方法,其特征在于,所述第一电子设备向所述第二电子设备发送通信资源释放请求,具体包括:The method according to any one of claims 11 to 14, wherein the first electronic device sends a communication resource release request to the second electronic device, which 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. 根据权利要求11至16中任一项所述的方法,所述第一电子设备向所述第二电子设备发送所述通信资源释放请求后,还包括:The method according to any one of claims 11 to 16, after the first electronic device sends the communication resource release request to the second electronic device, further comprising:
    响应于所述通信资源释放请求,所述第二电子设备降低在所述第一信道上的通信速率;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. 根据权利要求11至17中任一项所述的方法,其特征在于,所述体验参数包括体验质量QoE、关键性能指标KPI或信道时延中的一种或多种。The method according to any one of claims 11 to 17, wherein 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 comprises: one or more processors and a memory;
    所述存储器与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,所述一个或多个处理器调用所述计算机指令以使得所述电子设备执行如权利要求1至18中任一项所述的方法。The memory is coupled to the one or more processors for storing computer program code, the computer program code comprising computer instructions that the one or more processors invoke to cause the The electronic device performs the method of any one of claims 1 to 18.
  20. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求1至18中任一项所述的方法。A computer program product comprising instructions, wherein, when the computer program product is run on an electronic device, the electronic device is caused to perform the method of any one of claims 1 to 18.
  21. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1至18中任一项所述的方法。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 perform the method of any one of claims 1 to 18.
PCT/CN2022/083061 2021-03-30 2022-03-25 Communication resource cooperation method and electronic device WO2022206603A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110343655 2021-03-30
CN202110343655.9 2021-03-30
CN202110871914.5A CN115150897A (en) 2021-03-30 2021-07-30 Communication resource cooperation method and electronic equipment
CN202110871914.5 2021-07-30

Publications (1)

Publication Number Publication Date
WO2022206603A1 true WO2022206603A1 (en) 2022-10-06

Family

ID=83404708

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083061 WO2022206603A1 (en) 2021-03-30 2022-03-25 Communication resource cooperation method and electronic device

Country Status (2)

Country Link
CN (1) CN115150897A (en)
WO (1) WO2022206603A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989829A (en) * 2018-08-01 2018-12-11 南京邮电大学 Video living transmission system and its implementation based on the double-deck driving interference coordination
CN110089183A (en) * 2016-12-21 2019-08-02 高通股份有限公司 The silent technology based on service priority for AF panel
US20200008216A1 (en) * 2017-03-20 2020-01-02 Convida Wireless, Llc Scheduling and control in new radio using preemption indication
CN111432497A (en) * 2020-03-30 2020-07-17 京信通信系统(中国)有限公司 Resource allocation method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110089183A (en) * 2016-12-21 2019-08-02 高通股份有限公司 The silent technology based on service priority for AF panel
US20200008216A1 (en) * 2017-03-20 2020-01-02 Convida Wireless, Llc Scheduling and control in new radio using preemption indication
CN108989829A (en) * 2018-08-01 2018-12-11 南京邮电大学 Video living transmission system and its implementation based on the double-deck driving interference coordination
CN111432497A (en) * 2020-03-30 2020-07-17 京信通信系统(中国)有限公司 Resource allocation method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN115150897A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN111316598B (en) Multi-screen interaction method and equipment
WO2021175300A1 (en) Data transmission method and apparatus, electronic device, and readable storage medium
WO2021218864A1 (en) Implementation method for wi-fi peer-to-peer service and related device
WO2021185244A1 (en) Device interaction method and electronic device
EP4084486A1 (en) Cross-device content projection method, and electronic device
WO2021258809A1 (en) Data synchronization method, electronic device, and computer readable storage medium
WO2021047567A1 (en) Callback stream processing method and device
CN112527476B (en) Resource scheduling method and electronic equipment
EP4213512A1 (en) Screen projection method and system, and electronic device
WO2022222924A1 (en) Method for adjusting screen projection display parameters
KR102491006B1 (en) Data Transmission Methods and Electronic Devices
US20230125956A1 (en) Wireless Communication System and Method
US20240045643A1 (en) Codec negotiation and switching method
JP7193647B2 (en) Connection establishment method and terminal device
WO2022042265A1 (en) Communication method, terminal device, and storage medium
US20220311700A1 (en) Method for multiplexing http channels and terminal
WO2022206603A1 (en) Communication resource cooperation method and electronic device
WO2022127632A1 (en) Resource management and control method, and device
WO2022228102A1 (en) Communication resource scheduling method and electronic device
CN113613230B (en) Scanning parameter determination method and electronic equipment
WO2022206702A1 (en) Bluetooth communication method and system
WO2022228248A1 (en) Bluetooth communication method and system, and electronic device
WO2022188813A1 (en) Bluetooth communication method and system, and electronic device
EP4276618A1 (en) Image processing method, electronic device, and storage medium
WO2023005900A1 (en) Screen projection method, electronic device, and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22778785

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22778785

Country of ref document: EP

Kind code of ref document: A1