WO2019109922A1 - 资源处理方法及系统、存储介质、电子设备 - Google Patents
资源处理方法及系统、存储介质、电子设备 Download PDFInfo
- Publication number
- WO2019109922A1 WO2019109922A1 PCT/CN2018/119240 CN2018119240W WO2019109922A1 WO 2019109922 A1 WO2019109922 A1 WO 2019109922A1 CN 2018119240 W CN2018119240 W CN 2018119240W WO 2019109922 A1 WO2019109922 A1 WO 2019109922A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- priority
- resource
- processing method
- weight coefficient
- request
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/76—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
- H04L47/762—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/10—Detection; Monitoring
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/30—Control
- G16Y40/35—Management of things, i.e. controlling in accordance with a policy or in order to achieve specified objectives
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/822—Collecting or measuring resource availability data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/828—Allocation of resources per group of connections, e.g. per group of users
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0278—Traffic management, e.g. flow control or congestion control using buffer status reports
Definitions
- the present disclosure relates to the field of information processing technologies, and in particular, to a priority-based resource processing method, a priority-based resource processing system, a computer readable storage medium, and an electronic device.
- the Internet of Things service uses resources to express information about the functions and status of the device.
- the control of the device is implemented by operations on resources. Common operations can include creating, updating, obtaining, deleting, and notifying.
- Embodiments of the present disclosure relate to a priority-based resource processing method, a priority-based resource processing system, a computer readable storage medium, and an electronic device.
- a priority-based resource processing method including:
- the priority-based resource processing method before the calculating the first priority of the first resource and the second priority of the second resource, the priority-based resource processing method further includes:
- calculating the first priority of the first resource includes:
- calculating, according to the priority impact parameter of the first resource, the first priority of the first resource includes:
- the priority-based resource processing method after performing the first operation request corresponding to the first resource, the priority-based resource processing method further includes:
- the second operation request corresponding to the second resource is executed at a first preset time interval.
- the first priority impact parameter includes one of a first base priority, a first resource subscribed number, a first resource acquired number, and a first resource updated number. Or multiple.
- the first priority is a first weight coefficient * a first base priority, a second weight coefficient * a first resource subscribed number, a third weight coefficient * a first resource The sum of the acquired number and the fourth weighting coefficient * the first resource is updated;
- the at least one of the first weight coefficient, the second weight coefficient, the third weight coefficient, and the fourth weight coefficient is not zero.
- the first operation request includes one or more of a creation request, an update request, an acquisition request, a deletion request, and a notification request.
- a priority-based resource processing system including:
- a priority calculation module configured to calculate a first priority of the first resource and a second priority of the second resource
- a priority determining module configured to determine whether a first priority of the first resource is greater than a second priority of the second resource
- the operation request execution module is configured to execute a first operation request corresponding to the first resource when determining that the first priority is greater than the second priority.
- a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the priority-based resource processing method of any of the above.
- an electronic device including:
- a memory for storing executable instructions of the processor
- the processor is configured to perform the priority-based resource processing method of any of the above described above by executing the executable instruction.
- FIG. 1 schematically shows a flow chart of a priority based resource processing method.
- Fig. 2 schematically shows a flow chart of a first priority calculation method.
- FIG. 3 schematically shows a flow chart of a device group registration method.
- FIG. 4 schematically shows an example of the structure of a device group resource.
- FIG. 5 schematically shows a flow chart of another priority based resource processing method.
- Fig. 6 is a view schematically showing an example of the structure of a container resource.
- Figure 7 schematically illustrates a block diagram of a priority based resource processing system.
- FIG. 8 schematically shows an electronic device for implementing the above-described priority-based resource processing method.
- FIG. 9 schematically illustrates a computer readable storage medium for implementing the above-described priority-based resource processing method.
- the Internet of Things system is a bridge between the producer of information and the consumer of information.
- the specific communication process may include: First, the producer can continuously send information to the Internet of Things system; secondly, the Internet of Things system can receive The information generated by the producer is stored; finally, the consumer can continuously obtain information from the Internet of Things system for consumption.
- the agreement specifies two types of entities: Application Entity (AE) and Common Service Entity (CSE); one entity can register with another entity; for example, AE can register with CSE, CSE also You can register with the CSE and create a resource (AE or CSE) on the CSE after successful registration.
- the AE can operate on the resources on the CSE through operations such as CRUDN (create, update, get, delete, and notify), such as updating the contents of the container under the AE resource through an UPDATE operation request.
- the ⁇ AE> resource can be used to identify the application logic in the physical device
- the ⁇ node> can be used to identify the related information of the physical device
- the ⁇ container> can be used to serve as the container and store the specific content information.
- the ⁇ group> resource can be used. Combine resources for management.
- the subscription notification mechanism defined by the Internet of Things may be as follows: First, the AE sends a subscription request to the CSE, and the request may include a subscription event type; secondly, when the CSE generates a subscription event type, an event is generated, and the CSE may request the notification. Sended to the AE; then, when the AE receives the notification request, the AE may feed back the response information of the notification request to the CSE.
- the priority-based resource processing method may include the following steps:
- Step S110 Calculate a first priority of the first resource and a second priority of the second resource.
- Step S120 Determine whether the first priority of the first resource is greater than the second priority of the second resource.
- step S130 when it is determined that the first priority is greater than the second priority, the first operation request corresponding to the first resource is executed.
- the operation request with a higher priority is processed first, thereby avoiding the response operation caused by the excessive number of operation requests.
- the request causes confusion and reduces the burden on the system.
- the execution speed of the higher priority operation request is improved, and the service quality of the system is improved. Improved user experience.
- step S110 a first priority of the first resource and a second priority of the second resource are calculated.
- any device, gateway or service platform and applications registered on them can be abstracted into resources and have a unique resource identifier, ie URI (Uniform Resource Identifier), which can be uniquely located according to the resource identifier.
- the processing of the accessed resource request may include obtaining Retrieve, creating Create, updating Update, deleting Delete, and Notify. It should be noted that a plurality of resources may exist on the device to which the accessed resource belongs, and the device to which the accessed resource belongs may determine the resource that the requester resource wishes to access according to the identifier of the accessed resource.
- the calculating the first priority of the first resource and the second priority of the second resource may include: calculating a first priority of the first resource according to the first priority impact parameter of the first resource; The second priority affecting parameter of the second resource calculates a second priority of the second resource.
- the first resource and the second resource are only used to represent two different resources, and the order of each resource is not limited.
- the first resource is The second resource is described as an example, but an example including more resources may also be applied, which is also within the protection scope of the present disclosure.
- calculating the first priority of the first resource according to the first priority impact parameter of the first resource may include step S210 and step S220. among them:
- a weight coefficient is configured for the first priority impact parameter of the first resource.
- the first priority impact parameter of the first priority may include a first base priority, a total number of first resources subscribed, a total number of first resources acquired, a total number of first resources updated, and the like. among them:
- the first base priority can be determined according to the level of resources. Among them, the root resource has the highest priority, and the direct resource priority of the root resource is second, and so on.
- a resource can be a sub-resource of multiple resources, its priority is determined according to the priority of its parent resource; for example, CSEBase has a priority of up to 10, CSEBase's direct sub-resources ⁇ AE>, ⁇ node>, ⁇
- the priority of the request> is 9, and the ⁇ subscription> can be a sub-resource of the CSEBase or a sub-resource of the resource such as ⁇ AE>, so the priority of the ⁇ subscription> resource is determined according to its parent resource.
- the number of first resources to be subscribed (totalNrOfSubscriptions): the number of subscriptions of the first resource may be the number of subscribers; or the number of subscription resources ⁇ subscription>; since different events can be determined by the event notification rule eventNotificationCriteria, this The number of times the first resource is subscribed is the number of event notification rules.
- the number of subscriptions of the first resource may also be any combination of the above three cases.
- the number of acquired first resources (totalNrOfRetrieve): the number of acquired first resources can record the total number of acquisition requests currently received and save them to totalNrOfRetrieve;
- TotalNrOfUpdate The total number of updated first resources can record the total number of acquisition requests currently received and save them in totalNrOfUpdate. It should be further added here that the first basic priority may be determined by one of the determining factors, or may be combined by two or two or any three factors, and the four factors are collectively determined. limit.
- step S210 is explained and explained based on the first priority influence parameter of the first priority.
- Configuring a weight coefficient for the first priority impact parameter of the first resource wherein the number of the weight coefficient may be one, two, three, or four, etc.; due to the number of weight coefficients and the number of determinants One-to-one correspondence, therefore, when the first priority is determined by a first priority affecting parameter, a weighting coefficient can be configured; when the first priority is determined by two first priority affecting parameters, Configure two weighting factors, and so on, and do not repeat them here.
- step S220 the first priority influence parameter and the weight coefficient corresponding to the priority influence parameter are calculated to obtain the first priority.
- the first priority affecting parameter and the weighting coefficient corresponding to the priority impact parameter of the first resource may be operated to obtain a first priority; wherein the operation may include multiplying and/or adding Etc., other operations may be included, such as rounding or taking, etc., and this example does not specifically limit this.
- the proportion of d1 and d2 can be increased, and the proportion of d3 and d4 can be reduced.
- the proportion of d2 can be increased.
- the proportion of the other three parameters is relatively reduced.
- the method includes: acquiring a first priority impact parameter of the first resource and a second priority affecting parameter of the second resource.
- the priority impact parameters may include a base priority (baseQosLevel), a resource subscription number (totalNrOfSubscriptions), a resource acquisition number (totalNrOfRetrieve), and a total number of resource updates (totalNrOfUpdate), etc.; therefore, each resource priority impact Parameters can be obtained from the sender of each operation request.
- step S120 it is determined whether the first priority of the first resource is greater than the second priority of the second resource.
- the first priority of the first resource and the second priority of the second resource are calculated, it is determined whether the first priority of the first resource is greater than the second priority of the second resource. For example, if the first priority of the first resource is 58 and the second priority of the second resource is 42, the first priority of the first resource may be determined to be greater than the second priority of the second resource.
- step S130 when it is determined that the first priority is greater than the second priority, the first operation request corresponding to the first resource is executed. For example:
- the first operation request corresponding to the first resource may be directly executed first.
- the first operation request may include obtaining Retrieve, creating Create, updating Update, deleting Delete, Notify, and the like, and may also include other operations, such as adding and merging, etc., which is not particularly limited in this example.
- the operation corresponding to the second resource may be performed by using a preset time (which may be 3 min or 5 min, or other time, which is not specifically limited in this example).
- the request may also be performed when the CSE is idle, and the operation request corresponding to the second resource is not specifically limited. In this way, the problem that the system is in a state of inactivity and the system is in a sleep state cannot receive the resource subscription request sent by other devices in time can be avoided, thereby improving the working efficiency of the entire system.
- the first resource and the second resource are taken as an example in the present example, the example including more resources may also be applied, which is also within the protection scope of the present disclosure.
- step S310 In order to verify the validity of the received first operation request and the second operation request, it is also required to register the first sender of the first operation request and the second sender of the second operation request, and refer to the figure. As shown in FIG. 3, specific steps may include step S310 and step S320. among them:
- step S310 a first registration request sent by the first sender of the first operation request and a second registration request sent by the second sender of the second operation request are received.
- the CSE receives the first registration request sent by the first sender of the first operation request and the second registration request sent by the second sender of the second operation request; wherein the first sender may include multiple first devices, for example, AE1, AE2, ..., AEN, etc.; the second sender may include a plurality of second devices, for example, may be AE1, AE2, ..., AEM, etc.; here, it is necessary to additionally explain that M and N The values may be the same or different, and this example does not specifically limit this.
- step S320 in response to the first registration request and the second registration request, the first sender and the second identity are determined according to the first identity of the first sender and the second identity of the second sender.
- the sender registers. In detail:
- the CSE After receiving the first registration request and the second registration request, the CSE responds to the first registration request and the second registration request, and according to the first identity identifier of the first sender and the second identity identifier of the second sender.
- the first sender and the second sender register. By registering each sender, it is convenient to determine the legitimacy of the request according to the identifier when receiving the subscription request sent by the sender, thereby improving the security of the entire system.
- the requested resource can be a group resource.
- a group resource is created for multiple requested resources.
- the group of resources may include the following parameters: a device type (memberType), a current device number (currentNrOfMembers), a maximum device number (MaxNrOfMembers), a device identity (memberIDs), and a group resource subscription number (currentNrOfSubscriptions).
- the number of times the group resource is acquired (totalNrOfRetrieve), the number of times the group resource is updated (totalNrOfUpdate), the group resource base priority (baseQosLevel), the group resource dynamic priority (dynamicQosLevel), the group resource current dynamic priority start time (dynamicQosStartTime), and FanoutPoint (fanOutPoint).
- the present disclosure also provides another priority based resource processing method.
- the priority-based resource processing method may include steps S510 to S530. among them:
- step S510 the third update request sent by the first member device and the fourth update request sent by the second member device are received.
- the first member device may be, for example, a smoke sensor (AEx), and the second member device may be, for example, a temperature sensor (AEy); further, when new information is updated in AEx and AEy, a third may be sent to the CSE.
- the update request and the fourth update request are received; after the CSE listens to the third update request and the fourth update request sent by the AEx and the AEy, the third update request and the fourth update request are received.
- step S520 it is determined whether the third priority of the first member device is greater than the fourth priority of the second member device.
- the CSE determines whether the third priority of the third update request is greater than the fourth priority of the fourth update request.
- the third priority of the third update request and the fourth priority of the fourth update request may be determined according to factors of each member device.
- the third priority and the fourth priority are also calculated, which may include: calculating a third priority of the first container and the The fourth priority of the second container.
- the weight coefficient is configured; wherein the number of the weight coefficients may be one, two, three or four, etc.; since the number of weight coefficients is one-to-one corresponding to the number of determining factors, therefore, when When the third priority is determined by a determining factor, a weighting coefficient may be configured; when the third priority is determined by two determining factors, two weighting coefficients may be configured, and so on, and are not described herein again;
- one or more products may be obtained by multiplying the weighting coefficient corresponding to the determining factor by the determining factor.
- d1, d2, d3, and d4 are weight coefficients respectively; the sizes of d1, d2, d3, and d4 can be adjusted according to the needs of different service systems; for example, a system uses message notification as the main service, and the proportion of d1 and d2 It can be increased, the proportion of d3 and d4 can be reduced; for example, if a business system mainly passively receives query requests, the proportion of d2 can be increased, and the proportions of the other three parameters are relatively reduced;
- the result of the quadrature operation may be directly used as the third priority; for example, d1*baseQosLevel or d2*totalNrOfSubscriptions or d3*totalNrOfRetrieve or d4* may be used.
- step S530 when it is determined that the third priority is greater than the fourth priority, the third update request is preferentially executed.
- the first sender subscribes to the change information of the group resource, a notification message in response to the third update request is sent to the first sender.
- the confirmation message responding to the third update request may be directly sent to the first sender of the first operation request.
- the fourth update request may be performed by a second preset time (which may be 3 min or 5 min, or other time, and the present example does not specifically limit this).
- the notification message that is sent to the first sender is sent to the first sender, and may be separated by a second preset time (may be 3 minutes or 5 minutes, or may be At other times, this example does not specifically limit this, and sends a notification message in response to the fourth update request to the second sender, or may send a notification message in response to the fourth update request to the second sending when the CSE is idle.
- This example does not impose any special restrictions on this. In this way, the problem that the system is in a state of inactivity and the system is in a sleep state cannot receive the operation request sent by other devices in time can be avoided, thereby improving the working efficiency of the entire system.
- the requested resource may be a non-group resource, such as a container resource.
- the container resource may include the following parameters: maximum number of instances (maxNrOfInstances), maximum number of bytes (maxByteSize), current maximum number of instances (currentNrOfInstances), current bytes (currentByteSize), group resources are subscribed. Number of times (currentNrOfSubscriptions), number of times the group resource was acquired (totalNrOfRetrieve), number of times the group resource was updated (totalNrOfUpdate), group resource base priority (baseQosLevel), group resource dynamic priority (dynamicQosLevel), instance content (contentInstance), and subscribed content (subscription) and so on.
- the present disclosure also provides a priority based resource processing system.
- the priority-based resource processing system may include a priority calculation module 710, a priority determination module 720, and an operation request execution module 730. among them:
- the receiving module 710 can be configured to calculate a first priority of the first resource and a second priority of the second resource.
- the priority determining module 720 can be configured to determine whether the first priority of the first resource is greater than a second priority of the second resource.
- the resource subscription request execution module 730 may be configured to execute the first operation request corresponding to the first resource when determining that the first priority is greater than the second priority.
- the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network.
- a non-volatile storage medium which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
- a number of instructions are included to cause a computing device (which may be a personal computer, server, mobile terminal, or network device, etc.) to perform a method in accordance with an embodiment of the present disclosure.
- an electronic device capable of implementing the above method is also provided.
- FIG. 8 An electronic device 800 in accordance with such an embodiment of the present invention is described below with reference to FIG. 8 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
- electronic device 800 is embodied in the form of a general purpose computing device.
- the components of the electronic device 800 may include, but are not limited to, the at least one processing unit 810, the at least one storage unit 820, and a bus 830 that connects different system components (including the storage unit 820 and the processing unit 810).
- the storage unit stores program code, which can be executed by the processing unit 810, such that the processing unit 810 performs various exemplary embodiments according to the present invention described in the "Exemplary Method" section of the present specification.
- the processing unit 810 may perform step S110 as shown in FIG. 1 : calculating a first priority of the first resource and a second priority of the second resource; 120: determining a first priority of the first resource Whether the level is greater than the second priority of the second resource; Step S130: When it is determined that the first priority is greater than the second priority, the first operation request corresponding to the first resource is executed.
- the storage unit 820 can include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 8201 and/or a cache storage unit 8202, and can further include a read only storage unit (ROM) 8203.
- RAM random access storage unit
- ROM read only storage unit
- the storage unit 820 can also include a program/utility 8204 having a set (at least one) of the program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more applications, other program modules, and program data, Implementations of the network environment may be included in each or some of these examples.
- Bus 830 may be representative of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures. bus.
- the electronic device 800 can also communicate with one or more external devices 700 (eg, a keyboard, pointing device, Bluetooth device, etc.), and can also communicate with one or more devices that enable the user to interact with the electronic device 800, and/or with Any device (eg, router, modem, etc.) that enables the electronic device 800 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 850. Also, electronic device 800 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) via network adapter 860. As shown, network adapter 860 communicates with other modules of electronic device 800 via bus 830.
- network adapter 860 communicates with other modules of electronic device 800 via bus 830.
- the technical solution according to an embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network.
- a non-volatile storage medium which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
- a number of instructions are included to cause a computing device (which may be a personal computer, server, terminal device, or network device, etc.) to perform a method in accordance with an embodiment of the present disclosure.
- a computer readable storage medium having stored thereon a program product capable of implementing the above method of the present specification.
- aspects of the present invention may also be embodied in the form of a program product comprising program code for causing said program product to run on a terminal device The terminal device performs the steps according to various exemplary embodiments of the present invention described in the "Exemplary Method" section of the present specification.
- a program product 900 for implementing the above method which may employ a portable compact disk read only memory (CD-ROM) and includes program code, and may be in a terminal device, is illustrated in accordance with an embodiment of the present invention.
- CD-ROM portable compact disk read only memory
- the program product of the present invention is not limited thereto, and in the present document, the readable storage medium may be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus or device.
- the program product can employ any combination of one or more readable media.
- the readable medium can be a readable signal medium or a readable storage medium.
- the readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive lists) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
- the computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the readable signal medium can also be any readable medium other than a readable storage medium that can transmit, propagate or transport a program for use by or in connection with an instruction execution system, apparatus or device.
- Program code embodied on a readable medium can be transmitted using any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.
- Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++, etc., including conventional procedural Programming language—such as the "C" language or a similar programming language.
- the program code can execute entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the remote computing device on the user computing device, or entirely on the remote computing device or server. Execute on.
- the remote computing device can be connected to the user computing device via any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computing device (eg, provided using an Internet service) Businesses are connected via the Internet).
- LAN local area network
- WAN wide area network
- Businesses are connected via the Internet.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims (11)
- 一种基于优先级的资源处理方法,包括:计算第一资源的第一优先级以及第二资源的第二优先级;判断所述第一资源的第一优先级是否大于第二资源的第二优先级;在判断所述第一优先级大于所述第二优先级时,执行所述第一资源对应的第一操作请求。
- 根据权利要求1所述的基于优先级的资源处理方法,其中,在计算所述第一资源的第一优先级以及所述第二资源的第二优先级之前,所述基于优先级的资源处理方法还包括:获取所述第一资源的第一优先级影响参数以及所述第二资源的第二优先级影响参数。
- 根据权利要求2所述的基于优先级的资源处理方法,其中,计算所述第一资源的第一优先级包括:根据所述第一资源的第一优先级影响参数计算所述第一资源的第一优先级。
- 根据权利要求3所述的基于优先级的资源处理方法,其中,根据所述第一资源的第一优先级影响参数计算所述第一资源的第一优先级包括:为所述第一资源的第一优先级影响参数配置权重系数;对所述第一优先级影响参数以及所述优先级影响参数对应的权重系数进行运算得到所述第一优先级。
- 根据权利要求1至4任一项所述的基于优先级的资源处理方法,其中,在执行所述第一资源对应的第一操作请求之后,所述基于优先级的资源处理方法还包括:间隔第一预设时间,执行所述第二资源对应的第二操作请求。
- 根据权利要求2-4任一所述的基于优先级的资源处理方法,其中,所述第一优先级影响参数包括第一基础优先级、第一资源被订阅数、第一资源被获取数以及第一资源被更新数中的一个或多个。
- 根据权利要求6所述的基于优先级的资源处理方法,其中,所述第一优先级为第一权重系数*第一基础优先级、第二权重系数*第一资源被订阅数、第三权重系数*第一资源被获取数以及第四权重系数*第一资源被更新数之和;其中,所述第一权重系数、第二权重系数、第三权重系数以及第四权重系数中至少有一个不为零。
- 根据权利要求1-7任一所述的基于优先级的资源处理方法,其中,所述第一操作请求包括创建请求、更新请求、获取请求、删除请求、通知请求中的一个或多个。
- 一种基于优先级的资源处理系统,包括:优先级计算模块,用于计算第一资源的第一优先级以及第二资源的第二优先级;优先级判断模块,用于判断所述第一资源的第一优先级是否大于第二资源的第二优先 级;操作请求执行模块,用于在判断所述第一优先级大于所述第二优先级时,执行所述第一资源对应的第一操作请求。
- 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1-8任一项所述的基于优先级的资源处理方法。
- 一种电子设备,包括:处理器;以及存储器,用于存储所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1-8任一项所述的基于优先级的资源处理方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP18885631.4A EP3723343B1 (en) | 2017-12-08 | 2018-12-04 | Resource processing method and system, storage medium and electronic device |
KR1020207019608A KR102601628B1 (ko) | 2017-12-08 | 2018-12-04 | 리소스 처리 방법 및 시스템, 저장 매체, 전자 기기 |
US16/769,308 US11228537B2 (en) | 2017-12-08 | 2018-12-04 | Resource processing method and system, storage medium and electronic device |
JP2020530578A JP7313351B2 (ja) | 2017-12-08 | 2018-12-04 | リソースの処理方法及びシステム、記憶媒体、電子機器 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711299113.6A CN109905435A (zh) | 2017-12-08 | 2017-12-08 | 资源订阅方法及系统、存储介质、电子设备 |
CN201711299113.6 | 2017-12-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019109922A1 true WO2019109922A1 (zh) | 2019-06-13 |
Family
ID=66750813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/119240 WO2019109922A1 (zh) | 2017-12-08 | 2018-12-04 | 资源处理方法及系统、存储介质、电子设备 |
Country Status (6)
Country | Link |
---|---|
US (1) | US11228537B2 (zh) |
EP (1) | EP3723343B1 (zh) |
JP (1) | JP7313351B2 (zh) |
KR (1) | KR102601628B1 (zh) |
CN (1) | CN109905435A (zh) |
WO (1) | WO2019109922A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112925851A (zh) * | 2021-02-26 | 2021-06-08 | 杭州网易再顾科技有限公司 | 一种单号处理方法、装置、电子设备和存储介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20220103617A (ko) * | 2021-01-15 | 2022-07-22 | 현대자동차주식회사 | M2m 시스템에서 구독 서비스를 관리하기 위한 방법 및 장치 |
CN117453665A (zh) * | 2023-10-09 | 2024-01-26 | 行吟信息科技(上海)有限公司 | 一种数据处理方法、装置、设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102056308A (zh) * | 2009-11-02 | 2011-05-11 | 株式会社Ntt都科摩 | 资源分配方法及装置 |
CN103593408A (zh) * | 2013-10-18 | 2014-02-19 | 卓易畅游(北京)科技有限公司 | 一种用于获取用户订阅资源的方法与设备 |
US9554410B2 (en) * | 2014-03-14 | 2017-01-24 | Institute For Information Industry | Device-to-device user equipment for a wireless communication system and resource scheduling method thereof |
CN107357663A (zh) * | 2017-07-24 | 2017-11-17 | 中国联合网络通信集团有限公司 | 资源共享的方法及资源管理器 |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8374879B2 (en) * | 2002-02-04 | 2013-02-12 | Microsoft Corporation | Systems and methods for managing interactions from multiple speech-enabled applications |
CN1801813B (zh) * | 2005-09-30 | 2010-05-05 | 华为技术有限公司 | 一种动态内容播放方法与装置 |
CN102573085A (zh) * | 2007-03-01 | 2012-07-11 | 株式会社Ntt都科摩 | 基站装置 |
RU2009134935A (ru) * | 2007-03-01 | 2011-04-10 | НТТ ДоСоМо, Инк. (JP) | Базовая станция и способ управления связью |
US20120327778A1 (en) * | 2011-06-22 | 2012-12-27 | Cygnus Broadband, Inc. | Systems and methods for prioritizing and scheduling packets in a communication network |
JP5244831B2 (ja) | 2010-01-25 | 2013-07-24 | 株式会社日立製作所 | 計算機システム及びストレージ統合管理方法 |
JP2013200645A (ja) * | 2012-03-23 | 2013-10-03 | Nec Corp | サーバ、通信システム、通信方法 |
JP5827594B2 (ja) * | 2012-05-17 | 2015-12-02 | 日本電信電話株式会社 | 仮想マシン配置装置および仮想マシン配置方法 |
CN103365711B (zh) * | 2013-07-03 | 2017-06-30 | 南京邮电大学 | 应用于物联网业务平台的任务调度系统和方法 |
JP5884788B2 (ja) * | 2013-08-08 | 2016-03-15 | 株式会社デンソー | マイクロコンピュータ |
US20160366183A1 (en) * | 2015-06-09 | 2016-12-15 | Ned M. Smith | System, Apparatus And Method For Access Control List Processing In A Constrained Environment |
US10382904B2 (en) * | 2015-06-29 | 2019-08-13 | Samsung Electronics Co., Ltd. | Method and apparatus for providing service in a wireless communication system |
JP6477430B2 (ja) * | 2015-11-10 | 2019-03-06 | 株式会社デンソー | 電子制御装置 |
US10455452B2 (en) * | 2015-12-14 | 2019-10-22 | Afero, Inc. | System and method for flow control in an internet of things (IoT) system |
CN106897125A (zh) * | 2015-12-18 | 2017-06-27 | 联发科技(新加坡)私人有限公司 | 智能设备及其服务或应用的管理方法 |
JP2017208660A (ja) * | 2016-05-17 | 2017-11-24 | 富士通株式会社 | 情報処理装置、管理方法及び情報処理プログラム |
CN107203395A (zh) * | 2017-05-19 | 2017-09-26 | 北京京东尚科信息技术有限公司 | 资源升级方法、装置及计算机可读存储介质和电子设备 |
US10298505B1 (en) * | 2017-11-20 | 2019-05-21 | International Business Machines Corporation | Data congestion control in hierarchical sensor networks |
-
2017
- 2017-12-08 CN CN201711299113.6A patent/CN109905435A/zh active Pending
-
2018
- 2018-12-04 KR KR1020207019608A patent/KR102601628B1/ko active IP Right Grant
- 2018-12-04 US US16/769,308 patent/US11228537B2/en active Active
- 2018-12-04 EP EP18885631.4A patent/EP3723343B1/en active Active
- 2018-12-04 WO PCT/CN2018/119240 patent/WO2019109922A1/zh unknown
- 2018-12-04 JP JP2020530578A patent/JP7313351B2/ja active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102056308A (zh) * | 2009-11-02 | 2011-05-11 | 株式会社Ntt都科摩 | 资源分配方法及装置 |
CN103593408A (zh) * | 2013-10-18 | 2014-02-19 | 卓易畅游(北京)科技有限公司 | 一种用于获取用户订阅资源的方法与设备 |
US9554410B2 (en) * | 2014-03-14 | 2017-01-24 | Institute For Information Industry | Device-to-device user equipment for a wireless communication system and resource scheduling method thereof |
CN107357663A (zh) * | 2017-07-24 | 2017-11-17 | 中国联合网络通信集团有限公司 | 资源共享的方法及资源管理器 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3723343A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112925851A (zh) * | 2021-02-26 | 2021-06-08 | 杭州网易再顾科技有限公司 | 一种单号处理方法、装置、电子设备和存储介质 |
CN112925851B (zh) * | 2021-02-26 | 2023-06-13 | 杭州网易再顾科技有限公司 | 一种单号处理方法、装置、电子设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
KR20200091917A (ko) | 2020-07-31 |
EP3723343B1 (en) | 2024-03-13 |
EP3723343A1 (en) | 2020-10-14 |
JP7313351B2 (ja) | 2023-07-24 |
US11228537B2 (en) | 2022-01-18 |
CN109905435A (zh) | 2019-06-18 |
KR102601628B1 (ko) | 2023-11-14 |
EP3723343A4 (en) | 2021-08-18 |
US20210176186A1 (en) | 2021-06-10 |
JP2021506002A (ja) | 2021-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6750102B2 (ja) | マネージクエリサービス | |
CN107590001B (zh) | 负载均衡方法及装置、存储介质、电子设备 | |
JP6325001B2 (ja) | 階層データ構造のノードにおいて再帰的イベントリスナを用いる方法およびシステム | |
US9813423B2 (en) | Trust-based computing resource authorization in a networked computing environment | |
WO2019109923A1 (zh) | 消息处理方法及系统、存储介质、电子设备 | |
CN109844727B (zh) | 用于管理应用程序配置和相关联凭证的技术 | |
TW201820165A (zh) | 用於雲端巨量資料運算架構之伺服器及其雲端運算資源最佳化方法 | |
US20110119444A1 (en) | Adaptive caching of data | |
WO2019109922A1 (zh) | 资源处理方法及系统、存储介质、电子设备 | |
WO2021022710A1 (zh) | 消息队列处理方法、装置、电子设备及计算机非易失性可读存储介质 | |
JP2023548405A (ja) | クラスタコンピューティング環境を修正するための技術 | |
WO2022257604A1 (zh) | 一种用户标签的确定方法和装置 | |
US9906604B2 (en) | System and method for dynamic discovery of web services for a management console | |
CN109948332A (zh) | 一种物理机登录密码重置方法及装置 | |
WO2018188607A1 (zh) | 流处理方法及装置 | |
WO2017114241A1 (zh) | 一种获取资源的方法和装置 | |
WO2024051195A1 (zh) | 数据调用方法、装置、服务网关及存储介质 | |
US10616317B2 (en) | Method and system for affinity load balancing | |
JP6515052B2 (ja) | 通信装置、通信システム、通信方法およびプログラム | |
WO2020220272A1 (zh) | 更改资源状态的方法、系统、终端及存储介质 | |
WO2024041081A1 (zh) | 数据处理方法、装置、设备及可读存储介质 | |
US20230034196A1 (en) | Techniques for providing synchronous and asynchronous data processing | |
US20200028769A1 (en) | Efficient heartbeat with remote servers by nas cluster nodes | |
CN114500485A (zh) | 一种数据处理方法和装置 | |
CN111415262A (zh) | 一种业务处理方法和装置 |
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: 18885631 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2020530578 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 20207019608 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2018885631 Country of ref document: EP Effective date: 20200708 |