Business processing method, device and storage medium
By obtaining the service processing configuration file and deploying the corresponding module on the virtual ONU gateway device, the problem of low resource utilization of general ONU gateway devices is solved, and flexible service processing and cost reduction are achieved.
Patent Information
- Application Number
- CN202211668089.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2042-12-23
AI Technical Summary
Universal ONU gateway devices have low resource utilization, lack flexibility, and are unable to meet the personalized needs of different users, resulting in resource waste.
Provided is a service processing method that receives demand information from a service requesting device, obtains corresponding service processing configuration files, and deploys service processing modules to flexibly meet user-specific needs.
It improves the resource utilization of virtual ONU gateway devices, reduces hardware costs, and meets the personalized needs of users.
Smart Images

Figure CN116233655B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technologies, and in particular to a service processing method, device, and storage medium. Background Art
[0002] With the development of computer and communication technologies, Asymmetric Digital Subscriber Line (ADSL) broadband has been upgraded to fiber-optic broadband. In fiber-optic broadband, the Optical Network Unit (ONU) gateway converts optical signals into electrical signals and enables applications such as user dial-up Internet access, voice call traffic control, and security protection.
[0003] However, general ONU gateways are dedicated devices with a large number of pre-installed functions designed and developed by gateway manufacturers. They are rigid and closed, lacking flexibility. Moreover, due to the different needs of different users, many users cannot fully utilize the equipment, resulting in a waste of resources. Summary of the Invention
[0004] The present application provides a service processing method, apparatus and storage medium for solving the technical problem of low resource utilization of common ONU equipment.
[0005] To achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, a service processing method is provided, which is applied to a virtual optical network unit (ONU) gateway device; the service processing method includes:
[0007] Receiving a service transmission request sent by a service request device; the service transmission request includes information about service requirements to be processed;
[0008] When a service processing module corresponding to the service demand information to be processed is not deployed on the virtual ONU gateway device, obtaining a service processing configuration file corresponding to the service demand information to be processed, and deploying the service processing module based on the service processing configuration file;
[0009] Control the operation of the service processing module so that the service processing module processes the pending service in the service transmission request.
[0010] Optionally, the business processing method further includes:
[0011] When a service processing module is deployed on the virtual ONU gateway device and the service processing module is not running, the service processing module is controlled to run so that the service processing module processes the pending service.
[0012] Optionally, the business processing method further includes:
[0013] When the service processing module completes processing of the pending service, the service processing module is controlled to stop running, and / or the service processing module is deleted.
[0014] Optionally, the service processing module includes: any one of a virtual firewall vFW module, a virtual intrusion prevention system vIPS module, a virtual private network VPN module, a virtual router vRouter module and a virtual quality of service vQos module.
[0015] Optionally, the virtual ONU gateway device is deployed on a network attached storage NAS device.
[0016] In a second aspect, a service processing device is provided, which is applied to a virtual optical network unit (ONU) gateway device; the service processing device includes: a receiving unit and a processing unit;
[0017] A receiving unit, configured to receive a service transmission request sent by a service request device; the service transmission request includes information about service requirements to be processed;
[0018] The processing unit is configured to obtain a service processing configuration file corresponding to the service demand information to be processed when a service processing module corresponding to the service demand information to be processed is not deployed on the virtual ONU gateway device, and deploy the service processing module based on the service processing configuration file;
[0019] The processing unit is further used to control the operation of the service processing module so that the service processing module processes the pending service in the service transmission request.
[0020] Optionally, the processing unit is further configured to control the operation of the service processing module when a service processing module is deployed on the virtual ONU gateway device and the service processing module is not running, so that the service processing module processes the service to be processed.
[0021] Optionally, the processing unit is further configured to control the business processing module to stop running and / or delete the business processing module when the business processing module completes processing the pending business.
[0022] Optionally, the service processing module includes: any one of a virtual firewall vFW module, a virtual intrusion prevention system vIPS module, a virtual private network VPN module, a virtual router vRouter module and a virtual quality of service vQos module.
[0023] Optionally, the virtual ONU gateway device is deployed on a network attached storage NAS device.
[0024] In the third aspect, a business processing device is provided, comprising a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the business processing device is running, the processor executes the computer execution instructions stored in the memory, so that the business processing device executes the business processing method described in the first aspect.
[0025] The service processing device may be a network device or a portion of a network device, such as a chip system in the network device. The chip system is used to support the network device in implementing the functions involved in the first aspect and any possible implementation thereof, such as obtaining, determining, and sending data and / or information involved in the above-mentioned service processing method. The chip system includes a chip and may also include other discrete devices or circuit structures.
[0026] In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium including computer execution instructions, which, when executed on a computer, enable the computer to execute the business processing method described in the first aspect.
[0027] In a fifth aspect, a computer program product is also provided, which includes computer instructions. When the computer instructions are executed on a business processing device, the business processing device executes the business processing method as described in the first aspect above.
[0028] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the service processing device or separately from the processor of the service processing device, and this embodiment of the application is not limited to this.
[0029] The description of the second, third, fourth and fifth aspects of this application can refer to the detailed description of the first aspect.
[0030] In the embodiments of this application, the names of the aforementioned service processing devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear with other names. For example, the receiving unit may also be called a receiving module, a receiver, etc. As long as the functions of the various devices or functional modules are similar to those of this application, they are within the scope of the claims of this application and their equivalents.
[0031] The technical solution provided by this application brings at least the following beneficial effects:
[0032] Based on any of the above aspects, the present application provides a service processing method, applied to a virtual ONU gateway device. The service processing method includes: upon receiving a service transmission request including pending service demand information from a service requesting device, obtaining a service processing configuration file corresponding to the pending service demand information, and deploying a service processing module based on the service processing configuration file, if a service processing module corresponding to the pending service demand information is not deployed on the virtual ONU gateway device. Subsequently, the service processing module can be controlled to operate so that the service processing module processes the pending service in the service transmission request.
[0033] In this way, the virtual ONU gateway device can flexibly deploy different service processing modules based on the pending service requirements in the service transmission request, meeting the user's specific needs. Furthermore, the virtual ONU gateway device does not need to deploy additional service function modules, reducing the hardware cost of the virtual ONU gateway device and improving its resource utilization.
[0034] The beneficial effects of the first, second, third, fourth and fifth aspects of this application can all be referred to the analysis of the above beneficial effects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of an application scenario of a business processing method provided in an embodiment of the present application;
[0036] Figure 2 A schematic diagram of the hardware structure of a service processing device provided in an embodiment of the present application Figure 1 ;
[0037] Figure 3 A schematic diagram of the hardware structure of a service processing device provided in an embodiment of the present application Figure 2 ;
[0038] Figure 4 A schematic diagram of a business processing method provided in this embodiment of the application Figure 1 ;
[0039] Figure 5 A schematic diagram of a business processing method provided in this embodiment of the application Figure 2 ;
[0040] Figure 6 A schematic diagram of a business processing method provided in this embodiment of the application Figure 3 ;
[0041] Figure 7 A schematic diagram of the structure of a business processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0043] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0044] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order.
[0045] As described in the background technology, a general ONU gateway not only serves as a boundary on the user side, completing the conversion of optical fiber signals on the operator side to electrical signals on the user side, but is also a dedicated device with a large number of pre-installed functions designed and developed by the gateway manufacturer (for example, in addition to basic functions such as user dial-up Internet access and voice calls, it also includes application functions such as traffic control and security protection). It is rigid and closed, lacking flexibility. Moreover, due to the different needs of different users, many users cannot fully utilize the equipment, resulting in waste of resources.
[0046] Based on the above technical issues, an embodiment of the present application provides a service processing method, applied to a virtual ONU gateway device. The service processing method includes: upon receiving a service transmission request from a service requesting device, including information about pending service requirements, obtaining a service processing configuration file corresponding to the pending service requirements, and deploying a service processing module based on the configuration file, if the service processing module corresponding to the pending service requirements is not deployed on the virtual ONU gateway device. Subsequently, the service processing module can be controlled to operate so that it processes the pending service in the service transmission request.
[0047] In this way, the virtual ONU gateway device can flexibly deploy different service processing modules based on the pending service requirements in the service transmission request, meeting the user's specific needs. Furthermore, the virtual ONU gateway device does not need to deploy additional service function modules, reducing the hardware cost of the virtual ONU gateway device and improving its resource utilization.
[0048] The business processing method is applicable to a business processing system. Figure 1 Figure 2 shows a structure of the business processing system. Figure 1 As shown, the service processing system includes: a virtual ONU gateway device 101, an optical line terminal (Optical Line Terminal, OLT) device 102, a broadband access server (Broadband Remote Access Server, BRAS) device 103, a core router 104 and an operator network device 105.
[0049] The virtual ONU gateway device 101, the OLT terminal 102, the BRAS device 103, the core router 104 and the operator network device 105 are communicatively connected in sequence.
[0050] Optionally, the virtual ONU gateway device can be deployed on a Network Attached Storage (NAS) device. Based on the characteristics of the NAS device, the virtual ONU gateway device can cache the service data in the service transmission request in real time on the gateway device, shielding the experience impact caused by network fluctuations.
[0051] The virtual ONU gateway device 101 includes a basic service processing module for implementing the basic function of service transmission, and a value-added service processing module for deploying different service processing modules according to different service demand information to be processed, thereby meeting the value-added functions of user-specific needs.
[0052] Optionally, the basic functions of the above-mentioned business transmission may include: running the Ethernet-based point-to-point communication protocol (Point-to-Point Protocol Over Ethernet, PPoE) to realize the business function of dial-up Internet access, the function of converting between optical signals and electrical signals in the transmission network, storage function, etc.
[0053] Optionally, an operating system may be deployed on the virtual ONU gateway device 101. The operating system is used to deploy different service processing modules according to different service demand information to be processed, thereby meeting specific user needs.
[0054] Exemplarily, the value-added service processing module can implement: the service function of running a virtual firewall (vFW), the service function of running a virtual intrusion prevention system (vIPS) to implement network security protection, the service function of running a virtual private network (VPN), the service function of running a virtual router (vRouter), and the service function of running a virtual quality of service (vQos) to solve problems such as network delay and congestion.
[0055] The OLT terminal 102 is used to implement functions such as control, management, and ranging of the virtual ONU gateway device 101.
[0056] The BRAS device 103 is used to provide broadband access services, realize the aggregation and forwarding of multiple services such as authentication, billing, and management, and can meet the requirements of different users for transmission capacity and bandwidth utilization.
[0057] The core router 104 includes routers located at the center of the network, which are mainly used for data packet routing and forwarding.
[0058] The operator network device 105 is used to provide network services to users.
[0059] The basic hardware structure of the virtual ONU gateway device 101 includes Figure 2 or Figure 3 The components included in the business processing device shown in FIG. Figure 2 and Figure 3 Taking the service processing device shown in FIG. 1 as an example, the hardware structure of the virtual ONU gateway device 101 is introduced.
[0060] like Figure 2 FIG2 is a schematic diagram of a hardware structure of a service processing device provided in an embodiment of the present application. The service processing device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22, and the communication interface 23 can be connected via a bus 24.
[0061] Processor 21 is the control center of the service processing device and can be a single processor or a collective term for multiple processing elements. For example, processor 21 can be a general-purpose central processing unit (CPU) or other general-purpose processor. A general-purpose processor can be a microprocessor or any conventional processor.
[0062] As an embodiment, the processor 21 may include one or more CPUs, such as Figure 2 CPU0 and CPU1 are shown in the figure.
[0063] The memory 22 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0064] In one possible implementation, the memory 22 may exist independently of the processor 21 and may be connected to the processor 21 via a bus 24 for storing instructions or program codes. When the processor 21 calls and executes the instructions or program codes stored in the memory 22, the service processing method provided in the following embodiments of the present application can be implemented.
[0065] In the embodiment of the present application, for the virtual ONU gateway device 101, the software programs stored in the memory 22 are different, so the functions implemented by the virtual ONU gateway device 101 are different. The functions performed by each device will be described in conjunction with the following flowchart.
[0066] In another possible implementation, the memory 22 may also be integrated with the processor 21 .
[0067] The communication interface 23 is used to connect the service processing device to other devices via a communication network, which may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 23 may include a receiving unit for receiving data and a sending unit for sending data.
[0068] The bus 24 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, Figure 2 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0069] Figure 3 FIG. 1 shows another hardware structure of the service processing device in the embodiment of the present application. Figure 3 As shown, the service processing device may include a processor 31 and a communication interface 32. The processor 31 is coupled to the communication interface 32.
[0070] The functions of the processor 31 may refer to the description of the processor 21. In addition, the processor 31 also has a storage function and can play the role of the memory 22.
[0071] The communication interface 32 is used to provide data to the processor 31. The communication interface 32 can be an internal interface of the service processing device, or an external interface of the service processing device (equivalent to the communication interface 23).
[0072] It should be pointed out that Figure 2 (or Figure 3 ) does not constitute a limitation on the business processing device, except Figure 2 (or Figure 3 ) In addition to the components shown in the figure, the business processing device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0073] The following is a detailed description of the service processing method provided in the embodiment of the present application with reference to the accompanying drawings.
[0074] Figure 4 A specific flow chart of a business processing method provided by an embodiment of the present application is shown. Figure 4 As shown, the service processing method is applied to a virtual ONU gateway device. The service processing method includes:
[0075] S401: A virtual ONU gateway device receives a service transmission request sent by a service request device.
[0076] The service transmission request includes pending service requirement information, which may mark the value-added service required by the service transmission request.
[0077] Specifically, when the service request device accesses the service provided by the operator network device, it needs to send a service transmission request to the operator network device through the virtual ONU gateway device. In this case, the virtual ONU gateway device can receive the service transmission request sent by the service request device.
[0078] Optionally, the service request device may be a user terminal or other service request device, which is not limited in the embodiment of the present application.
[0079] In one possible implementation, when a service transmission request does not include pending service demand information, the virtual ONU gateway device may pre-store a correspondence between different types of service transmission requests and different types of pending service demand information. Specifically, each type of service transmission request has a correspondence with the pending service demand information. In this case, the service processing device may determine the value-added service required by the service transmission request, i.e., the pending service demand information, based on this correspondence.
[0080] S402: When a service processing module corresponding to the service demand information to be processed is not deployed on the virtual ONU gateway device, the virtual ONU gateway device obtains a service processing configuration file corresponding to the service demand information to be processed, and deploys a service processing module based on the service processing configuration file.
[0081] Specifically, to address the resource waste problem of general-purpose ONU gateway devices, the virtual ONU gateway device provided in this application can initially deploy only a basic service processing module. Specifically, the virtual ONU gateway device provides only basic interface and network coverage functions. Upon receiving a service transmission request including service demand information to be processed, the service processing device can provide corresponding value-added functions for the service data in the service transmission request.
[0082] That is, after receiving a service transmission request including service demand information to be processed, when the service processing module corresponding to the service demand information to be processed is not deployed on the virtual ONU gateway device, the virtual ONU gateway device can obtain the service processing configuration file corresponding to the service demand information to be processed, and deploy the service processing module based on the service processing configuration file, thereby realizing flexible deployment of different service processing modules for different service demand information to be processed.
[0083] For example, assuming that the service requesting device is a user terminal, when the user terminal sends a service transmission request to the virtual ONU gateway device, the user terminal can add pending service requirement information to the service transmission request based on user needs. The pending service requirement information can mark the value-added service required by the service transmission request.
[0084] In this case, after receiving a service transmission request, the virtual ONU gateway device can extract the pending service demand information from the service transmission request and, if the service processing module corresponding to the pending service demand information is not deployed on the virtual ONU gateway device, obtain the service processing configuration file corresponding to the pending service demand information. Subsequently, the virtual ONU gateway device can deploy the service processing module based on the service processing configuration file, thereby flexibly deploying different service processing modules for different pending service demand information.
[0085] Optionally, the virtual ONU gateway device can be an electronic device built based on a processing architecture. The electronic device has computing resources. Users can write service processing configuration files corresponding to the service requirements to be processed on the electronic device, thereby generating various types of service processing modules.
[0086] Optionally, the above-mentioned processing architecture can be an X86 processing architecture, an ARM processing architecture, or other processing architectures, which is not limited in the embodiments of the present application.
[0087] Optionally, the virtual ONU gateway device may include an interactive device (such as a mouse and keyboard) for interacting with the user. The user may input a service processing configuration file corresponding to the service demand information to be processed on the virtual ONU gateway device through the interactive device. Accordingly, the virtual ONU gateway device may receive the service processing configuration file corresponding to the user input operation in response to the user input operation.
[0088] After receiving the service processing configuration file corresponding to the service demand information to be processed, the virtual ONU gateway device can call the service processing configuration file to generate a service processing module corresponding to the service demand information to be processed, so as to perform corresponding value-added services on the service data in the service transmission request.
[0089] In one achievable manner, the service processing module may include any one of a vFW module, a vIPS module, a VPN module, a vRouter module, and a vQos module.
[0090] S403: The virtual ONU gateway device controls the operation of the service processing module so that the service processing module processes the pending service in the service transmission request.
[0091] Exemplarily, the virtual ONU gateway device receives a service transmission request including pending service demand information A. The pending service demand information A is used to request to enable the vFW, and after enabling the vFW, the service data in the service transmission request is transmitted to a higher level.
[0092] In this case, the virtual ONU gateway device first determines whether a vFW module is deployed locally. If it is determined that the vFW module is not deployed locally, the virtual ONU gateway device can obtain a vFW configuration file and generate a vFW module based on the vFW configuration file.
[0093] Then, the virtual ONU gateway device may call the vFW module to run the service function of the vFW, and after running the service function of the vFW, transmit the service data in the service transmission request to the upper level.
[0094] It should be noted that when the service transmission request does not include the pending service demand information, and the virtual ONU gateway device does not store the correspondence between different types of service transmission requests and different pending service demand information, the virtual ONU gateway device can call all the service processing modules that have been deployed locally to process the service data in the service transmission request.
[0095] In one achievable approach, combining Figure 4 ,like Figure 5 As shown, the business processing method also includes:
[0096] S501: When a service processing module is deployed on the virtual ONU gateway device and the service processing module is not running, the virtual ONU gateway device controls the service processing module to run so that the service processing module processes the pending service.
[0097] Specifically, because the virtual ONU gateway device needs to transmit a large number of service transmission requests, after receiving a previous service transmission request, the value-added service required by the previous service transmission request may be the same as the value-added service required by the current service transmission request. Therefore, the virtual ONU gateway device may have already deployed a service processing module corresponding to the pending service demand information. However, after the previous service transmission request is transmitted, the virtual ONU gateway device controls the service processing module to stop running. In this case, after receiving the service transmission request sent by the service request device, the virtual ONU gateway device can control the service processing module to run so that the service processing module processes the pending service.
[0098] In one achievable approach, combining Figure 5 ,like Figure 6 As shown, the business processing method also includes:
[0099] S601: When the service processing module completes processing of the pending service, the virtual ONU gateway device controls the service processing module to stop running and / or deletes the service processing module.
[0100] Specifically, because the virtual ONU gateway device needs to transmit a large number of service transmission requests, after receiving the current service transmission request, the value-added service required by the current service transmission request may be the same as the value-added service required by the next service transmission request. In this case, the virtual ONU gateway device can first control the service processing module to stop running, reducing the processing resources of the service processing module while avoiding the duplication of service processing modules.
[0101] Accordingly, after receiving the current service transmission request, the value-added service required by the current service transmission request may be different from the value-added service required by the next service transmission request. In this case, the virtual ONU gateway device can delete the service processing module to reduce the occupation of the virtual ONU gateway device memory space.
[0102] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily appreciate that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0103] In the embodiments of the present application, the business processing device can be divided into functional modules according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or software functional modules. Optionally, the division of modules in the embodiments of the present application is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.
[0104] like Figure 7 The figure is a schematic diagram of the structure of a business processing device provided in an embodiment of the present application. The business processing device can be used to perform Figure 4-Figure 6 The business processing method shown. Figure 7 The service processing device shown is applied to a virtual optical network unit (ONU) gateway device; the service processing device includes: a receiving unit 701 and a processing unit 702;
[0105] The receiving unit 701 is configured to receive a service transmission request sent by a service request device; the service transmission request includes information about service requirements to be processed;
[0106] The processing unit 702 is configured to obtain a service processing configuration file corresponding to the service demand information to be processed when a service processing module corresponding to the service demand information to be processed is not deployed on the virtual ONU gateway device, and deploy the service processing module based on the service processing configuration file;
[0107] The processing unit 702 is further configured to control the operation of the service processing module so that the service processing module processes the pending service in the service transmission request.
[0108] Optionally, the processing unit 702 is further configured to control the operation of the service processing module when a service processing module is deployed on the virtual ONU gateway device and the service processing module is not running, so that the service processing module processes the pending service.
[0109] Optionally, the processing unit 702 is further configured to control the business processing module to stop running and / or delete the business processing module when the business processing module completes processing the pending business.
[0110] Optionally, the service processing module includes: any one of a virtual firewall vFW module, a virtual intrusion prevention system vIPS module, a virtual private network VPN module, a virtual router vRouter module and a virtual quality of service vQos module.
[0111] Optionally, the virtual ONU gateway device is deployed on a network attached storage NAS device.
[0112] An embodiment of the present application further provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer executes the business processing method provided in the above embodiment.
[0113] An embodiment of the present application also provides a computer program that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program can implement the business processing method provided in the above embodiment.
[0114] Those skilled in the art will appreciate that, in one or more of the examples above, the functions described herein can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any medium that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0115] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0116] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0117] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or in other words, the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for making a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0118] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A business processing method, characterized in that: Applied to a virtual optical network unit (ONU) gateway device, the virtual ONU gateway device is deployed on a network-attached storage (NAS) device. The virtual ONU gateway device is an electronic device built based on a processing architecture, the electronic device has computing resources, and is used to generate various types of service processing modules in response to a user writing a service processing configuration file corresponding to service demand information to be processed on the electronic device; The processing architecture is an X86 processing architecture or an ARM processing architecture; The service processing module includes: any one of a virtual firewall vFW module, a virtual intrusion prevention system vIPS module, a virtual private network VPN module, a virtual router vRouter module and a virtual quality of service vQos module; the service processing method includes: receiving a service transmission request sent by a service request device; the service transmission request includes information about service requirements to be processed; When a service processing module corresponding to the service demand information to be processed is not deployed on the virtual ONU gateway device, obtaining a service processing configuration file corresponding to the service demand information to be processed, and deploying the service processing module based on the service processing configuration file; Controlling the operation of the service processing module so that the service processing module processes the pending service in the service transmission request; When the service transmission request does not include the service demand information to be processed, and the virtual ONU gateway device does not store the correspondence between different types of service transmission requests and different service demand information to be processed, all locally deployed service processing modules are called to process the service data in the service transmission request.
2. The service processing method according to claim 1, wherein: Also includes: When the service processing module is deployed on the virtual ONU gateway device and the service processing module is not running, the service processing module is controlled to run so that the service processing module processes the to-be-processed service.
3. The service processing method according to claim 1, wherein: Also includes: When the service processing module completes processing the pending service, the service processing module is controlled to stop running, and / or the service processing module is deleted.
4. A business processing device, characterized in that: Applied to a virtual optical network unit (ONU) gateway device, the virtual ONU gateway device is deployed on a network-attached storage (NAS) device. The virtual ONU gateway device is an electronic device built based on a processing architecture, the electronic device has computing resources, and is used to generate various types of service processing modules in response to a user writing a service processing configuration file corresponding to service demand information to be processed on the electronic device; The processing architecture is an X86 processing architecture or an ARM processing architecture; The service processing module includes: any one of a virtual firewall vFW module, a virtual intrusion prevention system vIPS module, a virtual private network VPN module, a virtual router vRouter module and a virtual quality of service vQos module; the service processing device includes: a receiving unit and a processing unit; The receiving unit is configured to receive a service transmission request sent by a service request device; the service transmission request includes information about service requirements to be processed; The processing unit is configured to, when a service processing module corresponding to the service demand information to be processed is not deployed on the virtual ONU gateway device, obtain a service processing configuration file corresponding to the service demand information to be processed, and deploy the service processing module based on the service processing configuration file; The processing unit is further configured to control the operation of the service processing module so that the service processing module processes the pending service in the service transmission request; The processing unit is also used to call all locally deployed business processing modules to process the business data in the business transmission request when the business transmission request does not include the business demand information to be processed and the virtual ONU gateway device does not store the correspondence between different types of business transmission requests and different business demand information to be processed.
5. The service processing device according to claim 4, characterized in that: The processing unit is further configured to control the operation of the service processing module when the service processing module is deployed on the virtual ONU gateway device and the service processing module is not running, so that the service processing module processes the to-be-processed service.
6. The service processing device according to claim 5, characterized in that: The processing unit is further configured to control the business processing module to stop running and / or delete the business processing module when the business processing module completes processing the pending business.
7. A business processing device, characterized in that: It includes a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the business processing device is running, the processor executes the computer execution instructions stored in the memory, so that the business processing device executes the business processing method according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer is enabled to execute the business processing method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Virtual service providing method, gateway equipment and storage medium
CN108989071A