CN101067794A - Multi-nuclear processor and serial port multiplexing method - Google Patents

Multi-nuclear processor and serial port multiplexing method Download PDF

Info

Publication number
CN101067794A
CN101067794A CN 200710108666 CN200710108666A CN101067794A CN 101067794 A CN101067794 A CN 101067794A CN 200710108666 CN200710108666 CN 200710108666 CN 200710108666 A CN200710108666 A CN 200710108666A CN 101067794 A CN101067794 A CN 101067794A
Authority
CN
China
Prior art keywords
serial ports
kernel thread
thread
initialization
kernel
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
CN 200710108666
Other languages
Chinese (zh)
Other versions
CN100517239C (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2007101086669A priority Critical patent/CN100517239C/en
Publication of CN101067794A publication Critical patent/CN101067794A/en
Application granted granted Critical
Publication of CN100517239C publication Critical patent/CN100517239C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

This invention discloses a multi-core processor and a serial multiplex method used in it including: a multi-core multithreading processor used in operating at least one kernel thread and switching of serial among kernel threads after receiving the switch control information from the switch control module, a serial used in sending data of at least one kernel thread of the processor to outside and interacts data with the master control kernel thread of the serial and a switch control module connected between the serial and the processor to control switch of one or many threads in the processor to share the serial.

Description

Polycaryon processor and serial port multiplexing method thereof
Technical field
The present invention relates to the polycaryon processor field, relate in particular to when polycaryon processor moves a plurality of embedded OS, realize a kind of technology of multiplexing serial port.
Background technology
The high-performance polycaryon processor has obtained using widely in embedded system, the different threads of a plurality of kernels of polycaryon processor can the independent operating embedded OS, the embedded OS of main flow can print and debug by the serial ports Shell of based target veneer at present, and opening brings great convenience to software.
Yet the serial port resource of polycaryon processor system is extremely limited, can not fix a serial ports for each kernel thread, so can expand serial ports by hardware design circuit usually, reach the purpose that increases the serial ports number, because most of serial port resource all left unused in the most of the time, can cause the waste of serial port resource, also increase cost simultaneously; Perhaps as the CN200510030862 patent, it is to switch between GPS serial ports and CPU serial ports by hardware handover module control serial ports, reach the purpose of multiplexing serial port, this multiplexing tangible alternative that has, the current time serial ports can only be monopolized by an equipment, other equipment can't use serial ports, may cause when hardware switches serial ports simultaneously and use the software data of serial ports to lose.
In order to give full play to the effect of serial ports in polycaryon processor, switching between a plurality of kernel threads by the software control serial ports is a kind of method of well dealing with problems, and has not only improved the utilization factor of serial port resource, and controllability and reliability can both be guaranteed.
Summary of the invention
One object of the present invention is to overcome in the limited embedded system of serial port resource serial ports can't fully multiplexing shortcoming, therefore proposes a kind ofly to finish serial ports multiplexing method between each kernel thread jointly by utilizing polycaryon processor inside story mechanism, shared drive and interrupting mechanism such as switching.
According to an aspect of the present invention, provide a kind of polycaryon processor, having comprised: the multinuclear multiline procedure processor is used to move at least one kernel thread, and after receiving the switching controls message of switching controls module, carries out the switching of serial ports between kernel thread; Serial ports is used for the data of at least one kernel thread of multinuclear multiline procedure processor are sent to the outside, and be used for the serial ports main kernel thread that serial ports interrupts articulating and carry out data interaction; And the switching controls module, being connected between serial ports and the multinuclear multiline procedure processor, the switching of one or more kernel threads that is used for controlling the multinuclear multiline procedure processor is to share serial ports.
The switching controls module regularly sends switching controls message to the multinuclear multiline procedure processor.The switching controls module provides the operation information of each kernel thread to the user, indicates the user under the situation of switching the serial ports main kernel thread, and the switching controls module sends the switching controls order to the multinuclear multiline procedure processor.
The multinuclear multiline procedure processor carries out following processing after powering on: carry out initialization and load driver program by being used for the serial ports main kernel thread that serial ports interrupts articulating, enable serial ports and interrupt, set up shared drive, initialization is based on the Shell program of serial ports; Be each kernel thread distributing independent data buffer of moving in the polycaryon processor, the serial ports control information of in shared drive, setting up each kernel thread; The serial ports main kernel thread sends the serial ports initialization to each kernel thread and finishes message, and the serial ports initialization is finished message and comprised the address of serial ports control information in shared drive; And allowing to use under the situation of serial ports, the data that each kernel thread will need to send are put into the data buffer of distribution and notification message are sent to the serial ports main kernel thread, and the serial ports main kernel thread sends to outside with the data in the data buffer by serial ports according to notification message.
The multinuclear multiline procedure processor carries out following processing after receiving switching controls message: the serial ports main kernel thread initiates to switch the serial ports flow process, forbid that current serial ports interrupts and unloading serial port drive program, simultaneously serial ports is interrupted being articulated to the purpose kernel thread that need switch to and sending the serial ports handoff notification message to the purpose kernel thread; The purpose kernel thread carries out initialization and load driver program as the serial ports main kernel thread, enabling serial ports interrupts, set up shared drive, initialization is based on the Shell program of serial ports, serial ports main kernel thread in the shared drive number is revised as the thread number of purpose kernel thread, and message is finished in initialization be sent to all kernel threads, other kernel threads carry out subsequent treatment with the purpose kernel thread as the serial ports main kernel thread.
According to another aspect of the present invention, a kind of serial port multiplexing method that is used for polycaryon processor is provided, this method may further comprise the steps: step S202, after polycaryon processor powers on, carry out initialization and load driver program by being used for the serial ports main kernel thread that serial ports interrupts articulating, enabling serial ports interrupts, set up shared drive, initialization is based on the Shell program of serial ports, be each kernel thread distributing independent data buffer of moving in the polycaryon processor, and the serial ports control information of in shared drive, setting up each kernel thread; Step S204, the serial ports main kernel thread sends the serial ports initialization to each kernel thread and finishes message, and the serial ports initialization is finished message and is comprised the address of serial ports control information in shared drive; Step S206, allowing to use under the situation of serial ports, the data that each kernel thread will need to send are put into the data buffer of distribution and notification message are sent to the serial ports main kernel thread, and the serial ports main kernel thread sends to outside with the data in the data buffer by serial ports according to notification message; Step S208, switch at needs under the situation of kernel thread, the serial ports main kernel thread initiates to switch the serial ports flow process, forbid that current serial ports interrupts and unloading serial port drive program, simultaneously serial ports is interrupted being articulated to the purpose kernel thread that need switch to and sending the serial ports handoff notification message to the purpose kernel thread; And step S210, the purpose kernel thread carries out initialization and load driver program as the serial ports main kernel thread, enabling serial ports interrupts, set up shared drive, initialization is based on the Shell program of serial ports, serial ports main kernel thread in the shared drive number is revised as the thread number of purpose kernel thread, and message is finished in initialization is sent to all kernel threads, other kernel threads carry out subsequent treatment with the purpose kernel thread as the serial ports main kernel thread.
The switching controls module regularly sends switching controls message to the multinuclear multiline procedure processor.The switching controls module provides the operation information of each kernel thread to the user, indicates the user under the situation of switching the serial ports main kernel thread, and the switching controls module sends the switching controls order to the multinuclear multiline procedure processor.
In the present invention, the shared serial ports of at least one kernel thread in the polycaryon processor can be used for printing.
By implementing the present invention, a plurality of kernel threads can be saved hardware resource and cost by the software control multiplexing serial port, have improved the utilization factor of serial ports; Kernel thread message communication bandwidth has been saved in other control of type information level, simultaneously by the switching of serial ports interruption on each kernel thread, and the Shell program of using kernel thread operation system to carry, the exploitation that greatly facilitates software is debugged.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitute the application's a part, illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention, and reference number identical in the accompanying drawing is represented components identical.In the accompanying drawings:
Figure 1A and Figure 1B illustrate the structural representation that existing serial ports is used respectively;
Fig. 2 is the block diagram that illustrates according to polycaryon processor of the present invention;
Fig. 3 is the process flow diagram that illustrates according to the serial port multiplexing method of polycaryon processor of the present invention;
Fig. 4 illustrates the process flow diagram of the serial port multiplexing method of polycaryon processor according to an embodiment of the invention;
Fig. 5 illustrates the synoptic diagram of multiplexing serial port method in accordance with another embodiment of the present invention; And
Fig. 6 is the software flow pattern according to the multiplexing serial port method of the embodiment of the invention.
Embodiment
Below with reference to accompanying drawing, describe the specific embodiment of the present invention in detail.
Fig. 2 is the block diagram that illustrates according to polycaryon processor of the present invention.With reference to Fig. 2, polycaryon processor 200 according to the present invention comprises: multinuclear multiline procedure processor 202 is used to move at least one kernel thread, and after receiving the switching controls message of switching controls module, carries out the switching of serial ports between kernel thread; Serial ports 204 is used for the data of at least one kernel thread of multinuclear multiline procedure processor are sent to the outside, and be used for the serial ports main kernel thread that serial ports interrupts articulating and carry out data interaction; And switching controls module 206, being connected between serial ports and the multinuclear multiline procedure processor, the switching of one or more kernel threads that is used for controlling the multinuclear multiline procedure processor is to share serial ports.
Switching controls module 206 regularly sends switching controls message to the multinuclear multiline procedure processor, the operation information of each kernel thread is provided to the user, and indicate the user under the situation of switching serial ports main kernel thread, the switching controls module sends the switching controls order to the multinuclear multiline procedure processor.
Multinuclear multiline procedure processor 202 carries out following processing after powering on: carry out initialization and load driver program by being used for the serial ports main kernel thread that serial ports interrupts articulating, enable serial ports and interrupt, set up shared drive, initialization is based on the Shell program of serial ports; Be each kernel thread distributing independent data buffer of moving in the polycaryon processor, the serial ports control information of in shared drive, setting up each kernel thread; The serial ports main kernel thread sends the serial ports initialization to each kernel thread and finishes message, and the serial ports initialization is finished message and comprised the address of serial ports control information in shared drive; And allowing to use under the situation of serial ports, the data that each kernel thread will need to send are put into the data buffer of distribution and notification message are sent to the serial ports main kernel thread, and the serial ports main kernel thread sends to outside with the data in the data buffer by serial ports according to notification message.
Multinuclear multiline procedure processor 202 carries out following processing after receiving switching controls message: the serial ports main kernel thread initiates to switch the serial ports flow process, forbid that current serial ports interrupts and unloading serial port drive program, simultaneously serial ports is interrupted being articulated to the purpose kernel thread that need switch to and sending the serial ports handoff notification message to the purpose kernel thread; The purpose kernel thread carries out initialization and load driver program as the serial ports main kernel thread, enabling serial ports interrupts, set up shared drive, initialization is based on the Shell program of serial ports, serial ports main kernel thread in the shared drive number is revised as the thread number of purpose kernel thread, and message is finished in initialization be sent to all kernel threads, other kernel threads carry out subsequent treatment with the purpose kernel thread as the serial ports main kernel thread.
In this device, one or more kernel threads of multinuclear multiline procedure processor are shared serial ports and are printed.
Fig. 3 is the process flow diagram that illustrates according to the serial port multiplexing method of polycaryon processor of the present invention.With reference to Fig. 3, serial port multiplexing method according to polycaryon processor of the present invention may further comprise the steps: step S302, after polycaryon processor powers on, carry out initialization and load driver program by being used for the serial ports main kernel thread that serial ports interrupts articulating, enable serial ports and interrupt, set up shared drive, initialization is based on the Shell program of serial ports, be each kernel thread distributing independent data buffer of moving in the polycaryon processor, and the serial ports control information of in shared drive, setting up each kernel thread; Step S304, the serial ports main kernel thread sends the serial ports initialization to each kernel thread and finishes message, and the serial ports initialization is finished message and is comprised the address of serial ports control information in shared drive; Step S306, allowing to use under the situation of serial ports, the data that each kernel thread will need to send are put into the data buffer of distribution and notification message are sent to the serial ports main kernel thread, and the serial ports main kernel thread sends to outside with the data in the data buffer by serial ports according to notification message; Step S308, switch at needs under the situation of kernel thread, the serial ports main kernel thread initiates to switch the serial ports flow process, forbid that current serial ports interrupts and unloading serial port drive program, simultaneously serial ports is interrupted being articulated to the purpose kernel thread that need switch to and sending the serial ports handoff notification message to the purpose kernel thread; And step 310, the purpose kernel thread carries out initialization and load driver program as the serial ports main kernel thread, enabling serial ports interrupts, set up shared drive, initialization is based on the Shell program of serial ports, serial ports main kernel thread in the shared drive number is revised as the thread number of purpose kernel thread, and message is finished in initialization is sent to all kernel threads, other kernel threads carry out subsequent treatment with the purpose kernel thread as the serial ports main kernel thread.
In the method, the switching controls module regularly sends switching controls message to the multinuclear multiline procedure processor, provide the operation information of each kernel thread to the user, and indicate the user under the situation of switching serial ports main kernel thread, send the switching controls order to the multinuclear multiline procedure processor.
In the method, the shared serial ports of at least one kernel thread in the polycaryon processor prints.
Describe embodiments of the invention in detail below in conjunction with Fig. 4~Fig. 6.
Fig. 4 illustrates the process flow diagram of the serial port multiplexing method of polycaryon processor according to an embodiment of the invention.With reference to Fig. 4, the serial port multiplexing method of polycaryon processor may further comprise the steps according to an embodiment of the invention:
Step S402, after powering on, the kernel thread that serial ports interrupts articulating is called the serial ports main kernel thread, finishes the loading of serial port chip initialization, serial port drive by the serial ports main kernel thread, opens the serial ports interrupt mask bit in the interruptable controller, enables serial ports and interrupts; Initialization is set up shared drive based on the Shell of serial ports, is each kernel thread distributing independent print buffer;
Step S404, the serial ports main kernel thread is set up the serial ports control information of each kernel thread in shared drive, comprise that print buffer start address, buffer size, permission print rank, serial ports main kernel thread number;
Step S406, the serial ports main kernel thread sends the serial ports initialization to each other kernel thread and finishes message, and this message is included in the address of serial ports control information in the shared drive;
Step S408, after each kernel thread receives that message is finished in the serial ports initialization, whether the value of judging current printing grade variable is complementary with the rank that allows type information, if coupling then type information is left in the print buffer that shared drive distributed, send message informing serial ports main kernel thread simultaneously, carry the address of printmessage in shared drive in the message; The serial ports main kernel thread goes out address and length according to the message parse of receiving, and the character string in this address is sent to serially printing;
Step S410, according to the debugging needs, initiate to switch the serial ports flow process by the serial ports main kernel thread, the serial ports main kernel thread forbids that current serial ports interrupts, unloading serial port drive program, simultaneously serial ports is interrupted being articulated to the purpose kernel thread that need switch to, and transmission message informing purpose kernel thread begins to switch serial ports;
After step S412, purpose kernel thread received that the beginning serial ports switches message, initialization serial ports chip loaded serial port drive, opens the serial ports interrupt mask bit in the interruptable controller, enabled serial ports and interrupted; Initialization is based on the Shell of serial ports; This moment, the purpose kernel thread became the serial ports main kernel thread of control serial ports;
Step S414 revises the serial ports main kernel thread number in the shared drive, sends all kernel thread initialization of message informing and finishes message; And
Step S416, other each kernel threads send to new serial ports main kernel thread with type information, handle the printmessage that other each threads send by current serial ports main kernel thread.
The existing serial ports method of using comprises multinuclear multiline procedure processor 100, serial ports 120, kernel thread 101 shown in Figure 1A.Serial ports 120 is articulated on the kernel thread 101, other kernel threads are shared by the inter-core message of kernel thread and are used this serial ports 120, though this mode has been saved serial ports 120, if but more Debugging message is arranged by the inter-core message transmission for other kernel threads, can take more inter-core message communication bandwidth, can not directly use the Shell program that operating system carries on this kernel thread when debugging for single kernel thread simultaneously, can bring very big inconvenience to the software development debugging.
Have now and use the serial ports method shown in Figure 1B, make by the number of expanding serial ports 120 and clearly when on the shelf, can cause the waste of serial ports 120 resources by each serial ports 120 corresponding kernel thread 101.
Fig. 5 is a multiplexing serial port method synoptic diagram of the present invention, comparing with preceding method has increased switching controls module 510, the switching controls module operates in each kernel thread 101, can use for the kernel thread 101 of appointment by the software control serial ports, other kernel threads write shared drive with printmessage, kernel thread by current control serial ports is responsible for reception, can use the kernel thread of the current appointment of AccessPort easily as required, not influence the type information passage of other kernel threads simultaneously.
Fig. 6 is the software flow pattern according to the multiplexing serial port method of the embodiment of the invention.With reference to Fig. 6, may further comprise the steps according to the software flow of the multiplexing serial port method of the embodiment of the invention:
Step S602, system powers on;
Step S604 finishes the loading of serial port chip initialization, serial port drive by the serial ports main kernel thread, opens the serial ports interrupt mask bit in the interruptable controller, enables serial ports and interrupts;
Step S606, initialization is set up shared drive based on the Shell of serial ports, is each kernel thread distributing independent print buffer;
Step S608, the serial ports main kernel thread is set up the serial ports control information of each kernel thread in shared drive;
Step S610 judges whether to switching serial ports message;
Step S612, if printmessage, the serial ports main kernel thread goes out address and length according to the message parse of receiving, and the character string in this address is sent to serially printing;
Step S614, if switch serial ports message, the serial ports main kernel thread forbids that current serial ports interrupts unloading serial port drive program, interrupts being articulated to the purpose kernel thread that need switch to serial ports;
Step S616, serial ports main kernel thread notice purpose kernel thread begins to switch serial ports;
Step S618, purpose kernel thread initialization serial ports chip loads serial port drive, enables serial ports and interrupts initialization Shell; And
Step S620 revises in the shared drive serial ports main kernel thread number.
Adopt the method for the invention, compared with prior art, a plurality of kernel threads can be saved hardware resource and cost by the software control multiplexing serial port, have improved the utilization factor of serial ports; Kernel thread message communication bandwidth has been saved in other control of type information level, simultaneously by the switching of serial ports interruption on each kernel thread, and the shell program of using kernel thread operation system to carry, the exploitation that greatly facilitates software is debugged.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a polycaryon processor is characterized in that, comprises multinuclear multiline procedure processor, serial ports and switching controls module, wherein:
Described multinuclear multiline procedure processor is used to move at least one kernel thread, and after receiving the switching controls message of described switching controls module, carries out the switching of described serial ports between kernel thread;
Described serial ports is used for the data of described at least one kernel thread of described multinuclear multiline procedure processor are sent to the outside, and be used for the serial ports main kernel thread that serial ports interrupts articulating and carry out data interaction; And
Described switching controls module is connected between described serial ports and the described multinuclear multiline procedure processor, and the switching of described one or more kernel threads that is used for controlling described multinuclear multiline procedure processor is to share described serial ports.
2. polycaryon processor according to claim 1 is characterized in that, described switching controls module regularly sends described switching controls message to described multinuclear multiline procedure processor.
3. polycaryon processor according to claim 1, it is characterized in that, described switching controls module provides the operation information of described each kernel thread to the user, indicate under the situation of switching described serial ports main kernel thread the user, described switching controls module sends described switching controls order to described multinuclear multiline procedure processor.
4. according to claim 2 or 3 described polycaryon processors, it is characterized in that described multinuclear multiline procedure processor carries out following processing after powering on:
Carry out initialization and load driver program by described serial ports main kernel thread, enable serial ports and interrupt, set up shared drive, initialization is based on the Shell program of serial ports;
Be each kernel thread distributing independent data buffer of moving in the described polycaryon processor, the serial ports control information of in described shared drive, setting up each kernel thread;
Described serial ports main kernel thread sends the serial ports initialization to described each kernel thread and finishes message, and described serial ports initialization is finished message and comprised the address of serial ports control information in described shared drive; And
Allowing to use under the situation of described serial ports, the data that described each kernel thread will need to send are put into the data buffer of distribution and notification message are sent to described serial ports main kernel thread, and described serial ports main kernel thread sends to outside with the data in the described data buffer by described serial ports according to described notification message.
5. polycaryon processor according to claim 4 is characterized in that, described multinuclear multiline procedure processor carries out following processing after receiving described switching controls message:
Described serial ports main kernel thread is initiated to switch the serial ports flow process, forbids that current serial ports interrupts and unloading serial port drive program, simultaneously serial ports is interrupted being articulated to the purpose kernel thread that need switch to and sends the serial ports handoff notification message to described purpose kernel thread;
Described purpose kernel thread carries out initialization and load driver program as the serial ports main kernel thread, enabling serial ports interrupts, set up shared drive, initialization is based on the Shell program of serial ports, serial ports main kernel thread in the described shared drive number is revised as the thread number of described purpose kernel thread, and message is finished in initialization be sent to all kernel threads, described other kernel threads carry out subsequent treatment with described purpose kernel thread as the serial ports main kernel thread.
6. polycaryon processor according to claim 5 is characterized in that, one or more kernel threads of described multinuclear multiline procedure processor are shared described serial ports and printed.
7. a serial port multiplexing method that is used for polycaryon processor is characterized in that, said method comprising the steps of:
Step 1, after polycaryon processor powers on, carry out initialization and load driver program by being used for the serial ports main kernel thread that serial ports interrupts articulating, enabling serial ports interrupts, build shared drive, initialization is each kernel thread distributing independent data buffer of moving in the described polycaryon processor based on the Shell program of serial ports, and the serial ports control information of setting up each kernel thread in described shared drive;
Step 2, described serial ports main kernel thread sends the serial ports initialization to described each kernel thread and finishes message, and described serial ports initialization is finished message and is comprised the address of serial ports control information in described shared drive;
Step 3, allowing to use under the situation of described serial ports, the data that described each kernel thread will need to send are put into the data buffer of distribution and notification message are sent to described serial ports main kernel thread, and described serial ports main kernel thread sends to outside with the data in the described data buffer by described serial ports according to described notification message;
Step 4, switch at needs under the situation of described kernel thread, described serial ports main kernel thread initiates to switch the serial ports flow process, forbid that current serial ports interrupts and unloading serial port drive program, simultaneously serial ports is interrupted being articulated to the purpose kernel thread that need switch to and send the serial ports handoff notification message to described purpose kernel thread;
Step 5, described purpose kernel thread carries out initialization and load driver program as the serial ports main kernel thread, enabling serial ports interrupts, set up shared drive, initialization is based on the Shell program of serial ports, serial ports main kernel thread in the described shared drive number is revised as the thread number of described purpose kernel thread, and message is finished in initialization is sent to all kernel threads, described other kernel threads carry out subsequent treatment with described purpose kernel thread as the serial ports main kernel thread.
8. polycaryon processor according to claim 7 is characterized in that, described switching controls module regularly sends described switching controls message to described multinuclear multiline procedure processor.
9. polycaryon processor according to claim 7, it is characterized in that, described switching controls module provides the operation information of described each kernel thread to the user, indicate under the situation of switching described serial ports main kernel thread the user, described switching controls module sends described switching controls order to described multinuclear multiline procedure processor.
10. according to each described serial port multiplexing method in the claim 7 to 9, it is characterized in that at least one kernel thread in the described polycaryon processor is shared described serial ports and printed.
CNB2007101086669A 2007-06-14 2007-06-14 Multi-nuclear processor and serial port multiplexing method Expired - Fee Related CN100517239C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101086669A CN100517239C (en) 2007-06-14 2007-06-14 Multi-nuclear processor and serial port multiplexing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101086669A CN100517239C (en) 2007-06-14 2007-06-14 Multi-nuclear processor and serial port multiplexing method

Publications (2)

Publication Number Publication Date
CN101067794A true CN101067794A (en) 2007-11-07
CN100517239C CN100517239C (en) 2009-07-22

Family

ID=38880357

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101086669A Expired - Fee Related CN100517239C (en) 2007-06-14 2007-06-14 Multi-nuclear processor and serial port multiplexing method

Country Status (1)

Country Link
CN (1) CN100517239C (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009065313A1 (en) * 2007-11-20 2009-05-28 Hangzhou H3C Technologies Co., Ltd. Method and multi-core processor equipment for realizing multiple service process functions
CN102724099A (en) * 2012-06-01 2012-10-10 中兴通讯股份有限公司 Device and method for improving internal communication QoS (Quality of Service) of control plane of system with processors
WO2012143942A2 (en) * 2011-04-18 2012-10-26 Ineda Systems Pvt. Ltd Network interface sharing in multi host computing systems
CN102884515A (en) * 2012-06-30 2013-01-16 华为技术有限公司 Method, devices and system for serial port redirection process
WO2013016891A1 (en) * 2011-08-02 2013-02-07 北京大学 Communication method based on multi-core processor and detection method and control method thereof
CN102968399A (en) * 2012-10-22 2013-03-13 华为技术有限公司 Multi-core processor and multiplexing method of network management portinterface thereof
CN101751291B (en) * 2009-12-30 2013-03-20 广东威创视讯科技股份有限公司 Method of sharing one serial port by application programs and device
CN103078908A (en) * 2012-12-26 2013-05-01 北京经纬恒润科技有限公司 Data transmission method and device
CN103279448A (en) * 2013-04-24 2013-09-04 南京龙渊微电子科技有限公司 Data exchange method and device among multiple cores based on data cache reconfiguration
CN103593239A (en) * 2013-10-28 2014-02-19 大唐移动通信设备有限公司 Method and device for processing application process commands in Linux system
CN104220989A (en) * 2011-12-21 2014-12-17 英特尔公司 Methods and systems to identify and reproduce concurrency violations in multi-threaded programs
CN104461872A (en) * 2014-11-19 2015-03-25 浪潮(北京)电子信息产业有限公司 Debugging information processing method and system
CN104484184A (en) * 2014-12-26 2015-04-01 上海斐讯数据通信技术有限公司 Shell design method of embedded system
CN104570881A (en) * 2015-01-21 2015-04-29 张丽 Instant messaging method and equipment suitable for single-serial-port equipment and multiple upper computers
CN105808357A (en) * 2016-03-29 2016-07-27 沈阳航空航天大学 Multi-core multi-threaded processor with precise performance control function
CN106445855A (en) * 2016-09-05 2017-02-22 深圳震有科技股份有限公司 Method and system for sharing serial port by multiple cores in asymmetric processing system
CN107347178A (en) * 2017-06-29 2017-11-14 福州汇思博信息技术有限公司 Serial port multiplexing method and electronic equipment
CN107688486A (en) * 2017-08-10 2018-02-13 深圳市证通电子股份有限公司 Serial ports sharing method, sharing means and storage medium based on shared service
CN107945430A (en) * 2017-11-24 2018-04-20 上海动联信息技术股份有限公司 A kind of two-way concurrent means of communication based on serial ports for being used for intelligent POS machine
CN108228524A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of internuclear exchange method of multiple nucleus system
CN110083394A (en) * 2019-04-04 2019-08-02 龙芯中科技术有限公司 Serial port drive method, apparatus and storage medium
CN110895519A (en) * 2018-09-12 2020-03-20 深圳市信方达科技发展股份有限公司 Controller
CN113360443A (en) * 2021-05-31 2021-09-07 浪潮电子信息产业股份有限公司 Serial port card communication implementation method, device, equipment and readable storage medium

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009065313A1 (en) * 2007-11-20 2009-05-28 Hangzhou H3C Technologies Co., Ltd. Method and multi-core processor equipment for realizing multiple service process functions
US8417848B2 (en) 2007-11-20 2013-04-09 Hangzhou H3C Technologies Co., Ltd. Method and apparatus for implementing multiple service processing functions
CN101751291B (en) * 2009-12-30 2013-03-20 广东威创视讯科技股份有限公司 Method of sharing one serial port by application programs and device
WO2012143942A3 (en) * 2011-04-18 2013-01-03 Ineda Systems Pvt. Ltd Network interface sharing in multi host computing systems
WO2012143942A2 (en) * 2011-04-18 2012-10-26 Ineda Systems Pvt. Ltd Network interface sharing in multi host computing systems
WO2013016891A1 (en) * 2011-08-02 2013-02-07 北京大学 Communication method based on multi-core processor and detection method and control method thereof
CN104220989B (en) * 2011-12-21 2017-12-12 英特尔公司 For identifying and reproducing the method and system of concurrency conflict in multithread programs
CN104220989A (en) * 2011-12-21 2014-12-17 英特尔公司 Methods and systems to identify and reproduce concurrency violations in multi-threaded programs
CN102724099A (en) * 2012-06-01 2012-10-10 中兴通讯股份有限公司 Device and method for improving internal communication QoS (Quality of Service) of control plane of system with processors
CN102724099B (en) * 2012-06-01 2017-11-24 中兴通讯股份有限公司 Lift multiple processor system chain of command intercommunication Qos device and method
CN102884515A (en) * 2012-06-30 2013-01-16 华为技术有限公司 Method, devices and system for serial port redirection process
CN102884515B (en) * 2012-06-30 2015-09-09 华为技术有限公司 Serial ports re-orientation processes method, apparatus and system
WO2014000299A1 (en) * 2012-06-30 2014-01-03 华为技术有限公司 Serial port redirection processing method, device, and system
CN102968399A (en) * 2012-10-22 2013-03-13 华为技术有限公司 Multi-core processor and multiplexing method of network management portinterface thereof
CN103078908A (en) * 2012-12-26 2013-05-01 北京经纬恒润科技有限公司 Data transmission method and device
CN103078908B (en) * 2012-12-26 2015-09-09 北京经纬恒润科技有限公司 A kind of data transmission method and device
CN103279448A (en) * 2013-04-24 2013-09-04 南京龙渊微电子科技有限公司 Data exchange method and device among multiple cores based on data cache reconfiguration
CN103593239B (en) * 2013-10-28 2017-06-06 大唐移动通信设备有限公司 The method and device of application process command process in LINUX system
CN103593239A (en) * 2013-10-28 2014-02-19 大唐移动通信设备有限公司 Method and device for processing application process commands in Linux system
CN104461872A (en) * 2014-11-19 2015-03-25 浪潮(北京)电子信息产业有限公司 Debugging information processing method and system
CN104461872B (en) * 2014-11-19 2017-08-25 浪潮(北京)电子信息产业有限公司 A kind of debugging information processing method and system
CN104484184A (en) * 2014-12-26 2015-04-01 上海斐讯数据通信技术有限公司 Shell design method of embedded system
CN104570881A (en) * 2015-01-21 2015-04-29 张丽 Instant messaging method and equipment suitable for single-serial-port equipment and multiple upper computers
CN105808357A (en) * 2016-03-29 2016-07-27 沈阳航空航天大学 Multi-core multi-threaded processor with precise performance control function
CN105808357B (en) * 2016-03-29 2021-07-27 沈阳航空航天大学 Multi-core multi-thread processor with accurately controllable performance
CN106445855A (en) * 2016-09-05 2017-02-22 深圳震有科技股份有限公司 Method and system for sharing serial port by multiple cores in asymmetric processing system
CN106445855B (en) * 2016-09-05 2019-02-01 深圳震有科技股份有限公司 Multicore shares the method and system of serial ports under a kind of asymmetric processing system
CN108228524A (en) * 2016-12-14 2018-06-29 中国航空工业集团公司西安航空计算技术研究所 A kind of internuclear exchange method of multiple nucleus system
CN108228524B (en) * 2016-12-14 2021-07-16 中国航空工业集团公司西安航空计算技术研究所 Inter-core interaction method of multi-core system
CN107347178A (en) * 2017-06-29 2017-11-14 福州汇思博信息技术有限公司 Serial port multiplexing method and electronic equipment
CN107688486A (en) * 2017-08-10 2018-02-13 深圳市证通电子股份有限公司 Serial ports sharing method, sharing means and storage medium based on shared service
CN107945430A (en) * 2017-11-24 2018-04-20 上海动联信息技术股份有限公司 A kind of two-way concurrent means of communication based on serial ports for being used for intelligent POS machine
CN107945430B (en) * 2017-11-24 2021-09-14 上海动联信息技术股份有限公司 Serial-port-based bidirectional concurrent communication method for intelligent POS machine
CN110895519A (en) * 2018-09-12 2020-03-20 深圳市信方达科技发展股份有限公司 Controller
CN110083394A (en) * 2019-04-04 2019-08-02 龙芯中科技术有限公司 Serial port drive method, apparatus and storage medium
CN110083394B (en) * 2019-04-04 2022-04-22 龙芯中科技术股份有限公司 Serial port driving method, device and storage medium
CN113360443A (en) * 2021-05-31 2021-09-07 浪潮电子信息产业股份有限公司 Serial port card communication implementation method, device, equipment and readable storage medium
CN113360443B (en) * 2021-05-31 2022-07-08 浪潮电子信息产业股份有限公司 Serial port card communication realization method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN100517239C (en) 2009-07-22

Similar Documents

Publication Publication Date Title
CN101067794A (en) Multi-nuclear processor and serial port multiplexing method
CN1205527C (en) Entering and exiting power managed states without disrupting accelerated graphics port transactions
CN100347642C (en) Semiconductor device with hardware mechanism for proper clock control
CN1155894C (en) Enhanced bus orbitrator using variable priority and reasonableness
CN1251105C (en) Data processing system and data processor
US9880875B2 (en) Apparatus and method for hardware-based task scheduling
CN1149481C (en) Processor unit suitable for doubling
CN1756960A (en) Test device and test method
CN1808406A (en) Method and apparatus for monitoring number of lanes between controller and PCI express device
CN1842026A (en) Redundancy system
CN1764080A (en) Device and method for realizing ASC
CN1762154A (en) Upgrading digital media servers
CN1825295A (en) Data transmission control device, image processing unit, and data transmission control method
WO2015100878A1 (en) Chip starting method, multi-core processor chip and storage medium
CN1934557A (en) Scalable bus structure
CN1556474A (en) On line upgrading method of software and its device
CN1696917A (en) Direct internal storage access controller in master-slave system and bus structure
CN1946226A (en) Method, device for upgrading telecommunication equipment and upgrading engine unit
CN1217798A (en) Process for synchronisation of programs on different computors of interconnected system
CN1570863A (en) System and method for remotely loading or upgrading program
CN101059762A (en) Dummy machine system and its video card access method
CN101060442A (en) A linkage status detection device and method
CN116132287A (en) DPU-based high-performance network acceleration method and system
CN101052953A (en) Method and apparatus for allocating bandwidth on a transmit channel of a bus
CN1249548C (en) Switching equipment between master and stand-by circuits and its method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090722

Termination date: 20190614

CF01 Termination of patent right due to non-payment of annual fee