WO2020118705A1 - 资源更新方法、装置、计算机设备和存储介质 - Google Patents

资源更新方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2020118705A1
WO2020118705A1 PCT/CN2018/121283 CN2018121283W WO2020118705A1 WO 2020118705 A1 WO2020118705 A1 WO 2020118705A1 CN 2018121283 W CN2018121283 W CN 2018121283W WO 2020118705 A1 WO2020118705 A1 WO 2020118705A1
Authority
WO
WIPO (PCT)
Prior art keywords
update operation
operation request
target resource
interface
identifier
Prior art date
Application number
PCT/CN2018/121283
Other languages
English (en)
French (fr)
Inventor
唐海
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201880037171.8A priority Critical patent/CN110741617B/zh
Priority to PCT/CN2018/121283 priority patent/WO2020118705A1/zh
Publication of WO2020118705A1 publication Critical patent/WO2020118705A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Definitions

  • This application relates to the field of Internet of Things resources technology, and in particular to a resource update method, device, computer equipment, and storage medium.
  • the IoT device method based on the representational state transfer (restfull) architecture is becoming more and more popular. Under the restfull architecture, things (devices) in the physical world can be described using resources (resources) and created using , Update, get, delete, notify (Creat, Update, Retrieve, Delete, Notification, CURDN) to operate resources.
  • a collection resource is defined, and some interfaces (interface) are defined to determine the operation mode of the resource.
  • a collection can also include multiple links to the resource (link collection), link is a link to a resource.
  • link collection is a link to a resource.
  • the user terminal can send an operation instruction carrying the resource identifier and interface type to the server.
  • the server operates the resource pointed to by the collection and link according to the operation instruction, and the operation mode is the interface carried in the request message (Interface Type).
  • Commonly used interface types are recursive interface (batch interface), default interface (default interface) and so on.
  • link collection does not support recursive interfaces (batch interfaces) and its default interface (default interface) does not support update operations.
  • a resource updating method, device, computer equipment and storage medium is necessary to provide technical solutions to the above technical problems.
  • an embodiment of the present invention provides a resource update method.
  • the method includes:
  • the first update operation request is used to instruct to use a recursive interface to perform an update operation on the first target resource;
  • the first target resource is a collection resource with link resources, determine whether the second target resource pointed to by the link supports a recursive interface
  • the second target resource does not support a recursive interface, and the default interface of the second target resource does not support the update operation, determine the target interface that supports the update operation from a preset interface list, and according to the first
  • the update operation request generates a second update operation request; the second update operation request includes an identifier of the target interface, and the second update operation request is used to update the second target resource.
  • the first update operation request includes an identifier of the first target resource, a recursive interface identifier, an update operation identifier, and update content.
  • the generating the second update operation request according to the first update operation request includes:
  • the method further includes:
  • a response message is generated; the response message includes an update result of all the link resources in the first target resource;
  • the first update operation request includes a client identifier, and then, when the first target resource is a collection resource with a link, before determining whether the second target resource pointed to by the link supports a recursive interface ,Also includes:
  • the user terminal identifier determine whether the user terminal has the right to access the first target resource
  • the user terminal has the right to access the first target resource, it is determined whether the second target resource supports a recursive interface when the first target resource is a collection resource with links.
  • the method further includes:
  • a third update operation request is generated according to the first update operation request; the third update operation request includes An identifier of the default interface, and the third update operation request is used to update the second target resource.
  • the generating the third update operation request according to the first update operation request includes:
  • the third update operation request includes an identifier of the second target resource, an identifier of the default interface, an update operation identifier, and update content.
  • the method further includes:
  • a fourth update operation request is generated according to the first update operation request; the fourth update operation request is used to perform an update operation on the second target resource.
  • the generating a fourth update operation request according to the first update operation request includes:
  • the fourth update operation request includes the identifier of the second target resource, the recursive interface identifier, the update operation identifier and the update content.
  • an embodiment of the present invention provides a resource update device, and the device includes:
  • a receiving module configured to receive a first update operation request sent by a user terminal; the first update operation request is used to indicate that a recursive interface is used to update the first target resource;
  • a judging module used to judge whether the second target resource pointed to by the link supports a recursive interface if the first target resource is a collection resource with a link resource;
  • a processing module configured to determine a target interface that supports the update operation from a preset interface list if the second target resource does not support a recursive interface, and the default interface of the second target resource does not support the update operation, and Generating a second update operation request according to the first update operation request; the second update operation request includes an identifier of the target interface, and the second update operation request is used to update the second target resource .
  • an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
  • the first update operation request is used to instruct to use a recursive interface to perform an update operation on the first target resource;
  • the first target resource is a collection resource with a link
  • the second target resource does not support a recursive interface, and the default interface of the second target resource does not support the update operation, determine the target interface that supports the update operation from a preset interface list, and according to the first
  • the update operation request generates a second update operation request; the second update operation request includes the identifier of the target interface, and the second update operation request is used to update the second target resource.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the first update operation request is used to instruct to use a recursive interface to perform an update operation on the first target resource;
  • the first target resource is a collection resource with a link
  • the second target resource does not support a recursive interface, and the default interface of the second target resource does not support the update operation, determine the target interface that supports the update operation from a preset interface list, and according to the first
  • the update operation request generates a second update operation request; the second update operation request includes the identifier of the target interface, and the second update operation request is used to update the second target resource.
  • a server first receives a first update operation request sent by a user terminal for updating a first target resource, and there is a link resource in the first target resource.
  • the server re-determines the target interface of the second target resource that supports the update operation, and generates the first Second update operation request, so that the server can update the second target resource pointed to by the link according to the second update operation request, which greatly improves the flexibility of the server to update resources and realizes that the resource pointed to by the link does not support recursive interface , And its default interface does not support the update of the resource pointed to by the link during the update operation.
  • FIG. 1 is an application environment diagram of a resource update method provided by an embodiment
  • FIG. 2 is a schematic flowchart of a resource update method provided by an embodiment
  • FIG. 3 is a schematic flowchart of a resource updating method provided by an embodiment
  • FIG. 4 is a schematic flowchart of a resource update method provided by an embodiment
  • FIG. 5 is a structural block diagram of a resource updating apparatus provided by an embodiment
  • FIG. 6 is a structural block diagram of a resource updating apparatus provided by an embodiment
  • FIG. 7 is a structural block diagram of a resource update apparatus provided by an embodiment
  • FIG. 8 is a structural block diagram of a resource updating apparatus provided by an embodiment
  • FIG. 9 is a structural block diagram of a resource update apparatus provided by an embodiment
  • FIG. 10 is a block diagram of an internal structure of a computer device provided by an embodiment.
  • This application provides a resource update method that can be applied in the application environment shown in FIG. 1, including the client and the server.
  • the client and the server can communicate with each other.
  • the communication method is wireless communication, such as: WIFi, infrared communication Or 3G, 4G, 5G, etc.
  • the client may be a lamp, air conditioner, etc., or an intelligent mobile terminal such as a mobile phone, PAD, or computer, which is not limited in this embodiment.
  • the server may be a server, and the server includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the server is used to provide computing and control capabilities.
  • the server's memory includes non-volatile storage media and internal memory.
  • the non-volatile storage medium stores an operating system, a computer program, and a database.
  • the internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium.
  • the server's database is used to store data about resource update methods.
  • the server's network interface is used to communicate with other external devices through a network connection.
  • the computer program is executed by the processor to implement a resource update method.
  • the embodiments of the present application provide a resource update method, device, computer equipment, and storage medium, which are designed to solve the problem that when the link collection does not support batch interface and its default interface does not support the update operation, the resource pointed to by the link cannot be modified.
  • Technical issues The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below through the embodiments and the accompanying drawings. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
  • the resource updating method provided by the present invention has an execution subject as a server, wherein the execution subject may also be a computer device, or a resource updating device, where the device may be combined by software, hardware, or software and hardware Implement some or all of the resource updates.
  • FIG. 2 provides a resource update method.
  • This embodiment relates to the existence of a link resource in the first target resource, the second target resource pointed by the link does not support a recursive interface, and the second target pointed by the link
  • the method includes:
  • S101 Receive a first update operation request sent by a user terminal; the first update operation request is used to indicate that a recursive interface is used to perform an update operation on a first target resource.
  • resources are logical functional entities that represent information about each device, each functional service of the device, and the status of the device. These logical functional entities are exposed to the client for access and operation by the server.
  • the client operates the CRUDN and the server through the resource.
  • the parameters of resources mainly include URI, resource attributes, resource references and interfaces.
  • the target resource refers to the resource that the user terminal needs to operate.
  • Recursive interface (batch interface): Represents the operation of the resource pointed to by the link recursively in the collection resource when operating on the collection resource.
  • the server receives the first update operation request sent by the user terminal, where the server receives the request by wireless communication, for example, WIFi, infrared communication, or 3G, 4G, or 5G.
  • the first update operation request indicates that the client needs the server to modify the first target resource.
  • the first update operation request may include: an interface type operated by the server, for example, the interface type is a recursive interface, the URI of the first target resource, and
  • the attribute information of the interface may also include other information, which is not limited in this embodiment.
  • the first update operation request is used to instruct the server to use a recursive interface to update the first target resource, where the first target resource is a collective resource, and the collective resource may include multiple link resources.
  • a link represents a link to a certain resource, that is, a collection (collection resource) may include links to other resources.
  • collection A includes a link, and link points to collection B.
  • the server when updating the first target resource according to the first update operation request, the server first determines whether the first target resource is a collection resource including a link resource, and if the first A target resource is a collection resource in which a link resource exists, and the server determines whether the second target resource pointed to by the link supports a recursive interface.
  • a collection resource with linked resources indicates that the collection resource can reference multiple other target resources or other collection resources, that is, if the first target resource is a collection resource with linked resources, it indicates that the first target resource can reference multiple Other target resources or other collection resources.
  • the way for the server to determine whether the link resource supports the recursive interface may be that the server looks for the existence of the recursive interface in the preset interface list of the link resource. If it exists, the server determines that the link resource supports the recursive interface.
  • the default interface is usually the first interface in the supported interface list (supported interface list) of each resource (including collection and link).
  • the supported interface list is all operation types supported by the resource.
  • the interfaces included in the preset interface list may be: “oic.if.baseline”, “oic.if.ll”, “oic.if.b”, “oic.if.r”, “oic. If.rw”, “oic.if.a”, “oic.if.s”, etc., can also be other, the default interface can be "oic.if.baseline”.
  • the preset interface list also includes attribute information of each interface. The attribute information of each interface indicates operations supported by the interface and other information.
  • the attribute information of the interface includes whether the interface supports update operations.
  • the number, type, and other contents of the interfaces in the preset interface list are not limited, and can be added or deleted according to actual things. It should be noted that the preset interface list may be stored in the server in advance, and may be directly called when used.
  • the server obtains the default interface of the second target resource, and checks whether the default interface supports the update operation.
  • the default interface does not support the update operation
  • the server re-determines an interface that can support the update operation from the preset interface list as the target interface of the link resource, for example, the service can traverse all the interfaces supported by the second target resource to find An interface supporting the update operation is used as the target interface, and a second update operation request is generated according to the first update operation request, and then, the server performs an update operation on the second target resource according to the second update operation request.
  • the server first receives the first update operation request sent by the user terminal to update the first target resource. If there is a link resource in the first target resource, if the link points to the second target resource. When the recursive interface is not supported, and the default interface of the second target resource does not support the update operation, the server re-determines the target interface that supports the update operation, and generates a second update operation request according to the first update operation request, so that the server can The second update operation requests an update operation on the second target resource, which greatly improves the flexibility of the server to update the resource. When the resource pointed to by the link does not support the recursive interface and the default interface does not support the update operation, the new The mechanism to achieve the update of the resource pointed to by the link.
  • the first update operation request includes an identifier of the first target resource, a recursive interface identifier, an update operation identifier, and update content.
  • the identifier of the first target resource represents the unique identifier of the first target resource, where the identifier may be a number, a letter, or a combination of numbers and letters.
  • the first target resource identifier may be It is a Uniform Resource Locator (URL) of the target resource (target), and this embodiment does not limit the identification of the first target resource.
  • the identifier of the recursive interface indicates that the interface operates in a recursive manner.
  • the oic.if.batch interface indicates that the interface is a recursive interface.
  • the identifier can also be other content.
  • the identification of the interface is not limited.
  • the first update operation identifier may be a number, a letter, or a combination of numbers and letters, which is used to indicate the unique identifier of the first update operation request.
  • Op:update indicates that the operation type is an update operation, and the server performs the update operation
  • the identifier determines the first target resource that needs to be operated, and updates the first target resource according to the update content.
  • the server can receive the first update operation request sent by the client Quickly respond to the request correctly, greatly improving the response speed of the server.
  • one implementable manner of "the second update operation request is generated according to the first update operation request" in the above S103 includes: replacing the recursive interface identifier in the first update operation request with The identifier of the target interface, and replacing the identifier of the first target resource in the first update operation request with the identifier of the second target resource to obtain the second update operation request; wherein, the The second update operation request includes the identifier of the second target resource, the identifier of the target interface, the update operation identifier, and the update content.
  • the first update operation request initially carries the identifier of the first target resource and the recursive interface identifier corresponding to the first target resource, when the server determines the first target resource There is a link resource, and the second target resource pointed to by the link does not support a recursive interface, and the default interface of the second target resource does not support the update operation.
  • the method for the server to generate the second update operation request according to the first update operation request may be , Replace the recursive interface identifier in the first update operation request with the identifier of the target interface, that is, carry the interface identifier of the target interface in the first update operation request, and then replace the identifier of the second target resource with the identifier of the first target resource Identifier, the new update operation request replacing the interface identifier and the resource identifier is the second update operation request generated by the server according to the first update operation request.
  • the second update operation request includes the identifier of the second target resource, the identifier of the target interface, the update operation identifier, and the update content.
  • a second update operation request that can be updated is regenerated to update the resource according to the second update operation request.
  • this embodiment relates to a specific process in which the server sends a result of updating all the resources in the first target resource to the user terminal.
  • the method includes:
  • the server generates a second update operation request for each resource that does not support the update, and then the server updates all resources in the first target resource requested by the client to be updated according to each second update operation request.
  • the updated results of the updated resources are aggregated to generate a response message, where the response message is used to indicate a response to the client's request to update the resource.
  • S202 Send the response message to the user terminal.
  • the server sends the response message to the user terminal, where the sending method is the same as the method of receiving the request sent by the user terminal, and is transmitted through wireless communication.
  • the transmission path can be returned along the original path , And other more convenient paths are also started, which is not limited in this embodiment.
  • the server updates all resources in the updated first target resource after completing the update of all resources in the first target resource requested to be updated by the client according to the second update operation request.
  • the update result generates a response message and sends it to the user terminal, so that the user terminal knows that the resource requested for update has completed the update, which greatly increases the interactivity of the message between the user terminal and the server.
  • this application also provides an embodiment.
  • This embodiment relates to the server determining whether the user terminal has access to the first target resource according to the identifier of the user terminal, and The specific process of determining whether the second target resource supports a recursive interface when the user has access rights, as shown in FIG. 4, the method further includes:
  • S301 Determine, according to the user terminal identifier, whether the user terminal has permission to access the first target resource.
  • the user terminal identifier is an identity identifier of the user terminal, which may be, for example, numbers, letters, or a combination of numbers and letters, which is not limited in this embodiment.
  • the correspondence between the client ID and the access permission can be established in advance according to the permissions of each client.
  • the server queries the corresponding relationship to determine whether the client has the permission to access the first target resource. If it exists, explain The user terminal has the right to access the first target resource, otherwise, it means that the user terminal has no right to access the first target resource. It can be understood that each of the first target resources mentioned above has its own identifier. If a user needs to access a certain first target resource, a mapping relationship between the user and the first target resource needs to be established in advance, and the The mapping relationship is stored in the server.
  • S302 If the user terminal has the right to access the first target resource, determine whether the second target resource supports a recursive interface when the first target resource is a collection resource with links.
  • step S301 if it is determined in step S301 that the user terminal has the right to access the first target resource, then continue to execute S101-S103 in FIG. 2, that is, when there is a link resource in the first target resource, the Whether the second target resource pointed to by the link supports a recursive interface, where the server determines whether the second target resource supports the recursive interface in the same manner as in step S102, for example, the server looks for whether the second target resource has a preset interface list There is a recursive interface. If it exists, the server determines that the second target resource supports a recursive interface.
  • the server first determines whether the user terminal has the authority to access the first target resource according to the identifier of the user terminal, and then determines that the user terminal has permission to access the first target resource as a collection of links Resource, determine whether the second target resource supports a recursive interface. In this way, the subsequent steps are performed only when the user terminal has permission to access the first target resource, which prevents the user terminal without access permission from accessing the first target resource and improves It improves the safety and reliability of resource information and avoids the waste of server resources and time.
  • the method further includes: if the second target resource does not support a recursive interface, and the first If the default interface of the target resource supports the update operation, a third update operation request is generated according to the first update operation request; the third update operation request includes the identifier of the default interface, and the third update operation request is used To update the second target resource.
  • one possible way to generate the third update operation request according to the first update operation request is to replace the recursive interface identifier in the first update operation request with the identifier of the default interface, and Replacing the identifier of the first target resource in the first update operation request with the identifier of the second target resource to obtain the third update operation request; wherein the third update operation request includes the third 2.
  • the identification of the target resource, the identification of the default interface, the update operation identification, and the update content is to replace the recursive interface identifier in the first update operation request with the identifier of the default interface, and Replacing the identifier of the first target resource in the first update operation request with the identifier of the second target resource to obtain the third update operation request; wherein the third update operation request includes the third 2.
  • the identification of the target resource, the identification of the default interface, the update operation identification, and the update content is to replace the recursive interface identifier in the first update operation request with the identifier of the default interface, and Replacing the identifie
  • the default interface of the second target resource is the same as that described in step S103.
  • the second target resource determined by the server does not support a recursive interface, but the default interface of the second target resource obtained by the server supports updating Operation, the server generates a third update operation request according to the first update operation request, and then the server performs an update operation on the second target resource according to the third update operation request.
  • the method for the server to generate the third update operation request according to the first update operation request may be that the server replaces the interface identifier of the default interface with the interface identifier of the recursive interface in the first target resource, and then replaces the identifier of the second target resource with the first The target resource identifier, and finally, determining the new update operation request replacing the interface identifier and the resource identifier as the third update operation request, then the generated third update operation request includes the identifier of the second target resource and the default Interface identification, update operation identification and update content.
  • the server if the second target resource does not support a recursive interface, but the default interface of the second target resource supports an update operation, the server generates a third update operation request according to the first update operation request. In this way, when the server determines that the current recursive interface cannot implement resource update, it will generate a third update operation request according to the first update operation request by the default interface that supports the update, which greatly improves the flexibility of the server to update resources.
  • an embodiment of the present application provides a resource update method, and the method further includes: if the second target resource supports a recursive interface, according to the The first update operation request generates a fourth update operation request; the fourth update operation request is used to perform an update operation on the second target resource.
  • one possible implementation manner of generating the fourth update operation request according to the first update operation request is: replacing the identifier of the first target resource in the first update operation request with the The identifier of the second target resource obtains the fourth update operation request; wherein the fourth update operation request includes the identifier of the second target resource, the recursive interface identifier, the update operation identifier, and the update content.
  • the server When it is determined that the second target resource supports the recursive interface, the server generates a fourth update operation request according to the first update operation request, and performs an update operation on the second target resource according to the fourth update operation request.
  • the method in which the server generates the fourth update operation request according to the first update operation request may be that the server replaces the identifier of the first target resource in the first update operation request with the identifier of the second target resource, and then a new update operation request It is determined to be a fourth update operation request, and the generated fourth update operation request includes the identifier of the second target resource, the recursive interface identifier, the update operation identifier, and the update content.
  • the server if the second target resource supports a recursive interface, the server generates a fourth update operation request according to the first update operation request. In this way, when the server determines that the current recursive interface can implement resource update, the resource is directly updated according to the generated fourth update operation request, which greatly improves the speed of the server to update the resource.
  • steps in the flowcharts of FIGS. 2-4 are displayed in order according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least some of the steps in FIGS. 2-4 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or stages The execution order of is not necessarily sequential, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.
  • an embodiment of the present application provides a resource update device, which includes: a receiving module 10, a determining module 11, and a processing module 12. among them,
  • the receiving module 10 is configured to receive a first update operation request sent by the user terminal; the first update operation request is used to instruct to use a recursive interface to update the first target resource;
  • the determining module 11 is configured to determine whether the second target resource resource pointed to by the link supports a recursive interface if the first target resource is a collection resource with a link resource;
  • the processing module 12 is configured to, if the second target resource resource does not support a recursive interface and the default interface of the second target resource resource does not support the update operation, confirm the target of the update operation from the preset interface list Interface, and generate a second update operation request according to the first update operation request; the second update operation request includes an identifier of the target interface, and the second update operation request is used for the second target resource Perform the update operation.
  • the resource updating device provided by the above embodiment has similar implementation principles and technical effects as the above method embodiment, and will not be repeated here.
  • the first update operation request includes an identifier of the first target resource, a recursive interface identifier, an update operation identifier, and update content.
  • the resource updating device provided by the above embodiment has similar implementation principles and technical effects as the above method embodiment, and will not be repeated here.
  • the above processing module 12 is specifically configured to replace the recursive interface identifier in the first update operation request with the identifier of the target interface, and replace the first in the first update operation request Replacing the identifier of the target resource with the identifier of the second target resource to obtain the second update operation request;
  • the second update operation request includes the identifier of the second target resource, the identifier of the target interface, the update operation identifier and the update content.
  • the resource updating device provided by the above embodiment has similar implementation principles and technical effects as the above method embodiment, and will not be repeated here.
  • an embodiment of the present application provides a resource updating apparatus, the apparatus further includes: a generating module 13 and a sending module 14. among them,
  • the generating module 13 is configured to generate a response message after all resources in the first target resource are updated; the response message includes an update result of all the link resources in the first target resource;
  • the sending module 14 is configured to send the response message to the user terminal.
  • the resource updating device provided by the above embodiment has similar implementation principles and technical effects as the above method embodiment, and will not be repeated here.
  • an embodiment of the present application provides a resource update device, and the device further includes: a permission determination module 15. among them,
  • the judging authority module 15 is used to judge whether the user terminal has the authority to access the first target resource according to the user terminal identifier;
  • the determining module 11 is configured to determine whether the second target resource supports a recursive interface when the first target resource is a collection resource with a link if the user terminal has permission to access the first target resource.
  • the resource updating device provided by the above embodiment has similar implementation principles and technical effects as the above method embodiment, and will not be repeated here.
  • an embodiment of the present application provides a resource update apparatus, the apparatus further includes: a second generation module 17 for if the second target resource does not support a recursive interface, And the default interface of the second target resource supports an update operation, a third update operation request is generated according to the first update operation request; the third update operation request includes an identifier of the default interface, and the third The update operation request is used to update the second target resource.
  • the second generation module 17 is further configured to replace the recursive interface identifier in the first update operation request with the identifier of the default interface, and replace all Replacing the identifier of the first target resource with the identifier of the second target resource to obtain the third update operation request; wherein the third update operation request includes the identifier of the second target resource and the default interface Logo, update operation logo and update content.
  • the resource updating device provided by the above embodiment has similar implementation principles and technical effects as the above method embodiment, and will not be repeated here.
  • an embodiment of the present application provides a resource update apparatus, the apparatus further includes: a third generation module 18, configured to: if the second target resource supports a recursive interface, Generating a fourth update operation request according to the first update operation request; the fourth update operation request is used to perform an update operation on the second target resource.
  • a third generation module 18 configured to: if the second target resource supports a recursive interface, Generating a fourth update operation request according to the first update operation request; the fourth update operation request is used to perform an update operation on the second target resource.
  • the third generation module 18 is further configured to replace the identifier of the first target resource in the first update operation request with the identifier of the second target resource to obtain the fourth Update operation request; wherein, the fourth update operation request includes the identifier of the second target resource, the recursive interface identifier, the update operation identifier, and the update content.
  • the resource updating device provided by the above embodiment has similar implementation principles and technical effects as the above method embodiment, and will not be repeated here.
  • Each module in the above resource update processing device may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure may be as shown in FIG. 10.
  • the computer device includes a processor, memory, network interface, and database connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, a computer program, and a database.
  • the internal memory provides an environment for the operating system and computer programs in the non-volatile storage medium.
  • the database of the computer device is used to store resource update data.
  • the network interface of the computer device is used to communicate with external terminals through a network connection.
  • the computer program is executed by the processor to implement a resource update method.
  • FIG. 10 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied.
  • the specific computer equipment may It includes more or fewer components than shown in the figure, or some components are combined, or have a different component arrangement.
  • a computer device which includes a memory and a processor, and a computer program is stored in the memory, and the processor implements the following steps when the processor executes the computer program:
  • the first update operation request is used to instruct to use a recursive interface to perform an update operation on the first target resource;
  • the first target resource is a collection resource with a link
  • the second target resource does not support a recursive interface, and the default interface of the second target resource does not support the update operation, determine the target interface that supports the update operation from a preset interface list, and according to the first
  • the update operation request generates a second update operation request; the second update operation request includes the identifier of the target interface, and the second update operation request is used to update the second target resource.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are realized:
  • the first update operation request is used to instruct to use a recursive interface to perform an update operation on the first target resource;
  • the first target resource is a collection resource with a link
  • the second target resource does not support a recursive interface, and the default interface of the second target resource does not support the update operation, determine the target interface that supports the update operation from a preset interface list, and according to the first
  • the update operation request generates a second update operation request; the second update operation request includes the identifier of the target interface, and the second update operation request is used to update the second target resource.
  • the computer-readable storage medium provided by the foregoing embodiments has similar implementation principles and technical effects as the foregoing method embodiments, and details are not described herein again.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain (Synchlink) DRAM
  • SLDRAM synchronous chain (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

本申请涉及一种资源更新方法、装置、计算机设备和存储介质,服务器先接收用户端发送的用于更新目标资源的第一更新操作请求,在目标资源存在链接资源,若链接资源不支持递归接口,且链接资源的默认接口不支持更新操作时,服务器重新确定目标资源的目标接口,并根据该目标接口生成第二更新操作请求,这样,服务器便可以根据该第二更新操作请求对链接资源进行更新操作,大大提高了服务器更新资源的灵活度,实现了在链接资源不支持递归接口,且其默认接口不支持更新操作时该链接资源的更新。

Description

资源更新方法、装置、计算机设备和存储介质 技术领域
本申请涉及物联网资源技术领域,特别是涉及一种资源更新方法、装置、计算机设备和存储介质。
背景技术
基于表现层状态转化(representational state transfer,restfull)架构的物联网设备方法越来越流行,在restfull架构下物理世界中的事物(设备)均可以使用资源(resource)的方式来描述,并且使用创建、更新、获取、删除、通知(Creat、Update、Retrieve、Delete、Notification,CURDN)的方式来操作资源。
在资源描述过程中,定义了一种集合资源(collection),并且,定义了一些接口(interface)来确定资源的操作方式,其中,一个collection还可以包括多个链接指向的资源(link collection),link为某一个资源的链接。当需要对某个资源进行操作时,用户端可以向服务器发送携带资源标识和接口类型的操作指令,服务器根据该操作指令对collection和link指向的资源进行操作,操作的方式为请求消息携带的interface(接口类型)。常用的接口类型有递归接口(batch interface)、默认接口(default interface)等。
但是,当link collection不支持batch interface,且其default interface不支持更新(update)操作时,无法完成对link指向的资源进行修改。
发明内容
基于此,有必要针对上述当link collection不支持递归接口(batch interface),且其默认接口(default interface)不支持更新(update)操作时,无法完成对link指向的资源进行修改的技术问题,提供一种资源更新方法、装置、计算机设备和存储介质。
第一方面,本发明实施例提供一种资源更新方法,所述方法包括:
接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作;
若所述第一目标资源为存在链接资源的集合资源,判断所述链接指向的第二目标资源是否支持递归接口;
若所述第二目标资源不支持递归接口,且,所述第二目标资源的默认接口不支持更新操作,则从预设的接口列表中确定支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且,所述第二更新操作请求用于对所述第二目标资源进行更新操作。
在其中一个实施例中,所述第一更新操作请求包括所述第一目标资源的标识、递归接口标识、更新操作标识和更新内容。
在其中一个实施例中,所述根据所述第一更新操作请求生成第二更新操作请求,包括:
将所述第一更新操作请求的递归接口标识替换为所述目标接口的标识,并将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第二更新操作请求;其中,所述第二更新操作请求包括所述第二目标资源的标识、所述目标接口的标识、所述更新操作标识和所述更新内容。
在其中一个实施例中,所述方法还包括:
在所述第一目标资源中的所有资源均更新完成之后,生成应答消息;所述应答消息包括所述第一目标资源中的所有所述链接资源的更新结果;
将所述应答消息发送给用户端。
在其中一个实施例中,所述第一更新操作请求包括用户端标识,则在所述第一目标资源为存在链接的集合资源时,判断所述链接指向的第二目标资源是否支持递归接口之前,还包括:
根据所述用户端标识,判断所述用户端是否具有访问所述第一目标资源的权限;
若所述用户端具有访问所述第一目标资源的权限,则在所述第一目标资源为存在链接的集合资源时,判断所述第二目标资源是否支持递归接口。
在其中一个实施例中,所述方法还包括:
若所述第二目标资源不支持递归接口,且所述第二目标资源的默认接口支持更新操作,则根据所述第一更新操作请求生成第三更新操作请求;所述第三更新操作请求包括所述默认接口的标识,且所述第三更新操作请求用于对所述第二目标资源进行更新操作。
在其中一个实施例中,所述根据所述第一更新操作请求生成第三更新操作请求,包括:
将所述第一更新操作请求中的递归接口标识替换为所述默认接口的标识,并将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第三更新操作请求;
其中,所述第三更新操作请求包括所述第二目标资源的标识、所述默认接口的标识、更新操作标识和更新内容。
在其中一个实施例中,所述方法还包括:
若所述第二目标资源支持递归接口,则根据所述第一更新操作请求生成第四更新操作请求;所述第四更新操作请求用于对所述第二目标资源进行更新操作。
在其中一个实施例中,所述根据所述第一更新操作请求生成第四更新操作请求,包括:
将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第四更新操作请求;
其中,所述第四更新操作请求包括所述第二目标资源的标识、所述递归接口标识、更新操作标识和更新内容。
第二方面,本发明实施例提供一种资源更新装置,所述装置包括:
接收模块,用于接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作;
判断模块,用于若所述第一目标资源为存在链接资源的集合资源,判断所述链接指向的第二目标资源是否支持递归接口;
处理模块,用于若所述第二目标资源不支持递归接口,且,所述第二目标资源的默认接口不支持更新操作,则从预设的接口列表中确定支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且所述第二更新操作请求用于对所述第二目标资源进行更新操作。
第三方面,本发明实施例提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作;
若所述第一目标资源为存在链接的集合资源,判断所述链接指向的第二目标资源是否支持递归接口;
若所述第二目标资源不支持递归接口,且,所述第二目标资源的默认接口不支持更新操作,则从预设的接口列表中确定支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且所述第二更新操作请求用于对所述第二目标资源进行更新操作。
第三方面,本发明实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作;
若所述第一目标资源为存在链接的集合资源,判断所述链接指向的第二目标资源是否支持递归接口;
若所述第二目标资源不支持递归接口,且,所述第二目标资源的默认接口不支持更新操作,则从预设的接口列表中确定支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且所述第二更新操作请求用于对所述第二目标资源进行更新操作。
本申请提供的一种资源更新方法、装置、计算机设备和存储介质,服务器先接收用户端发送的用于更新第一目标资源的第一更新操作请求,在该第一目标资源存在链接资源,链接指向的第二目标资源不支持递归接口,且第二目标资源的默认接口不支持更新操作时,服务器重新确定该第二目标资源的支持更新操作的目标接口,并根据第一更新操作请求生成第二更新操作请求,这样,服务器便可以根据该第二更新操作请求对链接指向的第二目标资源进行更新操作,大大提高了服务器更新资源的灵活度,实现了在链接指向的资源不支持递归接口,且其默认接口不支持更新操作时该链接指向的资源的更新。
附图说明
图1为一个实施例提供的一种资源更新方法的应用环境图;
图2为一个实施例提供的一种资源更新方法的流程示意图;
图3为一个实施例提供的一种资源更新方法的流程示意图;
图4为一个实施例提供的一种资源更新方法的流程示意图;
图5为一个实施例提供的一种资源更新装置的结构框图;
图6为一个实施例提供的一种资源更新装置的结构框图;
图7为一个实施例提供的一种资源更新装置的结构框图;
图8为一个实施例提供的一种资源更新装置的结构框图;
图9为一个实施例提供的一种资源更新装置的结构框图;
图10为一个实施例提供的计算机设备内部结构框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的一种资源更新方法,可以应用于如图1所示的应用环境中,包括客户端和服务端,客户端与服务端可以进行通信,通信方式无线通信,例如:WIFi、红外通信或者3G、4G、5G等。其中该客户端可以是灯具、空调等,还可以是手机、PAD、电脑等智能移动终端,本实施例对此不做限定。其中服务端可以是服务器,该服务器包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该服务器的处理器用于提供计算和控制能力。该服务器的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该服务器的数据库用于存储资源更新方法的数据。该服务器的网络接口用于与外部的其他设备通过网络连接通信。该计算机程序被处理器执行时以实现一种资源更新方法。
本申请的实施例提供一种资源更新方法、装置、计算机设备和存储介质,旨在解决当link collection不支持batch interface,且其default interface不支持update操作时,无法完成对link指向的资源进行修改的技术问题。下面将通过实施例并结合附图具体地对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的 实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。需要说明的是,本发明提供的一种资源更新方法,其执行主体为服务器,其中,该执行主体还可以为计算机设备,或者是资源更新装置,其中该装置可以通过软件、硬件或者软硬件结合的方式实现资源更新的部分或者全部。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在一个实施例中,图2提供了一种资源更新方法,本实施例涉及的是在第一目标资源存在链接资源,链接指向的第二目标资源不支持递归接口,且链接指向的第二目标资源的默认接口不支持更新操作时,服务器如何对链接指向的第二目标资源进行更新操作的具体过程。如图2所示,该方法包括:
S101,接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作。
其中,资源是表示每一个设备、设备的每一种功能服务和设备的状态等信息的逻辑功能实体,这些逻辑功能实体由服务器公开给客户端进行访问和操作,客户端通过资源操作CRUDN和服务器进行交互,资源的参数主要包括URI、资源属性、资源引用和接口等。目标资源指的是用户端需要操作的资源。递归接口(batch interface):表示对collection资源操作时,对递归到collection资源中link指向的资源进行操作。
本实施例中,服务器接收用户端发送的第一更新操作请求,其中,服务器接收请求的方式可以是通过无线通信方式,例如:WIFi、红外通信或者3G、4G、5G等。其中该第一更新操作请求表示用户端需要服务器修改第一目标资源,该第一更新操作请求中可以包括:服务器操作的接口类型,例如:该接口类型为递归接口,第一目标资源的URI以及接口的属性信息,还可以包括其他信息,本实施例对此不做限定。该第一更新操作请求用于指示服务器采用递归接口对第一目标资源进行更新操作,其中,该第一目标资源为一个集合资源,该集合资源可以包括多个链接资源。
S102,若所述第一目标资源为存在链接的集合资源,判断所述链接指向的第二目标资源是否支持递归接口。
其中,链接(link)表示某一个资源的链接,也即,collection(集合资源)可以包括指向其它资源的链接,例如,collection A中包括link,link指向collection B。
基于上述S101步骤中的第一更新操作请求,服务器在根据该第一更新操作请求对第一目标资源进行更新时,首先判断该第一目标资源是否为包含了链接资源的集合资源,若该第一目标资源是存在链接资源的集合资源,则服务器判断该链接指向的第二目标资源是否支持递归接口。其中,存在链接资源的集合资源表示该集合资源可以引用多个其他目标资源或其他集合资源,即,若该第一目标资源是存在链接资源的集合资源,则表示该第一目标资源可以引用多个其他目标资源或其他集合资源。其中,服务器判断链接资源是否支持递归接口的方式可以是,服务器在该链接资源的预设的接口列表中查找是否存在递归接口,若存在,则服务器确定该链接资源支持递归接口。
S103,若所述第二目标资源不支持递归接口,且,所述第二目标资源的默认接口不支持更新操作,则从预设的接口列表中确定支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且所述第二更新操作请求用于对所述第二目标资源进行更新操作。
在本步骤中,默认接口(default interface)通常为每个资源(包括collection,link)的支持接口列表(supported interface list)中排在第一位的接口为default interface)。其中,该支持接口列表为该资源支持的所有操作类型。例如,该预设的接口列表中包括的接口可以 是:"oic.if.baseline"、"oic.if.ll"、"oic.if.b"、"oic.if.r"、"oic.if.rw"、"oic.if.a"、"oic.if.s"等,还可以是其他的,则默认接口可以为"oic.if.baseline"。其中,该预设的接口列表中也包括每一个接口的属性信息,每个接口的属性信息表示该接口支持的操作以及其他信息,例如:接口的属性信息包括该接口是否支持更新操作等。本实施例对该预设的接口列表中接口的数量、类型以及其他内容并不做限定,可根据实际事情进行添加或删除。需要说明的是,该预设的接口列表可以是预先存储在服务器中,在使用时直接调用即可。
在实际应用中,基于上述S102步骤中,服务器确定的该第二目标资源不支持递归接口(batch interface),服务器获取该第二目标资源的默认接口,查看该默认接口是否支持更新操作,若该默认接口不支持更新操作,则服务器从预设的接口列表中重新确定一个可以支持更新操作的接口作为该链接资源的目标接口,例如,服务里可以遍历该第二目标资源支持的所有接口,找到一个支持更新操作的接口作为目标接口,并根据第一更新操作请求生成第二更新操作请求,然后,服务器根据该第二更新操作请求对该第二目标资源进行更新操作。
本实施例提供的一种资源更新方法,服务器先接收用户端发送的用于更新第一目标资源的第一更新操作请求,在第一目标资源存在链接资源时,若链接指向的第二目标资源不支持递归接口,且第二目标资源的默认接口不支持更新操作时,服务器重新确定支持更新操作的目标接口,并根据第一更新操作请求生成第二更新操作请求,这样,服务器便可以根据该第二更新操作请求对第二目标资源进行更新操作,大大提高了服务器更新资源的灵活度,实现了在链接指向的资源不支持递归接口,且其默认接口不支持更新操作时,仍然可以采用新的机制来实现该链接指向的资源的更新。
可选地,在上述实施例的基础上,所述第一更新操作请求包括所述第一目标资源的标识、递归接口标识、更新操作标识和更新内容。其中,第一目标资源的标识表示的是该第一目标资源的唯一标识,其中该标识可以是数字,也可以是字母,还可以是数字与字母的组合,例如,该第一目标资源标识可以为目标资源(target Resource)的统一资源定位符(Uniform Resource Locator,URL),本实施例对该第一目标资源的标识不做限定。其中,递归接口的标识表示该接口采用递归方式进行操作,例如,oic.if.batch接口表示该接口为递归接口,当然,该标识还可以是其他内容,这里只是举例说明,本实施例对递归接口的标识并不做限定。其中,第一更新操作标识可以是数字、字母或者数字与字母的组合,用于表示该第一更新操作请求的唯一标识,例如,Op:update表示该操作类型为更新操作,服务器根据该更新操作标识确定需要操作的第一目标资源,根据更新内容对第一目标资源进行更新。在本实施例中,由于第一更新操作请求包括了第一目标资源的标识、递归接口标识、更新操作标识和更新内容,这样服务器在接收到用户端发送的第一更新操作请求时,就可以快速对该请求进行正确的响应,大大提高了服务器的响应速度。
在一个实施例中,上述S103中“所述根据所述第一更新操作请求生成第二更新操作请求”的一种可实现方式包括:将所述第一更新操作请求中的递归接口标识替换为所述目标接口的标识,并将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第二更新操作请求;其中,所述第二更新操作请求包括所述第二目标资源的标识、所述目标接口的标识、所述更新操作标识和所述更新内容。
在上述S101-S103步骤所提供的实施例中,第一更新操作请求一开始携带的是第一目标资源的标识和该第一目标资源对应的递归接口标识,当服务器确定了该第一目标资源存在链接资源,且该链接指向的第二目标资源不支持递归接口,又第二目标资源的默认接口也不支持更新操作,则服务器根据第一更新操作请求生成第二更新操作请求的方式可以是,将该第一更新操作请求中的递归接口标识替换为目标接口的标识,即将该目标接口的接口标识携带在第一更新操作请求中,然后将第二目标资源的标识替换第一目标资源的标识,则该替换了接口标识和资源标识的新的更新操作请求即为服务器根据第一更新操作请 求生成的第二更新操作请求。则该第二更新操作请求包括了第二目标资源的标识、目标接口的标识、更新操作标识和更新内容。本实施例中,在服务器确定目前的第一更新操作请求中携带的信息不能实现更新时,重新生成可以实现更新的第二更新操作请求,以便根据该第二更新操作请求对资源进行更新,这样大大提高了服务器更新资源的灵活度,实现了在链接指向的资源不支持递归接口,且其默认接口不支持更新操作时对该链接指向的资源更新。
由于本申请提供的一种资源更新方法主要用于服务器根据用户端的请求对资源进行更新,那么在更新完成后,服务器需要对用户端反馈一个更新成功的信息,则在一个实施例中,如图3所示,本实施例涉及的是服务器将第一目标资源中所有所述资源均更新完成的结果发送给用户端的具体过程,所述方法包括:
S201,在所述第一目标资源中的所有所述资源均更新完成之后,生成应答消息;所述应答消息包括所述第一目标资源中的所有所述资源的更新结果。
在本实施例中,服务器为每个不支持更新的资源生成第二更新操作请求,然后服务器根据各第二更新操作请求对用户端请求更新的第一目标资源中各个资源更新完成后,将所有更新后的资源的更新结果进行聚合,生成应答消息,其中,该应答消息用于表示对用户端发送更新资源请求的回应。
S202,将所述应答消息发送给用户端。
基于上述S201步骤中生成的应答消息,服务器将该应答消息发送至用户端,其中发送方式与接收用户端发送的请求的方式一样,通过无线通信方式传输,当然,传输路径可以是沿原路径返回,也开始其他更便捷的路径,本实施例对此不做限定。
本实施例提供的一种资源更新方法,服务器在根据第二更新操作请求对用户端请求更新的第一目标资源中所有资源更新完成后,将所有更新后的第一目标资源中的所有资源的更新结果生成应答消息,并发送至用户端,以使用户端知道其请求更新的资源已经完成了更新,大大增加了用户端和服务端之间消息的互动性。
另外,在服务器根据用户端的第一更新操作请求进行更新操作之前,服务器需要对用户端是否具有访问第一目标资源的权限进行鉴定,则在所述第一目标资源中存在链接资源时,判断所述链接指向的第二目标资源是否支持递归接口之前,本申请还提供了一种实施例,本实施例涉及的是服务器根据用户端的标识确定用户端对第一目标资源是否具有访问权限,并在用户具有访问权限时对第二目标资源是否支持递归接口进行判断的具体过程,如图4所示,所述方法还包括:
S301,根据所述用户端标识,判断所述用户端是否具有访问所述第一目标资源的权限。
其中,用户端标识为用户端的身份标识,例如可以是数字、字母或者数字与字母的组合,本实施例对此不做限定。在实际应用中,可以根据各个用户端的权限,预先建立用户端标识与访问权限之间的对应关系,服务器查询该对应关系,判断用户端是否具有访问第一目标资源的权限,若存在,则说明该用户端具有访问该第一目标资源的权限,否则,则表示该用户端具没有访问该第一目标资源的权限。可以理解的是,上述每个第一目标资源都有各自的标识,用户若需要访问某个第一目标资源,则需要提前建立该用户与该第一目标资源之间的映射关系,并将该映射关系存储在服务器中。
S302,若所述用户端具有访问所述第一目标资源的权限,则在所述第一目标资源为存在链接的集合资源时,判断所述第二目标资源是否支持递归接口。
本步骤中,若上述步骤S301中确定了该用户端具有访问该第一目标资源的权限,则继续执行图2中的S101-S103,也即在该第一目标资源存在链接资源时,判断该链接指向的第二目标资源是否支持递归接口,其中服务器判断第二目标资源是否支持递归接口的方式同S102步骤中的方式,例如为服务器在该第二目标资源的预设的接口列表中查找是否存在递归接口,若存在,则服务器确定该第二目标资源支持递归接口。
本实施例提供的一种资源更新方法,服务器根据用户端的标识先确定该用户端是否具有访问该第一目标资源的权限,在确定有权限时,再在该第一目标资源为存在链接的集合资源时,判断所述第二目标资源是否支持递归接口,这样,只在用户端具有访问该第一目标资源权限时才进行后续步骤,避免了没有访问权限的用户端访问第一目标资源,提高了资源信息的安全可靠性,而且避免了服务器资源和时间的浪费。
考虑到第二目标资源不支持递归接口时,但其默认接口支持更新操作的情况,在一个实施例中,所述方法还包括:若所述第二目标资源不支持递归接口,且所述第二目标资源的默认接口支持更新操作,则根据所述第一更新操作请求生成第三更新操作请求;所述第三更新操作请求包括所述默认接口的标识,且所述第三更新操作请求用于对所述第二目标资源进行更新操作。可选地,根据所述第一更新操作请求生成第三更新操作请求的一种可实现方式为:将所述第一更新操作请求中的递归接口标识替换为所述默认接口的标识,并将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第三更新操作请求;其中,所述第三更新操作请求包括所述第二目标资源的标识、所述默认接口的标识、更新操作标识和更新内容。
其中,第二目标资源的默认接口同上述S103步骤中所述,在实际应用中,在服务器确定的该第二目标资源不支持递归接口,但服务器获取的该第二目标资源的默认接口支持更新操作,则服务器根据第一更新操作请求生成第三更新操作请求,然后,服务器根据该第三更新操作请求对该第二目标资源进行更新操作。其中,服务器根据第一更新操作请求生成第三更新操作请求的方式可以是服务器将该默认接口的接口标识替换第一目标资源中递归接口的接口标识,然后将第二目标资源的标识替换第一目标资源标识,最后,将该替换了接口标识和资源标识的新的更新操作请求确定为第三更新操作请求,则生成的第三更新操作请求包括所述第二目标资源的标识、所述默认接口的标识、更新操作标识和更新内容。
在本实施例中,若第二目标资源不支持递归接口,但第二目标资源的默认接口支持更新操作,则服务器根据第一更新操作请求生成第三更新操作请求。这样,服务器确定目前的递归接口不能实现资源更新时,将支持更新的默认接口根据第一更新操作请求生成第三更新操作请求,大大提高了服务器更新资源的灵活度。
又考虑到上述S102步骤中,第二目标资源支持递归接口的情况,本申请实施例提供一种资源更新方法,所述方法还包括:若所述第二目标资源支持递归接口,则根据所述第一更新操作请求生成第四更新操作请求;所述第四更新操作请求用于对所述第二目标资源进行更新操作。可选地,所述根据所述第一更新操作请求生成第四更新操作请求的一种可实现方式为:将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第四更新操作请求;其中,所述第四更新操作请求包括所述第二目标资源的标识、所述递归接口标识、更新操作标识和更新内容。
其中,在确定第二目标资源支持递归接口的时,服务器根据该第一更新操作请求生成第四更新操作请求,并根据该第四更新操作请求对该第二目标资源进行更新操作。其中,服务器根据第一更新操作请求生成第四更新操作请求的方式可以是服务器将该第一更新操作请求中的第一目标资源的标识替换为第二目标资源的标识,然后新的更新操作请求确定为第四更新操作请求,生成的第四更新操作请求包括所述第二目标资源的标识、所述递归接口标识、更新操作标识和更新内容。
在本实施例中,若第二目标资源支持递归接口,服务器根据该第一更新操作请求生成第四更新操作请求。这样,服务器确定目前的递归接口可以实现资源更新时,直接根据生成的第四更新操作请求对资源进行更新,大大提高了服务器更新资源的速度。
应该理解的是,虽然图2-4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的 执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-4中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图5所示,本申请实施例提供了一种资源更新装置,所述装置包括:接收模块10、判断模块11和处理模块12。其中,
接收模块10,用于接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作;
判断模块11,用于若所述第一目标资源为存在链接资源的集合资源,判断所述链接指向的第二目标资源资源是否支持递归接口;
处理模块12,用于若所述第二目标资源资源不支持递归接口,且,所述第二目标资源资源的默认接口不支持更新操作,则从预设的接口列表中确支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且所述第二更新操作请求用于对所述第二目标资源进行更新操作。
上述实施例提供的一种资源更新装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。
在一个实施例中,所述第一更新操作请求包括第一目标资源的标识、递归接口标识、更新操作标识和更新内容。
上述实施例提供的一种资源更新装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。
在一个实施例中,上述处理模块12具体用于将所述第一更新操作请求中的递归接口标识替换为所述目标接口的标识,并将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第二更新操作请求;
其中,所述第二更新操作请求包括所述第二目标资源的标识、所述目标接口的标识、所述更新操作标识和所述更新内容。
上述实施例提供的一种资源更新装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。
在一个实施例中,如图6所示,本申请实施例提供了一种资源更新装置,所述装置还包括:生成模块13和发送模块14。其中,
生成模块13,用于在所述第一目标资源中的所有资源均更新完成之后,生成应答消息;所述应答消息包括所述第一目标资源中的所有所述链接资源的更新结果;
发送模块14,用于将所述应答消息发送给用户端。
上述实施例提供的一种资源更新装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。
在一个实施例中,如图7所示,本申请实施例提供了一种资源更新装置,所述装置还包括:判断权限模块15。其中,
判断权限模块15,用于根据所述用户端标识,判断所述用户端是否具有访问所述第一目标资源的权限;
判断模块11,用于若所述用户端具有访问所述第一目标资源的权限,则在所述第一目标资源为存在链接的集合资源时,判断所述第二目标资源是否支持递归接口。
上述实施例提供的一种资源更新装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。
在一个实施例中,如图8所示,本申请实施例提供了一种资源更新装置,所述装置还包括:第二生成模块17,用于若所述第二目标资源不支持递归接口,且所述第二目标资源 的默认接口支持更新操作,则根据所述第一更新操作请求生成第三更新操作请求;所述第三更新操作请求包括所述默认接口的标识,且所述第三更新操作请求用于对所述第二目标资源进行更新操作。
在一个实施例中,所述第二生成模块17还用于将所述第一更新操作请求中的递归接口标识替换为所述默认接口的标识,并将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第三更新操作请求;其中,所述第三更新操作请求包括所述第二目标资源的标识、所述默认接口的标识、更新操作标识和更新内容。
上述实施例提供的一种资源更新装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。
在一个实施例中,如图9所示,本申请实施例提供了一种资源更新装置,所述装置还包括:第三生成模块18,用于若所述第二目标资源支持递归接口,则根据所述第一更新操作请求生成第四更新操作请求;所述第四更新操作请求用于对所述第二目标资源进行更新操作。
在一个实施例中,所述第三生成模块18还用于将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第四更新操作请求;其中,所述第四更新操作请求包括所述第二目标资源的标识、所述递归接口标识、更新操作标识和更新内容。
上述实施例提供的一种资源更新装置,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。
关于资源更新装置的具体限定可以参见上文中对于资源更新方法的限定,在此不再赘述。上述资源更新处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图10所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储资源更新数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种资源更新方法。
本领域技术人员可以理解,图10中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:
接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作;
若所述第一目标资源为存在链接的集合资源,判断所述链接指向的第二目标资源是否支持递归接口;
若所述第二目标资源不支持递归接口,且,所述第二目标资源的默认接口不支持更新操作,则从预设的接口列表中确定支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且所述第二更新操作请求用于对所述第二目标资源进行更新操作。
上述实施例提供的一种计算机设备,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:
接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作;
若所述第一目标资源为存在链接的集合资源,判断所述链接指向的第二目标资源是否支持递归接口;
若所述第二目标资源不支持递归接口,且,所述第二目标资源的默认接口不支持更新操作,则从预设的接口列表中确定支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且所述第二更新操作请求用于对所述第二目标资源进行更新操作。
上述实施例提供的一种计算机可读存储介质,其实现原理和技术效果与上述方法实施例类似,在此不再赘述。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (12)

  1. 一种资源更新方法,其特征在于,所述方法包括:
    接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作;
    若所述第一目标资源为存在链接的集合资源,判断所述链接指向的第二目标资源是否支持递归接口;
    若所述第二目标资源不支持递归接口,且,所述第二目标资源的默认接口不支持更新操作,则从预设的接口列表中确定支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且所述第二更新操作请求用于对所述第二目标资源进行更新操作。
  2. 根据权利要求1所述的方法,其特征在于,所述第一更新操作请求包括所述第一目标资源的标识、递归接口标识、更新操作标识和更新内容。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述第一更新操作请求生成第二更新操作请求,包括:
    将所述第一更新操作请求中的递归接口标识替换为所述目标接口的标识,并将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第二更新操作请求;
    其中,所述第二更新操作请求包括所述第二目标资源的标识、所述目标接口的标识、所述更新操作标识和所述更新内容。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    在所述第一目标资源中的所有资源均更新完成之后,生成应答消息;所述应答消息包括所述第一目标资源中的所有资源的更新结果;
    将所述应答消息发送给用户端。
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述第一更新操作请求包括用户端标识,则若所述第一目标资源为存在链接的集合资源,判断所述链接指向的第二目标资源是否支持递归接口之前,所述方法还包括:
    根据所述用户端标识,判断所述用户端是否具有访问所述第一目标资源的权限;
    若所述用户端具有访问所述第一目标资源的权限,则在所述第一目标资源为存在链接的集合资源时,判断所述第二目标资源是否支持递归接口。
  6. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    若所述第二目标资源不支持递归接口,且所述第二目标资源的默认接口支持更新操作,则根据所述第一更新操作请求生成第三更新操作请求;所述第三更新操作请求包括所述默认接口的标识,且所述第三更新操作请求用于对所述第二目标资源进行更新操作。
  7. 根据权利要求6所述的方法,其特征在于,所述根据所述第一更新操作请求生成第三更新操作请求,包括:
    将所述第一更新操作请求中的递归接口标识替换为所述默认接口的标识,并将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第三更新操作请求;
    其中,所述第三更新操作请求包括所述第二目标资源的标识、所述默认接口的标识、更新操作标识和更新内容。
  8. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    若所述第二目标资源支持递归接口,则根据所述第一更新操作请求生成第四更新操作请求;所述第四更新操作请求用于对所述第二目标资源进行更新操作。
  9. 根据权利要求1-3任一项所述的方法,其特征在于,所述根据所述第一更新操作请求生成第四更新操作请求,包括:
    将所述第一更新操作请求中的所述第一目标资源的标识替换为所述第二目标资源的标识,得到所述第四更新操作请求;
    其中,所述第四更新操作请求包括所述第二目标资源的标识、所述递归接口标识、更新操作标识和更新内容。
  10. 一种资源更新装置,其特征在于,所述装置包括:
    接收模块,用于接收用户端发送的第一更新操作请求;所述第一更新操作请求用于指示采用递归接口对第一目标资源进行更新操作;
    判断模块,用于若所述第一目标资源为存在链接的集合资源,判断所述链接指向的第二目标资源是否支持递归接口;
    处理模块,用于若所述第二目标资源不支持递归接口,且,所述第二目标资源的默认接口不支持更新操作,则从预设的接口列表中确定支持更新操作的目标接口,并根据所述第一更新操作请求生成第二更新操作请求;所述第二更新操作请求包括所述目标接口的标识,且所述第二更新操作请求用于对所述第二目标资源进行更新操作。
  11. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述方法的步骤。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。
PCT/CN2018/121283 2018-12-14 2018-12-14 资源更新方法、装置、计算机设备和存储介质 WO2020118705A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880037171.8A CN110741617B (zh) 2018-12-14 2018-12-14 资源更新方法、装置、计算机设备和存储介质
PCT/CN2018/121283 WO2020118705A1 (zh) 2018-12-14 2018-12-14 资源更新方法、装置、计算机设备和存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/121283 WO2020118705A1 (zh) 2018-12-14 2018-12-14 资源更新方法、装置、计算机设备和存储介质

Publications (1)

Publication Number Publication Date
WO2020118705A1 true WO2020118705A1 (zh) 2020-06-18

Family

ID=69236603

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/121283 WO2020118705A1 (zh) 2018-12-14 2018-12-14 资源更新方法、装置、计算机设备和存储介质

Country Status (2)

Country Link
CN (1) CN110741617B (zh)
WO (1) WO2020118705A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259443A (zh) * 2021-05-20 2021-08-13 远景智能国际私人投资有限公司 资源数据的更新系统、方法、装置、设备及可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116841622B (zh) * 2023-09-01 2023-11-24 上海燧原智能科技有限公司 一种地址自增访存指令的生成方法、装置、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5383061B2 (ja) * 2008-02-28 2014-01-08 三菱電機株式会社 データ処理装置及び通信システム及びデータ処理方法及びプログラム
CN106161393A (zh) * 2015-04-17 2016-11-23 伊姆西公司 实现多个内容管理服务操作的方法和装置
CN107870814A (zh) * 2016-09-23 2018-04-03 伊姆西Ip控股有限责任公司 用于内容管理批处理的方法和设备
CN108141468A (zh) * 2015-09-23 2018-06-08 康维达无线有限责任公司 增强的restful操作

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9398068B2 (en) * 2014-02-20 2016-07-19 International Business Machines Corporation Bulk uploading of multiple self-referencing objects
CN107241293A (zh) * 2016-03-28 2017-10-10 杭州萤石网络有限公司 一种资源访问方法、装置及系统
US9887990B2 (en) * 2016-04-25 2018-02-06 International Business Machines Corporation Protection of application passwords using a secure proxy

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5383061B2 (ja) * 2008-02-28 2014-01-08 三菱電機株式会社 データ処理装置及び通信システム及びデータ処理方法及びプログラム
CN106161393A (zh) * 2015-04-17 2016-11-23 伊姆西公司 实现多个内容管理服务操作的方法和装置
CN108141468A (zh) * 2015-09-23 2018-06-08 康维达无线有限责任公司 增强的restful操作
CN107870814A (zh) * 2016-09-23 2018-04-03 伊姆西Ip控股有限责任公司 用于内容管理批处理的方法和设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259443A (zh) * 2021-05-20 2021-08-13 远景智能国际私人投资有限公司 资源数据的更新系统、方法、装置、设备及可读存储介质
CN113259443B (zh) * 2021-05-20 2023-09-29 远景智能国际私人投资有限公司 资源数据的更新系统、方法、装置、设备及可读存储介质

Also Published As

Publication number Publication date
CN110741617B (zh) 2022-06-10
CN110741617A (zh) 2020-01-31

Similar Documents

Publication Publication Date Title
JP7014887B2 (ja) Pduタイプ設定方法、ueポリシー設定方法、および関連エンティティ
US20170317962A1 (en) Message sending method, apparatus, and system, and server
EP2677440A2 (en) Method and apparatus for separating in order to upgrade software remotely in m2m communication
US10555147B2 (en) Systems and methods for facilitating service provision between applications
US20210097476A1 (en) Container Management Method, Apparatus, and Device
WO2012151993A1 (zh) 业务推送方法和装置
US10581993B2 (en) Method for forwarding traffic in application on mobile intelligent terminal
CN112799825A (zh) 一种任务处理方法和网络设备
CN112399130A (zh) 云视频会议信息的处理方法、装置、存储介质和通信设备
US20150350299A1 (en) Method and apparatus for providing secure file transmission
CN105743945A (zh) 基于切换下载源的文件下载方法及系统
CN111680328A (zh) 一种数据处理方法、装置、服务器及计算机可读存储介质
WO2020118705A1 (zh) 资源更新方法、装置、计算机设备和存储介质
US20230058164A1 (en) Dynamic domain discovery and proxy configuration
US20220217036A1 (en) Device Management Method, Apparatus, and System, Device, and Storage Medium
WO2022116575A1 (zh) 业务平台的访问权限获取方法和业务平台的访问控制方法
WO2020118633A1 (zh) 订阅消息的处理方法、装置、计算机设备和存储介质
CN114281263A (zh) 容器集群管理系统的存储资源处理方法、系统和设备
US20200051028A1 (en) Real-time collaboration for binary data files
US10404578B2 (en) Method for calling routing algorithm, SDN controller, and SDN-OAF
CN111866211B (zh) 应用于终端的网络访问方法、装置、终端和介质
EP3416351B1 (en) Implementation method, apparatus and system for remote access
US10152490B2 (en) Sequential replication with limited number of objects
US20220014516A1 (en) Communication method for device, device and storage medium
JP2021524089A (ja) 購読サーバ、購読端末、情報購読方法及びシステム

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: 18942878

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: 18942878

Country of ref document: EP

Kind code of ref document: A1