Online record processing method and device, storage medium and electronic equipment
Patent Information
- Application Number
- CN202210512972.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-12
- Publication Date
- 2026-10-13
- Estimated Expiration
- 2042-05-12
AI Technical Summary
然而,由于许多应用程序并没有儿童模式,因此,如何对儿童的上网过程浏览或观看的多媒体资源进行管控成为了亟待解决的技术难题
一方面,基于预定网络请求特征与上网行为环境的对应关系,确定与指定设备的网络请求特征对应的上网行为环境,能够准确高效地确定指定设备的各种上网行为环境;另一方面,基于上网行为环境,获取与网络请求对应的多媒体资源的资源信息,生成对应的上网记录,能够生成儿童上网过程中浏览或观看各种多媒体资源的记录信息,从而能够对儿童的上网过程进行全面有效的管控。
Smart Images

Figure CN117097636B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, storage medium and electronic device for processing Internet access records. Background Technology
[0002] With the development of internet technology, online multimedia resources have become increasingly abundant. Children are spending more and more time online; however, due to the diversity of online multimedia resources, much of the content is unsuitable for children of their current age.
[0003] One technical solution involves controlling the multimedia resources children can access by enabling a child mode on a mobile application. However, since many applications lack a child mode, managing the multimedia resources children browse or watch online has become a pressing technical challenge. Summary of the Invention
[0004] This application provides a method, apparatus, storage medium, and electronic device for processing internet browsing records, capable of generating records of children browsing or watching various multimedia resources online, thereby enabling comprehensive and effective control over children's internet browsing activities. The technical solution is as follows: In a first aspect, embodiments of this application provide a method for processing internet browsing records, the method comprising: Extract the network request characteristics of network requests sent by a specified device; Based on the correspondence between predetermined network request characteristics and internet access behavior environment, determine the internet access behavior environment corresponding to the network request characteristics; Based on the internet access behavior environment, obtain resource information of the multimedia resources corresponding to the network request; Based on the resource information of the multimedia resources, an internet access record corresponding to the network request is generated.
[0005] Secondly, embodiments of this application provide an internet access record processing device, the device comprising: The feature extraction module is used to extract network request features of network requests sent by a specified device. The Internet access environment determination module is used to determine the Internet access behavior environment corresponding to the network request characteristics based on the correspondence between the predetermined network request characteristics and the Internet access behavior environment. The resource information acquisition module is used to acquire resource information of multimedia resources corresponding to the network request based on the internet access behavior environment. The internet access record generation module is used to generate internet access records corresponding to the network request based on the resource information of the multimedia resources.
[0006] Thirdly, embodiments of this application provide a computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the steps of the method described above.
[0007] Fourthly, embodiments of this application provide an electronic device, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the above-described method.
[0008] The beneficial effects of the technical solutions provided in some embodiments of this application include at least the following: On the one hand, based on the correspondence between predetermined network request characteristics and internet behavior environment, the internet behavior environment corresponding to the network request characteristics of a specified device can be determined, which can accurately and efficiently determine various internet behavior environments of a specified device; on the other hand, based on the internet behavior environment, resource information of multimedia resources corresponding to the network request can be obtained, and corresponding internet records can be generated, which can generate record information of children browsing or watching various multimedia resources during the internet process, thereby enabling comprehensive and effective control over children's internet process. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 A schematic diagram illustrating an application scenario of the Internet access record processing method provided according to an embodiment of this application is shown; Figure 2 A flowchart illustrating an internet browsing history processing method according to some embodiments of this application is shown; Figure 3 A flowchart illustrating a method for processing internet browsing records according to further embodiments of this application is shown. Figure 4 Some example embodiments according to this application are shown. Figure 3 A flowchart illustrating step S315; Figure 5 This paper shows a schematic diagram of the structure of an Internet access record processing device provided in an embodiment of this application; Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0011] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0012] First, the terms used in the embodiments of this application will be explained and described.
[0013] Designated devices: One or more devices specified in the router's backend, such as designated devices for children at home.
[0014] Network request characteristics: The request characteristics of the network request for multimedia resources issued by the specified device. Network request characteristics may include the URI characteristics or HOST characteristics of the multimedia resources corresponding to the network request. The URI characteristic includes the URI of the multimedia resources, and the HOST characteristic includes the domain name of the website in the Hosts file of the network request.
[0015] Internet access environment: Internet access environment refers to the operating environment when a specified device accesses the Internet, such as the application platform or a directory under the application platform.
[0016] Resource information for multimedia resources includes one or more of the following: title, cover image, author, and URL.
[0017] Internet access history: Internet access history corresponding to network requests for multimedia resources issued by a specified device. Internet access history may include information such as multimedia resource information, access time, and resource platform.
[0018] The technical solution of the Internet access record processing method according to the embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0019] Figure 1 A schematic diagram illustrating an application scenario of the Internet access record processing method provided in an embodiment of this application is shown.
[0020] Reference Figure 1As shown, this application scenario includes a client 110, a router 120, a server 130, and a network 140. The client 110 interacts with the server 130 via the router 120 and the network 140. The router 120 includes a preset library 122, which sets a mapping between predetermined network request characteristics and internet access behavior environments, such as the mapping between URIs (Uniform Resource Identifiers) and network resource platforms. The server 130 includes a processing engine 132 and a database 134, which stores various multimedia resources.
[0021] In the example embodiment, the client 110 has various applications installed. In response to the user's internet access operation, such as clicking on a video on a video viewing platform, the client 110 sends a network request to the router 120. The router 120 extracts the network request features of the network request sent by the client 110. Based on the correspondence between the predetermined network request features and the internet access behavior environment in the preset library 122, the router determines the internet access behavior environment corresponding to the network request features, such as video viewing platform information. Based on the corresponding internet access behavior environment, the router obtains the resource information of the multimedia resources corresponding to the network request, generates an internet access record corresponding to the network request, and sends the internet access record to the server 130 via the network 140.
[0022] It should be noted that the aforementioned client 110 can be an application terminal device configured with the target client. This application terminal device can include, but is not limited to, at least one of the following: smartphones, laptops, tablets, PDAs, MIDs (Mobile Internet Devices), desktop computers, smart TVs, etc., without limitation. The target client can be a video application client, an instant messaging client, a browser client, an educational application client, etc. The aforementioned network 140 can include, but is not limited to, wired networks and wireless networks. The wired network includes local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs). The wireless network includes Bluetooth, Wi-Fi (Wireless Fidelity), and other networks that enable wireless communication. The aforementioned server 130 can be a single server, a server cluster consisting of multiple servers, or a cloud server. The above is merely an example, and no special limitations are made in this embodiment.
[0023] Figure 2A flowchart illustrating an internet access record processing method according to some embodiments of this application is shown. The execution entity of this internet access record processing method can be a computing device with computing processing capabilities, such as a router 120. The internet access record processing method includes steps S210 to S240. The internet access record processing method in the example embodiments will now be described in detail with reference to the accompanying drawings.
[0024] Reference Figure 2 As shown, in step S210, the network request features of the network request sent by the specified device are extracted.
[0025] In the example embodiment, the designated device refers to one or more devices specified in the router's backend, such as a terminal device used by a child at home. When browsing or watching multimedia resources on the designated device, the designated device sends a network request to the router for that multimedia resource, and the router extracts the corresponding network request characteristics from the network request.
[0026] For example, if the network request includes the URI information of the multimedia resource, the URI information of the multimedia resource is extracted from the network request and used as the network request feature. Furthermore, if the network request also includes resource description information of the multimedia resource, then the keyword information corresponding to the multimedia resource is extracted from the network request. For example, the keyword information may include the resource type of the multimedia resource, such as "video" for video, "image" for image, and "txt" for text.
[0027] In step S220, the internet access behavior environment corresponding to the network request characteristics is determined based on the correspondence between the predetermined network request characteristics and the internet access behavior environment.
[0028] In the example embodiment, a predefined correspondence between predetermined network request features and internet access behavior environments is established. The predetermined network request features include the URI or HOST feature of the multimedia resource corresponding to the network request. The URI feature includes the URI of the multimedia resource, and the HOST feature includes the website domain name in the Hosts file of the network request. The Hosts file is a system file without an extension, whose basic function is to establish an association database between some commonly used website domain names and their corresponding IP addresses.
[0029] Internet access behavior environment refers to the operating environment when a specified device accesses the Internet. For example, when a user opens a video in directory B of video application A on a specified device, the internet access behavior environment is video application A or directory B under video application A; when a user opens a webpage in browser A on device A, the internet access behavior environment is the webpage opened in browser A; when a user opens a book in reading application A on a specified device, the internet access behavior environment is reading application A, etc.
[0030] Furthermore, the extracted network request features are matched with the predetermined network request features in the above correspondence. If a match is found, the internet access behavior environment corresponding to the matched predetermined network request feature is determined according to the above correspondence. For example, if the network request is an HTTP request and the domain name information is 123.abc.78, then according to the above correspondence, an internet access behavior environment is matched, such as playing a video through video application A.
[0031] It should be noted that although the example given is of a predetermined network request feature including a URI feature, those skilled in the art should understand that the predetermined network request feature may also include other appropriate features, such as resource type features of multimedia resources, directory features of applications, etc., which are also within the scope of the embodiments of this application.
[0032] Furthermore, if the predetermined network request characteristics also include the application's directory characteristics, then the matched internet browsing environment will also include the multimedia resource's directory characteristics. By setting directory characteristics, resource information for multimedia resources can be obtained efficiently.
[0033] In step S230, based on the internet access behavior environment, resource information of the multimedia resources corresponding to the network request is obtained.
[0034] In the example embodiment, the resource information of the multimedia resource includes one or more of the following: the title of the multimedia resource, the cover image of the multimedia resource, the author of the multimedia resource, and the address of the multimedia resource. For different internet access behavior environments, corresponding multimedia resource acquisition methods are preset to obtain the resource information of the multimedia resource corresponding to the network request. For example, a correspondence between internet access behavior environments and resource acquisition methods is established. Based on the determined internet access behavior environment corresponding to the network request characteristics, the corresponding multimedia resource acquisition method is determined, and according to this method, the resource information of the multimedia resource corresponding to the network request is obtained.
[0035] For example, if the multimedia resource acquisition method indicates that the network request corresponding to the internet access behavior environment contains multimedia resource information, then the corresponding multimedia resource information is directly extracted from the network request; if the multimedia resource acquisition method indicates that the network request corresponding to the internet access behavior environment does not contain multimedia resource information, then the unique identifier information of the corresponding multimedia resource is extracted from the network request, and the corresponding multimedia resource information is obtained based on the unique identifier information of the multimedia resource.
[0036] Furthermore, in some example embodiments, if it is determined based on the internet access behavior environment that there is no resource information for multimedia resources in the above network request, but there is unique identification information for multimedia resources, then the resource information for the corresponding multimedia resources is obtained through the information acquisition interface corresponding to the internet access behavior environment based on the unique identification information; if there is no corresponding information acquisition interface for the internet access behavior environment, then the resource information for the multimedia resources corresponding to the multimedia resources is obtained from the preset multimedia library based on the unique identification information.
[0037] It should be noted that the resource information of multimedia resources may also include other appropriate information, such as resource type information, resource evaluation information, etc., which are also within the scope of the embodiments of this application.
[0038] In step S240, based on the acquired multimedia resource information, an internet access record corresponding to the network request is generated.
[0039] In the example embodiment, based on the acquired multimedia resource information, combined with the resource platform and acquisition time of the multimedia resource, an internet access record corresponding to the network request is generated. For example, the acquired multimedia resource information, combined with the resource platform and acquisition time of the multimedia resource, can be used to generate an internet access record in JSON format.
[0040] For example, if the multimedia resource is a video or image resource, the generated browsing history can be: {"Time"; "Resource Platform or Application"; "Title"; "Cover"; "URL"}.
[0041] according to Figure 2 The technical solution in the example embodiment, on the one hand, determines the internet behavior environment corresponding to the network request characteristics of a specified device based on the correspondence between predetermined network request characteristics and internet behavior environment, which can accurately and efficiently determine various internet behavior environments of a specified device; on the other hand, based on the internet behavior environment, it obtains resource information of multimedia resources corresponding to the network request and generates corresponding internet records, which can generate record information of children browsing or watching various multimedia resources during internet access, thereby enabling comprehensive and effective control over children's internet access process.
[0042] It should be noted that although the implementation is described using a router as an example, those skilled in the art should understand that the steps in the embodiments of this application can also be implemented by the client or the server, or partially by the router and partially by the client or the server, which is also within the scope of the embodiments of this application.
[0043] Furthermore, in some example embodiments, if the network request corresponding to the internet access behavior environment contains resource information of multimedia resources, the information extraction rule corresponding to the internet access behavior environment is determined according to the correspondence between the predetermined internet access behavior environment and the predetermined information extraction rule. The information extraction rule includes the field to be extracted corresponding to the internet access behavior environment. According to the information extraction rule, the resource information of the corresponding multimedia resources is extracted from the network request.
[0044] For example, if the network request corresponding to the internet browsing environment contains resource information for multimedia resources, the values of the corresponding fields are extracted according to preset information extraction rules. For instance, preset information extraction rules are retrieved from preset library 'a', which marks which fields need to be extracted from the network traffic and records them as specific fields. For example, room_name=>title; room_src=>cover; nickname=>author. This correspondence in preset library 'a' means that the value of room_name is extracted from the network request and recorded as the title of the multimedia; the value of room_src is extracted from the network request and recorded as the cover of the multimedia; and the value of the nickname field is extracted from the request and recorded as the author of the multimedia.
[0045] By setting up a mapping between internet browsing behavior environments and information extraction rules, resource information of multimedia resources under various internet browsing behavior environments can be extracted accurately and efficiently. For example, the field identifiers of resource information for multimedia resources corresponding to different applications may be different. By pre-setting information extraction rules for resource information of various applications, including the field identifiers of the corresponding fields to be extracted, resource information of multimedia resources under various applications can be extracted accurately and efficiently.
[0046] Figure 3 A flowchart illustrating an internet browsing history processing method according to further embodiments of this application is shown.
[0047] Reference Figure 3 As shown, in step S305, the specified device is determined in the router's settings interface.
[0048] In the example implementation, one or more devices can be designated as devices for children in the router's backend. After the designation, the router will analyze and extract the network traffic of the devices.
[0049] In step S310, the internet behavior environment corresponding to the network request characteristics is determined based on the correspondence between the predetermined network request characteristics and the internet behavior environment.
[0050] In the example embodiment, taking video resources as an example of multimedia resources, for a network request generated by a specified device, the router first uses a preset database A to detect whether the specified device is using a certain application to watch video. Preset database A is a mapping between a predetermined network request characteristic and an internet browsing environment, i.e., video viewing behavior. For example, if a network request is an HTTP request, and the host information in the HTTP request is 123.abc.78, and the URI information contains the keyword "searchbox," then an internet browsing environment or specific video viewing behavior can be matched in preset database A, indicating that the current device is using application A to watch video.
[0051] In step S315, based on the internet access behavior environment, resource information of the multimedia resources corresponding to the network request is obtained.
[0052] In the example embodiment, the resource information of the multimedia resource includes one or more of the following: the title of the multimedia resource, the cover image of the multimedia resource, the author of the multimedia resource, and the address of the multimedia resource. For different internet access behavior environments, corresponding multimedia resource acquisition methods are preset to obtain the resource information of the multimedia resource corresponding to the network request. For example, a correspondence between internet access behavior environments and resource acquisition methods is established. Based on the determined internet access behavior environment corresponding to the determined network request characteristics, the corresponding multimedia resource acquisition method is determined, and according to this method, the resource information of the multimedia resource corresponding to the network request is obtained. Later, this will be combined with... Figure 4 Step S315 will be explained in detail in steps S3151 to S3156.
[0053] In step S320, based on the acquired multimedia resource information, an internet access record corresponding to the network request is generated.
[0054] In the example embodiment, after obtaining the resource information of the multimedia resource corresponding to the network request, the specific behavior of watching the video corresponding to the network request can be used to generate a record on the router's local machine. For example, if the multimedia resource is a video or image resource, the generated internet access record can be: {"Time"; "Resource Platform or Application"; "Title"; "Cover"; "URL"}.
[0055] In step S325, the generated internet access records are uploaded to the server.
[0056] In the example embodiment, the generated local browsing history is uploaded to a server. The server then pushes it to the parent's mobile phone. Alternatively, the router can cache the videos the child watches, allowing parents to view the child's real-time viewing history or the overall video viewing history over a period of time on the router application. If the video address of the video the child watched is obtained, parents can click on the generated browsing history on the router application to replay the video content watched by the child.
[0057] In step S330, the resource information of multimedia resources in the Internet access records is subject to risk review, and the risk review result is obtained.
[0058] In the example embodiment, after the local Internet access record is uploaded to the server, the server can perform risk audits on the multimedia resources. For example, taking video as an example, the server can perform risk audits on the video title, author, and cover. The audit methods include image recognition, keyword matching, and other methods.
[0059] In some example implementations, the router can also perform risk verification on the title and author of multimedia resources, for example, by using keyword matching.
[0060] In step S335, if a risk is determined to exist based on the risk audit results, a risk warning is generated and pushed out.
[0061] In the example implementation, if the server determines that the current video poses a risk based on the review results, it can push a risk warning to the parent's mobile phone. Similarly, if the router determines that the current video poses a risk based on the review results, it can also push a risk warning to the parent's mobile phone.
[0062] according to Figure 3 The technical solution in the example embodiment, in a home network environment, enables parents to obtain and provide risk warnings about their children's multimedia content viewing records through a router. It can generate records of children browsing or watching various multimedia resources during their online activities, thereby enabling comprehensive and effective control over children's online activities.
[0063] Figure 4 Some example embodiments according to this application are shown. Figure 3 The flowchart for step S315 is shown below. (Refer to...) Figure 4 As shown, Figure 3 Step S315 may include steps S3151 to S3156. Below, in conjunction with… Figure 4 right Figure 3 Step S315 will be explained in detail.
[0064] Reference Figure 4As shown, in step S3151, it is determined whether the resource information exists in the network request.
[0065] In the example embodiment, a table of internet access behavior environments in which resource information exists in network requests is pre-established. For example, the identification information of applications whose resource information exists in network requests is stored in the table. If a corresponding internet access behavior environment is found in the table, it is determined that the resource information of the internet access behavior environment exists in the network request; if no corresponding internet access behavior environment is detected, it is determined that the resource information of the internet access behavior environment does not exist in the network request.
[0066] Further, if it is determined that the resource information exists in the network request, proceed to step S3152; if it is determined that the resource information does not exist in the network request, proceed to step S3153.
[0067] In step S3152, information extraction rules corresponding to the Internet access behavior environment are determined, and resource information of multimedia resources is extracted from network requests according to the information extraction rules.
[0068] In the example embodiment, if the network request corresponding to the internet access behavior environment contains resource information of multimedia resources, the values of the corresponding fields are extracted according to preset information extraction rules. For example, preset information extraction rules are obtained from preset library a. Preset library a marks which fields need to be extracted from the network traffic and records them as specific fields. For example, room_name=>title; room_src=>cover nickname=>author. This correspondence in preset library a means that the value of room_name is extracted from the network request and recorded as the title of the multimedia; the value of room_src is extracted from the network request and recorded as the cover of the multimedia; and the value of the nickname field is extracted from the request and recorded as the author of the multimedia.
[0069] In step S3153, if it is determined that the resource information of the multimedia resource does not exist in the network request, then the unique identifier information of the multimedia resource contained in the network request is determined.
[0070] In step S3154, it is determined whether there is an information acquisition interface corresponding to the Internet access behavior environment.
[0071] In the example embodiment, if an information acquisition interface corresponding to the internet browsing environment exists, the process proceeds to step S3155; if no information acquisition interface corresponding to the internet browsing environment exists, the process proceeds to step S3156. For example, if the internet browsing environment is application A, application A has a corresponding information acquisition interface.
[0072] Furthermore, configure information acquisition interfaces corresponding to various internet access behavior environments in the preset library. For example, configure the information acquisition interface provided by application A in the preset library.
[0073] In step S3155, the resource information of the multimedia resources is obtained through the information acquisition interface based on the unique identifier information.
[0074] In the example embodiment, if the Internet access environment has a corresponding information acquisition interface, the router calls the information acquisition interface provided by application A to obtain the resource information of the multimedia resource through the unique identifier information. For example, if the multimedia resource is a video, the router obtains the video cover, video stream, title and other information through the information acquisition interface based on the video's unique identifier, such as tvid.
[0075] In step S3156, resource information of multimedia resources is obtained from a preset multimedia library based on the unique identifier information.
[0076] In the example embodiment, if the unique identifier information of the multimedia is obtained, but there is no information retrieval interface corresponding to the internet access behavior environment, then the resource information of the multimedia resource is retrieved from a preset multimedia library based on the unique identifier information. For example, if more information about the video cannot be obtained through the video content provider's interface, then a self-maintained preset multimedia library, such as a preset video library, is matched. The video library contains the unique identifier information tvid and corresponding cover, video stream, title, and other information. The video information is retrieved from the preset video library using the video's unique identifier information tvid.
[0077] Furthermore, a pre-defined multimedia library can be established through methods such as web crawling.
[0078] according to Figure 4 In the example embodiments, the technical solution involves several aspects. Firstly, the router directly extracts resource information from network requests by matching preset relationships, generates internet access records locally, and pushes them to the server and parent terminals, thereby enabling comprehensive and effective control over children's internet use. Secondly, the router indirectly obtains multimedia information by calling third-party interfaces and matching its self-built video library, records it locally, and pushes it to the server and parent terminals. Thirdly, the router records children's viewing of multimedia resources as information including video titles, covers, and video stream addresses, and synchronizes this information to the parent terminals. Parents can then visually view the history of all video content viewed by their children on the router's app. Finally, the server can perform risk detection on the multimedia information in the internet access records and send risk warnings to the parent terminals.
[0079] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0080] Figure 5 A schematic diagram of the structure of an Internet access record processing apparatus provided in an exemplary embodiment of this application is shown.
[0081] Reference Figure 5 As shown, the Internet access record processing device 500 can be implemented as all or part of a device through software, hardware, or a combination of both, and is applied to electronic devices. The Internet access record processing device 500 includes a feature extraction module 510, an Internet access environment determination module 520, a resource information acquisition module 530, and an Internet access record generation module 540. Wherein: The feature extraction module 510 is used to extract the network request features of network requests sent by a specified device; The Internet access environment determination module 520 is used to determine the Internet access behavior environment corresponding to the network request characteristics based on the correspondence between the predetermined network request characteristics and the Internet access behavior environment. The resource information acquisition module 530 is used to acquire resource information of multimedia resources corresponding to the network request based on the internet access behavior environment. Internet access record generation module 540 is used to generate internet access records corresponding to the network request based on the resource information of the multimedia resources.
[0082] In some example embodiments, based on the above scheme, the Internet environment determination module 520 is configured as follows: The network request features are matched with the predetermined network request features in the correspondence to obtain a matching result; Based on the matching results, the internet access behavior environment corresponding to the network request characteristics is determined.
[0083] In some example embodiments, based on the above scheme, the resource information acquisition module 530 is configured as follows: If, based on the internet access behavior environment, it is determined that the resource information of the multimedia resource exists in the network request, then an information extraction rule corresponding to the internet access behavior environment is determined, and the information extraction rule includes the field to be extracted; According to the information extraction rules, extract the information corresponding to the field to be extracted from the network request; Based on the information corresponding to the fields to be extracted, the resource information of the multimedia resources is generated.
[0084] In some example embodiments, based on the above scheme, the resource information acquisition module 530 is further configured as follows: If, based on the internet access behavior environment, it is determined that the resource information of the multimedia resource does not exist in the network request, then the unique identifier information of the multimedia resource contained in the network request is determined. Based on the unique identifier information, obtain the resource information of the multimedia resource corresponding to the network request.
[0085] In some example embodiments, based on the above scheme, the resource information acquisition module 530 is further configured as follows: If the internet access environment has a corresponding information acquisition interface, then the resource information of the multimedia resource is obtained through the information acquisition interface based on the unique identifier information; If the internet access environment does not have a corresponding information acquisition interface, the resource information of the multimedia resource is obtained from the preset multimedia library based on the unique identifier information.
[0086] In some example embodiments, based on the above solution, the apparatus further includes: The upload module is used to upload the generated internet access records to the server. The forwarding module is used to forward the Internet access records to the monitoring terminal corresponding to the designated device via the server.
[0087] In some example embodiments, based on the above solution, the apparatus further includes: The risk audit module is used to audit the resource information of the multimedia resources in the internet access records and obtain the risk audit results. The warning generation module is used to generate and push a risk warning if a risk is determined to exist based on the risk review results.
[0088] It should be noted that the Internet access record processing device provided in the above embodiments is only illustrated by the division of the above functional modules when performing the Internet access record processing method. In actual applications, the above 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.
[0089] Furthermore, the Internet access record processing device and the Internet access record processing method provided in the above embodiments belong to the same concept, and their implementation process can be found in the method embodiments, which will not be repeated here.
[0090] This application also provides a computer storage medium that can store multiple instructions. These instructions are adapted to be loaded and executed by a processor using the Internet access record processing method described in the above embodiments. For details of the execution process, please refer to the specific description of the above embodiments, which will not be repeated here.
[0091] This application also provides a computer program product that stores at least one instruction. The at least one instruction is loaded by the processor and executed as described in the above embodiments of the Internet access record processing method. For the specific execution process, please refer to the detailed description of the above embodiments, which will not be repeated here.
[0092] This application also provides a chip configured to execute the Internet access record processing method as described in the above embodiments. For the specific execution process, please refer to the detailed description of the above embodiments, which will not be repeated here.
[0093] In addition, please see Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 6 As shown, the electronic device 600 may include: at least one processor 601, at least one communication module 604, input / output interface 603, memory 605, and at least one communication bus 602.
[0094] The communication bus 602 is used to enable communication between these components.
[0095] The input / output interface 603 may include a display screen and a camera. Optional input / output interface 603 may also include a standard wired interface and a wireless interface.
[0096] The communication module 604 may optionally include a standard wired interface or a wireless interface (such as a WIFI interface).
[0097] The processor 601 may include one or more processing cores. The processor 601 connects to various parts of the server 600 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 605, and by calling data stored in the memory 605. Optionally, the processor 601 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 601 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 601 and may be implemented as a separate chip.
[0098] The memory 605 may include random access memory (RAM) or read-only memory. Optionally, the memory 605 may include a non-transitory computer-readable storage medium. The memory 605 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 605 may also be at least one storage device located remotely from the aforementioned processor 601. Figure 6 As shown, the memory 605, which serves as a computer storage medium, may include an operating system, a communication module, an input / output interface module, and an internet browsing history processing application.
[0099] exist Figure 6In the illustrated electronic device 600, the input / output interface 603 is mainly used to provide an interface for users to input data and acquire user input data; while the processor 601 can be used to call the Internet access record processing program stored in the memory 605, causing the processor 601 to execute the steps in the Internet access record processing method according to various exemplary embodiments of this disclosure. For example, the processor 601 can execute such as Figure 2 The steps shown are as follows: Step S210, extract the network request features of the network request sent by the specified device; Step S220, determine the internet access behavior environment corresponding to the network request features based on the correspondence between the predetermined network request features and the internet access behavior environment; Step S230, obtain the resource information of the multimedia resources corresponding to the network request based on the internet access behavior environment; Step S240, generate the internet access record corresponding to the network request based on the obtained resource information of the multimedia resources.
[0100] The above is an illustrative embodiment of an electronic device according to this specification. This electronic device can be a range hood or other suitable equipment such as an electric oven. It should be noted that the technical solution of this electronic device and the technical solution of the above-described internet access record processing method belong to the same concept. Details not described in detail in the technical solution of the electronic device can be found in the description of the technical solution of the above-described internet access record processing method.
[0101] In the description of this application, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. In the description of this application, it should be noted that, unless otherwise expressly specified and limited, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances. Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0102] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory, or random access memory, etc.
[0103] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A method for processing internet browsing history, characterized in that, The method is applied to a router, which includes a preset library containing a mapping between predetermined network request characteristics and internet access behavior environments. The internet access behavior environment refers to the operating environment of a specified device when it accesses the internet, and includes at least the application platform or a directory within that application platform. Extract the network request characteristics of network requests sent by a specified device; Based on the correspondence between predetermined network request characteristics and internet access behavior environment, determine the internet access behavior environment corresponding to the network request characteristics; Based on the internet access behavior environment, resource information of multimedia resources corresponding to the network request is obtained. The resource information of multimedia resources includes one or more of the following: title of multimedia resources, cover of multimedia resources, author of multimedia resources, and address of multimedia resources. For different internet access behavior environments, corresponding multimedia resource acquisition methods are preset to obtain resource information of multimedia resources corresponding to the network request. Based on the resource information of the multimedia resources, an internet access record corresponding to the network request is generated; The step of obtaining resource information of multimedia resources corresponding to the network request based on the internet access behavior environment includes: If, based on the internet access behavior environment, it is determined that the resource information of the multimedia resource exists in the network request, then an information extraction rule corresponding to the internet access behavior environment is determined, and the information extraction rule includes the field to be extracted; According to the information extraction rules, extract the information corresponding to the field to be extracted from the network request; Based on the information corresponding to the fields to be extracted, the resource information of the multimedia resources is generated; The step of obtaining resource information of multimedia resources corresponding to the network request based on the internet access behavior environment includes: If, based on the internet access behavior environment, it is determined that the resource information of the multimedia resource does not exist in the network request, then the unique identifier information of the multimedia resource contained in the network request is determined. Based on the unique identifier information, obtain the resource information of the multimedia resource corresponding to the network request; The step of obtaining resource information of the multimedia resource corresponding to the network request based on the unique identifier information includes: If the internet access environment has a corresponding information acquisition interface, then the resource information of the multimedia resource is obtained through the information acquisition interface based on the unique identifier information; If the internet access environment does not have a corresponding information acquisition interface, the resource information of the multimedia resource is obtained from the preset multimedia library based on the unique identifier information.
2. The method according to claim 1, characterized in that, The step of determining the internet behavior environment corresponding to the predetermined network request characteristics based on the correspondence between the network request characteristics and the internet behavior environment includes: The network request features are matched with the predetermined network request features in the correspondence to obtain a matching result; Based on the matching results, the internet access behavior environment corresponding to the network request characteristics is determined.
3. The method according to any one of claims 1 to 2, characterized in that, The method further includes: The generated internet browsing history is uploaded to the server. The server forwards the internet access records to the monitoring terminal corresponding to the designated device.
4. The method according to claim 3, characterized in that, The method further includes: The resource information of the multimedia resources in the internet access records is subject to risk review to obtain the risk review results; If a risk is determined to exist based on the risk review results, a risk warning will be generated and pushed out.
5. An internet access record processing device, characterized in that, An application is used in a router, the router containing a preset library, which sets a correspondence between predetermined network request characteristics and internet access behavior environments. The internet access behavior environment refers to the operating environment of a specified device when it accesses the internet, and at least includes the application platform or a directory under the application platform. The device includes: The feature extraction module is used to extract network request features of network requests sent by a specified device. The Internet access environment determination module is used to determine the Internet access behavior environment corresponding to the network request characteristics based on the correspondence between the predetermined network request characteristics and the Internet access behavior environment. The resource information acquisition module is used to acquire resource information of multimedia resources corresponding to the network request based on the internet access behavior environment. The resource information of the multimedia resources includes one or more of the following: title of the multimedia resource, cover of the multimedia resource, author of the multimedia resource, and address of the multimedia resource. For different internet access behavior environments, there are preset corresponding multimedia resource acquisition methods to acquire resource information of multimedia resources corresponding to the network request. The internet access record generation module is used to generate internet access records corresponding to the network request based on the resource information of the multimedia resources. The resource information acquisition module is configured as follows: If, based on the internet access behavior environment, it is determined that the resource information of the multimedia resource exists in the network request, then an information extraction rule corresponding to the internet access behavior environment is determined, and the information extraction rule includes the field to be extracted; According to the information extraction rules, extract the information corresponding to the field to be extracted from the network request; Based on the information corresponding to the fields to be extracted, the resource information of the multimedia resources is generated; The resource information acquisition module is further configured to: If, based on the internet access behavior environment, it is determined that the resource information of the multimedia resource does not exist in the network request, then the unique identifier information of the multimedia resource contained in the network request is determined. Based on the unique identifier information, obtain the resource information of the multimedia resource corresponding to the network request; The resource information acquisition module is further configured to: If the internet access environment has a corresponding information acquisition interface, then the resource information of the multimedia resource is obtained through the information acquisition interface based on the unique identifier information; If the internet access environment does not have a corresponding information acquisition interface, the resource information of the multimedia resource is obtained from the preset multimedia library based on the unique identifier information.
6. A computer storage medium storing a plurality of instructions adapted for loading by a processor and performing the steps of the method as claimed in any one of claims 1 to 4.
7. An electronic device, characterized in that, include: A processor and a memory, the memory storing a computer program adapted to be loaded by the processor and to execute the steps of the method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Internet brows management method, system and terminal
CN101931646A
Internet surfing control method and system based on router
CN108964983A