CN117290074A - Method, device, equipment and medium for setting process in vehicle type configuration - Google Patents

Method, device, equipment and medium for setting process in vehicle type configuration Download PDF

Info

Publication number
CN117290074A
CN117290074A CN202311573674.6A CN202311573674A CN117290074A CN 117290074 A CN117290074 A CN 117290074A CN 202311573674 A CN202311573674 A CN 202311573674A CN 117290074 A CN117290074 A CN 117290074A
Authority
CN
China
Prior art keywords
target
function group
reference count
determining
started
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.)
Granted
Application number
CN202311573674.6A
Other languages
Chinese (zh)
Other versions
CN117290074B (en
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.)
Imotion Automotive Technology Suzhou Co Ltd
Original Assignee
Imotion Automotive Technology Suzhou 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 Imotion Automotive Technology Suzhou Co Ltd filed Critical Imotion Automotive Technology Suzhou Co Ltd
Priority to CN202311573674.6A priority Critical patent/CN117290074B/en
Publication of CN117290074A publication Critical patent/CN117290074A/en
Application granted granted Critical
Publication of CN117290074B publication Critical patent/CN117290074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • 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/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Feedback Control In General (AREA)

Abstract

The application discloses a process setting method, device, equipment and medium in vehicle type configuration, which relate to the technical field of vehicle configuration and comprise the following steps: determining a target vehicle type which is expected to be configured currently, adjusting current reference counts of corresponding function groups based on a first function group set pair corresponding to the target vehicle type, and determining a first/second target function group to be started and to be stopped currently based on the adjusted reference counts; determining a first process set and a corresponding first process dependency relationship on which a first target function group depends, and starting the first process set and the first target function group in sequence based on the first process dependency relationship and a first reference count rule; and determining a second process set on which the second target function group depends and a corresponding second process dependency relationship, and sequentially disabling the second target function group and the second process set based on the second process dependency relationship and a second reference count rule. And the management from the vehicle model to the functional group to the process is realized according to the dependency relationship, and the corresponding process is started according to different vehicle models.

Description

Method, device, equipment and medium for setting process in vehicle type configuration
Technical Field
The present invention relates to the field of vehicle configuration technologies, and in particular, to a method, an apparatus, a device, and a medium for setting a process in vehicle type configuration.
Background
The autopilot middleware needs to support the launching of different functional groups or the importation of different settings to the process depending on the customer's different model configurations. At present, a strategy supported by an operating system running with an automatic driving middleware is mainly relied on, a shell script or a simple program is used for starting a process, stable realization of a dependency relationship from a vehicle type to a functional group to the process is lacking, feedback information is lacking in the starting process of the process and the functional group, and a management program cannot acquire an execution result, so that the integrity of starting of the functions of the vehicle type cannot be ensured.
In summary, how to manage from the vehicle model to the functional group to the process according to the dependency relationship, so as to start the corresponding process according to different vehicle models, and ensure the integrity of the function start of the vehicle model is a problem to be solved at present.
Disclosure of Invention
In view of the above, the present invention aims to provide a method, an apparatus, a device, and a medium for setting a process in vehicle type configuration, which can manage from a vehicle type to a functional group to a process according to a dependency relationship, so as to start a corresponding process according to different vehicle types, and ensure the integrity of starting the vehicle type functions. The specific scheme is as follows:
In a first aspect, the present application discloses a process setting method in vehicle type configuration, including:
determining a target vehicle type which is expected to be configured currently, and adjusting the current reference count of a corresponding function group based on a first function group set corresponding to the target vehicle type to obtain an adjusted reference count;
determining a first target function group to be started currently and a second target function group to be stopped currently respectively based on the adjusted reference count;
determining a first process set on which the first target function group depends, determining a first process dependency relationship corresponding to the first process set, sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference count rule, and starting the first target function group after each first target process is started;
determining a second process set on which the second target function group depends and determining a second process dependency corresponding to the second process set, so as to sequentially deactivate the second target function group and each second target process in the second process set based on the second process dependency and a second reference count rule.
Optionally, the adjusting the current reference count of the corresponding function group based on the first function group set corresponding to the target vehicle type to obtain an adjusted reference count includes:
determining a plurality of corresponding function groups based on a first function group set corresponding to the target vehicle type and a second function group set corresponding to the current vehicle type configuration;
adjusting current reference counts of a plurality of the functional groups based on the first functional group set and the second functional group set to obtain adjusted reference counts; and if the function group exists in the second function group set, setting the current reference count of the function group to be 1, otherwise, setting the current reference count to be 0.
Optionally, the adjusting the current reference counts of the function groups based on the first function group set and the second function group set to obtain adjusted reference counts includes:
for any one of the functional groups, if the functional group exists in the first functional group set and the functional group does not exist in the second functional group set, adjusting the corresponding current reference count from 0 to 1 to obtain an adjusted reference count;
For any one of the functional groups, if the functional group does not exist in the first functional group set and the functional group exists in the second functional group set, adjusting the corresponding current reference count from 1 to 0 to obtain an adjusted reference count;
and for any function group, if the function groups exist in the first function group set and the second function group set, keeping the current reference count unchanged.
Optionally, the determining, based on the adjusted reference count, the first target function group to be activated and the second target function group to be deactivated currently include:
determining a function group with the current reference count of 0 and the adjusted reference count of 1 as a first target function group to be started currently;
a functional group with the current reference count of 1 and the adjusted reference count of 0 is determined to be a second target functional group that is currently to be disabled.
Optionally, the first reference count rule is used for recording a first reference count of a downstream object which is not started in all the downstream objects on which the current object depends, and starting the current object when the first reference count is 0; the second reference count rule is used for recording second reference counts of all upstream objects depending on the current object, and disabling the current object when the second reference count is 0; the current object is any one object of the first target function group, the second target function group, the first target process or the second target process.
Optionally, the sequentially starting each first target process in the first process set based on the first process dependency relationship and the first reference count rule, and starting the first target function group after each first target process is started, including:
determining the currently un-started downstream process in the first process set based on the first process dependency relationship, and starting the downstream process;
after the most downstream process is started, sending a message for representing that the most downstream process is started to a corresponding target upstream process based on the first process dependency relationship so that the target upstream process adjusts a first reference count corresponding to the target upstream process, taking the target upstream process as the most downstream process which is not started currently when the first reference count is 0, and then restarting to the step of starting the most downstream process until all first target processes in the first process set are started;
and after the first target function group receives the messages sent by the first target processes and used for representing that the first target function group is started, the first reference count of the first target function group is adjusted to be 0, and the first target function group is started.
Optionally, the sequentially disabling each second target process in the second target function group and the second process set based on the second process dependency relationship and a second reference count rule includes:
determining the most upstream process which is not currently deactivated in the second process set based on the second process dependency relationship, and after the second target function group is deactivated, sending a message for representing that the most upstream process is deactivated to the most upstream process, so that the most upstream process is deactivated after the most upstream process adjusts the second reference count of the most upstream process to 0;
after the most upstream process is deactivated, a message for representing that the most upstream process is deactivated is sent to a corresponding target downstream process based on the second process dependency relationship, so that the target downstream process adjusts a second reference count corresponding to the target downstream process, and when the second reference count of the target downstream process is 0, the target downstream process is taken as the most upstream process which is not deactivated currently, and then the step of deactivating the most upstream process is skipped again until all second target processes in the second process set are deactivated.
In a second aspect, the present application discloses a process setting device in vehicle type configuration, including:
The reference count adjustment module is used for determining a target vehicle type which is expected to be configured currently, and adjusting the current reference count of the corresponding function group based on a first function group set corresponding to the target vehicle type to obtain an adjusted reference count;
the function group determining module is used for respectively determining a first target function group to be started currently and a second target function group to be stopped currently based on the adjusted reference count;
the process starting module is used for determining a first process set which is depended on by the first target function group, determining a first process dependency relationship corresponding to the first process set, sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference counting rule, and starting the first target function group after each first target process is started;
and the process disabling module is used for determining a second process set on which the second target function group depends and determining a second process dependency corresponding to the second process set so as to sequentially disable each second target process in the second target function group and the second process set based on the second process dependency and a second reference counting rule.
In a third aspect, the present application discloses an electronic device comprising:
a memory for storing a computer program;
and a processor for executing the computer program to implement the steps of the process setting method in the vehicle model configuration disclosed above.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program when executed by the processor implements the steps of the process setting method in the vehicle model configuration disclosed above.
As can be seen, the present reference count of the corresponding function group is adjusted based on the first function group set corresponding to the target vehicle type to obtain an adjusted reference count by determining the target vehicle type which is expected to be configured currently; determining a first target function group to be started currently and a second target function group to be stopped currently respectively based on the adjusted reference count; determining a first process set on which the first target function group depends, determining a first process dependency relationship corresponding to the first process set, sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference count rule, and starting the first target function group after each first target process is started; determining a second process set on which the second target function group depends and determining a second process dependency corresponding to the second process set, so as to sequentially deactivate the second target function group and each second target process in the second process set based on the second process dependency and a second reference count rule.
Therefore, the method and the device for determining the target function group of the vehicle have the advantages that firstly, the target vehicle type which is expected to be configured currently needs to be determined, so that the current reference count of the corresponding function group is adjusted based on the first function group set corresponding to the target vehicle type to obtain the adjusted reference count, and further, the first target function group to be started currently and the second target function group to be stopped currently are respectively determined based on the adjusted reference count. When the first target function group is started, a first process set on which the first target function group depends needs to be determined, and a first process dependency relationship corresponding to the first process set needs to be determined. In addition, there are also dependencies between processes, i.e. the process that is upstream also depends on the start of the downstream process, so it is necessary to know what the first process dependency in the first process set is. Further, each first target process in the first process set can be started in sequence based on the first process dependency relationship and the first reference counting rule, and the first target function group is started after each first target process is started. Similarly, when the second target function group is deactivated, a second process set on which the second target function group depends needs to be determined, and a second process dependency relationship corresponding to the second process set needs to be determined, and the deactivation of the processes is opposite to the activation sequence, the deactivation of the processes depends on whether the corresponding function group is deactivated, and the deactivation of the downstream process depends on the deactivation of the upstream process, so that the application sequentially deactivates each second target process in the second target function group and the second process set based on the second process dependency relationship and the second reference count rule. In this way, the management from the vehicle model to the functional group to the process can be realized according to the dependency relationship, so that the corresponding process is started according to different vehicle models, the corresponding process is stopped, the sequence of starting and stopping the object can be known according to the dependency relationship, then the execution result can be obtained according to the setting of the reference counting rule, the feedback information of the process and the functional group in the starting process is obtained, and the integrity of the starting of the vehicle model function is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flow chart of a process setting method in vehicle type configuration disclosed in the present application;
FIG. 2 is a graph of dependency relationships among a vehicle model configuration, a function group and a process disclosed in the present application;
FIG. 3 is a flow chart of a process setup method in a specific vehicle model configuration disclosed in the present application;
fig. 4 is a schematic structural diagram of a process setting device in a vehicle type configuration disclosed in the present application;
fig. 5 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
When the vehicle type configuration needs to be replaced at present, a shell script or a simple program is mainly used for starting a process, stable realization of a dependency relationship from a vehicle type to a functional group to the process is lacking, feedback information is lacking in the starting process of the process and the functional group, and a management program cannot acquire an execution result, so that the integrity of the function starting of the vehicle type cannot be ensured. Therefore, the embodiment of the application discloses a process setting method, device, equipment and medium in vehicle type configuration, which can realize the management from a vehicle type to a function group to a process according to a dependency relationship, thereby realizing the starting of corresponding processes according to different vehicle types and ensuring the integrity of the starting of the functions of the vehicle types.
Referring to fig. 1, an embodiment of the application discloses a process setting method in vehicle type configuration, which includes:
step S11: determining a target vehicle type which is expected to be configured currently, and adjusting the current reference count of the corresponding function group based on a first function group set corresponding to the target vehicle type to obtain an adjusted reference count.
In this embodiment, it is first required to determine a target vehicle type that is currently expected to be configured, and determine which function groups need to be configured for the target vehicle type, where the function groups form a first function group set, so that the current reference count of the corresponding function group in the operating system is adjusted based on the first function group set corresponding to the target vehicle type to obtain the adjusted reference count.
Step S12: and respectively determining a first target function group to be started currently and a second target function group to be stopped currently based on the adjusted reference count.
In this embodiment, the first target function group to be activated and the second target function group to be deactivated are determined based on the adjusted reference count, respectively. It will be appreciated that the functional groups on which the current vehicle model configuration and the target vehicle model configuration depend may be different, and thus when the current vehicle model configuration needs to be replaced with the target vehicle model configuration, replacement of the functional groups is required. That is, it is necessary to determine a first target function group that needs to be activated currently and a second target function group that needs to be deactivated currently if the vehicle model configuration is changed to the target vehicle model configuration.
Step S13: determining a first process set on which the first target function group depends, determining a first process dependency relationship corresponding to the first process set, sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference counting rule, and starting the first target function group after each first target process is started.
In this embodiment, first, the dependency relationship and the upstream-downstream relationship among the vehicle type configuration, the function group, and the process will be described, as shown in fig. 2. Each object in fig. 2 is spliced into a dependency tree, each object knows who it depends on downstream and also knows who it needs to notify upstream, and as can be seen from fig. 2, the vehicle type configuration depends on the function group, the function group depends on the process, and the process may depend on other processes; the downstream object of the vehicle type configuration is a functional group contained in the vehicle type configuration, and the upstream object is absent; the downstream of the functional group is the process contained in the functional group, and the upstream is the vehicle type configuration containing the process; downstream of processes are other processes in the functional group that contain them, and upstream are other processes in the functional group that contain them. For example, vehicle model configuration 0 depends on function group A and function group B, where function group A depends on process A0, process A1, and process A2, and process A0 in turn depends on process A1 and process A2. It is noted that an object may be downstream of other objects, so it needs to know which objects depend on it, but it may also be upstream of other objects, so it needs to know which objects it depends on, and when an object is started it must wait for all downstream objects it depends on to start, before the object can start, after which it will start to transition from a stopped state to a started state. For example, when the process A0 needs to be started, it is necessary to wait for the completion of the start of both the process A1 and the process A2, and when the function group a needs to be started, it is necessary to wait for the completion of the start of all the process A0, the process A1 and the process A2.
In this embodiment, when the first target function group is started, it is required to determine a first process set on which the first target function group depends and determine a first process dependency relationship corresponding to the first process set, and it is known from the foregoing that there is a dependency relationship between the function group and the start of a process, and the function group is located upstream of the process, so that the start of the function group depends on the start of the process, and when the first target function group needs to be started, it is required to know which processes it depends on, and these processes form the first process set. In addition, there are also dependencies between processes, i.e. the process that is upstream also depends on the start of the downstream process, so it is necessary to know what the first process dependency in the first process set is. Further, each first target process in the first process set can be started in sequence based on the first process dependency relationship and a preset first reference counting rule, and the first target function group is started after each first target process is started.
Specifically, the first reference count rule is used for recording the first reference count of the downstream object which is not started in all the downstream objects on which the current object depends, and starting the current object when the first reference count is 0; the current object is any one object of the first target function group, the second target function group, the first target process or the second target process. That is, the upstream object will record the reference count of all downstream objects that have not yet been started, and when the reference count becomes 0, the upstream object can be started.
Thus, the sequentially starting each first target process in the first process set based on the first process dependency relationship and the first reference count rule, and starting the first target function group after each first target process is started, including: determining the currently un-started downstream process in the first process set based on the first process dependency relationship, and starting the downstream process; after the most downstream process is started, sending a message for representing that the most downstream process is started to a corresponding target upstream process based on the first process dependency relationship so that the target upstream process adjusts a first reference count corresponding to the target upstream process, taking the target upstream process as the most downstream process which is not started currently when the first reference count is 0, and then restarting to the step of starting the most downstream process until all first target processes in the first process set are started; and after the first target function group receives the messages sent by the first target processes and used for representing that the first target function group is started, the first reference count of the first target function group is adjusted to be 0, and the first target function group is started.
That is, firstly, determining the currently un-started downstream process in the first process set according to the first process dependency relationship, taking the function group a in fig. 2 as the first target function group as an example: the first process set corresponding to the function group a is a process A0, a process A1 and a process A2, and the first dependency relationship is that the function group a depends on the process A0, the process A1 and the process A2, and the process A0 depends on the process A1 and the process A2, so that the most downstream process at this time is the process A1 and the process A2. Thus, first, the process A1 and the process A2 are started; further, a message for representing that the most downstream process is started is sent to the corresponding target upstream process based on the first process dependency relationship, so that the target upstream process adjusts the first reference count corresponding to the target upstream process. Since the target upstream processes corresponding to the process A1 and the process A2 are the process A0 and the function group a, after the process A1 and the process A2 are started, a message for representing that the process A0 and the function group a are started needs to be sent to the process A0 and the function group a which depend on the process A1 and the process A2, that is, the upstream object which depends on the process A1 and the function group a needs to be informed that the process A1 and the function group a are started, so that after the first reference count of the process A1 and the function group a is 0, the process A1 and the process A2 can start the process A1 and the function group a without waiting. When the first reference count of the target upstream process is 0, the target upstream process is taken as the most downstream process which is not started currently, and then the step of starting the most downstream process is restarted until all the first target processes in the first process set are started, and after the first target function group receives the messages sent by all the first target processes and used for representing that the first target function group is started, the first reference count of the first target function group is adjusted to 0, and the first target function group is started. For example, the process A0 depends only on the process A1 and the process A2, and after both the process A1 and the process A2 are started, the first reference count of the process A0 is adjusted to 0, so that the process A0 can be started, and the function group a depends on the process A0 in addition to the process A1 and the process A2, so that the function group a needs to wait for the process A0 to be started.
It can be seen that in the above process, each object, after starting itself, notifies its upstream that it has started to be completed, and the upstream object can adjust its reference count. That is, feedback information exists in the starting process of the process and the function group, and the management program can acquire an execution result, so that the integrity of the starting of the vehicle type function can be ensured.
Step S14: determining a second process set on which the second target function group depends and determining a second process dependency corresponding to the second process set, so as to sequentially deactivate the second target function group and each second target process in the second process set based on the second process dependency and a second reference count rule.
In this embodiment, when the second target function group needs to be deactivated, a second process set on which the second target function group depends needs to be determined, and a second process dependency relationship corresponding to the second process set needs to be determined, where the deactivation of the processes is opposite to the activation sequence, and the deactivation of the processes depends on whether the corresponding function group is deactivated, and the deactivation of the downstream process depends on the deactivation of the upstream process.
Specifically, the second reference count rule is used for recording second reference counts of all upstream objects depending on the current object, and disabling the current object when the second reference count is 0; the current object is any one object of the first target function group, the second target function group, the first target process or the second target process. That is, one object may be downstream of other objects, so it may need to know which objects depend on it, so it can record how many upstream objects need the reference count it starts when the reference count changes from 0 to 1, and stops when 1 changes to 0.
Thus, the sequentially disabling each second target process in the second target function group and the second process set based on the second process dependency relationship and the second reference count rule includes: determining the most upstream process which is not currently deactivated in the second process set based on the second process dependency relationship, and after the second target function group is deactivated, sending a message for representing that the most upstream process is deactivated to the most upstream process, so that the most upstream process is deactivated after the most upstream process adjusts the second reference count of the most upstream process to 0; after the most upstream process is deactivated, a message for representing that the most upstream process is deactivated is sent to a corresponding target downstream process based on the second process dependency relationship, so that the target downstream process adjusts a second reference count corresponding to the target downstream process, and when the second reference count of the target downstream process is 0, the target downstream process is taken as the most upstream process which is not deactivated currently, and then the step of deactivating the most upstream process is skipped again until each second target process in the second process set is deactivated.
That is, firstly, determining the most upstream process which is not currently deactivated in the second process set based on the second process dependency relationship, taking the function group a in fig. 2 as the second target function group still as an example, and the most upstream process which is not currently deactivated is the process A0, so after the function group a is deactivated, sending a message for representing that the process A0 is deactivated to the process A0, and for the process A0, since only the function group a depends on the message, after receiving the message for deactivating the function group a, adjusting the second reference count of the process A0 to 0 can be deactivated. Further, after the most upstream process A0 is deactivated, it is determined that the corresponding target downstream processes are the process A1 and the process A2 based on the second process dependency relationship, so that the process A0 sends a message that the process A1 and the process A2 have been deactivated. At this time, for the process A1 and the process A2, since the function group a and the process A0, which are the upstream objects depending on them, are already deactivated, the second reference count corresponding to the process A1 and the process A2 may also be adjusted to 0, and then the process A1 and the process A2 may be deactivated.
In the above process, each object will notify its downstream that it has been deactivated after itself is deactivated, and the downstream object can adjust its reference count. That is, feedback information exists in the process and the disabling process of the function group, and the management program can acquire the execution result, so that the integrity of the starting of the vehicle type functions can be ensured.
As can be seen, the present reference count of the corresponding function group is adjusted based on the first function group set corresponding to the target vehicle type to obtain an adjusted reference count by determining the target vehicle type which is expected to be configured currently; determining a first target function group to be started currently and a second target function group to be stopped currently respectively based on the adjusted reference count; determining a first process set on which the first target function group depends, determining a first process dependency relationship corresponding to the first process set, sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference count rule, and starting the first target function group after each first target process is started; determining a second process set on which the second target function group depends and determining a second process dependency corresponding to the second process set, so as to sequentially deactivate the second target function group and each second target process in the second process set based on the second process dependency and a second reference count rule.
Therefore, the method and the device for determining the target function group of the vehicle have the advantages that firstly, the target vehicle type which is expected to be configured currently needs to be determined, so that the current reference count of the corresponding function group is adjusted based on the first function group set corresponding to the target vehicle type to obtain the adjusted reference count, and further, the first target function group to be started currently and the second target function group to be stopped currently are respectively determined based on the adjusted reference count. When the first target function group is started, a first process set on which the first target function group depends needs to be determined, and a first process dependency relationship corresponding to the first process set needs to be determined. In addition, there are also dependencies between processes, i.e. the process that is upstream also depends on the start of the downstream process, so it is necessary to know what the first process dependency in the first process set is. Further, each first target process in the first process set can be started in sequence based on the first process dependency relationship and the first reference counting rule, and the first target function group is started after each first target process is started. Similarly, when the second target function group is deactivated, a second process set on which the second target function group depends needs to be determined, and a second process dependency relationship corresponding to the second process set needs to be determined, and the deactivation of the processes is opposite to the activation sequence, the deactivation of the processes depends on whether the corresponding function group is deactivated, and the deactivation of the downstream process depends on the deactivation of the upstream process, so that the application sequentially deactivates each second target process in the second target function group and the second process set based on the second process dependency relationship and the second reference count rule. In this way, the management from the vehicle model to the functional group to the process can be realized according to the dependency relationship, so that the corresponding process is started according to different vehicle models, the corresponding process is stopped, the sequence of starting and stopping the object can be known according to the dependency relationship, then the execution result can be obtained according to the setting of the reference counting rule, the feedback information of the process and the functional group in the starting process is obtained, and the integrity of the starting of the vehicle model function is ensured.
Referring to fig. 2, an embodiment of the present application discloses a process setting method in a specific vehicle type configuration, and compared with the previous embodiment, the present embodiment further describes and optimizes a technical solution. The method specifically comprises the following steps:
step S21: determining a target vehicle type of a current expected configuration, and determining a plurality of corresponding function groups based on a first function group set corresponding to the target vehicle type and a second function group set corresponding to the current vehicle type configuration.
In this embodiment, a plurality of corresponding function groups are determined in an operating system based on a first function group set corresponding to a target vehicle type and a second function group set corresponding to a current vehicle type configuration. For example, assuming that the desired configuration is vehicle type configuration 1 in fig. 2, the corresponding first function set is function set B and function set C, and assuming that the current vehicle type is vehicle type configuration 0, the corresponding second function set is function set a and function set B. Therefore, the functional groups in the operating system are functional group a, functional group B and functional group C.
Step S22: adjusting current reference counts of a plurality of the functional groups based on the first functional group set and the second functional group set to obtain adjusted reference counts; and if the function group exists in the second function group set, setting the current reference count of the function group to be 1, otherwise, setting the current reference count to be 0.
In this embodiment, the current reference counts of the plurality of functional groups are adjusted based on the first functional group set and the second functional group set to obtain an adjusted reference count; if the functional group exists in the second functional group set, the corresponding current reference count is 1, otherwise, the current reference count is 0. Therefore, when the vehicle type configuration is not replaced, the current reference count of the function group a and the function group B at this time is 1, and the current reference count of the function group C is 0.
In a specific embodiment, the adjusting the current reference counts of the function groups based on the first function group set and the second function group set to obtain adjusted reference counts includes: for any one of the functional groups, if the functional group exists in the first functional group set and the functional group does not exist in the second functional group set, adjusting the corresponding current reference count from 0 to 1 to obtain an adjusted reference count; and for any function group, if the function group does not exist in the first function group set and the function group exists in the second function group set, adjusting the corresponding current reference count from 1 to 0. Obtaining an adjusted reference count; and for any function group, if the function groups exist in the first function group set and the second function group set, keeping the current reference count unchanged. For example, for function group C, function group C exists in the first function group set but does not exist in the second function group set, so the current reference count corresponding to function group C is adjusted from 0 to 1, resulting in an adjusted reference count; for function group a, function group a exists in the first set of function groups but does not exist in the second set of function groups, so the current reference count corresponding to function group a is adjusted from 1 to 0; for the function group B, the function group B exists in both the first function group set and the second function group set, so that the current reference count corresponding to the function group B is kept unchanged, namely 1. That is, the present embodiment calls for an increment of the current reference count on each function group, which will increment all function groups that appear in the new model configuration and decrement all function groups that appear in the old model configuration. Thus, any functional group that is concurrently present in both system states will have its downstream reference count unchanged (i.e., 1+ -1+1=1); the set of functions in the current system state but not in the target system state will decrement from 1 to 0 and any set of functions in the target system state but not in the active system state will increment from 0 to 1.
Step S23: determining a function group with the current reference count of 0 and the adjusted reference count of 1 as a first target function group to be started currently; a functional group with the current reference count of 1 and the adjusted reference count of 0 is determined to be a second target functional group that is currently to be disabled.
In this embodiment, the function group with the current reference count of 0 and the adjusted reference count of 1 is the first target function group to be started currently, and the function group with the current reference count of 1 and the adjusted reference count of 0 is the second target function group to be stopped currently.
Step S24: determining a first process set on which the first target function group depends, determining a first process dependency relationship corresponding to the first process set, sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference counting rule, and starting the first target function group after each first target process is started.
Step S25: determining a second process set on which the second target function group depends and determining a second process dependency corresponding to the second process set, so as to sequentially deactivate the second target function group and each second target process in the second process set based on the second process dependency and a second reference count rule.
For more specific processing procedures in the steps S24 and S25, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no detailed description is given here.
It can be seen that, in this embodiment, a plurality of function groups corresponding to the first function group set and the second function group set are first determined in the operating system, and the current reference count of the function groups is adjusted, so that the first target function group to be started currently and the second target function group to be stopped currently are determined according to the adjusted reference count. Furthermore, the corresponding function groups can be started and stopped according to the dependency relationship among the objects and the corresponding reference counting rule, so that the corresponding processes can be started according to different vehicle types.
Referring to fig. 4, an embodiment of the application discloses a process setting device in vehicle type configuration, which includes:
the reference count adjustment module 11 is configured to determine a target vehicle type expected to be configured at present, and adjust the current reference count of the corresponding function group based on a first function group set corresponding to the target vehicle type to obtain an adjusted reference count;
a function group determining module 12, configured to determine a first target function group to be activated currently and a second target function group to be deactivated currently, respectively, based on the adjusted reference count;
A process starting module 13, configured to determine a first process set on which the first target function group depends and determine a first process dependency corresponding to the first process set, so as to sequentially start each first target process in the first process set based on the first process dependency and a first reference count rule, and start the first target function group after each first target process is started;
a process disabling module 14, configured to determine a second process set on which the second target function group depends, and determine a second process dependency corresponding to the second process set, so as to sequentially disable each second target process in the second target function group and the second process set based on the second process dependency and a second reference count rule.
As can be seen, the present reference count of the corresponding function group is adjusted based on the first function group set corresponding to the target vehicle type to obtain an adjusted reference count by determining the target vehicle type which is expected to be configured currently; determining a first target function group to be started currently and a second target function group to be stopped currently respectively based on the adjusted reference count; determining a first process set on which the first target function group depends, determining a first process dependency relationship corresponding to the first process set, sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference count rule, and starting the first target function group after each first target process is started; determining a second process set on which the second target function group depends and determining a second process dependency corresponding to the second process set, so as to sequentially deactivate the second target function group and each second target process in the second process set based on the second process dependency and a second reference count rule.
Therefore, the method and the device for determining the target function group of the vehicle have the advantages that firstly, the target vehicle type which is expected to be configured currently needs to be determined, so that the current reference count of the corresponding function group is adjusted based on the first function group set corresponding to the target vehicle type to obtain the adjusted reference count, and further, the first target function group to be started currently and the second target function group to be stopped currently are respectively determined based on the adjusted reference count. When the first target function group is started, a first process set on which the first target function group depends needs to be determined, and a first process dependency relationship corresponding to the first process set needs to be determined. In addition, there are also dependencies between processes, i.e. the process that is upstream also depends on the start of the downstream process, so it is necessary to know what the first process dependency in the first process set is. Further, each first target process in the first process set can be started in sequence based on the first process dependency relationship and the first reference counting rule, and the first target function group is started after each first target process is started. Similarly, when the second target function group is deactivated, a second process set on which the second target function group depends needs to be determined, and a second process dependency relationship corresponding to the second process set needs to be determined, and the deactivation of the processes is opposite to the activation sequence, the deactivation of the processes depends on whether the corresponding function group is deactivated, and the deactivation of the downstream process depends on the deactivation of the upstream process, so that the application sequentially deactivates each second target process in the second target function group and the second process set based on the second process dependency relationship and the second reference count rule. In this way, the management from the vehicle model to the functional group to the process can be realized according to the dependency relationship, so that the corresponding process is started according to different vehicle models, the corresponding process is stopped, the sequence of starting and stopping the object can be known according to the dependency relationship, then the execution result can be obtained according to the setting of the reference counting rule, the feedback information of the process and the functional group in the starting process is obtained, and the integrity of the starting of the vehicle model function is ensured.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Specifically, the method comprises the following steps: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program that is loaded and executed by the processor 21 to implement relevant steps in the process setting method in the vehicle type configuration performed by the electronic device disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon include an operating system 221, a computer program 222, and data 223, and the storage may be temporary storage or permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22, which may be Windows, unix, linux. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the process setting method in the vehicle type configuration performed by the electronic device 20 disclosed in any of the foregoing embodiments. The data 223 may include, in addition to data received by the electronic device and transmitted by the external device, data collected by the input/output interface 25 itself, and so on.
Further, the embodiment of the application also discloses a computer readable storage medium, wherein the storage medium stores a computer program, and when the computer program is loaded and executed by a processor, the method steps of setting the process in the vehicle type configuration disclosed in any embodiment are realized.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application, but such implementation is not to be considered as beyond the scope of this application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in random access Memory (Random Access Memory, i.e., RAM), memory, read-Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a compact disc Read-Only Memory (Compact Disc Read-Only Memory, i.e., CD-ROM), or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. 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 apparatus that comprises the element.
The above description of the process setting method, device, equipment and storage medium in the vehicle type configuration provided by the invention applies specific examples to illustrate the principle and implementation of the invention, and the description of the above examples is only used for helping to understand the method and core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A process setting method in vehicle type configuration, characterized by comprising:
determining a target vehicle type which is expected to be configured currently, and adjusting the current reference count of a corresponding function group based on a first function group set corresponding to the target vehicle type to obtain an adjusted reference count;
determining a first target function group to be started currently and a second target function group to be stopped currently respectively based on the adjusted reference count;
determining a first process set on which the first target function group depends, determining a first process dependency relationship corresponding to the first process set, sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference count rule, and starting the first target function group after each first target process is started;
determining a second process set on which the second target function group depends and determining a second process dependency corresponding to the second process set, so as to sequentially deactivate the second target function group and each second target process in the second process set based on the second process dependency and a second reference count rule.
2. The process setting method in vehicle type configuration according to claim 1, wherein said adjusting the current reference count of the corresponding function group based on the first function group set corresponding to the target vehicle type to obtain the adjusted reference count includes:
determining a plurality of corresponding function groups based on a first function group set corresponding to the target vehicle type and a second function group set corresponding to the current vehicle type configuration;
adjusting current reference counts of a plurality of the functional groups based on the first functional group set and the second functional group set to obtain adjusted reference counts; and if the function group exists in the second function group set, setting the current reference count of the function group to be 1, otherwise, setting the current reference count to be 0.
3. The process setting method in vehicle type configuration according to claim 2, wherein said adjusting current reference counts of a plurality of said function groups based on said first function group set and said second function group set to obtain adjusted reference counts includes:
for any one of the functional groups, if the functional group exists in the first functional group set and the functional group does not exist in the second functional group set, adjusting the corresponding current reference count from 0 to 1 to obtain an adjusted reference count;
For any one of the functional groups, if the functional group does not exist in the first functional group set and the functional group exists in the second functional group set, adjusting the corresponding current reference count from 1 to 0 to obtain an adjusted reference count;
and for any function group, if the function groups exist in the first function group set and the second function group set, keeping the current reference count unchanged.
4. The method for setting a process in a vehicle type configuration according to claim 3, wherein the determining the first target function group to be activated and the second target function group to be deactivated based on the adjusted reference count, respectively, includes:
determining a function group with the current reference count of 0 and the adjusted reference count of 1 as a first target function group to be started currently;
a functional group with the current reference count of 1 and the adjusted reference count of 0 is determined to be a second target functional group that is currently to be disabled.
5. The process setting method in a vehicle type configuration according to any one of claims 1 to 4, characterized in that the first reference count rule is used to record a first reference count of a downstream object that has not been started out of all downstream objects on which a current object depends, and start the current object when the first reference count is 0; the second reference count rule is used for recording second reference counts of all upstream objects depending on the current object, and disabling the current object when the second reference count is 0; the current object is any one object of the first target function group, the second target function group, the first target process or the second target process.
6. The method for setting a process in a vehicle type configuration according to claim 5, wherein sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference count rule, and starting the first target function group after each first target process is started and completed, includes:
determining the currently un-started downstream process in the first process set based on the first process dependency relationship, and starting the downstream process;
after the most downstream process is started, sending a message for representing that the most downstream process is started to a corresponding target upstream process based on the first process dependency relationship so that the target upstream process adjusts a first reference count corresponding to the target upstream process, taking the target upstream process as the most downstream process which is not started currently when the first reference count is 0, and then restarting to the step of starting the most downstream process until all first target processes in the first process set are started;
and after the first target function group receives the messages sent by the first target processes and used for representing that the first target function group is started, the first reference count of the first target function group is adjusted to be 0, and the first target function group is started.
7. The method for setting a process in a vehicle type configuration according to claim 5, wherein sequentially disabling the second target function group and each second target process in the second process set based on the second process dependency relationship and a second reference count rule, comprises:
determining the most upstream process which is not currently deactivated in the second process set based on the second process dependency relationship, and after the second target function group is deactivated, sending a message for representing that the most upstream process is deactivated to the most upstream process, so that the most upstream process is deactivated after the most upstream process adjusts the second reference count of the most upstream process to 0;
after the most upstream process is deactivated, a message for representing that the most upstream process is deactivated is sent to a corresponding target downstream process based on the second process dependency relationship, so that the target downstream process adjusts a second reference count corresponding to the target downstream process, and when the second reference count of the target downstream process is 0, the target downstream process is taken as the most upstream process which is not deactivated currently, and then the step of deactivating the most upstream process is skipped again until all second target processes in the second process set are deactivated.
8. A process setting device in a vehicle type configuration, characterized by comprising:
the reference count adjustment module is used for determining a target vehicle type which is expected to be configured currently, and adjusting the current reference count of the corresponding function group based on a first function group set corresponding to the target vehicle type to obtain an adjusted reference count;
the function group determining module is used for respectively determining a first target function group to be started currently and a second target function group to be stopped currently based on the adjusted reference count;
the process starting module is used for determining a first process set which is depended on by the first target function group, determining a first process dependency relationship corresponding to the first process set, sequentially starting each first target process in the first process set based on the first process dependency relationship and a first reference counting rule, and starting the first target function group after each first target process is started;
and the process disabling module is used for determining a second process set on which the second target function group depends and determining a second process dependency corresponding to the second process set so as to sequentially disable each second target process in the second target function group and the second process set based on the second process dependency and a second reference counting rule.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the process setting method in the vehicle model configuration as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program; wherein the computer program when executed by a processor implements the steps of the process setting method in the vehicle model configuration according to any one of claims 1 to 7.
CN202311573674.6A 2023-11-23 2023-11-23 Method, device, equipment and medium for setting process in vehicle type configuration Active CN117290074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311573674.6A CN117290074B (en) 2023-11-23 2023-11-23 Method, device, equipment and medium for setting process in vehicle type configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311573674.6A CN117290074B (en) 2023-11-23 2023-11-23 Method, device, equipment and medium for setting process in vehicle type configuration

Publications (2)

Publication Number Publication Date
CN117290074A true CN117290074A (en) 2023-12-26
CN117290074B CN117290074B (en) 2024-02-02

Family

ID=89241017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311573674.6A Active CN117290074B (en) 2023-11-23 2023-11-23 Method, device, equipment and medium for setting process in vehicle type configuration

Country Status (1)

Country Link
CN (1) CN117290074B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7526634B1 (en) * 2005-12-19 2009-04-28 Nvidia Corporation Counter-based delay of dependent thread group execution
CN113961378A (en) * 2021-11-16 2022-01-21 国汽智控(北京)科技有限公司 Inter-process communication method and device based on shared memory and electronic equipment
CN115756615A (en) * 2022-10-28 2023-03-07 惠州市德赛西威汽车电子股份有限公司 Quick starting method, device, equipment and storage medium
CN116521266A (en) * 2023-04-28 2023-08-01 重庆长安汽车股份有限公司 Management method and device for vehicle-mounted application starting configuration, vehicle and storage medium
CN116521255A (en) * 2023-02-24 2023-08-01 武汉光庭信息技术股份有限公司 Application program management method and system of vehicle-mounted system based on Linux
WO2023201893A1 (en) * 2022-04-20 2023-10-26 苏州浪潮智能科技有限公司 Computing task scheduling method and apparatus, electronic device, and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7526634B1 (en) * 2005-12-19 2009-04-28 Nvidia Corporation Counter-based delay of dependent thread group execution
CN113961378A (en) * 2021-11-16 2022-01-21 国汽智控(北京)科技有限公司 Inter-process communication method and device based on shared memory and electronic equipment
WO2023201893A1 (en) * 2022-04-20 2023-10-26 苏州浪潮智能科技有限公司 Computing task scheduling method and apparatus, electronic device, and readable storage medium
CN115756615A (en) * 2022-10-28 2023-03-07 惠州市德赛西威汽车电子股份有限公司 Quick starting method, device, equipment and storage medium
CN116521255A (en) * 2023-02-24 2023-08-01 武汉光庭信息技术股份有限公司 Application program management method and system of vehicle-mounted system based on Linux
CN116521266A (en) * 2023-04-28 2023-08-01 重庆长安汽车股份有限公司 Management method and device for vehicle-mounted application starting configuration, vehicle and storage medium

Also Published As

Publication number Publication date
CN117290074B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN106960054B (en) Data file access method and device
US10417062B2 (en) Method and apparatus of unloading out of memory processing flow to user space
CN111182019B (en) Cross-platform communication method and device and electronic equipment
CN108008950B (en) Method and device for realizing user interface updating
CN111813601A (en) Micro-service rollback method and device for stateful distributed cluster
CN113448728B (en) Cloud resource scheduling method, device, equipment and storage medium
CN111625322B (en) Data processing method, system and equipment
CN109873861B (en) Cross-block chain node interaction method and device, storage medium and electronic equipment
CN117290074B (en) Method, device, equipment and medium for setting process in vehicle type configuration
CN107391274B (en) Offline message processing method and device
CN111401566B (en) Machine learning training method and system
CN113138812A (en) Spacecraft task scheduling method and device
CN111049913B (en) Data file transmission method and device, storage medium and electronic equipment
CN112363980A (en) Data processing method and device for distributed system
CN112751693A (en) Data processing method and device of distributed storage system and electronic equipment
CN114625410A (en) Request message processing method, device and equipment
CN110109747B (en) Apache Spark-based data exchange method, system and server
CN112882839A (en) Message processing method and device based on kafka
CN111158725B (en) Program upgrading method, device, terminal and storage medium
CN114244899B (en) Message transmission method, device and readable storage medium
CN109542598B (en) Timed task management method and device
CN115408172A (en) Inter-process communication method, device, equipment and medium
CN113342427B (en) Program control method and device
CN114900383B (en) Interface processing method, device, electronic equipment and computer readable storage medium
CN116991441A (en) Storage system firmware upgrading method, device, equipment 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
GR01 Patent grant
GR01 Patent grant