A service switching method and display device
By pre-cacheting the basic business data of business scenarios and integrating them with the scene characteristics, the problem of slow response speed of business scenario switching is solved, fast and smooth business switching is achieved, and user experience is improved.
Patent Information
- Application Number
- CN202210340739.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-22
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2042-03-22
AI Technical Summary
When switching business scenarios, the existing technology has problems such as slow response speed, which leads to long waiting time for users and affects user experience.
By pre-cacheting the basic business data of business scenarios according to the relationship between services, the basic business data of business scenarios is read from the cache when the user switches to these business scenarios, and then blends it with the scene characteristics for display.
It improves the response speed of switching business scenarios, realizes fast and smooth switching of services, reduces the response time and delay of communication with the server side, and improves the user experience.
Smart Images

Figure CN114676362B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of business processing, and in particular to a business switching method and a display device. Background Art
[0002] Users can enjoy the required business functions through the display device, such as searching for film sources and watching videos, listening to songs, karaoke, browsing web messages, etc. on the display device. When a user initiates a business request, the display device may involve switching of business scenarios. Switching business scenarios is not limited to switching business types and switching applications. For example, the user switches the business type from movie (i.e., video type) to song (i.e., audio type), and then requests to view the singer information (i.e., character text type) on the song playback page. Another example is switching from a local built-in application to a third-party application, from third-party application A to third-party application B, and so on. This application mainly considers how to improve the response speed when switching business scenarios to achieve fast and smooth switching of services. Summary of the invention
[0003] In order to solve the problems in the above-mentioned background technology, the present invention provides a service switching method and a display device. According to the association relationship between services, the basic service data of the service scenarios are pre-cached. When the user switches to these service scenarios, the matching basic service data can be read from the cache and displayed after being integrated with the scene features, thereby improving the response speed of switching business scenarios and realizing fast and smooth switching of services.
[0004] A first aspect provides a display device, comprising:
[0005] monitor;
[0006] The controller is configured to execute:
[0007] In response to the received service request, parsing the service scenario to be switched indicated by the service request;
[0008] Reading first basic service data matching the service scenario to be switched from a local cache area; wherein the local cache area is used to pre-cache basic service data associated with each service type according to the service association relationship predicted by the service association model;
[0009] The scene features of the to-be-switched business scene are integrated into the first basic business data to generate target business data, and the display is controlled to display the target business data.
[0010] In some embodiments, the association relationship between services predicted by the association model includes an association array corresponding to M types of services, and the association array includes M-1 service codes sorted according to the degree of association between services.
[0011] In some embodiments, the controller is configured to train the business association model in the following manner:
[0012] Obtain N training samples, each of which defines a business request;
[0013] Calculate the first matching degree set corresponding to each training sample, wherein the first matching degree set includes M groups {Code i , K i-j}; Among them, Code i is the service code of the ith service type, K i-j K is the matching degree corresponding to the jth training sample and the ith business type, i-j It is used to characterize the accuracy of executing a service when locating the i-th service type in response to the service request defined by the j-th training sample. i represents the serial number of the service type, j represents the serial number of the training sample, and M represents the total number of service types, 1≤i≤M, 1≤j≤N;
[0014] The inter-business association relationship is established according to the N first matching degree sets.
[0015] In some embodiments, the controller is further configured to construct the inter-service association relationship in the following manner:
[0016] Threshold filtering is performed on the N first matching degree sets respectively to obtain N second matching degree sets; the second matching degree sets include Q j Group {Code w , K w-j}, K w-j Greater than the preset threshold, 1≤w≤Q j , 1≤Q j ≤M,Q j represents the number of business types included in the second matching degree set corresponding to the j-th training sample;
[0017] Calculating the correlation between any two business types according to the matching degree distribution between any two business types in each second matching degree set;
[0018] According to the degree of association between the services, the associated services of each service type are sorted and combined to obtain the association relationship between the services.
[0019] In some embodiments, the controller calculates the correlation between any two business types according to the following formula:
[0020]
[0021] In the above formula, S(x,y) is the correlation between any two service types x and y; Num(x,y) is the number of sets in the N second matching degree sets that include both service type x and service type y; S vk (x,y)=S v_k (x,y)+S k_v (x,y), S vk (x, y) is the statistical number of sets of N second matching degree sets whose matching degree distributions of service type x and service type y satisfy the combination relationship of the vth rank and the kth rank; S v_k (x, y) is the statistical number of sets in which the matching degree of service type x ranks in the vth order and the matching degree of service type y ranks in the kth order in N second matching degree sets; S k_v (x, y) is the number of sets of N second matching degree sets where the matching degree of service type x ranks in the kth order and the matching degree of service type y ranks in the vth order; W vk For S vk (x, y); wherein v and k represent the ranking order of any two business types x and business types y in the second matching degree set, 1≤v≤M, 1≤k≤M.
[0022] In some embodiments, the controller is further configured to execute: after obtaining the association relationship between the services, only the basic business data corresponding to the first G business codes with the highest association in each association array are cached in the local cache area, where G is a preset cache quantity.
[0023] In some embodiments, the display device further includes a communicator, the communicator being configured to communicate with a local server, and the controller is further configured to execute:
[0024] From the first G business codes with the highest association degree in each association array, select the first target business code associated with the local built-in application;
[0025] According to the first target service code, a first data request is generated and sent to a local server; the first data request is used to instruct the local server to obtain local basic service data matching the first target service code;
[0026] The local basic business data sent by the local server is received, and the local basic business data is cached in the local cache area.
[0027] In some embodiments, the communicator is further configured to communicate with a third-party server, and the controller is further configured to execute:
[0028] Selecting a second target business code associated with a third-party application from the top G business codes with the highest degree of association in each association array;
[0029] According to the second target business code, a second data request is generated and sent to the third-party server; the second data request is used to instruct the third-party server to generate third-party basic business data matching the second target business code, and set cache and preload permissions for the third-party basic business data;
[0030] The third-party basic business data sent by the third-party server is received, and the third-party basic business data is cached in the local cache area.
[0031] In some embodiments, the controller is further configured to perform:
[0032] If the first basic service data matching the service scenario to be switched is not read from the local cache area, identifying the service application type associated with the service scenario to be switched;
[0033] If the service application type is a local built-in application, immediately requesting the local server for target service data matching the service scenario to be switched;
[0034] If the service application type is a third-party application, a corresponding third-party server is immediately requested for target service data matching the service scenario to be switched.
[0035] A second aspect provides a service switching method, the method comprising:
[0036] In response to the received service request, parsing the service scenario to be switched indicated by the service request;
[0037] Reading first basic service data matching the service scenario to be switched from a local cache area; wherein the local cache area is used to pre-cache basic service data associated with each service type according to the service association relationship predicted by the service association model;
[0038] The scene features of the business scene to be switched are integrated into the first basic business data to generate and display target business data.
[0039] Other embodiments of the second aspect may be adapted to refer to the first aspect described above and will not be described in detail here.
[0040] In the present application, the display device can train a business association model, and the business association model can predict the association relationship between businesses. The association relationship between businesses is used to indicate which associated businesses each business type has and their association degree. For example, the associated businesses of business A include {business B, business D and business C}, where the association degree between business A and business B is 0.9, the association degree between business A and business D is 0.75, and the association degree between business A and business C is 0.5. The display device can pre-store basic business data associated with business A. The local cache area of the display device pre-stores basic business data associated with each business type. For example, business A is a recommended video, business B is a popular TV series, business D is a TV series theme song, and business C is encyclopedia information. For business A, the basic business data under business B, business D and business C can be pre-cached. For example, the basic business data of business B is a search page for popular TV series, the basic business data of business D is a song player page authorized by a third-party music application, and the basic business data of business D is character / text data, etc.
[0041] The user can input a service request through voice or UI interaction, and the service request includes the user's intention, that is, which target scene (named as the business scene to be switched in this application) the user wants to switch from the current scene to, and then the first basic business data matching the business scene to be switched can be quickly read from the local cache area. The basic business data is equivalent to a general display template for a certain scene. When loading and displaying the first basic business data, the scene features and information need to be integrated into it to obtain the actual target business data. For example, the first basic business data read from the local cache area is a music player page, and the user requests to perform a service of playing song A. Then, the name of song A needs to be sent to the music application, and the scene features of song A, such as lyrics, singer information, track information, song duration, and audio data of the song, need to be obtained from the music application, and these contents are loaded and integrated into the music player, so that the user interface presents the actual playback page of song A without having to wait for the display device to start the music application and the process of obtaining the music player page data, thereby reducing the response time and delay of communication interaction with the server when switching business scenes, achieving fast and smooth switching of services, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 An operation scenario between a display device and a control device is exemplarily shown;
[0043] Figure 2 An exemplary hardware configuration block diagram of a control device 100 is shown;
[0044] Figure 3 The following is an exemplary block diagram of a hardware configuration of a display device 200;
[0045] Figure 4 An exemplary software configuration diagram in a display device 200 is shown;
[0046] Figure 5 Example 1 of a display device switching service scenario is exemplarily shown;
[0047] Figure 6 Example 2 of a display device switching service scenario is exemplarily shown;
[0048] Figure 7 Example 3 of the display device switching service scenario is exemplarily shown;
[0049] Figure 8 A flow chart of a service switching method is exemplarily shown;
[0050] Fig. 9 A UI schematic diagram showing a display device displaying first basic business data is exemplarily shown;
[0051] Fig.10 The schematic diagram of a UI showing target business data after the display device integrates the scene feature into the first basic business data is exemplarily shown;
[0052] Fig.11 The data distribution structure diagram of the local cache area is shown as an example;
[0053] Fig.12 A flowchart of another service switching method is exemplarily shown;
[0054] Fig.13 The cache logic of business data is exemplified. DETAILED DESCRIPTION
[0055] In order to make the purpose and implementation of the present application clearer, the exemplary implementation of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all of the embodiments. It should be noted that the brief description of the terms in this application is only for the convenience of understanding the implementation described below, and is not intended to limit the implementation of the present application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0056] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0057] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0058] The display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 2 This is a specific implementation of the display device of the present application.
[0059] Figure 1 FIG. 1 is a schematic diagram of an operation scenario between a display device and a control device according to an embodiment. Figure 1 As shown, the user can operate the display device 200 through the smart device 300 or the control apparatus 100 .
[0060] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, and the display device 200 is controlled wirelessly or wired. The user may control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, etc.
[0061] In some embodiments, a smart device 300 (such as a mobile terminal, a tablet computer, a computer, a laptop computer, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on the smart device.
[0062] In some embodiments, the display device may not use the above-mentioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
[0063] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.
[0064] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactions to the display device 200. The server 400 may be one cluster or multiple clusters, and may include one or more types of servers.
[0065] Figure 2 Schematically shows a block diagram of a configuration of the control device 100 according to an exemplary embodiment. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive input operation instructions from the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, playing the role of an interactive intermediary between the user and the display device 200.
[0066] like Figure 3 The display device 200 includes at least one of a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
[0067] In some embodiments, the controller 250 includes a processor, a video processor, an audio processor, a graphic processor, a RAM, a ROM, and first to nth interfaces for input / output.
[0068] The display 260 includes a display screen component for presenting images, a driving component for driving image display, a component for receiving image signals output from the controller, and a component for displaying video content, image content, and a menu control interface, as well as a user control UI interface. The display 260 can be a liquid crystal display, an OLED display, and a projection display, and can also be a projection device and a projection screen.
[0069] The communicator 220 is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
[0070] The user interface can be used to receive control signals from the control device 100 (such as an infrared remote controller, etc.).
[0071] The detector 230 is used to collect signals from the external environment or the external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of the ambient light (not shown in the figure); or, the detector 230 includes an image collector, such as a camera, which can be used to collect the external environment scene, the user's attributes or the user's interactive gestures, or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0072] The external device interface 240 may include, but is not limited to, any one or more of the following: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.
[0073] The tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0074] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0075] The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.
[0076] In some embodiments, the controller includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0077] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command through a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
[0078] "User interface" is the medium interface for interaction and information exchange between applications or operating systems and users. It realizes the conversion between the internal form of information and the form acceptable to users. The commonly used form of user interface is the Graphical User Interface (GUI), which refers to the user interface related to computer operation displayed in a graphical way. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.
[0079] See also Figure 4 In some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and the kernel layer.
[0080] In some embodiments, at least one application is running in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. provided by the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.
[0081] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.
[0082] like Figure 4As shown, in the embodiment of the present application, the application framework layer includes managers, content providers, etc., wherein the manager includes at least one of the following modules: an activity manager (ActivityManager) is used to interact with all activities running in the system; a location manager (Location Manager) is used to provide system services or applications with access to system location services; a package manager (Package Manager) is used to retrieve various information related to the application package currently installed on the device; a notification manager (NotificationManager) is used to control the display and clearing of notification messages; a window manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers, and desktop components on the user interface.
[0083] In some embodiments, the activity manager is used to manage the life cycle of each application and the common navigation back function, such as controlling the exit, opening, and back of the application. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes (for example, reducing the display window, shaking the display, distorting the display, etc.).
[0084] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0085] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0086] In some embodiments, for smart devices that are the same or similar to the aforementioned display device, some applications may be installed to allow users to enjoy the required business functions. The display device may have local built-in applications, which may include applications developed and provided to the brand device based on user and market needs by the brand, and the local built-in applications are not limited to business types such as film and television, music, karaoke, games, shopping and fitness. The display device communicates and interacts with the local server to execute the related business of the local built-in application.
[0087] In some embodiments, the display device may also install third-party applications, which are applications provided by partners. The display device may install third-party interfaces, and perform data interaction with the third-party server of the other end by calling the third-party interfaces, including sending data requests to the third-party server through the third-party interfaces, and receiving business data related to the third-party applications through the third-party interfaces. Users download and install third-party applications of interest through application stores and other paths. The third-party applications are not limited to business types such as video, music, karaoke, games, shopping, and social networking, where social networking can also be subdivided into business types such as chat, video / voice calls, and conferences.
[0088] In some embodiments, the user can input a business request through voice interaction. For example, the user says to the display device, "I want to listen to HAHA in XX Music." The display device collects the voice information and performs semantic analysis on the voice information to learn that the user's intention implies two aspects. On the one hand, it is to listen to a song named "HAHA," and on the other hand, the sound source of the song "HAHA" comes from the "XX Music" application. In response to the business request, the display device first starts the "XX Music" application, then starts the music player built by the application, and loads and displays the song title, lyrics, singer, song duration and other information of the song "HAHA" in the music player, as well as the audio data of the song "HAHA," thereby presenting a business scenario of playing the song "HAHA" in the "XX Music" application.
[0089] In some embodiments, the user can input the service request with the help of input devices such as a remote control, an electronic / physical keyboard, a mouse, etc., or if the display device supports touch screen capabilities, the user can also input the service request through touch operation. The display device recognizes the user's input instructions or touch screen operations, understands the user's intentions, and responds to the service request and converts the service scenario.
[0090] In some application scenarios, when a user uses a display device, the user often switches between business scenarios. Switching business scenarios is not limited to switching business types and switching business-related applications.
[0091] In some application scenarios, for switching service types, see Figure 5 For example, a user is currently watching movie A on TV and is interested in the theme song of movie A. The user can then speak to the TV in voice form to request "I want to listen to the theme song of movie A". After the TV analyzes the voice information and learns the user's intention, it responds to the service request and switches to the playback scene of the theme song, that is, the service type is switched from video to song. For another example, Figure 6 For example, when a user operates a game controller to play game B, the scene switches to the playback scene of the explanation / tutorial video of game B, that is, the service type switches from game to video. For another example, Figure 7 For example, when a user is watching TV series C and wants to know the plot and cast information of TV series C, the user switches to the encyclopedia page of TV series C, that is, the service type is switched from video to encyclopedia knowledge presented in the form of character text.
[0092] In some application scenarios, switching of service-related applications includes switching between local built-in applications, switching from local built-in applications to third-party applications, switching from third-party applications to local built-in applications, and switching between third-party applications. Each time a service scenario is switched, there is inevitably a response delay problem due to application or page jump, data request, data loading, page rendering and other links, resulting in slow service switching, long user waiting time, and affected user experience.
[0093] In some embodiments, in order to solve the above technical problems and improve the service switching speed, the present application provides a basic service data caching solution based on the relationship between services to achieve rapid response to service requests and rapid switching of service scenarios. Figure 8 The present application provides a service switching method, which is executed by a controller 250 of a display device and includes the following program steps:
[0094] Step S801: In response to a received service request, a service scenario to be switched indicated by the service request is parsed.
[0095] The user can input the service request through remote control, voice, keyboard, touch, etc. The display device recognizes the service request, analyzes the user's real intention, and determines the service scene to be switched. For example, the display device analyzes the service request to find that the user's intention is to watch movie S in the local built-in application A, then the service scene to be switched is the playback page of movie S in the local built-in application A.
[0096] Step S802: read first basic service data matching the service scenario to be switched from the local cache area.
[0097] The local cache area is a cache space reserved in the memory, which is used to pre-cache the basic business data associated with each business type based on the business association relationship predicted by the business association model. When a business request is received, data is read and displayed from the local cache area first, instead of directly requesting business data from the server. Therefore, the page jump and display speed of the business scene to be switched are faster.
[0098] The display device may train a business association model, which can predict and output the business association relationship, which is used to indicate which associated businesses each business type has and their association degree, for example, the associated businesses of business A include {business B, business D and business C}, where the association degree between business A and business B is 0.9, the association degree between business A and business D is 0.75, and the association degree between business A and business C is 0.5. The display device may pre-store basic business data associated with business A.
[0099] The basic business data associated with each business type is pre-stored in the local cache area of the display device. For example, business A is recommended videos, business B is popular TV series, business D is TV series theme songs, and business C is encyclopedia information. For business A, the basic business data related to business B, business D, and business C can be pre-cached. For example, the basic business data of business B is the search page for popular TV series, the basic business data of business D is the song playback page authorized by a third-party music application, and the basic business data of business D is character / text data stored in the encyclopedia.
[0100] Step S803: Integrate the scene characteristics of the to-be-switched business scene into the first basic business data to generate and display target business data.
[0101] Basic business data is equivalent to a general display template for a certain business type. For example, if the business type is music, its basic business data can be the initial page of the music player. Fig. 9 For example, the initial page of the music player defines the player style, controls, and layout, among which the controls are not limited to progress bar, play / pause control, song switching control (switch to the previous or next song), volume adjustment control, play mode (single loop, random play, sequential play, etc.), share control, download control, favorite control, speed adjustment control, etc. This is a common player template for all songs. For different tracks, the difference between the music players is that different song titles, singers, lyrics, song information (including lyrics, composers, copyright holders, producers, etc.) are displayed, and different audio data is loaded for playback.
[0102] Therefore, on the basis of the first basic business data, it is also necessary to integrate the scene features of the business scene to be switched, such as the specific song name, see Fig.10Take the example of , the service request input by the user's voice is "I want to listen to Shui Diao Ge Tou", the display device parses the voice information and obtains the scene feature of "Shui Diao Ge Tou", on the one hand, the display device reads the basic service data matching the service request from the local cache area, and the basic service data includes, for example, the initial page data of the music player, on the other hand, it is known that Shui Diao Ge Tou is the sound source provided by the third-party application XX Music, and the scene feature of "Shui Diao Ge Tou" is sent to the third-party server corresponding to XX Music, and the third-party server returns the song data including the lyrics, singer information, song information, audio resources, song background image, etc. of Shui Diao Ge Tou to the display device; the display device receives the song data, loads the page of the music player to display the song title, singer, lyrics, song information and background image of Shui Diao Ge Tou, and transmits the audio data of Shui Diao Ge Tou to the sound player for sound, thereby presenting Fig.10 In the business scenario of playing "Shui Diao Ge Tou" in the game, there is no need to wait for the display device to start the XX music application and obtain the process of music player page data from the third-party server. This reduces the response time and delay of communication and interaction with the server when switching business scenarios, and realizes fast and smooth switching of services.
[0103] In some embodiments, the third-party application's partners can formulate corresponding basic business data according to the business type of the application. For example, if the third-party application is a video application, the basic business data formulated by the partner is the video search page; if the third-party application is a music application, the basic business data formulated is the initial page of the music player, etc. The third-party partner can formulate the basic business data of the third-party application adaptively according to the business situation, and this application does not limit it.
[0104] In some embodiments, when users use third-party applications, they are generally required to perform permission verification. For example, when starting a third-party application for the first time, the page displays the terms of the agreement. Only after the user agrees to the agreement can he or she have the permission to use the third-party application. Therefore, when partners formulate the basic business data of the third-party application, they can also set cache and preloading permissions. The cache and preloading permissions refer to allowing the display device to cache basic business data in advance, and allowing basic business data to be preloaded directly from the local cache area when switching business scenarios, that is, skipping the permission verification link, thereby eliminating the problem of slow business switching caused by verifying business permissions.
[0105] In some embodiments, for the local built-in applications, their business data is owned and maintained by the brand, and does not need to be provided by a third party. Therefore, the display device can cache the business data of all business scenarios of all local built-in applications, that is, the basic business data of the local built-in applications has been embedded with the scene feature data when caching. For example, if a user enters a business request expressing the intention of "watching movie B" on the page of the local built-in application A, the display device can directly read the video player page of the local built-in application A and the video data of movie B from the local cache area, and load the video data of movie B in the video player, thereby switching to the business scenario of playing movie B. This embodiment can skip the data interaction between the display device and the local server, and the switching of business scenarios relies entirely on the data support of the local cache area. Therefore, when switching between local built-in applications and switching from third-party applications to local built-in applications, the business switching speed is faster.
[0106] In some embodiments, based on different business types and the relationship between businesses, the display device supports multi-form caching, such as but not limited to character data caching, business scenario caching, etc. Among them, character data caching includes caching interface data, common dictionary values, common reply information, encyclopedia knowledge, etc.; business scenario caching refers to caching pages of specific business scenarios, such as the quick operation page of music applications, the film source search page of video applications, etc. These pages can be cached and loaded in HTML form. When switching business scenarios, enter the page matching the business scenario, update the page according to the scene characteristics and parameters, and make the page adapt to the user's business request.
[0107] In some embodiments, for example, in the current business scenario, the user is watching TV series C. Based on the association between businesses, three types of caches are constructed. The first is the quick switching page of TV series C, the second is the quick jump page of the theme song / episode of TV series C, and the third is the encyclopedia information of TV series C. Among them, the first two belong to business scenario caches, and the third belongs to character data caches. Assuming that the business request input by the user is to listen to Episode 1 of TV series C, after the display device parses the user's intention, it obtains the scene feature as "Episode 1". If Episode 1 comes from the music library of the local built-in application, the quick jump page corresponding to "Episode 1" is directly read from the local cache area; if Episode 1 comes from the music library of a third-party application, the song name of "Episode 1" is sent to the corresponding third-party server. After receiving the song data returned by the third-party server, the song data of Episode 1 is loaded in the quick jump page.
[0108] In some embodiments, the local cache area stores basic business data corresponding to each business according to the business type; for a single business type, the basic business data corresponding to each related business can be stored in order according to the degree of relevance between the businesses. Fig.11As shown, the local cache area has multiple business types distributed vertically, and each row corresponds to the cache of one business type; each row has multiple related businesses distributed horizontally, and they are sorted from high to low according to the business relevance, and any column in each row caches the basic business data of one related business.
[0109] In some embodiments, reference Fig.11 In the local cache, a business identifier 111 may also be added to each basic business data. The business identifier 111 is used to indicate the application category and business type associated with the basic business data. Taking the basic business data 1_1 in the first row and the first column as an example, the business identifier of the basic business data 1_1 is, for example, Tencent Video, which indicates that the basic business data 1_1 is a video business, and the video comes from the third-party Tencent Video application.
[0110] In some embodiments, Fig.12 As shown, the present application also provides another service switching method, which includes the following procedural steps:
[0111] Step S121: In response to the received service request, the service scenario to be switched indicated by the service request is parsed.
[0112] Step S122: read first basic service data matching the service scenario to be switched from the local cache area.
[0113] Step S123, determining whether the first basic business data is read.
[0114] Due to the limited memory in the local cache area, the numerous possible business scenarios, and the need for the prediction accuracy of the business association model to be gradually optimized based on data, the local cache area may not be able to achieve comprehensive cache coverage of any business scenario. Therefore, after the display device parses the intent of the user's business request, it may not be able to read the matching first basic business data from the local cache area. If the first basic business data can be read, step S124 is executed; if the first basic business data matching the business scenario to be switched is not read from the local cache area, step S125 is executed.
[0115] Step S124, integrating the scene characteristics of the to-be-switched business scene into the first basic business data, and generating and displaying target business data.
[0116] Step S125, identifying the type of service application associated with the service scenario to be switched, wherein the type of service application includes a local built-in application and a third-party application.
[0117] Step S126, determining whether the service application type is a third-party application. If the service application type is a third-party application, executing step S127; if the service application type is a local built-in application, executing step S128.
[0118] Step S127: Immediately request the target service data matching the service scenario to be switched from the corresponding third-party server, and display the target service data.
[0119] Step S128: instantly requesting the local server for target service data matching the service scenario to be switched, and displaying the target service data.
[0120] Fig.12 In the embodiment, if the local cache area has basic business data that matches the current business request, the cache data is called and embedded in the business scene to be switched to achieve fast switching of the business; if the local cache area does not have cache data for the business scene to be switched, the original business switching processing logic is executed, that is, the display device requests the complete target business data from the server and loads it for display. Due to the different types of business applications, data requests need to be sent to different types of servers. All local built-in applications correspond to local servers uniformly, and one third-party application corresponds to one third-party server.
[0121] Based on the above embodiments, the training and prediction scheme of the business association model will be described in detail below. In some embodiments, before training the model, it is necessary to divide the business types, for example, into M business types, and define the business code corresponding to each business type. The business code can be written in the form of numbers, letters, numbers and letters, etc. The business code should meet the requirements of global uniqueness, that is, the business type and the business code are one-to-one corresponding, and multiple business types are not allowed to correspond to the same business code (i.e., many-to-one), nor is it allowed for one business type to correspond to multiple business codes (i.e., one-to-many); in addition, N training samples need to be prepared, and each training sample defines a business request, for example, training sample 1 is to watch video A, training sample 2 is to listen to song B, training sample 3 is to view popular information, etc.
[0122] In some embodiments, for each training sample, the accuracy of executing the service when locating M types of services in response to the service request defined by the training sample is calculated, which is named "matching degree" in this application, thereby obtaining M groups {Code i , K i-j}, where Code i is the service code of the ith service type, K i-j K is the matching degree corresponding to the jth training sample and the ith business type, i-jIt is used to characterize the accuracy of executing services when locating the i-th service type in response to the service request defined by the j-th training sample. i represents the serial number of the service type, j represents the serial number of the training sample, and M represents the total number of pre-divided service types, 1≤i≤M, 1≤j≤N. Then, for M groups {Code i , K i - j} are sorted and combined, for example, sorted in order of matching degree from high to low or from low to high, and the first matching degree set corresponding to the jth training sample is obtained as Aggregation j1 , a total of N first matching degree sets.
[0123] In some embodiments, the first matching degree set Aggregation corresponding to the training sample 1 11 For {Business 1, K 1-1 ; Business 2, K 2-1 ; Business 3, K 3-1 ;…;Business m, K m-1}, the first matching degree set Aggregation corresponding to training sample 2 21 For {Business 3, K 1-2 ; Business 1, K 2-2 ; Business 2, K 3-2 ;…;Business m, K m-2}, ..., the first matching degree set Aggregation corresponding to training sample n n1 For {Business 2, K 1-n ; Business 1, K 2-n ; Business 3, K 3-n ;…;Business m, K m-n Next, N first matching degree sets are used to construct the association relationship between services.
[0124] In some embodiments, the Aggregation j1 Perform threshold filtering to obtain the second matching degree set corresponding to the jth training sample as Aggregation j2 , a total of N second matching degree sets are obtained, wherein the second matching degree set includes Q j Group {Code w , K w-j}, K w-j Greater than the preset threshold, 1≤w≤Q j , 1≤Q j ≤M,Q j represents the number of business types included in the second matching degree set corresponding to the jth training sample. That is, the display device can set a preset threshold as a filtering benchmark and use Aggregationj1 The services with a matching degree less than or equal to the preset threshold are filtered out, and only the services with a matching degree higher than the preset threshold are retained to improve the accuracy of model prediction.
[0125] In some embodiments, take M=4, which is divided into four business types: business A, business B, business C, and business D. For example, the first matching degree set Aggregation corresponding to training sample 1 is 11 The first matching degree set Aggregation corresponding to training sample 2 is {Business A, 0.9; Business B, 0.8; Business C, 0.65; Business D, 0.5}. 21 is {Business A, 0.95; Business B, 0.8; Business C, 0.75; Business D, 0.65}. Assuming the preset threshold is 0.6, threshold filtering is performed to obtain the second matching degree set Aggregation corresponding to training sample 1 12 is {Business A, 0.9; Business B, 0.8; Business C, 0.65}, that is, Business D is filtered out, Q1 = 3; and the first matching degree set Aggregation corresponding to training sample 2 21 The matching degrees of the four services are all greater than the preset threshold, so all are retained, that is, Q2 = M = 4, and the second matching degree set Aggregation corresponding to training sample 2 22 It is {business A, 0.95; business B, 0.8; business C, 0.75; business D, 0.65}.
[0126] In some embodiments, after obtaining N second matching degree sets in this manner, the second matching degree sets Aggregation j2 The matching degree distribution between any two business types in the second matching degree set is calculated, and the correlation between any two business types is calculated, so that the related businesses of each business type are sorted and combined according to the correlation between the businesses to obtain the correlation relationship between the businesses. The matching degree distribution refers to the sorting order of the business matching degrees in the second matching degree set.
[0127] In some embodiments, the correlation between any two business types is calculated according to the following formula:
[0128]
[0129] In the above formula, S(x,y) is the correlation between any two service types x and y; Num(x,y) is the number of sets in the N second matching degree sets that include both service type x and service type y; S vk (x,y)=S v_k (x,y)+S k_v (x,y), S vk(x, y) is the statistical number of sets of N second matching degree sets whose matching degree distributions of service type x and service type y satisfy the combination relationship of the vth rank and the kth rank; S v_k (x, y) is the statistical number of sets in which the matching degree of service type x ranks in the vth order and the matching degree of service type y ranks in the kth order in N second matching degree sets; S k_v (x, y) is the number of sets of N second matching degree sets where the matching degree of service type x ranks in the kth order and the matching degree of service type y ranks in the vth order; W vk For S vk The weight corresponding to (x, y); where v and k represent the ranking order of any two business types x and y in the second matching degree set, 1≤v≤M, 1≤k≤M. Weight value W vk Adaptable allocation, this application does not make specific limitations.
[0130] In order to clearly describe the calculation method of the above formula, this application takes M=4, divided into four business types of business A, business B, business C and business D, and N=6 as an example, and the second matching degree set Aggregation corresponding to training sample 1 is 12 The second matching degree set Aggregation corresponding to training sample 2 is {Business A, 0.9; Business B, 0.8; Business C, 0.65}. 22 The second matching degree set Aggregation corresponding to training sample 3 is {Business A, 0.95; Business B, 0.8; Business D, 0.75; Business C, 0.65}. 32 The second matching degree set Aggregation corresponding to training sample 4 is {business C, 0.8; business A, 0.7; business D, 0.7}. 42 The second matching degree set Aggregation corresponding to training sample 5 is {business C, 0.9; business B, 0.78} 52 The second matching degree set Aggregation corresponding to training sample 6 is {Business B, 0.9; Business D, 0.75; Business A, 0.7}. 62 It is {Business B, 0.9}.
[0131] Take the calculation of the association degree S(A, B) between business A and business B as an example, where the second matching degree set of business A and business B appearing at the same time includes Aggregation 12 、Aggregation 22 and Aggregation 52, that is, Num(A, B)=3; the second matching degree set is sorted from high to low according to the matching degree. For v=1, k=2, the second matching degree set that satisfies business A in the first order and business B in the second order includes Aggregation 12 and Aggregation 22 , that is, S 1_2 (A, B) = 2, the second matching degree set that satisfies the second order of business A and the first order of business B does not exist, that is, S 2_1 (A, B) = 0, then S 12 (A, B) = S 1_2 (A,B)+S 2_1 (A, B) = 2; Similarly, for v = 1, k = 3, the second matching degree set that satisfies service A ranking in the first order + service B ranking in the third order does not exist, S 1_3 (A, B) = 0, the second matching degree set that satisfies business A in the third order and business B in the first order includes Aggregation 52 , that is, S 3_1 (A, B) = 1, then S 13 (A, B) = S 1_3 (A,B)+S 3_1 (A, B) = 1, and the other S vk (x, y) are all zero, then S(A, B) = [W 12 *S 12 (A,B)+W 13 *S 13 (A, B)] / Num(A, B), let W 12 =0.8,W 13 =0.2, then S(A, B)=0.6.
[0132] In some embodiments, the above formula can be used to calculate the association between any two business types, thereby constructing an association array corresponding to each business type, the association array includes M-1 business codes sorted according to the association between the businesses, and the association arrays of M business types constitute the business association relationship described in this application. Continuing with the above example, for the association between business A and business B is 0.6, the association between business A and business C is 0.33, and the association between business A and business D is 0.47, then the association array corresponding to business A is business A (business B, business D, business C), and the association can be used to characterize the possibility of the user switching business scene next. For example, the association between business A and business B is the highest, indicating that when the user is in the business A scene, the next step is most likely to switch to the business B scene, followed by the business C scene, and the possibility of switching from business A to business D is the lowest. A total of 4 association arrays corresponding to business A, business B, business C and business D constitute the business association relationship.
[0133] In some embodiments, the aforementioned associative array includes M-1 business codes, that is, it includes other business codes in addition to its own business code. For example, the associative array corresponding to business A does not include the code of business A. However, in actual applications, the correlation between the same business types is the highest. For example, if the current business scenario is to play the 01st episode of TV series C, then the play page of the 02nd episode of TV series C and other episodes has the highest correlation with the current business, which is obviously higher than the correlation between the play page of the theme song of TV series C and the encyclopedia information of TV series C and the current business. Therefore, the business code of the business can be added to the first position of the associative array corresponding to it. At this time, the associative array includes M business codes. For example, the associative array corresponding to business A can also be expressed as business A (business A, business B, business D, business C).
[0134] In some embodiments, after obtaining the association relationship between the services, the basic business data of the associated services of each business type can be cached. Considering that the M value is large, that is, when there are more business types, the amount of cached data is large, in order to reduce the memory pressure of the server and the display device, the cache quantity can be limited.
[0135] In some embodiments, a constraint parameter may be set, that is, a preset cache quantity G is set. The preset cache quantity G is a constraint parameter used to limit the cache quantity. After obtaining the association relationship between services, only the basic business data corresponding to the first G business codes with the highest association in each association array are cached in the local cache area. If the association array is sorted from high to low according to the degree of association, the basic business data corresponding to the G business codes sorted in the first G order will be cached, and the basic business data with relatively low association after the Gth order will not be cached. For example, the association array corresponding to business A is business A (business A, business B, business D, business C, business F, business E), and the preset cache quantity G is set to 4, then the basic business data of business A, business B, business D and business C are cached, and the basic business data of business F and business E are not cached, thereby achieving reasonable restrictions on the cache quantity and moderate preloading of services. The preset cache quantity G can be set adaptively.
[0136] In some embodiments, when data is cached, the first target business code associated with the local built-in application and the second target business code associated with the third-party application are screened out from the top G business codes with the highest association in each associative array. This is because the application categories associated with the business are different, and the basic business data to be cached comes from different servers. The business data of all local built-in applications comes from the local server, and the basic business data of each third-party application comes from the corresponding third-party server.
[0137] In some embodiments, the display device generates and sends a first data request to the local server according to the first target service code, and the first data request is used to instruct the local server to obtain local basic service data matching the first target service code; the display device receives the local basic service data sent by the local server, and caches the local basic service data in the local cache area. This embodiment implements caching of service data of local built-in applications based on the aforementioned moderate preloading mechanism.
[0138] In some embodiments, the display device generates and sends a second data request to a third-party server based on the second target business code. The second data request is used to instruct the third-party server to generate third-party basic business data that matches the second target business code, and to set cache and preload permissions for the third-party basic business data. After setting the permissions, the display device can cache the third-party basic business data, and when loading and displaying the third-party basic business data, there is no need to verify the application permissions. The display device receives the third-party basic business data sent by the third-party server, and caches the third-party basic business data in a local cache area. This embodiment implements caching of business data of third-party applications based on the aforementioned moderate preloading mechanism.
[0139] In some embodiments, for example, the associative array corresponding to business A is business A (business A, business B, business D, business C, business F, business E), and the preset cache quantity G is set to 4, then the basic business data of business A, business B, business D and business C are cached. Wherein, assuming that business A and business C are associated with the local built-in application, business B is associated with third-party application 1, and business D is associated with third-party application 2, then the display device requests the local server to obtain the business data of business A and business C and caches it; the display device requests the third-party server 1 corresponding to the third-party application 1 to obtain the business data of business B and caches it; the display device requests the third-party server 2 corresponding to the third-party application 2 to obtain the business data of business D and caches it.
[0140] Reference Fig.13 The example business data caching logic uses sample data to train the business association model. The business association model predicts and outputs the association relationship between businesses. The association relationship between businesses includes an association array corresponding to M types of business types. Then, the business data is cached in multiple forms based on a moderately preloaded constraint scheme, and finally the required basic business data is cached in the local cache area. In the early stage of training the business association model, the model is trained using sample data developed by the brand. After the display device is put into use, the user's real business requests can be sampled, and the business association model can be corrected and gradually optimized in combination with the user's behavior of switching business scenarios, so that the model accuracy improves with user use, improves the accuracy of predicting the user's next intention, improves the response speed of switching business scenarios, and achieves fast and smooth switching of services, thereby improving user experience.
[0141] The UI provided in this application is merely exemplary and does not constitute a limitation on actual business scenarios and their conversion processes. Due to the diversity and variability of business types and business scenarios, the applications associated with the business also have functional upgrades and data expansions. Therefore, the business data cached in the local cache area is not fixed, but can be dynamically updated according to the actual application scenario. For example, if a third-party application is upgraded, resulting in an update of its basic business data, the third-party server can add the updated basic business data A+ to the upgrade package and push the upgrade package to the display device; the display device receives the upgrade package, and when executing the upgrade program of the third-party application, it obtains the latest basic business data A+ from the upgrade package, and replaces the old basic business data A cached in the local cache area with the new basic business data A+. In addition, the business type may also change. For example, when a user installs or uninstalls an application, the business type may increase or decrease synchronously. Changes in the type and quantity of the business also affect the dynamic cache in the local cache area. For example, when the display device uninstalls a third-party application B, it is necessary to delete the basic business data of the third-party application B cached in the local cache area. For another example, after the display device installs a third-party application C, the business association model predicts that the business C provided by the third-party application C is highly associated with business A, then the basic business data of business C needs to be cached in the local cache area. The dynamic update mechanism and data cache form of the local cache area are not limited to the above examples.
[0142] In some embodiments, the present application further provides a computer storage medium, which may store a program. When the computer storage medium is located in a display device, the program may include the program steps of the service switching method configured by the aforementioned controller when the program is executed. Among them, the computer storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0143] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0144] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the content of this disclosure, so that those skilled in the art can better use the embodiments.
Claims
1. A display device, characterized in that: include: monitor; The controller is configured to execute: In response to the received service request, parsing the service scenario to be switched indicated by the service request; Reading first basic service data matching the service scenario to be switched from a local cache area; wherein the local cache area is used to pre-cache basic service data associated with each service type according to the service association relationship predicted by the service association model; Integrate the scene feature of the to-be-switched business scene into the first basic business data to generate target business data, and control the display to display the target business data; The controller is configured to train the business association model in the following manner: Obtain N training samples, each of which defines a business request; Calculate the first matching degree set corresponding to each training sample, wherein the first matching degree set includes M groups {Code i , K i-j }; Among them, Code i For the i The business code of the business type, K i-j To correspond to j training samples, i The matching degree of the business types, K i-j Used to characterize the response to j After the business request defined by the training sample, locate the i The accuracy of executing business when performing business types, i A serial number indicating the type of business. j represents the serial number of the training sample, M represents the total number of business types, 1≤ i ≤M,1≤ j ≤N; Establishing the business association relationship according to N first matching degree sets; The controller executes the step of building the inter-service association relationship according to N first matching degree sets, which is specifically configured as follows: Threshold filtering is performed on the N first matching degree sets respectively to obtain N second matching degree sets; the second matching degree sets include Q j Group {Code w , K w-j }, K w-j Greater than the preset threshold, 1≤ w ≤Q j , 1≤Q j ≤M,Q j Indicates j The number of business types included in the second matching degree set corresponding to the training samples; According to the matching degree distribution between any two business types in each second matching degree set, the correlation degree between any two business types is calculated according to the following formula; ; In the above formula, For any two business types x and business type y The degree of correlation between The N second matching degree sets include both business types x and business type y The number of aggregate statistics; , For the N second matching degree sets, the business type x and business type y The matching degree distribution satisfies the v Order and No. k The number of set statistics of ordinal combination relations; is the business type in the N second matching degree sets x The matching degree ranks first v Rank, business type y The matching degree ranks first k The number of set statistics of ordinal positions; is the business type in the N second matching degree sets x The matching degree ranks first k Rank, business type y The matching degree ranks first v The number of set statistics of ordinal positions; for The corresponding weights; among them, v and k Represents any two business types x and business type y The sorting order in the second matching degree set, 1≤ v ≤M,1≤ k ≤M; According to the degree of association between the services, the associated services of each service type are sorted and combined to obtain the association relationship between the services.
2. The display device according to claim 1, characterized in that The association relationship between services predicted by the association model includes an association array corresponding to M types of services, and the association array includes M-1 service codes sorted according to the degree of association between services.
3. The display device according to claim 2, characterized in that The controller is also configured to execute: After the association relationship between the services is obtained, only the basic business data corresponding to the first G business codes with the highest association in each association array are cached in the local cache area, where G is a preset cache quantity.
4. The display device according to claim 1 or 3, characterized in that: The display device further includes a communicator, which is used to communicate with a local server, and the controller is further configured to execute: From the first G business codes with the highest association degree in each association array, select the first target business code associated with the local built-in application; Generate, according to the first target service code, and send a first data request to the local server; The first data request is used to instruct the local server to obtain local basic service data matching the first target service code; The local basic business data sent by the local server is received, and the local basic business data is cached in the local cache area.
5. The display device according to claim 4, characterized in that The communicator is also used to communicate with a third-party server, and the controller is also configured to execute: Selecting a second target business code associated with a third-party application from the top G business codes with the highest degree of association in each association array; According to the second target business code, a second data request is generated and sent to the third-party server; the second data request is used to instruct the third-party server to generate third-party basic business data matching the second target business code, and set cache and preload permissions for the third-party basic business data; The third-party basic business data sent by the third-party server is received, and the third-party basic business data is cached in the local cache area.
6. The display device according to claim 5, characterized in that The controller is also configured to execute: If the first basic service data matching the service scenario to be switched is not read from the local cache area, identifying the service application type associated with the service scenario to be switched; If the service application type is a local built-in application, immediately requesting the local server for target service data matching the service scenario to be switched; If the service application type is a third-party application, a corresponding third-party server is immediately requested for target service data matching the service scenario to be switched.
7. A service switching method, characterized in that: The method comprises: In response to the received service request, parsing the service scenario to be switched indicated by the service request; Reading first basic service data matching the service scenario to be switched from a local cache area; wherein the local cache area is used to pre-cache basic service data associated with each service type according to the service association relationship predicted by the service association model; Integrate the scene characteristics of the to-be-switched business scene into the first basic business data, and generate and display target business data; The controller is configured to train the business association model in the following manner: Obtain N training samples, each of which defines a business request; Calculate the first matching degree set corresponding to each training sample, wherein the first matching degree set includes M groups {Code i , K i-j }; Among them, Code i For the i The business code of the business type, K i-j To correspond to j training samples, i The matching degree of the business types, K i-j Used to characterize the response to j After the business request defined by the training sample, locate the i The accuracy of executing business when performing business types, i A serial number indicating the type of business. j represents the serial number of the training sample, M represents the total number of business types, 1≤ i ≤M,1≤ j ≤N; Constructing the business association relationship according to the N first matching degree sets; The controller executes the step of building the inter-service association relationship according to N first matching degree sets, which is specifically configured as follows: Threshold filtering is performed on the N first matching degree sets respectively to obtain N second matching degree sets; the second matching degree sets include Q j Group {Code w , K w-j }, K w-j Greater than the preset threshold, 1≤ w ≤Q j , 1≤Q j ≤M,Q j Indicates j The number of business types included in the second matching degree set corresponding to the training samples; According to the matching degree distribution between any two business types in each second matching degree set, the correlation degree between any two business types is calculated according to the following formula; ; In the above formula, For any two business types x and business type y The degree of correlation between The N second matching degree sets include both business types x and business type y The number of aggregate statistics; , For the N second matching degree sets, the business type x and business type y The matching degree distribution satisfies the v Order and No. k The number of set statistics of ordinal combination relations; is the business type in the N second matching degree sets x The matching degree ranks first v Rank, business type y The matching degree ranks first k The number of set statistics of ordinal positions; is the business type in the N second matching degree sets x The matching degree ranks first k Rank, business type y The matching degree ranks first v The number of set statistics of ordinal positions; for The corresponding weights; among them, v and k Represents any two business types x and business type y The sorting order in the second matching degree set, 1≤ v ≤M,1≤ k ≤M; According to the correlation between the services, the related services of each service type are sorted and combined to obtain the correlation relationship between the services.
Citation Information
Patent Citations
Service fault positioning method, device, computer equipment and storage medium
CN108833184A
Method, apparatus and system for processing service request
WO2010130079A1