CN116909642A - Service separation method, device and equipment for starting page component and storage medium - Google Patents

Service separation method, device and equipment for starting page component and storage medium Download PDF

Info

Publication number
CN116909642A
CN116909642A CN202310756660.1A CN202310756660A CN116909642A CN 116909642 A CN116909642 A CN 116909642A CN 202310756660 A CN202310756660 A CN 202310756660A CN 116909642 A CN116909642 A CN 116909642A
Authority
CN
China
Prior art keywords
service
component
event
page
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310756660.1A
Other languages
Chinese (zh)
Inventor
冷吉成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuxiang Technology Hangzhou Co ltd
Original Assignee
Yuxiang Technology Hangzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yuxiang Technology Hangzhou Co ltd filed Critical Yuxiang Technology Hangzhou Co ltd
Priority to CN202310756660.1A priority Critical patent/CN116909642A/en
Publication of CN116909642A publication Critical patent/CN116909642A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a service separation method, a device, equipment and a computer readable storage medium for a startup page component. And monitoring initialization operation data of the starting graph component through an event bus, and constructing a service component according to service data resources and executing service operation when a service triggering event is monitored. Therefore, the broadcasting function of the event bus is utilized to transmit the data of the service in a broadcasting mode, so that the service coupling degree is solved, the multiplexing capability of the components is enhanced, the multi-platform operation of service codes is realized, the repeated operation of service development is reduced, and the service execution efficiency is improved.

Description

Service separation method, device and equipment for starting page component and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a service separation method, apparatus, device, and computer readable storage medium for a start page component.
Background
The App launch page refers to the page or animation that the user first sees after launching the App application. In addition, apple authorities have their own description of the start page, which is considered to be for enhancing the perception of APP software by users, and at the same time, the start page of APP is also described for ensuring smooth use by users. In an APP, the launch page can play more roles. Such as: the brand information is transmitted, the user experience is enhanced, emotion resonance is deepened, and apps and the like are merged as soon as possible;
the start page of the APP corresponds to one of the enterprise's portals, representing the enterprise's image. Every time the user opens the app, the name and picture in the launch page are emphasized once in the user's mind, giving the user a profound record. It can be said that the start page of the APP is quite important.
Now the role of the start page is richer, he has now become an important window for the company operation department, and the preference of the user and the preheating result of the earlier stage of the product can be judged and screened through the click event on the start page and the trigger time of the skip button.
In the original field (ios+android), to implement the function of starting a page, additional writing of service codes is needed in addition to configuration of the starting graphs, and the same function needs to write two codes, so that manpower is wasted, and a difference exists in vision.
In the field of flutter, data transfer between components is quite troublesome, and in general, the components are strongly bound with the service and cannot be completely separated from the service, if the components are used in other projects, service codes are stripped first, and then new service is written in, so that time and labor are wasted.
Therefore, how to realize the service separation of the components to improve the service execution efficiency becomes a technical problem to be solved.
Disclosure of Invention
The application mainly aims to provide a service separation method, device and equipment for a start page component and a computer readable storage medium, aiming at realizing service separation of the component and improving service execution efficiency.
In order to achieve the above object, the present application provides a service separation method for a start page assembly, the service separation method for a start page assembly including:
when the application software starts and executes the initialization operation of a starting diagram component, asynchronously acquiring service data resources;
when the service data resource acquisition is completed, monitoring initialization operation data of the starting diagram component based on an event bus;
and when the service triggering event exists in the initialization operation data of the starting diagram component, constructing a service component based on the service data resource so as to execute the service operation corresponding to the service triggering event.
Further, the event bus is EventBus.
Further, after asynchronously acquiring the service data resource when the application software starts and executes the initialization operation of the start-up diagram component, the method includes:
a message issuing module based on the event bus issues a data acquisition message to the starting diagram component;
and monitoring the acquisition event of the service data resource based on the data acquisition message and an event monitoring module of the event bus.
Further, when the service data resource acquisition is completed, based on an event bus, monitoring the initialization operation data of the startup graph component, including:
when the event monitoring module monitors that the service data resource acquisition is completed, a reminding message is sent to the starting diagram component;
starting a counter based on the reminding message to count down;
and in the counter countdown stage, based on the event monitoring module, monitoring the initialization operation data of the starting graph component.
Further, after the event monitoring module monitors that the service data resource acquisition is completed, the method further includes:
and rendering the starting diagram component based on the service data resource when the starting diagram component receives the reminding message so as to realize the switching of the display pages.
Further, in the counter countdown stage, after the event monitoring module monitors the initialization operation data of the startup graph component, the method further includes:
when the timer is finished and the event monitoring module does not monitor that a service triggering event exists in the initialization operation data of the starting graph component, acquiring a page path in the initialization operation process of the starting graph component;
and jumping to a target page based on the page path.
Further, in the counter countdown stage, after the event monitoring module monitors the initialization operation data of the startup graph component, the method further includes:
when the counter counts down in the counting down stage and the event monitoring module monitors a counting down skip event, acquiring a page path in the initialization operation process of the starting diagram component;
and jumping to a target page based on the page path.
In addition, in order to achieve the above object, the present application also provides a service separation device for a start page assembly, the service separation device for a start page assembly comprising:
the service data resource acquisition module is used for asynchronously acquiring service data resources when the application software starts and executes the initialization operation of the starting diagram component;
the event monitoring module is used for monitoring the initialization operation data of the starting graph component based on an event bus when the service data resource acquisition is completed;
and the service separation and execution module is used for constructing a service component based on the service data resource when the service triggering event exists in the initialization operation data of the starting graph component so as to execute the service operation corresponding to the service triggering event.
In addition, to achieve the above object, the present application also provides a computer apparatus including a processor, a memory, and a service separation program of a start-up page component stored on the memory and executable by the processor, wherein the service separation program of the start-up page component, when executed by the processor, implements the steps of the service separation method of the start-up page component as described above.
In addition, in order to achieve the above object, the present application also provides a computer readable storage medium having stored thereon a service separation program of a start page assembly, wherein the service separation program of the start page assembly, when executed by a processor, implements the steps of the service separation method of the start page assembly as described above.
The application provides a business separation method of a starting page component, which asynchronously acquires business data resources when application software starts and executes initialization operation of a starting diagram component; when the service data resource acquisition is completed, monitoring initialization operation data of the starting diagram component based on an event bus; and when the service triggering event exists in the initialization operation data of the starting diagram component, constructing a service component based on the service data resource so as to execute the service operation corresponding to the service triggering event. By the method, when the application software starts and executes the initialization operation of the starting diagram component, the service data resource is acquired by an asynchronous method. And monitoring initialization operation data of the starting graph component through an event bus, and constructing a service component according to service data resources and executing service operation when a service triggering event is monitored. Therefore, the broadcasting function of the event bus is utilized to transmit the data of the service in a broadcasting mode, so that the service coupling degree is solved, the multiplexing capability of the components is enhanced, the multi-platform operation of service codes is realized, the repeated operation of service development is reduced, and the service execution efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present application;
FIG. 2 is a flowchart of a first embodiment of a service separation method for a start page component according to the present application;
FIG. 3 is a schematic diagram of a component thread business process of a method for service separation of a start page component according to the present application;
fig. 4 is a schematic functional block diagram of a first embodiment of a service separation device of the start page assembly of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The service separation method of the start page component related to the embodiment of the application is mainly applied to computer equipment, and the computer equipment can be PC, portable computer, mobile terminal and other equipment with display and processing functions.
Referring to fig. 1, fig. 1 is a schematic hardware structure of a computer device according to an embodiment of the present application. In an embodiment of the application, the computer device may include a processor 1001 (e.g., CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communications between these components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may alternatively be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware architecture shown in fig. 1 is not limiting of the computer device, and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
With continued reference to FIG. 1, the memory 1005 in FIG. 1, which is a computer readable storage medium, may include an operating system, a network communication module, and a service detach program that initiates a page component.
In fig. 1, the network communication module is mainly used for connecting with a server and performing data communication with the server; and the processor 1001 may call the service separation program of the start page component stored in the memory 1005 and execute the service separation method of the start page component provided in the embodiment of the present application.
The embodiment of the application provides a service separation method for a start page component.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a service separation method of a start page component according to the present application.
In this embodiment, the service separation method of the start page component includes the following steps:
step S10, asynchronously acquiring service data resources when application software starts and executes initialization operation of a starting diagram component;
in one embodiment, the launch graph component is initialized when the app is launched, and the data resources are obtained from the service side at the main thread by an asynchronous method.
In practical development, it is very common to execute a network after entering a page to request to load data and display, and at this time, we will generally display loading until the loading is completed to display a normal page. In flutter, an asynchronous request may be initiated in the initState, then the request result is assigned to data, and the setState refreshes the page.
It will be appreciated that Flutter asynchrony is essentially equivalent to Dart's asynchrony programming in nature, although the Flutter framework has some encapsulation of asynchrony.
In other words, the order in which operations are executed is not necessarily strict. For example, operations a, B, and C do not depend on the relationship, and it is irrelevant which is executed first, and then the execution is finished first.
In one embodiment, dart is single threaded, meaning that Dart can only perform one operation at a time, then other operations are one after the other, and as long as one operation is executing, it cannot be interrupted by any other operation.
In one embodiment, dart supports single-threaded non-blocking asynchronization, behind which is the driving of Dart's event loop (EventLoop).
Illustratively, when a Dart application or Fluter application is started, a new Thread (not called Thread in Dart, but isolate) will be created and started, which will be the main Thread of the entire application. So when this thread is created, dart will automatically perform the following steps:
1) Initializing two queues, namely an event queue and a micro task queue;
2) Executing a main method;
3) An event loop EventLoop is started.
Step S20, monitoring initialization operation data of the starting graph component based on an event bus when the service data resource acquisition is completed;
in one embodiment, the event bus is EventBus.
In one embodiment, the messaging preceding the component in the router is typically a child parent or parent child. If it is troublesome to transfer data and update pages between two unrelated components, eventBus is a global event bus, and the bottom layer is realized by Stream; the method can realize cross-layer access of different pages, and realize state sharing among different widgets through a Stream mechanism.
In one embodiment, eventBus is also known as an event bus. EventBus can be used in Vue as a concept of communication bridge, as if all components share the same event center, and send events or receive events can be registered with the center, so that components can notify other components in parallel up and down.
Further, after asynchronously acquiring the service data resource when the application software starts and executes the initialization operation of the start-up diagram component, the method includes: a message issuing module based on the event bus issues a data acquisition message to the starting diagram component; and monitoring the acquisition event of the service data resource based on the data acquisition message and an event monitoring module of the event bus.
In one embodiment, the eventBus issues a message to the callee through the fire () method, and the callee listens to the message through the listen () party of the eventBus in the initialization method, and after receiving the message, the service logic can be implemented.
In one embodiment, as shown in fig. 3, the start-up graph component is initialized when the app starts, and data resources are obtained from the service side at the main thread through an asynchronous method. The main thread sends a message to the starting graph component through an event distribution EventBus.fire () method, and the starting graph component acquires current data through event monitoring EventBus.on (). Listen (). A counter is then started and the page is re-rendered to reach the switch of the static graph.
And step S30, when the service triggering event exists in the initialization operation data of the starting diagram component, constructing a service component based on the service data resource so as to execute the service operation corresponding to the service triggering event.
By way of example, a network request may be issued by clicking a router button and the result of the network request may be taken. First, when the Flutter application is running, flutter will draw the RaisedButton button on the screen, where EventLoop may be in idle phase or processing other events.
Then, the created button waits for the user to click to trigger, when the user clicks the RaisedButton at the moment, a Tap event enters an event queue at the moment until the event is processed by EventLoop, when the event is processed by EventLoop, the rendering system of the Flutter can recognize that the gesture click coordinate just falls into the RaisedButton coordinate range, at the moment, the Flutter can execute the onPress method, and at the moment, the Tap is discarded after the processing is finished.
Then, the onPressed method initiates a network request and returns a Future, and uses the method to register callback interception after the Future is completed, so that we will also add the Future to the event queue (EventQueue) finally, and understand that the Future is waiting for network data and belongs to a specific event until the network data arrives, at this time, a specific event enters the event queue (EventQueue) and finally will be processed by EventLoop.
Finally, after the Future is completed, the corresponding callback method is triggered, and the normal response is returned.
Further, when the event monitoring module monitors that the service data resource acquisition is completed, a reminding message is sent to the starting diagram component; starting a counter based on the reminding message to count down; and in the counter countdown stage, based on the event monitoring module, monitoring the initialization operation data of the starting graph component.
In one embodiment, when the completion of the acquisition of the service data resource is monitored, the graph component is started to start a counter, the countdown is started, and then during the countdown process, an event in the graph component is monitored through the event monitoring module.
In one embodiment, the duration of the countdown may be determined based on the page type of the current launch graph component. For example, the countdown time length of the static picture type can be set to be shorter, so that aesthetic fatigue of a user is avoided, and the waiting time length is too long. The countdown duration of the video type may be set longer to provide the user with a complete dynamic video presentation for the user to impress and learn.
Further, when the starting diagram component receives the reminding message, rendering the starting diagram component based on the service data resource so as to realize switching of display pages.
In an embodiment, when the startup graph component receives the message of completion of service data resource acquisition, the startup graph component is re-rendered according to the service data resource to achieve the switching of the static graph.
As will be appreciated, initial rendering refers to when a component first appears on the screen; re-rendering refers to the second and any successive rendering of components already on the screen. Re-rendering occurs when a component needs to update an application with some new data. Typically, this occurs due to a user interacting with an application or some external data entered through an asynchronous request or some subscription model.
Further, when the timer is finished and the event monitoring module does not monitor that a service triggering event exists in the initialization operation data of the startup graph component, acquiring a page path in the initialization operation process of the startup graph component; and jumping to a target page based on the page path.
Further, in the counter countdown stage, when the event monitoring module monitors a countdown skip event, a page path in the initialization operation process of the starting diagram component is obtained; and jumping to a target page based on the page path.
In one embodiment, when the countdown is 0 or the user directly clicks the skip button, the starting component directly jumps to the designated page through the page path transmitted during initialization, and when clicking any position of the picture in the countdown, the component will call back the current event to the service party, so that the service party can perform corresponding operation according to own service requirements.
The application provides a service separation method of a start page component, which obtains service data resources through an asynchronous method when application software starts and executes initialization operation of a start diagram component. And monitoring initialization operation data of the starting graph component through an event bus, and constructing a service component according to service data resources and executing service operation when a service triggering event is monitored. Therefore, the broadcasting function of the event bus is utilized to transmit the data of the service in a broadcasting mode, so that the service coupling degree is solved, the multiplexing capability of the components is enhanced, the multi-platform operation of service codes is realized, the repeated operation of service development is reduced, and the service execution efficiency is improved.
In addition, the embodiment of the application also provides a service separation device for the starting page component.
Referring to fig. 4, fig. 4 is a schematic functional block diagram of a first embodiment of a service separation device of a start page assembly according to the present application.
In this embodiment, the service separation device of the start page component includes:
the service data resource obtaining module 10 is configured to asynchronously obtain service data resources when the application software starts and executes an initialization operation of a startup graph component;
the event monitoring module 20 is configured to monitor, based on an event bus, initialization operation data of the startup graph component when the service data resource acquisition is completed;
and the service separation and execution module 30 is configured to construct a service component based on the service data resource when a service trigger event exists in the initialization operation data of the startup graph component, so as to execute a service operation corresponding to the service trigger event.
Further, the body image conversion module 20 specifically includes:
further, the event bus is EventBus.
Further, the event monitoring module 20 is further configured to issue a data acquisition message to the startup graph component based on a message issue module of the event bus; and monitoring the acquisition event of the service data resource based on the data acquisition message and an event monitoring module of the event bus.
Further, the event monitoring module 20 is further configured to send a reminder message to the startup graph component when the event monitoring module monitors that the service data resource acquisition is completed; starting a counter based on the reminding message to count down; and in the counter countdown stage, based on the event monitoring module, monitoring the initialization operation data of the starting graph component.
Further, the service separation device of the starting page component further comprises a page re-rendering module, which is used for rendering the starting page component based on the service data resource when the starting page component receives the reminding message, so as to realize the switching of the display page.
Further, the service separation device of the starting page component further comprises a page jump module, which is used for acquiring a page path in the initializing operation process of the starting page component when the timer is ended and the event monitoring module does not monitor that a service trigger event exists in the initializing operation data of the starting page component; and jumping to a target page based on the page path.
Further, the page skip module is further configured to obtain a page path in the initialization operation process of the startup graph component when the counter counts down and the event monitoring module monitors a count down skip event; and jumping to a target page based on the page path.
The modules in the service separation device of the start page assembly correspond to the steps in the service separation method embodiment of the start page assembly, and the functions and implementation processes of the modules are not described in detail herein.
In addition, the embodiment of the application also provides a computer readable storage medium.
The application stores the service separation program of the starting page component on the computer readable storage medium, wherein the service separation program of the starting page component is executed by the processor to realize the steps of the service separation method of the starting page component.
The method implemented when the service separation program of the start page component is executed may refer to various embodiments of the service separation method of the start page component of the present application, which are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The application is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The service separation method of the start page component is characterized by comprising the following steps of:
when the application software starts and executes the initialization operation of a starting diagram component, asynchronously acquiring service data resources;
when the service data resource acquisition is completed, monitoring initialization operation data of the starting diagram component based on an event bus;
and when the service triggering event exists in the initialization operation data of the starting diagram component, constructing a service component based on the service data resource so as to execute the service operation corresponding to the service triggering event.
2. The service separation method of the start page component of claim 1, wherein the event bus is EventBus.
3. The service separation method of the start page component according to claim 1, wherein after asynchronously acquiring the service data resources when the application software starts and executes the initialization operation of the start page component, the method comprises:
a message issuing module based on the event bus issues a data acquisition message to the starting diagram component;
and monitoring the acquisition event of the service data resource based on the data acquisition message and an event monitoring module of the event bus.
4. The service separation method of the boot page component according to claim 3, wherein monitoring the initialization operation data of the boot page component based on an event bus when the service data resource acquisition is completed comprises:
when the event monitoring module monitors that the service data resource acquisition is completed, a reminding message is sent to the starting diagram component;
starting a counter based on the reminding message to count down;
and in the counter countdown stage, based on the event monitoring module, monitoring the initialization operation data of the starting graph component.
5. The service separation method of the start page component according to claim 4, wherein after the event monitoring module monitors that the service data resource acquisition is completed, the method further comprises:
and rendering the starting diagram component based on the service data resource when the starting diagram component receives the reminding message so as to realize the switching of the display pages.
6. The traffic separation method of a startup page component according to claim 4, wherein after listening for initialization operation data of the startup graph component based on the event listening module in the counter countdown phase, further comprising:
when the timer is finished and the event monitoring module does not monitor that a service triggering event exists in the initialization operation data of the starting graph component, acquiring a page path in the initialization operation process of the starting graph component;
and jumping to a target page based on the page path.
7. The traffic separation method of a startup page component according to claim 4, wherein after listening for initialization operation data of the startup graph component based on the event listening module in the counter countdown phase, further comprising:
when the counter counts down in the counting down stage and the event monitoring module monitors a counting down skip event, acquiring a page path in the initialization operation process of the starting diagram component;
and jumping to a target page based on the page path.
8. A service separation device of a start page assembly, the service separation device of the start page assembly comprising:
the service data resource acquisition module is used for asynchronously acquiring service data resources when the application software starts and executes the initialization operation of the starting diagram component;
the event monitoring module is used for monitoring the initialization operation data of the starting graph component based on an event bus when the service data resource acquisition is completed;
and the service separation and execution module is used for constructing a service component based on the service data resource when the service triggering event exists in the initialization operation data of the starting graph component so as to execute the service operation corresponding to the service triggering event.
9. A computer device comprising a processor, a memory, and a service separation program of a start-up page component stored on the memory and executable by the processor, wherein the service separation program of the start-up page component, when executed by the processor, implements the steps of the service separation method of a start-up page component according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a service separation program of a start-up page component is stored on the computer-readable storage medium, wherein the service separation program of the start-up page component, when executed by a processor, implements the steps of the service separation method of a start-up page component according to any one of claims 1 to 7.
CN202310756660.1A 2023-06-26 2023-06-26 Service separation method, device and equipment for starting page component and storage medium Pending CN116909642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310756660.1A CN116909642A (en) 2023-06-26 2023-06-26 Service separation method, device and equipment for starting page component and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310756660.1A CN116909642A (en) 2023-06-26 2023-06-26 Service separation method, device and equipment for starting page component and storage medium

Publications (1)

Publication Number Publication Date
CN116909642A true CN116909642A (en) 2023-10-20

Family

ID=88352103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310756660.1A Pending CN116909642A (en) 2023-06-26 2023-06-26 Service separation method, device and equipment for starting page component and storage medium

Country Status (1)

Country Link
CN (1) CN116909642A (en)

Similar Documents

Publication Publication Date Title
WO2015176448A1 (en) Method and apparatus for intelligent screen splitting of terminal
CN109308241B (en) Method and device for monitoring starting process of application program, terminal equipment and storage medium
US9170842B2 (en) Information processing terminal and resource release method
CN109783427B (en) Method, server and system for realizing linked schedule reminding
CN109656445B (en) Content processing method, device, terminal and storage medium
US11314391B2 (en) Navigation bar controlling method and terminal
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN110955499A (en) Processor core configuration method, device, terminal and storage medium
WO2019047183A1 (en) Key display method, apparatus, and terminal
CN107391274B (en) Offline message processing method and device
CN115562744A (en) Application program loading method and electronic equipment
CN113641320B (en) Method and device for sharing screen of Linux compatible with Android
CN114286167A (en) Cross-device interaction method and device, electronic device and storage medium
CN111107147B (en) Message pushing method and device
US20210064394A1 (en) Information display method, terminal and storage medium
CN113194200A (en) Message display method and device and electronic equipment
CN108600838B (en) Information source switching method and device for Android television, Android television and readable storage medium
CN116909642A (en) Service separation method, device and equipment for starting page component and storage medium
CN108289056B (en) Method and device for sharing dynamic chart and computing equipment
CN108632069B (en) Client configuration method, system and related equipment
CN111766992B (en) Information display method and device, electronic equipment and storage medium
CN114237851A (en) Timed task execution method, timed task execution device, timed task execution equipment and timed task execution storage medium
CN113568748A (en) Application process processing method and device, storage medium and electronic equipment
CN107678737B (en) Service processing method and device and self-service terminal equipment
CN109714474B (en) Content copying method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination